/openbmc/linux/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() 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 …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 31 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 [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 28 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 D | xfs_attr.c | 290 int nblks; in xfs_attr_calc_size() local 297 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size() 301 nblks *= 2; in xfs_attr_calc_size() 309 nblks += dblocks; in xfs_attr_calc_size() 310 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size() 313 return nblks; in xfs_attr_calc_size()
|
H A D | xfs_bmap.c | 5058 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local 5109 nblks = del->br_blockcount; in xfs_bmap_del_extent_real() 5265 if (nblks) in xfs_bmap_del_extent_real() 5266 ip->i_nblocks -= nblks; in xfs_bmap_del_extent_real() 5271 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
|
H A D | xfs_da_btree.c | 2161 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local 2217 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_trans_dquot.c | 622 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()
|
H A D | xfs_qm.c | 1076 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 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()
|
H A D | xfs_quota.h | 142 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
|
H A D | xfs_trace.h | 425 __field(int, nblks) 436 __entry->nblks = bp->b_length; 448 __entry->nblks,
|
/openbmc/linux/fs/jfs/ |
H A D | jfs_extent.c | 303 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()
|
H A D | jfs_dmap.c | 452 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()
|
/openbmc/linux/fs/erofs/ |
H A D | inode.c | 19 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()
|
/openbmc/linux/fs/ext4/ |
H A D | fast_commit.c | 1173 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()
|
/openbmc/linux/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 259 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in crypto4xx_ctr_crypt() local 268 if (counter + nblks < counter) { in crypto4xx_ctr_crypt()
|
/openbmc/linux/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,
|
/openbmc/linux/drivers/scsi/cxlflash/ |
H A D | vlun.c | 421 u32 nblks) in write_same16() argument 428 int left = nblks; in write_same16()
|
/openbmc/linux/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()
|
/openbmc/linux/include/soc/tegra/ |
H A D | bpmp-abi.h | 2991 uint32_t nblks; member
|
/openbmc/linux/drivers/scsi/ |
H A D | scsi_debug.c | 4246 u32 nblks; in resp_pre_fetch() local 4253 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch() 4256 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch() 4258 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch() 4266 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch() 4267 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch() 4272 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()
|