Home
last modified time | relevance | path

Searched refs:nblks (Results 1 – 21 of 21) sorted by relevance

/linux/drivers/gpu/drm/msm/disp/mdp5/
A Dmdp5_smp.c64 u32 cid, int nblks) in smp_request_block() argument
76 nblks = max(0, nblks - reserved); in smp_request_block()
81 if (nblks > avail) { in smp_request_block()
83 nblks, avail); in smp_request_block()
87 for (i = 0; i < nblks; i++) { in smp_request_block()
97 enum mdp5_pipe pipe, int nblks) in set_fifo_thresholds() argument
222 unsigned nblks = 0; in update_smp_state() local
249 nblks++; in update_smp_state()
252 return nblks; in update_smp_state()
293 unsigned i, nblks = 0; in mdp5_smp_prepare_commit() local
[all …]
/linux/fs/xfs/libxfs/
A Dxfs_log_rlimit.c27 int nblks; in xfs_log_calc_max_attrsetm_res() local
31 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
32 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
33 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
36 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
A Dxfs_attr.c176 int nblks; in xfs_attr_calc_size() local
183 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
187 nblks *= 2; in xfs_attr_calc_size()
195 nblks += dblocks; in xfs_attr_calc_size()
196 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
199 return nblks; in xfs_attr_calc_size()
A Dxfs_bmap.c5014 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local
5071 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real()
5075 nblks = del->br_blockcount; in xfs_bmap_del_extent_real()
5259 if (nblks) in xfs_bmap_del_extent_real()
5260 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
5265 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
A Dxfs_da_btree.c2145 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local
2211 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
/linux/arch/powerpc/boot/
A Dmktree.c45 int nblks, i; in main() local
60 nblks = (st.st_size + IMGBLK) / IMGBLK; in main()
72 bt.bb_num_512blocks = htonl(nblks); in main()
115 nblks -= (64 * 1024) / IMGBLK; in main()
124 while (nblks-- > 0) { in main()
/linux/fs/xfs/
A Dxfs_trans_dquot.c624 int64_t nblks, in xfs_trans_dqresv() argument
654 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv()
678 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv()
691 nblks); in xfs_trans_dqresv()
734 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument
746 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
752 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
758 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
771 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
775 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
A Dxfs_qm.c1076 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument
1103 if (nblks) { in xfs_qm_quotacheck_dqadjust()
1104 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust()
1105 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust()
1140 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local
1175 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1190 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust()
1197 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust()
1204 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
A Dxfs_quota.h142 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
A Dxfs_trace.h415 __field(int, nblks)
425 __entry->nblks = bp->b_length;
436 __entry->nblks,
/linux/fs/jfs/
A Djfs_extent.c500 s64 nb, nblks, daddr, max; in extBalloc() local
513 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
515 nb = nblks = *nblocks; in extBalloc()
526 nb = min(nblks, extRoundDown(nb)); in extBalloc()
590 s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) in extBrealloc() argument
595 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) { in extBrealloc()
A Djfs_dmap.c414 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local
444 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
466 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
475 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
A Djfs_xtree.c2563 int nb, npages, nblks; in xtRelocate() local
2685 nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; in xtRelocate()
2686 cmSetXD(ip, cp, pno, dxaddr, nblks); in xtRelocate()
2691 dxaddr += nblks; in xtRelocate()
2692 sxaddr += nblks; in xtRelocate()
/linux/fs/erofs/
A Dinode.c24 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local
125 nblks = le32_to_cpu(die->i_u.compressed_blocks); in erofs_read_inode()
166 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode()
198 if (!nblks) in erofs_read_inode()
202 inode->i_blocks = nblks << LOG_SECTORS_PER_BLOCK; in erofs_read_inode()
/linux/fs/ext4/
A Dfast_commit.c1136 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1173 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1174 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1195 sbi->s_fc_stats.fc_numblks += nblks; in ext4_fc_commit()
1198 nblks = (reason == EXT4_FC_REASON_OK) ? nblks : 0; in ext4_fc_commit()
1199 trace_ext4_fc_commit_stop(sb, nblks, reason); in ext4_fc_commit()
1212 nblks, reason, subtid); in ext4_fc_commit()
/linux/drivers/crypto/amcc/
A Dcrypto4xx_alg.c259 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in crypto4xx_ctr_crypt() local
268 if (counter + nblks < counter) { in crypto4xx_ctr_crypt()
/linux/include/trace/events/
A Dext4.h2695 TP_PROTO(struct super_block *sb, int nblks, int reason),
2697 TP_ARGS(sb, nblks, reason),
2701 __field(int, nblks)
2710 __entry->nblks = nblks;
2720 __entry->nblks, __entry->reason, __entry->num_fc,
/linux/drivers/scsi/cxlflash/
A Dvlun.c421 u32 nblks) in write_same16() argument
428 int left = nblks; in write_same16()
/linux/include/soc/tegra/
A Dbpmp-abi.h2439 uint32_t nblks; member
/linux/drivers/crypto/axis/
A Dartpec6_crypto.c1184 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in artpec6_crypto_ctr_crypt() local
1193 if (counter + nblks < counter) { in artpec6_crypto_ctr_crypt()
1197 counter, counter + nblks); in artpec6_crypto_ctr_crypt()
/linux/drivers/scsi/
A Dscsi_debug.c4091 u32 nblks; in resp_pre_fetch() local
4099 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch()
4102 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch()
4104 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch()
4112 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4113 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
4118 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()

Completed in 90 milliseconds