/kernel/linux/linux-5.10/init/ |
H A D | do_mounts_rd.c | 66 int nblocks = -1; in identify_ramdisk_image() local 96 nblocks = 0; in identify_ramdisk_image() 106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image() 114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image() 138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 154 nblocks = minixsb->s_nzones << minixsb->s_log_zone_size; in identify_ramdisk_image() 164 nblocks = n; in identify_ramdisk_image() 174 return nblocks; in identify_ramdisk_image() 190 int nblocks, in rd_load_image() local [all...] |
/kernel/linux/linux-6.6/init/ |
H A D | do_mounts_rd.c | 66 int nblocks = -1; in identify_ramdisk_image() local 96 nblocks = 0; in identify_ramdisk_image() 106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS; in identify_ramdisk_image() 114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1) in identify_ramdisk_image() 138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS; in identify_ramdisk_image() 154 nblocks = minixsb->s_nzones << minixsb->s_log_zone_size; in identify_ramdisk_image() 164 nblocks = n; in identify_ramdisk_image() 174 return nblocks; in identify_ramdisk_image() 190 int nblocks, in rd_load_image() local [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_dmap.c | 65 int nblocks); 72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results); 74 int nblocks); 76 int nblocks, 79 int nblocks); 80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, 83 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, 85 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, 87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks); 92 int nblocks); 355 dbFree(struct inode *ip, s64 blkno, s64 nblocks) dbFree() argument 449 dbUpdatePMap(struct inode *ipbmap, int free, s64 blkno, s64 nblocks, struct tblock * tblk) dbUpdatePMap() argument 725 dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results) dbAlloc() argument 918 dbAllocExact(struct inode *ip, s64 blkno, int nblocks) dbAllocExact() argument 1003 dbReAlloc(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks, s64 * results) dbReAlloc() argument 1051 dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks) dbExtend() argument 1150 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocNext() argument 1282 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) dbAllocNear() argument 1391 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) dbAllocAG() argument 1589 dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) dbAllocAny() argument 1648 s64 nblocks, blkno; dbDiscardAG() local 1655 u64 nblocks; dbDiscardAG() member 1871 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) dbAllocCtl() argument 2022 dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, int l2nb, s64 * results) dbAllocDmapLev() argument 2088 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmap() argument 2143 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeDmap() argument 2205 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocBits() argument 2352 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeBits() argument 3247 dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks) dbAllocBottomUp() argument 3302 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmapBU() argument 3423 dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks) dbExtendFS() argument 3786 dbInitDmap(struct dmap * dp, s64 Blkno, int nblocks) dbInitDmap() argument 4043 dbGetL2AGSize(s64 nblocks) dbGetL2AGSize() argument 4093 s64 nblocks; dbMapFileSizeToMapSize() local [all...] |
H A D | jfs_dmap.h | 148 __le32 nblocks; /* 4: num blks covered by this dmap */ member 284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks); 287 int free, s64 blkno, s64 nblocks, struct tblock * tblk); 291 extern int dbAlloc(struct inode *ipbmap, s64 hint, s64 nblocks, s64 * results); 294 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results); 297 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks); 298 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
|
H A D | jfs_discard.c | 25 * nblocks - number of blocks to be trimmed 32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks) in jfs_issue_discard() argument 37 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0); in jfs_issue_discard() 41 (unsigned long long)nblocks, r); in jfs_issue_discard() 46 (unsigned long long)nblocks, r); in jfs_issue_discard()
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | sm4_aesni_avx_glue.c | 23 const u8 *src, int nblocks); 25 const u8 *src, int nblocks); 61 unsigned int nblocks = min(nbytes >> 4, 4u); in ecb_do_crypt() local 62 sm4_aesni_avx_crypt4(rkey, dst, src, nblocks); in ecb_do_crypt() 63 dst += nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 64 src += nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 65 nbytes -= nblocks * SM4_BLOCK_SIZE; in ecb_do_crypt() 153 unsigned int nblocks = min(nbytes >> 4, 8u); in sm4_avx_cbc_decrypt() local 157 src, nblocks); in sm4_avx_cbc_decrypt() 159 src += ((int)nblocks in sm4_avx_cbc_decrypt() 258 unsigned int nblocks = min(nbytes >> 4, 8u); sm4_avx_cfb_decrypt() local 327 unsigned int nblocks = min(nbytes >> 4, 8u); sm4_avx_ctr_crypt() local [all...] |
H A D | blake2s-glue.c | 19 const u8 *block, const size_t nblocks, 22 const u8 *block, const size_t nblocks, 29 size_t nblocks, const u32 inc) in blake2s_compress() 35 blake2s_compress_generic(state, block, nblocks, inc); in blake2s_compress() 40 const size_t blocks = min_t(size_t, nblocks, in blake2s_compress() 51 nblocks -= blocks; in blake2s_compress() 53 } while (nblocks); in blake2s_compress() 28 blake2s_compress(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) blake2s_compress() argument
|
H A D | polyval-clmulni_glue.c | 49 const u8 *in, size_t nblocks, u8 *accumulator); 58 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() 62 clmul_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update() 66 nblocks, accumulator); in internal_polyval_update() 116 unsigned int nblocks; in polyval_x86_update() local 136 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE; in polyval_x86_update() 137 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_x86_update() 138 srclen -= nblocks * POLYVAL_BLOCK_SIZE; in polyval_x86_update() 139 src += nblocks * POLYVAL_BLOCK_SIZE; in polyval_x86_update() 57 internal_polyval_update(const struct polyval_tfm_ctx *keys, const u8 *in, size_t nblocks, u8 *accumulator) internal_polyval_update() argument
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_dmap.c | 65 int nblocks); 72 static int dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results); 74 int nblocks); 76 int nblocks, 79 int nblocks); 80 static int dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, 83 static int dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, 85 static int dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, 87 static int dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks); 92 int nblocks); 355 dbFree(struct inode *ip, s64 blkno, s64 nblocks) dbFree() argument 449 dbUpdatePMap(struct inode *ipbmap, int free, s64 blkno, s64 nblocks, struct tblock * tblk) dbUpdatePMap() argument 725 dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results) dbAlloc() argument 935 dbReAlloc(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks, s64 * results) dbReAlloc() argument 983 dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks) dbExtend() argument 1082 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocNext() argument 1214 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) dbAllocNear() argument 1323 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) dbAllocAG() argument 1521 dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) dbAllocAny() argument 1580 s64 nblocks, blkno; dbDiscardAG() local 1587 u64 nblocks; dbDiscardAG() member 1803 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) dbAllocCtl() argument 1954 dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, int l2nb, s64 * results) dbAllocDmapLev() argument 2020 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmap() argument 2075 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeDmap() argument 2137 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocBits() argument 2284 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbFreeBits() argument 3183 dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks) dbAllocBottomUp() argument 3238 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) dbAllocDmapBU() argument 3359 dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks) dbExtendFS() argument 3722 dbInitDmap(struct dmap * dp, s64 Blkno, int nblocks) dbInitDmap() argument 3979 dbGetL2AGSize(s64 nblocks) dbGetL2AGSize() argument 4029 s64 nblocks; dbMapFileSizeToMapSize() local [all...] |
H A D | jfs_dmap.h | 148 __le32 nblocks; /* 4: num blks covered by this dmap */ member 284 extern int dbFree(struct inode *ipbmap, s64 blkno, s64 nblocks); 287 int free, s64 blkno, s64 nblocks, struct tblock * tblk); 291 extern int dbAlloc(struct inode *ipbmap, s64 hint, s64 nblocks, s64 * results); 294 s64 blkno, s64 nblocks, s64 addnblocks, s64 * results); 297 extern int dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks); 298 extern int dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks);
|
H A D | jfs_discard.c | 25 * nblocks - number of blocks to be trimmed 32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks) in jfs_issue_discard() argument 37 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0); in jfs_issue_discard() 41 (unsigned long long)nblocks, r); in jfs_issue_discard() 46 (unsigned long long)nblocks, r); in jfs_issue_discard()
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | sm4-neon-glue.c | 22 unsigned int nblocks); 24 u8 *iv, unsigned int nblocks); 26 u8 *iv, unsigned int nblocks); 28 u8 *iv, unsigned int nblocks); 49 unsigned int nblocks; in sm4_ecb_do_crypt() local 51 nblocks = nbytes / SM4_BLOCK_SIZE; in sm4_ecb_do_crypt() 52 if (nblocks) { in sm4_ecb_do_crypt() 55 sm4_neon_crypt(rkey, dst, src, nblocks); in sm4_ecb_do_crypt() 127 unsigned int nblocks; in sm4_cbc_decrypt() local 129 nblocks in sm4_cbc_decrypt() 198 unsigned int nblocks; sm4_cfb_decrypt() local 242 unsigned int nblocks; sm4_ctr_crypt() local [all...] |
H A D | polyval-ce-glue.c | 45 const u8 *in, size_t nblocks, u8 *accumulator); 49 const u8 *in, size_t nblocks, u8 *accumulator) in internal_polyval_update() 53 pmull_polyval_update(keys, in, nblocks, accumulator); in internal_polyval_update() 57 nblocks, accumulator); in internal_polyval_update() 107 unsigned int nblocks; in polyval_arm64_update() local 127 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE; in polyval_arm64_update() 128 internal_polyval_update(tctx, src, nblocks, dctx->buffer); in polyval_arm64_update() 129 srclen -= nblocks * POLYVAL_BLOCK_SIZE; in polyval_arm64_update() 130 src += nblocks * POLYVAL_BLOCK_SIZE; in polyval_arm64_update() 48 internal_polyval_update(const struct polyval_tfm_ctx *keys, const u8 *in, size_t nblocks, u8 *accumulator) internal_polyval_update() argument
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | blake2s-glue.c | 21 const u8 *block, const size_t nblocks, 24 const u8 *block, const size_t nblocks, 31 size_t nblocks, const u32 inc) in blake2s_compress() 37 blake2s_compress_generic(state, block, nblocks, inc); in blake2s_compress() 42 const size_t blocks = min_t(size_t, nblocks, in blake2s_compress() 53 nblocks -= blocks; in blake2s_compress() 55 } while (nblocks); in blake2s_compress() 30 blake2s_compress(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) blake2s_compress() argument
|
/kernel/linux/linux-6.6/arch/arm/crypto/ |
H A D | blake2b-neon-glue.c | 19 const u8 *block, size_t nblocks, u32 inc); 22 const u8 *block, size_t nblocks, u32 inc) in blake2b_compress_arch() 25 blake2b_compress_generic(state, block, nblocks, inc); in blake2b_compress_arch() 30 const size_t blocks = min_t(size_t, nblocks, in blake2b_compress_arch() 37 nblocks -= blocks; in blake2b_compress_arch() 39 } while (nblocks); in blake2b_compress_arch() 21 blake2b_compress_arch(struct blake2b_state *state, const u8 *block, size_t nblocks, u32 inc) blake2b_compress_arch() argument
|
/kernel/linux/linux-5.10/include/crypto/internal/ |
H A D | blake2s.h | 15 size_t nblocks, const u32 inc); 18 size_t nblocks, const u32 inc); 50 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); in __blake2s_update() local 53 blake2s_compress_generic(state, in, nblocks - 1, in __blake2s_update() 56 blake2s_compress(state, in, nblocks - 1, in __blake2s_update() 58 in += BLAKE2S_BLOCK_SIZE * (nblocks - 1); in __blake2s_update() 59 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1); in __blake2s_update()
|
/kernel/linux/linux-6.6/include/crypto/internal/ |
H A D | blake2b.h | 15 const u8 *block, size_t nblocks, u32 inc); 23 const u8 *block, size_t nblocks, u32 inc); 41 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2B_BLOCK_SIZE); in __blake2b_update() local 43 (*compress)(state, in, nblocks - 1, BLAKE2B_BLOCK_SIZE); in __blake2b_update() 44 in += BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update() 45 inlen -= BLAKE2B_BLOCK_SIZE * (nblocks - 1); in __blake2b_update()
|
/kernel/linux/linux-5.10/fs/erofs/ |
H A D | data.c | 53 erofs_blk_t nblocks, lastblk; in erofs_map_blocks_flatmode() local 60 nblocks = DIV_ROUND_UP(inode->i_size, PAGE_SIZE); in erofs_map_blocks_flatmode() 61 lastblk = nblocks - tailendpacking; in erofs_map_blocks_flatmode() 131 unsigned int nblocks, in erofs_read_raw_page() 139 DBG_BUGON(!nblocks); in erofs_read_raw_page() 216 if (nblocks > DIV_ROUND_UP(map.m_plen, PAGE_SIZE)) in erofs_read_raw_page() 217 nblocks = DIV_ROUND_UP(map.m_plen, PAGE_SIZE); in erofs_read_raw_page() 218 if (nblocks > BIO_MAX_PAGES) in erofs_read_raw_page() 219 nblocks = BIO_MAX_PAGES; in erofs_read_raw_page() 221 bio = bio_alloc(GFP_NOIO, nblocks); in erofs_read_raw_page() 127 erofs_read_raw_page(struct bio *bio, struct address_space *mapping, struct page *page, erofs_off_t *last_block, unsigned int nblocks, bool ra) erofs_read_raw_page() argument [all...] |
/kernel/linux/linux-5.10/lib/crypto/ |
H A D | blake2s-generic.c | 41 size_t nblocks, const u32 inc) 45 size_t nblocks, const u32 inc) in blake2s_compress_generic() 52 (nblocks > 1 && inc != BLAKE2S_BLOCK_SIZE)); in blake2s_compress_generic() 54 while (nblocks > 0) { in blake2s_compress_generic() 107 --nblocks; in blake2s_compress_generic() 44 blake2s_compress_generic(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) blake2s_compress_generic() argument
|
/kernel/linux/linux-6.6/lib/crypto/ |
H A D | blake2s-generic.c | 40 size_t nblocks, const u32 inc) 44 size_t nblocks, const u32 inc) in blake2s_compress_generic() 51 (nblocks > 1 && inc != BLAKE2S_BLOCK_SIZE)); in blake2s_compress_generic() 53 while (nblocks > 0) { in blake2s_compress_generic() 106 --nblocks; in blake2s_compress_generic() 43 blake2s_compress_generic(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) blake2s_compress_generic() argument
|
H A D | blake2s.c | 38 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); in blake2s_update() local 39 blake2s_compress(state, in, nblocks - 1, BLAKE2S_BLOCK_SIZE); in blake2s_update() 40 in += BLAKE2S_BLOCK_SIZE * (nblocks - 1); in blake2s_update() 41 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1); in blake2s_update()
|
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | ext4_jbd2.h | 302 #define ext4_journal_start_sb(sb, type, nblocks) \ 303 __ext4_journal_start_sb((sb), __LINE__, (type), (nblocks), 0, \ 306 #define ext4_journal_start(inode, type, nblocks) \ 307 __ext4_journal_start((inode), __LINE__, (type), (nblocks), 0, \ 341 static inline int ext4_journal_extend(handle_t *handle, int nblocks, int revoke) in ext4_journal_extend() argument 344 return jbd2_journal_extend(handle, nblocks, revoke); in ext4_journal_extend() 348 static inline int ext4_journal_restart(handle_t *handle, int nblocks, in ext4_journal_restart() argument 352 return jbd2__journal_restart(handle, nblocks, revoke, GFP_NOFS); in ext4_journal_restart()
|
/kernel/linux/linux-6.6/fs/ext4/ |
H A D | ext4_jbd2.h | 305 #define ext4_journal_start_sb(sb, type, nblocks) \ 306 __ext4_journal_start_sb(NULL, (sb), __LINE__, (type), (nblocks), 0,\ 309 #define ext4_journal_start(inode, type, nblocks) \ 310 __ext4_journal_start((inode), __LINE__, (type), (nblocks), 0, \ 344 static inline int ext4_journal_extend(handle_t *handle, int nblocks, int revoke) in ext4_journal_extend() argument 347 return jbd2_journal_extend(handle, nblocks, revoke); in ext4_journal_extend() 351 static inline int ext4_journal_restart(handle_t *handle, int nblocks, in ext4_journal_restart() argument 355 return jbd2__journal_restart(handle, nblocks, revoke, GFP_NOFS); in ext4_journal_restart()
|
/kernel/linux/linux-5.10/fs/nilfs2/ |
H A D | segbuf.h | 22 * @nblocks: Number of blocks included in the partial segment 34 unsigned long nblocks; member 131 return segbuf->sb_sum.nblocks == segbuf->sb_sum.nsumblk; in nilfs_segbuf_empty() 139 segbuf->sb_sum.nblocks++; in nilfs_segbuf_add_segsum_buffer() 148 segbuf->sb_sum.nblocks++; in nilfs_segbuf_add_payload_buffer()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
H A D | xattr.h | 74 size_t nblocks = JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); in reiserfs_xattr_jcreate_nblocks() local 77 nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); in reiserfs_xattr_jcreate_nblocks() 79 nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); in reiserfs_xattr_jcreate_nblocks() 82 return nblocks; in reiserfs_xattr_jcreate_nblocks()
|