Home
last modified time | relevance | path

Searched refs:nblks (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Dsm4-ce-glue.c31 unsigned int nblks);
41 u8 *iv, unsigned int nblks);
43 u8 *iv, unsigned int nblks);
45 u8 *iv, unsigned int nblks);
125 unsigned int nblks; in sm4_ecb_do_crypt() local
129 nblks = BYTES2BLKS(nbytes); in sm4_ecb_do_crypt()
130 if (nblks) { in sm4_ecb_do_crypt()
131 sm4_ce_crypt(rkey, dst, src, nblks); in sm4_ecb_do_crypt()
132 nbytes -= nblks * SM4_BLOCK_SIZE; in sm4_ecb_do_crypt()
296 unsigned int nblks; in sm4_cfb_encrypt() local
338 unsigned int nblks; sm4_cfb_decrypt() local
380 unsigned int nblks; sm4_ctr_crypt() local
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c64 u32 cid, int nblks) in smp_request_block()
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()
103 val = (nblks * smp_entries_per_blk) / 4; in set_fifo_thresholds()
222 unsigned nblks in update_smp_state() local
62 smp_request_block(struct mdp5_smp *smp, struct mdp5_smp_state *state, u32 cid, int nblks) smp_request_block() argument
96 set_fifo_thresholds(struct mdp5_smp *smp, enum mdp5_pipe pipe, int nblks) set_fifo_thresholds() argument
293 unsigned i, nblks = 0; mdp5_smp_prepare_commit() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c64 u32 cid, int nblks) in smp_request_block()
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()
103 val = (nblks * smp_entries_per_blk) / 4; in set_fifo_thresholds()
222 unsigned nblks in update_smp_state() local
62 smp_request_block(struct mdp5_smp *smp, struct mdp5_smp_state *state, u32 cid, int nblks) smp_request_block() argument
96 set_fifo_thresholds(struct mdp5_smp *smp, enum mdp5_pipe pipe, int nblks) set_fifo_thresholds() argument
293 unsigned i, nblks = 0; mdp5_smp_prepare_commit() local
[all...]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H 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()
H A Dxfs_attr.c149 int nblks; in xfs_attr_calc_size() local
156 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size()
160 nblks *= 2; in xfs_attr_calc_size()
168 nblks += dblocks; in xfs_attr_calc_size()
169 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size()
172 return nblks; in xfs_attr_calc_size()
/kernel/linux/linux-5.10/arch/powerpc/boot/
H 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()
/kernel/linux/linux-6.6/arch/powerpc/boot/
H 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()
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A 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()
H A 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()
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_trans_dquot.c636 int64_t nblks, in xfs_trans_dqresv()
666 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv()
690 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv()
703 if (nblks != 0) in xfs_trans_dqresv()
706 nblks); in xfs_trans_dqresv()
752 int64_t nblks, in xfs_trans_reserve_quota_bydquots()
767 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
773 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
779 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
792 xfs_trans_dqresv(tp, mp, gdqp, -nblks, in xfs_trans_reserve_quota_bydquots()
632 xfs_trans_dqresv( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *dqp, int64_t nblks, long ninos, uint flags) xfs_trans_dqresv() argument
746 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument
807 xfs_trans_reserve_quota_nblks( struct xfs_trans *tp, struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_nblks() argument
[all...]
H A Dxfs_quota.h128 struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks()
135 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots()
154 #define xfs_trans_unreserve_quota_nblks(tp, ip, nblks, ninos, flags) \
155 xfs_trans_reserve_quota_nblks(tp, ip, -(nblks), -(ninos), flags)
127 xfs_trans_reserve_quota_nblks(struct xfs_trans *tp, struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_nblks() argument
132 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
H A Dxfs_qm.c1075 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust()
1102 if (nblks) { in xfs_qm_quotacheck_dqadjust()
1103 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust()
1104 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust()
1139 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local
1176 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1191 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust()
1198 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust()
1205 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
1072 xfs_qm_quotacheck_dqadjust( struct xfs_inode *ip, xfs_dqtype_t type, xfs_qcnt_t nblks, xfs_qcnt_t rtblks) xfs_qm_quotacheck_dqadjust() argument
/kernel/linux/linux-6.6/fs/xfs/
H A Dxfs_trans_dquot.c622 int64_t nblks, in xfs_trans_dqresv()
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()
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, in xfs_trans_reserve_quota_bydquots()
618 xfs_trans_dqresv( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *dqp, int64_t nblks, long ninos, uint flags) xfs_trans_dqresv() argument
726 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) xfs_trans_reserve_quota_bydquots() argument
[all...]
H A Dxfs_qm.c1076 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust()
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
1188 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; in xfs_qm_dqusage_adjust()
1204 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust()
1211 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust()
1218 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
1073 xfs_qm_quotacheck_dqadjust( struct xfs_inode *ip, xfs_dqtype_t type, xfs_qcnt_t nblks, xfs_qcnt_t rtblks) xfs_qm_quotacheck_dqadjust() argument
H A Dxfs_quota.h142 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots()
139 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) xfs_trans_reserve_quota_bydquots() argument
/kernel/linux/linux-6.6/fs/jfs/
H 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()
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_extent.c500 s64 nb, nblks, daddr, max; in extBalloc() local
518 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
520 nb = nblks = *nblocks; in extBalloc()
531 nb = min(nblks, extRoundDown(nb)); in extBalloc()
581 * nblks - number of blocks within the extents current allocation.
595 s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) in extBrealloc()
600 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) { in extBrealloc()
594 extBrealloc(struct inode *ip, s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) extBrealloc() argument
H 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()
H 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()
/kernel/linux/linux-5.10/fs/erofs/
H 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()
163 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode()
178 if (!nblks) in erofs_read_inode()
182 inode->i_blocks = nblks << LOG_SECTORS_PER_BLOCK; in erofs_read_inode()
/kernel/linux/linux-6.6/fs/erofs/
H A Dinode.c19 erofs_blk_t blkaddr, nblks = 0; in erofs_read_inode() local
115 nblks = le32_to_cpu(die->i_u.compressed_blocks); in erofs_read_inode()
155 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode()
186 if (!nblks) in erofs_read_inode()
190 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9); in erofs_read_inode()
/kernel/linux/linux-5.10/fs/ext4/
H A Dfast_commit.c1104 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1141 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1142 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1163 sbi->s_fc_stats.fc_numblks += nblks; in ext4_fc_commit()
1166 nblks = (reason == EXT4_FC_REASON_OK) ? nblks : 0; in ext4_fc_commit()
1167 trace_ext4_fc_commit_stop(sb, nblks, reason); in ext4_fc_commit()
1180 nblks, reason, subtid); in ext4_fc_commit()
/kernel/linux/linux-6.6/fs/ext4/
H A Dfast_commit.c1157 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats()
1165 stats->fc_numblks += nblks; in ext4_fc_update_stats()
1180 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats()
1193 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1240 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1241 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1253 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
1156 ext4_fc_update_stats(struct super_block *sb, int status, u64 commit_time, int nblks, tid_t commit_tid) ext4_fc_update_stats() argument
/kernel/linux/linux-5.10/drivers/crypto/amcc/
H 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()
/kernel/linux/linux-6.6/drivers/crypto/amcc/
H 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()

Completed in 31 milliseconds

12