| /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 …]
|
| /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()
|
| H A D | jfs_dmap.c | 441 int nblks, dbitno, wbitno, rbits; in dbUpdatePMap() local 471 for (rem = nblocks; rem > 0; rem -= nblks, blkno += nblks) { in dbUpdatePMap() 493 nblks = min(rem, (s64)BPERDMAP - dbitno); in dbUpdatePMap() 502 for (rbits = nblks; rbits > 0; in dbUpdatePMap()
|
| /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
|
| /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/crypto/tegra/ |
| H A D | tegra-se-aes.c | 1575 unsigned int nblks, nresidue, cmdlen; in tegra_cmac_do_update() local 1582 nblks = (req->nbytes + rctx->residue.size) / rctx->blk_size; in tegra_cmac_do_update() 1587 if (!nresidue && nblks) { in tegra_cmac_do_update() 1589 nblks--; in tegra_cmac_do_update() 1602 if (nblks < 1) { in tegra_cmac_do_update()
|
| /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()
|
| /linux/include/soc/tegra/ |
| H A D | bpmp-abi.h | 2991 uint32_t nblks; member
|
| /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 | 2300 xfs_rfsblock_t nblks = dp->i_nblocks; in xfs_da_grow_inode_int() local 2357 args->total -= dp->i_nblocks - nblks; in xfs_da_grow_inode_int()
|