/linux-master/arch/powerpc/boot/ |
H A D | mktree.c | 45 int nblks, i; local 60 nblks = (st.st_size + IMGBLK) / IMGBLK; 72 bt.bb_num_512blocks = htonl(nblks); 115 nblks -= (64 * 1024) / IMGBLK; 124 while (nblks-- > 0) {
|
/linux-master/arch/arm64/crypto/ |
H A D | sm4-ce-glue.c | 31 unsigned int nblks); 41 u8 *iv, unsigned int nblks); 120 unsigned int nblks; local 124 nblks = BYTES2BLKS(nbytes); 125 if (nblks) { 126 sm4_ce_crypt(rkey, dst, src, nblks); 127 nbytes -= nblks * SM4_BLOCK_SIZE; 291 unsigned int nblks; local 295 nblks = BYTES2BLKS(nbytes); 296 if (nblks) { [all...] |
/linux-master/drivers/crypto/amcc/ |
H A D | crypto4xx_alg.c | 245 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / local 254 if (counter + nblks < counter) {
|
/linux-master/drivers/crypto/axis/ |
H A D | artpec6_crypto.c | 1184 unsigned int nblks = ALIGN(req->cryptlen, AES_BLOCK_SIZE) / local 1193 if (counter + nblks < counter) { 1196 pr_debug("counter %x will overflow (nblks %u), falling back\n", 1197 counter, counter + nblks);
|
/linux-master/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_smp.c | 64 u32 cid, int nblks) 76 nblks = max(0, nblks - reserved); 77 DBG("%d MMBs allocated (%d reserved)", nblks, reserved); 81 if (nblks > avail) { 83 nblks, avail); 87 for (i = 0; i < nblks; i++) { 97 enum mdp5_pipe pipe, int nblks) 103 val = (nblks * smp_entries_per_blk) / 4; 222 unsigned nblks local 62 smp_request_block(struct mdp5_smp *smp, struct mdp5_smp_state *state, u32 cid, int nblks) argument 96 set_fifo_thresholds(struct mdp5_smp *smp, enum mdp5_pipe pipe, int nblks) argument 293 unsigned i, nblks = 0; local [all...] |
/linux-master/drivers/scsi/cxlflash/ |
H A D | vlun.c | 397 * @nblks: Number of logical blocks to write same. 421 u32 nblks) 428 int left = nblks; 419 write_same16(struct scsi_device *sdev, u64 lba, u32 nblks) argument
|
/linux-master/drivers/scsi/ |
H A D | scsi_debug.c | 4681 u32 nblks; local 4688 nblks = get_unaligned_be16(cmd + 7); 4691 nblks = get_unaligned_be32(cmd + 10); 4693 if (lba + nblks > sdebug_capacity) { 4701 if (block + nblks > sdebug_store_sectors) 4702 rest = block + nblks - sdebug_store_sectors; 4707 (nblks - rest) * sdebug_sector_size);
|
/linux-master/fs/erofs/ |
H A D | inode.c | 18 erofs_blk_t blkaddr, nblks = 0; local 141 nblks = le32_to_cpu(iu.compressed_blocks); 163 if (!nblks) 167 inode->i_blocks = nblks << (sb->s_blocksize_bits - 9);
|
/linux-master/fs/ext4/ |
H A D | fast_commit.c | 1157 u64 commit_time, int nblks, tid_t commit_tid) 1165 stats->fc_numblks += nblks; 1180 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); 1193 int nblks = 0, ret, bsize = journal->j_blocksize; local 1240 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; 1241 ret = jbd2_fc_wait_bufs(journal, nblks); 1253 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); 1156 ext4_fc_update_stats(struct super_block *sb, int status, u64 commit_time, int nblks, tid_t commit_tid) argument
|
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 107 unsigned nblks = 1; local 113 while (start_blk + nblks < end_blk) { 114 if (!ifs_block_is_dirty(folio, ifs, start_blk + nblks)) 116 nblks++; 120 return nblks << inode->i_blkbits;
|
/linux-master/fs/jfs/ |
H A D | jfs_dmap.c | 452 int nblks, dbitno, wbitno, rbits; local 482 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { 504 nblks = min(rem, (s64)BPERDMAP - dbitno); 513 for (rbits = nblks; rbits > 0;
|
H A D | jfs_extent.c | 303 s64 nb, nblks, daddr, max; local 321 nb = nblks = (max > nbperpage) ? max : nbperpage; 323 nb = nblks = *nblocks; 334 nb = min(nblks, extRoundDown(nb));
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 291 int nblks; local 298 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); 302 nblks *= 2; 310 nblks += dblocks; 311 nblks += XFS_NEXTENTADD_SPACE_RES(mp, dblocks, XFS_ATTR_FORK); 314 return nblks;
|
H A D | xfs_bmap.c | 5117 xfs_filblks_t nblks; /* quota/sb block count */ local 5168 nblks = del->br_blockcount; 5332 if (nblks) 5333 ip->i_nblocks -= nblks; 5338 xfs_trans_mod_dquot_byino(tp, ip, qfield, (long)-nblks);
|
H A D | xfs_da_btree.c | 2169 xfs_rfsblock_t nblks = dp->i_nblocks; local 2236 args->total -= dp->i_nblocks - nblks;
|
H A D | xfs_log_rlimit.c | 28 int nblks; local 32 nblks = XFS_DAENTER_SPACE_RES(mp, XFS_ATTR_FORK); 33 nblks += XFS_B_TO_FSB(mp, size); 34 nblks += XFS_NEXTENTADD_SPACE_RES(mp, size, XFS_ATTR_FORK); 37 M_RES(mp)->tr_attrsetrt.tr_logres * nblks;
|
/linux-master/fs/xfs/scrub/ |
H A D | quotacheck.c | 133 int64_t nblks, 145 xcdq.bcount += nblks; 395 xfs_filblks_t nblks, rtblks; local 428 xfs_inode_count_blocks(tp, ip, &nblks, &rtblks); 440 nblks, rtblks); 448 nblks, rtblks); 456 nblks, rtblks); 128 xqcheck_update_incore_counts( struct xqcheck *xqc, struct xfarray *counts, xfs_dqid_t id, int64_t inodes, int64_t nblks, int64_t rtblks) argument
|
/linux-master/fs/xfs/ |
H A D | xfs_qm.c | 1087 xfs_qcnt_t nblks, 1114 if (nblks) { 1115 dqp->q_blk.count += nblks; 1116 dqp->q_blk.reserved += nblks; 1151 xfs_qcnt_t nblks; local 1199 nblks = (xfs_qcnt_t)ip->i_nblocks - rtblks; 1215 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, 1222 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, 1229 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_PROJ, nblks, 1084 xfs_qm_quotacheck_dqadjust( struct xfs_inode *ip, xfs_dqtype_t type, xfs_qcnt_t nblks, xfs_qcnt_t rtblks) argument
|
H A D | xfs_quota.h | 185 int64_t nblks, long nions, uint flags) 182 xfs_trans_reserve_quota_bydquots(struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long nions, uint flags) argument
|
H A D | xfs_trace.h | 431 __field(int, nblks) 442 __entry->nblks = bp->b_length; 454 __entry->nblks, 4708 __field(int, nblks) 4717 __entry->nblks = bp->b_length; 4726 __entry->nblks,
|
H A D | xfs_trans_dquot.c | 784 int64_t nblks, 814 quota_nl = xfs_dqresv_check(blkres, qlim, nblks, &fatal); 838 blkres->reserved += (xfs_qcnt_t)nblks; 851 nblks); 895 int64_t nblks, 907 error = xfs_trans_dqresv(tp, mp, udqp, nblks, ninos, flags); 913 error = xfs_trans_dqresv(tp, mp, gdqp, nblks, ninos, flags); 919 error = xfs_trans_dqresv(tp, mp, pdqp, nblks, ninos, flags); 932 xfs_trans_dqresv(tp, mp, gdqp, -nblks, -ninos, flags); 936 xfs_trans_dqresv(tp, mp, udqp, -nblks, 780 xfs_trans_dqresv( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *dqp, int64_t nblks, long ninos, uint flags) argument 889 xfs_trans_reserve_quota_bydquots( struct xfs_trans *tp, struct xfs_mount *mp, struct xfs_dquot *udqp, struct xfs_dquot *gdqp, struct xfs_dquot *pdqp, int64_t nblks, long ninos, uint flags) argument [all...] |
/linux-master/include/soc/tegra/ |
H A D | bpmp-abi.h | 2991 uint32_t nblks; member in struct:cmd_uphy_margin_control_request
|
/linux-master/include/trace/events/ |
H A D | ext4.h | 2744 TP_PROTO(struct super_block *sb, int nblks, int reason, 2747 TP_ARGS(sb, nblks, reason, commit_tid), 2751 __field(int, nblks) 2761 __entry->nblks = nblks; 2770 TP_printk("dev %d,%d nblks %d, reason %d, fc = %d, ineligible = %d, agg_nblks %d, tid %u", 2772 __entry->nblks, __entry->reason, __entry->num_fc,
|