Home
last modified time | relevance | path

Searched refs:nblks (Results 1 – 25 of 25) 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/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/libxfs/
A Dxfs_log_rlimit.c56 int nblks; in xfs_log_calc_max_attrsetm_res() local
60 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
61 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
71 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
74 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
A Dxfs_attr.c305 int nblks; in xfs_attr_calc_size() local
312 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
316 nblks *= 2; in xfs_attr_calc_size()
324 nblks += dblocks; in xfs_attr_calc_size()
325 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
328 return nblks; in xfs_attr_calc_size()
A Dxfs_bmap.c5139 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local
5180 nblks = del->br_blockcount; in xfs_bmap_del_extent_real()
5360 if (nblks) in xfs_bmap_del_extent_real()
5361 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
5366 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
A Dxfs_da_btree.c2300 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local
2357 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
/linux/arch/arm64/crypto/
A Dsm4-ce-glue.c31 unsigned int nblks);
41 u8 *iv, unsigned int nblks);
120 unsigned int nblks; in sm4_ecb_do_crypt() local
124 nblks = BYTES2BLKS(nbytes); in sm4_ecb_do_crypt()
125 if (nblks) { in sm4_ecb_do_crypt()
127 nbytes -= nblks * SM4_BLOCK_SIZE; in sm4_ecb_do_crypt()
291 unsigned int nblks; in sm4_ctr_crypt() local
295 nblks = BYTES2BLKS(nbytes); in sm4_ctr_crypt()
296 if (nblks) { in sm4_ctr_crypt()
298 dst += nblks * SM4_BLOCK_SIZE; in sm4_ctr_crypt()
[all …]
/linux/fs/xfs/
A Dxfs_trans_dquot.c789 int64_t nblks, in xfs_trans_dqresv() argument
819 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv()
843 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv()
856 nblks); in xfs_trans_dqresv()
900 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument
912 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
918 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
924 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
937 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
941 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
A Dxfs_qm.c1092 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument
1119 if (nblks) { in xfs_qm_quotacheck_dqadjust()
1120 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust()
1121 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust()
1156 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local
1204 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1220 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust()
1227 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust()
1234 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
A Dxfs_quota.h179 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
A Dxfs_trace.h443 __field(int, nblks)
454 __entry->nblks = bp->b_length;
466 __entry->nblks,
4797 __field(int, nblks)
4806 __entry->nblks = bp->b_length;
4815 __entry->nblks,
/linux/fs/jfs/
A Djfs_extent.c303 s64 nb, nblks, daddr, max; in extBalloc() local
321 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
323 nb = nblks = *nblocks; in extBalloc()
334 nb = min(nblks, extRoundDown(nb)); in extBalloc()
A Djfs_dmap.c452 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local
482 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
504 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
513 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
/linux/fs/xfs/scrub/
A Dquotacheck.c133 int64_t nblks, in xqcheck_update_incore_counts() argument
145 xcdq.bcount += nblks; in xqcheck_update_incore_counts()
395 xfs_filblks_t nblks, rtblks; in xqcheck_collect_inode() local
428 xfs_inode_count_blocks(tp, ip, &nblks, &rtblks); in xqcheck_collect_inode()
440 nblks, rtblks); in xqcheck_collect_inode()
448 nblks, rtblks); in xqcheck_collect_inode()
456 nblks, rtblks); in xqcheck_collect_inode()
/linux/fs/erofs/
A Dinode.c33 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local
166 nblks = le32_to_cpu(iu.compressed_blocks); in erofs_read_inode()
188 if (!nblks) in erofs_read_inode()
192 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9); in erofs_read_inode()
/linux/drivers/crypto/tegra/
A Dtegra-se-hash.c303 unsigned int nblks, nresidue, size, ret; in tegra_sha_do_update() local
307 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_sha_do_update()
313 if (!nresidue && nblks) { in tegra_sha_do_update()
315 nblks--; in tegra_sha_do_update()
326 if (nblks < 1) { in tegra_sha_do_update()
A Dtegra-se-aes.c1467 unsigned int nblks, nresidue, cmdlen; in tegra_cmac_do_update() local
1474 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_cmac_do_update()
1479 if (!nresidue && nblks) { in tegra_cmac_do_update()
1481 nblks--; in tegra_cmac_do_update()
1494 if (nblks < 1) { in tegra_cmac_do_update()
/linux/fs/ext4/
A Dfast_commit.c1173 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument
1181 stats->fc_numblks += nblks; in ext4_fc_update_stats()
1196 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats()
1209 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1256 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1257 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1269 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
/linux/fs/iomap/
A Dbuffered-io.c106 unsigned nblks = 1; in ifs_find_dirty_range() local
112 while (start_blk + nblks < end_blk) { in ifs_find_dirty_range()
113 if (!ifs_block_is_dirty(folio, ifs, start_blk + nblks)) in ifs_find_dirty_range()
115 nblks++; in ifs_find_dirty_range()
119 return nblks << inode->i_blkbits; in ifs_find_dirty_range()
/linux/drivers/crypto/amcc/
A Dcrypto4xx_alg.c245 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in crypto4xx_ctr_crypt() local
254 if (counter + nblks < counter) { in crypto4xx_ctr_crypt()
/linux/include/trace/events/
A Dext4.h2747 TP_PROTO(struct super_block *sb, int nblks, int reason,
2750 TP_ARGS(sb, nblks, reason, commit_tid),
2754 __field(int, nblks)
2764 __entry->nblks = nblks;
2775 __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/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/include/soc/tegra/
A Dbpmp-abi.h2991 uint32_t nblks; member
/linux/drivers/scsi/
A Dscsi_debug.c4928 u32 nblks; in resp_pre_fetch() local
4935 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch()
4938 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch()
4940 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch()
4948 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4949 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
4954 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()

Completed in 130 milliseconds