| /linux-6.15/drivers/gpu/drm/msm/disp/mdp5/ |
| H A D | mdp5_smp.c | 64 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.15/arch/powerpc/boot/ |
| H A D | mktree.c | 45 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.15/fs/xfs/libxfs/ |
| H A D | xfs_log_rlimit.c | 56 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()
|
| H A D | xfs_attr.c | 305 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()
|
| H A D | xfs_bmap.c | 4931 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local 4972 nblks = del->br_blockcount; in xfs_bmap_del_extent_real() 5157 if (nblks) in xfs_bmap_del_extent_real() 5158 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real() 5163 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
|
| H A D | xfs_da_btree.c | 2300 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-6.15/arch/arm64/crypto/ |
| H A D | sm4-ce-glue.c | 31 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-6.15/fs/xfs/ |
| H A D | xfs_trans_dquot.c | 814 int64_t nblks, in xfs_trans_dqresv() argument 844 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv() 868 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv() 881 nblks); in xfs_trans_dqresv() 925 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument 937 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 943 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 949 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 962 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots() 966 xfs_trans_dqresv(tp, mp, udqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
|
| H A D | xfs_qm.c | 1324 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument 1355 if (nblks) { in xfs_qm_quotacheck_dqadjust() 1356 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1357 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 1392 xfs_filblks_t nblks, rtblks; in xfs_qm_dqusage_adjust() local 1442 xfs_inode_count_blocks(tp, ip, &nblks, &rtblks); in xfs_qm_dqusage_adjust() 1459 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust() 1466 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust() 1473 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, in xfs_qm_dqusage_adjust()
|
| H A D | xfs_quota.h | 182 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
|
| H A D | xfs_trace.h | 636 __field(int, nblks) 647 __entry->nblks = bp->b_length; 659 __entry->nblks, 5125 __field(int, nblks) 5134 __entry->nblks = bp->b_length; 5143 __entry->nblks,
|
| /linux-6.15/fs/jfs/ |
| H A D | jfs_extent.c | 313 s64 nb, nblks, daddr, max; in extBalloc() local 331 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc() 333 nb = nblks = *nblocks; in extBalloc() 344 nb = min(nblks, extRoundDown(nb)); in extBalloc()
|
| H A D | jfs_dmap.c | 437 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.15/fs/xfs/scrub/ |
| H A D | quotacheck.c | 133 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 431 xfs_inode_count_blocks(tp, ip, &nblks, &rtblks); in xqcheck_collect_inode() 443 nblks, rtblks); in xqcheck_collect_inode() 451 nblks, rtblks); in xqcheck_collect_inode() 459 nblks, rtblks); in xqcheck_collect_inode()
|
| /linux-6.15/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 401 unsigned int nblks, nresidue, size, ret; in tegra_sha_do_update() local 405 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_sha_do_update() 411 if (!nresidue && nblks) { in tegra_sha_do_update() 413 nblks--; in tegra_sha_do_update() 423 if (nblks < 1) { in tegra_sha_do_update()
|
| H A D | tegra-se-aes.c | 1575 unsigned int nblks, nresidue, cmdlen; in tegra_cmac_do_update() local 1582 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_cmac_do_update() 1587 if (!nresidue && nblks) { in tegra_cmac_do_update() 1589 nblks--; in tegra_cmac_do_update() 1602 if (nblks < 1) { in tegra_cmac_do_update()
|
| /linux-6.15/fs/ext4/ |
| H A D | fast_commit.c | 1154 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument 1162 stats->fc_numblks += nblks; in ext4_fc_update_stats() 1177 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats() 1190 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local 1237 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit() 1238 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit() 1250 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
|
| /linux-6.15/fs/iomap/ |
| H A D | buffered-io.c | 102 unsigned nblks = 1; in ifs_find_dirty_range() local 108 while (start_blk + nblks < end_blk) { in ifs_find_dirty_range() 109 if (!ifs_block_is_dirty(folio, ifs, start_blk + nblks)) in ifs_find_dirty_range() 111 nblks++; in ifs_find_dirty_range() 115 return nblks << inode->i_blkbits; in ifs_find_dirty_range()
|
| /linux-6.15/drivers/crypto/amcc/ |
| H A D | crypto4xx_alg.c | 245 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in crypto4xx_ctr_crypt() local 254 if (counter + nblks < counter) { in crypto4xx_ctr_crypt()
|
| /linux-6.15/include/trace/events/ |
| H A D | ext4.h | 2747 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-6.15/drivers/crypto/axis/ |
| H A D | artpec6_crypto.c | 1184 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.15/include/soc/tegra/ |
| H A D | bpmp-abi.h | 2991 uint32_t nblks; member
|
| /linux-6.15/drivers/scsi/ |
| H A D | scsi_debug.c | 5583 u32 nblks; in resp_pre_fetch() local 5615 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch() 5618 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch() 5620 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch() 5628 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch() 5629 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch() 5634 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()
|