Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/disp/mdp5/
H A Dmdp5_smp.c64 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 …]
/OK3568_Linux_fs/kernel/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()
H A Dxfs_bmap.c5012 xfs_filblks_t nblks; /* quota/sb block count */ in xfs_bmap_del_extent_real() local
5069 nblks = len * mp->m_sb.sb_rextsize; in xfs_bmap_del_extent_real()
5073 nblks = del->br_blockcount; in xfs_bmap_del_extent_real()
5236 if (nblks) in xfs_bmap_del_extent_real()
5237 ip->i_d.di_nblocks -= nblks; in xfs_bmap_del_extent_real()
5242 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks); in xfs_bmap_del_extent_real()
H A Dxfs_da_btree.c2148 xfs_rfsblock_t nblks = dp->i_d.di_nblocks; in xfs_da_grow_inode_int() local
2214 args->total -= dp->i_d.di_nblocks - nblks; in xfs_da_grow_inode_int()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/fs/xfs/
H A Dxfs_trans_dquot.c635 int64_t nblks, in xfs_trans_dqresv() argument
665 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); in xfs_trans_dqresv()
689 blkres->reserved += (xfs_qcnt_t)nblks; in xfs_trans_dqresv()
702 if (nblks != 0) in xfs_trans_dqresv()
705 nblks); in xfs_trans_dqresv()
745 int64_t nblks, in xfs_trans_reserve_quota_bydquots() argument
760 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
766 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
772 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); in xfs_trans_reserve_quota_bydquots()
785 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); in xfs_trans_reserve_quota_bydquots()
[all …]
H A Dxfs_quota.h128 struct xfs_inode *ip, int64_t nblks, long ninos, uint flags) in xfs_trans_reserve_quota_nblks() argument
135 int64_t nblks, long nions, uint flags) in xfs_trans_reserve_quota_bydquots() argument
154 #define xfs_trans_unreserve_quota_nblks(tp, ip, nblks, ninos, flags) \ argument
155 xfs_trans_reserve_quota_nblks(tp, ip, -(nblks), -(ninos), flags)
H A Dxfs_qm.c1075 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument
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()
H A Dxfs_trace.h286 __field(int, nblks)
299 __entry->nblks = bp->b_length;
310 __entry->nblks,
/OK3568_Linux_fs/kernel/fs/jfs/
H A Djfs_extent.c500 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()
H A Djfs_dmap.c422 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local
452 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap()
474 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap()
483 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()
/OK3568_Linux_fs/kernel/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()
182 if (!nblks) in erofs_read_inode()
186 inode->i_blocks = nblks << LOG_SECTORS_PER_BLOCK; in erofs_read_inode()
/OK3568_Linux_fs/kernel/fs/ext4/
H A Dfast_commit.c1091 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local
1128 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit()
1129 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit()
1150 sbi->s_fc_stats.fc_numblks += nblks; in ext4_fc_commit()
1153 nblks = (reason == EXT4_FC_REASON_OK) ? nblks : 0; in ext4_fc_commit()
1154 trace_ext4_fc_commit_stop(sb, nblks, reason); in ext4_fc_commit()
1167 nblks, reason, subtid); in ext4_fc_commit()
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dext4.h2882 TP_PROTO(struct super_block *sb, int nblks, int reason),
2884 TP_ARGS(sb, nblks, reason),
2888 __field(int, nblks)
2897 __entry->nblks = nblks;
2907 __entry->nblks, __entry->reason, __entry->num_fc,
/OK3568_Linux_fs/kernel/drivers/scsi/cxlflash/
H A Dvlun.c421 u32 nblks) in write_same16() argument
428 int left = nblks; in write_same16()
/OK3568_Linux_fs/kernel/include/soc/tegra/
H A Dbpmp-abi.h2439 uint32_t nblks; member
/OK3568_Linux_fs/kernel/drivers/crypto/axis/
H A Dartpec6_crypto.c1183 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()
/OK3568_Linux_fs/kernel/drivers/scsi/
H A Dscsi_debug.c4095 u32 nblks; in resp_pre_fetch() local
4103 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch()
4106 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch()
4108 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch()
4116 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch()
4117 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch()
4122 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()