| /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()
|
| /linux/arch/arm64/crypto/ |
| H A D | sm4-ce-glue.c | 30 unsigned int nblks); 40 u8 *iv, unsigned int nblks); 117 unsigned int nblks; in sm4_ecb_do_crypt() local 120 nblks = BYTES2BLKS(nbytes); in sm4_ecb_do_crypt() 121 if (nblks) { in sm4_ecb_do_crypt() 122 sm4_ce_crypt(rkey, dst, src, nblks); in sm4_ecb_do_crypt() 123 nbytes -= nblks * SM4_BLOCK_SIZE; in sm4_ecb_do_crypt() 282 unsigned int nblks; in sm4_ctr_crypt() local 285 nblks = BYTES2BLKS(nbytes); in sm4_ctr_crypt() 286 if (nblks) { in sm4_ctr_crypt() [all …]
|
| /linux/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()
|
| /linux/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/fs/xfs/ |
| H A D | xfs_qm.c | 1252 xfs_qcnt_t nblks, in xfs_qm_quotacheck_dqadjust() argument 1284 if (nblks) { in xfs_qm_quotacheck_dqadjust() 1285 dqp->q_blk.count += nblks; in xfs_qm_quotacheck_dqadjust() 1286 dqp->q_blk.reserved += nblks; in xfs_qm_quotacheck_dqadjust() 1323 xfs_filblks_t nblks, rtblks; in xfs_qm_dqusage_adjust() local 1373 xfs_inode_count_blocks(tp, ip, &nblks, &rtblks); in xfs_qm_dqusage_adjust() 1390 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_USER, nblks, in xfs_qm_dqusage_adjust() 1397 error = xfs_qm_quotacheck_dqadjust(ip, XFS_DQTYPE_GROUP, nblks, in xfs_qm_dqusage_adjust() 1404 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 | 733 __field(int, nblks) 744 __entry->nblks = bp->b_length; 756 __entry->nblks, 5201 __field(int, nblks) 5210 __entry->nblks = bp->b_length; 5219 __entry->nblks,
|
| /linux/drivers/crypto/tegra/ |
| H A D | tegra-se-hash.c | 404 unsigned int nblks, nresidue, size; in tegra_sha_do_update() local 409 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_sha_do_update() 415 if (!nresidue && nblks) { in tegra_sha_do_update() 417 nblks--; in tegra_sha_do_update() 427 if (nblks < 1) { in tegra_sha_do_update()
|
| H A D | tegra-se-aes.c | 1583 unsigned int nblks, nresidue, cmdlen; in tegra_cmac_do_update() local 1590 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_cmac_do_update() 1595 if (!nresidue && nblks) { in tegra_cmac_do_update() 1597 nblks--; in tegra_cmac_do_update() 1610 if (nblks < 1) { in tegra_cmac_do_update()
|
| /linux/fs/ext4/ |
| H A D | fast_commit.c | 1153 u64 commit_time, int nblks, tid_t commit_tid) in ext4_fc_update_stats() argument 1161 stats->fc_numblks += nblks; in ext4_fc_update_stats() 1176 trace_ext4_fc_commit_stop(sb, nblks, status, commit_tid); in ext4_fc_update_stats() 1189 int nblks = 0, ret, bsize = journal->j_blocksize; in ext4_fc_commit() local 1247 nblks = (sbi->s_fc_bytes + bsize - 1) / bsize - fc_bufs_before; in ext4_fc_commit() 1248 ret = jbd2_fc_wait_bufs(journal, nblks); in ext4_fc_commit() 1261 ext4_fc_update_stats(sb, status, commit_time, nblks, commit_tid); in ext4_fc_commit()
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 146 unsigned nblks; in ifs_find_dirty_range() local 152 nblks = 1; in ifs_find_dirty_range() 154 nblks = ifs_next_clean_block(folio, start_blk + 1, end_blk) - in ifs_find_dirty_range() 158 return nblks << inode->i_blkbits; in ifs_find_dirty_range()
|
| /linux/drivers/scsi/ |
| H A D | scsi_debug.c | 5674 u32 nblks; in resp_pre_fetch() local 5681 nblks = get_unaligned_be16(cmd + 7); in resp_pre_fetch() 5684 nblks = get_unaligned_be32(cmd + 10); in resp_pre_fetch() 5686 if (lba + nblks > sdebug_capacity) { in resp_pre_fetch() 5694 if (block + nblks > sdebug_store_sectors) in resp_pre_fetch() 5695 rest = block + nblks - sdebug_store_sectors; in resp_pre_fetch() 5700 (nblks - rest) * sdebug_sector_size); in resp_pre_fetch()
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 2331 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local 2388 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
|