/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp5/ |
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() 224 unsigned nblks = 0; in update_smp_state() local 251 nblks++; in update_smp_state() [all …]
|
/Linux-v5.4/fs/xfs/libxfs/ |
D | xfs_log_rlimit.c | 27 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()
|
D | xfs_attr.c | 196 int nblks; in xfs_attr_calc_size() local 203 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); in xfs_attr_calc_size() 207 nblks *= 2; in xfs_attr_calc_size() 215 nblks += dblocks; in xfs_attr_calc_size() 216 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); in xfs_attr_calc_size() 219 return nblks; in xfs_attr_calc_size()
|
D | xfs_bmap.c | 4950 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local 5003 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real() 5007 nblks = del->br_blockcount; in xfs_bmap_del_extent_real() 5158 if (nblks) in xfs_bmap_del_extent_real() 5159 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent_real() 5164 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
|
D | xfs_da_btree.c | 2068 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode_int() local 2134 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode_int()
|
/Linux-v5.4/arch/powerpc/boot/ |
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-v5.4/fs/xfs/ |
D | xfs_trans_dquot.c | 577 int64_t nblks, in xfs_trans_dqresv() argument 626 if (nblks > 0) { in xfs_trans_dqresv() 632 total_count = *resbcountp + nblks; in xfs_trans_dqresv() 680 (*resbcountp) += (xfs_qcnt_t)nblks; in xfs_trans_dqresv() 694 if (nblks != 0) in xfs_trans_dqresv() 697 nblks); in xfs_trans_dqresv() 737 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument 752 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, in xfs_trans_reserve_quota_bydquots() 759 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() 765 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots() [all …]
|
D | xfs_quota.h | 127 struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks() argument 134 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument 153 #define xfs_trans_unreserve_quota_nblks(tp, ip, nblks, ninos, flags) \ argument 154 xfs_trans_reserve_quota_nblks(tp, ip, -(nblks), -(ninos), flags)
|
D | xfs_qm.c | 1059 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument 1086 if (nblks) { in xfs_qm_quotacheck_dqadjust() 1087 be64_add_cpu(&dqp->q_core.d_bcount, nblks); in xfs_qm_quotacheck_dqadjust() 1088 dqp->q_res_bcount += nblks; in xfs_qm_quotacheck_dqadjust() 1123 xfs_qcnt_t nblks; in xfs_qm_dqusage_adjust() local 1160 nblks = (xfs_qcnt_t)ip->i_d.di_nblocks - rtblks; in xfs_qm_dqusage_adjust() 1175 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_USER, nblks, in xfs_qm_dqusage_adjust() 1182 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_GROUP, nblks, in xfs_qm_dqusage_adjust() 1189 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQ_PROJ, nblks, in xfs_qm_dqusage_adjust()
|
D | xfs_trace.h | 279 __field(int, nblks) 292 __entry->nblks = bp->b_length; 303 __entry->nblks,
|
/Linux-v5.4/fs/jfs/ |
D | jfs_extent.c | 500 s64 nb, nblks, daddr, max; in extBalloc() local 513 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc() 515 nb = nblks = *nblocks; in extBalloc() 526 nb = min(nblks, extRoundDown(nb)); in extBalloc() 590 s64 blkno, s64 nblks, s64 * newnblks, s64 * newblkno) in extBrealloc() argument 595 if ((rc = dbExtend(ip, blkno, nblks, *newnblks - nblks)) == 0) { in extBrealloc()
|
D | jfs_dmap.c | 414 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local 444 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap() 466 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap() 475 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
|
D | jfs_xtree.c | 2563 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()
|
/Linux-v5.4/fs/erofs/ |
D | inode.c | 20 erofs_blk_t nblks = 0; in erofs_read_inode() local 71 nblks = le32_to_cpu(die->i_u.compressed_blocks); in erofs_read_inode() 108 nblks = le32_to_cpu(dic->i_u.compressed_blocks); in erofs_read_inode() 118 if (!nblks) in erofs_read_inode() 122 inode->i_blocks = nblks << LOG_SECTORS_PER_BLOCK; in erofs_read_inode()
|
/Linux-v5.4/drivers/crypto/amcc/ |
D | crypto4xx_alg.c | 262 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in crypto4xx_ctr_crypt() local 271 if (counter + nblks < counter) { in crypto4xx_ctr_crypt()
|
/Linux-v5.4/drivers/scsi/cxlflash/ |
D | vlun.c | 421 u32 nblks) in write_same16() argument 428 int left = nblks; in write_same16()
|
/Linux-v5.4/include/soc/tegra/ |
D | bpmp-abi.h | 2135 uint32_t nblks; member
|
/Linux-v5.4/drivers/crypto/axis/ |
D | artpec6_crypto.c | 1183 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / in artpec6_crypto_ctr_crypt() local 1192 if (counter + nblks < counter) { in artpec6_crypto_ctr_crypt() 1196 counter, counter + nblks); in artpec6_crypto_ctr_crypt()
|