Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/arch/arm64/crypto/
A Dsm4-ce-glue.c31 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()
296 unsigned int nblks; in sm4_cfb_encrypt() local
300 nblks = BYTES2BLKS(nbytes); in sm4_cfb_encrypt()
301 if (nblks) { in sm4_cfb_encrypt()
338 unsigned int nblks; in sm4_cfb_decrypt() local
343 if (nblks) { in sm4_cfb_decrypt()
380 unsigned int nblks; in sm4_ctr_crypt() local
[all …]
/linux-6.3-rc2/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-6.3-rc2/fs/xfs/libxfs/
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()
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()
A Dxfs_bmap.c4983 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local
5040 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real()
5044 nblks = del->br_blockcount; in xfs_bmap_del_extent_real()
5208 if (nblks) in xfs_bmap_del_extent_real()
5209 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real()
5214 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
A 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.3-rc2/fs/xfs/
A 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()
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.h421 __field(int, nblks)
432 __entry->nblks = bp->b_length;
444 __entry->nblks,
/linux-6.3-rc2/fs/jfs/
A 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()
A Djfs_dmap.c438 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local
468 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
490 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
499 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
/linux-6.3-rc2/fs/erofs/
A 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.3-rc2/fs/ext4/
A Dfast_commit.c1157 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument
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()
/linux-6.3-rc2/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-6.3-rc2/include/trace/events/
A Dext4.h2740 TP_PROTO(struct super_block *sb, int nblks, int reason,
2743 TP_ARGS(sb, nblks, reason, commit_tid),
2747 __field(int, nblks)
2757 __entry->nblks = nblks;
2768 __entry->nblks, __entry->reason, __entry->num_fc,
/linux-6.3-rc2/drivers/scsi/cxlflash/
A Dvlun.c421 u32 nblks) in write_same16() argument
428 int left = nblks; in write_same16()
/linux-6.3-rc2/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-6.3-rc2/include/soc/tegra/
A Dbpmp-abi.h2991 uint32_t nblks; member
/linux-6.3-rc2/drivers/scsi/
A Dscsi_debug.c4256 u32 nblks; in resp_pre_fetch() local
4263 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch()
4266 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch()
4268 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch()
4276 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4277 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
4282 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()

Completed in 89 milliseconds