Home
last modified time | relevance | path

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

/linux-6.1.9/arch/arm64/crypto/
Dsm4-neon-glue.c25 unsigned int nblks);
27 unsigned int nblks);
29 u8 *iv, unsigned int nblks);
31 u8 *iv, unsigned int nblks);
33 u8 *iv, unsigned int nblks);
54 unsigned int nblks; in sm4_ecb_do_crypt() local
58 nblks = BYTES2BLK8(nbytes); in sm4_ecb_do_crypt()
59 if (nblks) { in sm4_ecb_do_crypt()
60 sm4_neon_crypt_blk8(rkey, dst, src, nblks); in sm4_ecb_do_crypt()
61 dst += nblks * SM4_BLOCK_SIZE; in sm4_ecb_do_crypt()
[all …]
Dsm4-ce-glue.c27 unsigned int nblks);
29 u8 *iv, unsigned int nblks);
31 u8 *iv, unsigned int nblks);
33 u8 *iv, unsigned int nblks);
35 u8 *iv, unsigned int nblks);
37 u8 *iv, unsigned int nblks);
63 unsigned int nblks; in sm4_ecb_do_crypt() local
67 nblks = BYTES2BLKS(nbytes); in sm4_ecb_do_crypt()
68 if (nblks) { in sm4_ecb_do_crypt()
69 sm4_ce_crypt(rkey, dst, src, nblks); in sm4_ecb_do_crypt()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/mdp5/
Dmdp5_smp.c64 u32 cid, int nblks) in smp_request_block() argument
76 nblks = max(0, nblks - reserved); in smp_request_block()
77 DBG("%d MMBs allocated (%d reserved)", 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
103 val = (nblks * smp_entries_per_blk) / 4; in set_fifo_thresholds()
222 unsigned nblks = 0; in update_smp_state() local
249 nblks++; in update_smp_state()
[all …]
/linux-6.1.9/arch/powerpc/boot/
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-6.1.9/fs/xfs/libxfs/
Dxfs_log_rlimit.c28 int nblks; in xfs_log_calc_max_attrsetm_res() local
32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
33 nblks += XFS_B_TO_FSB(mp, size); in xfs_log_calc_max_attrsetm_res()
34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); in xfs_log_calc_max_attrsetm_res()
37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks; in xfs_log_calc_max_attrsetm_res()
Dxfs_attr.c291 int nblks; in xfs_attr_calc_size() local
298 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
302 nblks *= 2; in xfs_attr_calc_size()
310 nblks += dblocks; in xfs_attr_calc_size()
311 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
314 return nblks; in xfs_attr_calc_size()
Dxfs_bmap.c5015 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local
5072 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real()
5076 nblks = del->br_blockcount; in xfs_bmap_del_extent_real()
5240 if (nblks) in xfs_bmap_del_extent_real()
5241 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
5246 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
Dxfs_da_btree.c2160 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local
2226 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
/linux-6.1.9/fs/xfs/
Dxfs_trans_dquot.c622 int64_t nblks, in xfs_trans_dqresv() argument
652 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv()
676 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv()
689 nblks); in xfs_trans_dqresv()
732 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument
744 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
750 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
756 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
769 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
773 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
Dxfs_qm.c1068 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument
1095 if (nblks) { in xfs_qm_quotacheck_dqadjust()
1096 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust()
1097 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust()
1132 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local
1167 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1182 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust()
1189 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust()
1196 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
Dxfs_quota.h142 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
Dxfs_trace.h416 __field(int, nblks)
427 __entry->nblks = bp->b_length;
439 __entry->nblks,
/linux-6.1.9/fs/jfs/
Djfs_extent.c303 s64 nb, nblks, daddr, max; in extBalloc() local
316 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
318 nb = nblks = *nblocks; in extBalloc()
329 nb = min(nblks, extRoundDown(nb)); in extBalloc()
Djfs_dmap.c437 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local
467 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
489 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
498 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
/linux-6.1.9/fs/erofs/
Dinode.c19 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local
118 nblks = le32_to_cpu(die->i_u.compressed_blocks); in erofs_read_inode()
159 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode()
191 if (!nblks) in erofs_read_inode()
195 inode->i_blocks = nblks << LOG_SECTORS_PER_BLOCK; in erofs_read_inode()
/linux-6.1.9/fs/ext4/
Dfast_commit.c1179 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument
1187 stats->fc_numblks += nblks; in ext4_fc_update_stats()
1202 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats()
1215 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1262 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1263 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1275 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
/linux-6.1.9/drivers/crypto/amcc/
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-6.1.9/include/trace/events/
Dext4.h2705 TP_PROTO(struct super_block *sb, int nblks, int reason,
2708 TP_ARGS(sb, nblks, reason, commit_tid),
2712 __field(int, nblks)
2722 __entry->nblks = nblks;
2733 __entry->nblks, __entry->reason, __entry->num_fc,
/linux-6.1.9/drivers/scsi/cxlflash/
Dvlun.c421 u32 nblks) in write_same16() argument
428 int left = nblks; in write_same16()
/linux-6.1.9/include/soc/tegra/
Dbpmp-abi.h2439 uint32_t nblks; member
/linux-6.1.9/drivers/crypto/axis/
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-6.1.9/drivers/scsi/
Dscsi_debug.c4258 u32 nblks; in resp_pre_fetch() local
4265 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch()
4268 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch()
4270 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch()
4278 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4279 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
4284 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()