Searched refs:nblocks (Results 1 - 25 of 89) sorted by relevance

1234

/linux-master/include/crypto/internal/
H A Dblake2s.h14 size_t nblocks, const u32 inc);
17 size_t nblocks, const u32 inc);
H A Dblake2b.h15 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); local
43 (*compress)(state, in, nblocks - 1, BLAKE2B_BLOCK_SIZE);
44 in += BLAKE2B_BLOCK_SIZE * (nblocks - 1);
45 inlen -= BLAKE2B_BLOCK_SIZE * (nblocks - 1);
H A Dpoly1305.h30 unsigned int nblocks, u32 hibit);
/linux-master/arch/x86/crypto/
H A Dblake2s-glue.c19 const u8 *block, const size_t nblocks,
22 const u8 *block, const size_t nblocks,
29 size_t nblocks, const u32 inc)
35 blake2s_compress_generic(state, block, nblocks, inc);
40 const size_t blocks = min_t(size_t, nblocks,
51 nblocks -= blocks;
53 } while (nblocks);
28 blake2s_compress(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) argument
H A Dsm4_aesni_avx_glue.c23 const u8 *src, int nblocks);
25 const u8 *src, int nblocks);
59 unsigned int nblocks = min(nbytes >> 4, 4u); local
60 sm4_aesni_avx_crypt4(rkey, dst, src, nblocks);
61 dst += nblocks * SM4_BLOCK_SIZE;
62 src += nblocks * SM4_BLOCK_SIZE;
63 nbytes -= nblocks * SM4_BLOCK_SIZE;
151 unsigned int nblocks = min(nbytes >> 4, 8u); local
155 src, nblocks);
157 src += ((int)nblocks
215 unsigned int nblocks = min(nbytes >> 4, 8u); local
[all...]
H A Dpolyval-clmulni_glue.c49 const u8 *in, size_t nblocks, u8 *accumulator);
58 const u8 *in, size_t nblocks, u8 *accumulator)
62 clmul_polyval_update(keys, in, nblocks, accumulator);
66 nblocks, accumulator);
116 unsigned int nblocks; local
136 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE;
137 internal_polyval_update(tctx, src, nblocks, dctx->buffer);
138 srclen -= nblocks * POLYVAL_BLOCK_SIZE;
139 src += nblocks * POLYVAL_BLOCK_SIZE;
57 internal_polyval_update(const struct polyval_tfm_ctx *keys, const u8 *in, size_t nblocks, u8 *accumulator) argument
/linux-master/fs/jfs/
H A Djfs_discard.h10 extern void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks);
H A Djfs_discard.c25 * nblocks - number of blocks to be trimmed
32 void jfs_issue_discard(struct inode *ip, u64 blkno, u64 nblocks) argument
37 r = sb_issue_discard(sb, blkno, nblocks, GFP_NOFS, 0);
41 (unsigned long long)nblocks, r);
46 (unsigned long long)nblocks, r);
H A Djfs_dmap.c65 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) argument
449 dbUpdatePMap(struct inode *ipbmap, int free, s64 blkno, s64 nblocks, struct tblock * tblk) argument
725 dbAlloc(struct inode *ip, s64 hint, s64 nblocks, s64 * results) argument
935 dbReAlloc(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks, s64 * results) argument
983 dbExtend(struct inode *ip, s64 blkno, s64 nblocks, s64 addnblocks) argument
1082 dbAllocNext(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
1214 dbAllocNear(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks, int l2nb, s64 * results) argument
1323 dbAllocAG(struct bmap * bmp, int agno, s64 nblocks, int l2nb, s64 * results) argument
1521 dbAllocAny(struct bmap * bmp, s64 nblocks, int l2nb, s64 * results) argument
1580 s64 nblocks, blkno; local
1587 u64 nblocks; member in struct:range2trim
1803 dbAllocCtl(struct bmap * bmp, s64 nblocks, int l2nb, s64 blkno, s64 * results) argument
1954 dbAllocDmapLev(struct bmap * bmp, struct dmap * dp, int nblocks, int l2nb, s64 * results) argument
2020 dbAllocDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
2075 dbFreeDmap(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
2137 dbAllocBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
2284 dbFreeBits(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
3183 dbAllocBottomUp(struct inode *ip, s64 blkno, s64 nblocks) argument
3238 dbAllocDmapBU(struct bmap * bmp, struct dmap * dp, s64 blkno, int nblocks) argument
3359 dbExtendFS(struct inode *ipbmap, s64 blkno, s64 nblocks) argument
3722 dbInitDmap(struct dmap * dp, s64 Blkno, int nblocks) argument
3979 dbGetL2AGSize(s64 nblocks) argument
4029 s64 nblocks; local
[all...]
H A Djfs_dmap.h148 __le32 nblocks; /* 4: num blks covered by this dmap */ member in struct:dmap
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);
/linux-master/init/
H A Ddo_mounts_rd.c66 int nblocks = -1; local
96 nblocks = 0;
106 nblocks = (ntohl(romfsb->size)+BLOCK_SIZE-1)>>BLOCK_SIZE_BITS;
114 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS;
123 nblocks = (le64_to_cpu(squashfsb->bytes_used) + BLOCK_SIZE - 1)
138 nblocks = (cramfsb->size + BLOCK_SIZE - 1) >> BLOCK_SIZE_BITS;
154 nblocks = minixsb->s_nzones << minixsb->s_log_zone_size;
164 nblocks = n;
174 return nblocks;
190 int nblocks, local
[all...]
/linux-master/arch/arm/crypto/
H A Dblake2b-neon-glue.c19 const u8 *block, size_t nblocks, u32 inc);
22 const u8 *block, size_t nblocks, u32 inc)
25 blake2b_compress_generic(state, block, nblocks, inc);
30 const size_t blocks = min_t(size_t, nblocks,
37 nblocks -= blocks;
39 } while (nblocks);
21 blake2b_compress_arch(struct blake2b_state *state, const u8 *block, size_t nblocks, u32 inc) argument
/linux-master/arch/arm64/crypto/
H A Dsm4-neon-glue.c22 unsigned int nblocks);
24 u8 *iv, unsigned int nblocks);
26 u8 *iv, unsigned int nblocks);
47 unsigned int nblocks; local
49 nblocks = nbytes / SM4_BLOCK_SIZE;
50 if (nblocks) {
53 sm4_neon_crypt(rkey, dst, src, nblocks);
125 unsigned int nblocks; local
127 nblocks = nbytes / SM4_BLOCK_SIZE;
128 if (nblocks) {
156 unsigned int nblocks; local
[all...]
H A Dsm4-ce.h13 u8 *iv, unsigned int nblocks);
H A Dpolyval-ce-glue.c45 const u8 *in, size_t nblocks, u8 *accumulator);
49 const u8 *in, size_t nblocks, u8 *accumulator)
53 pmull_polyval_update(keys, in, nblocks, accumulator);
57 nblocks, accumulator);
107 unsigned int nblocks; local
127 nblocks = min(srclen, 4096U) / POLYVAL_BLOCK_SIZE;
128 internal_polyval_update(tctx, src, nblocks, dctx->buffer);
129 srclen -= nblocks * POLYVAL_BLOCK_SIZE;
130 src += nblocks * POLYVAL_BLOCK_SIZE;
48 internal_polyval_update(const struct polyval_tfm_ctx *keys, const u8 *in, size_t nblocks, u8 *accumulator) argument
/linux-master/include/crypto/
H A Dpolyval.h20 size_t nblocks, u8 *accumulator);
/linux-master/lib/crypto/
H A Dblake2s.c38 const size_t nblocks = DIV_ROUND_UP(inlen, BLAKE2S_BLOCK_SIZE); local
39 blake2s_compress(state, in, nblocks - 1, BLAKE2S_BLOCK_SIZE);
40 in += BLAKE2S_BLOCK_SIZE * (nblocks - 1);
41 inlen -= BLAKE2S_BLOCK_SIZE * (nblocks - 1);
H A Dblake2s-generic.c40 size_t nblocks, const u32 inc)
44 size_t nblocks, const u32 inc)
51 (nblocks > 1 && inc != BLAKE2S_BLOCK_SIZE));
53 while (nblocks > 0) {
106 --nblocks;
43 blake2s_compress_generic(struct blake2s_state *state, const u8 *block, size_t nblocks, const u32 inc) argument
/linux-master/block/partitions/
H A Dsysv68.c44 __be32 nblocks; /* slice size (in blocks) */ member in struct:slice
83 if (be32_to_cpu(slice->nblocks)) {
86 be32_to_cpu(slice->nblocks));
/linux-master/fs/reiserfs/
H A Dxattr.h75 size_t nblocks = JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb); local
78 nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb);
80 nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb);
83 return nblocks;
/linux-master/drivers/md/dm-vdo/
H A Dmurmurhash3.c36 const int nblocks = len / 16; local
52 for (i = 0; i < nblocks; i++) {
78 const u8 *tail = (const u8 *)(data + nblocks * 16);
/linux-master/include/sound/
H A Dutil_mem.h29 int nblocks; /* # of allocated blocks */ member in struct:snd_util_memhdr
/linux-master/fs/nilfs2/
H A Dsegbuf.h22 * @nblocks: Number of blocks included in the partial segment
34 unsigned long nblocks; member in struct:nilfs_segsum_info
131 return segbuf->sb_sum.nblocks == segbuf->sb_sum.nsumblk;
139 segbuf->sb_sum.nblocks++;
148 segbuf->sb_sum.nblocks++;
/linux-master/drivers/mtd/nand/
H A Dbbt.c26 unsigned int nblocks = nanddev_neraseblocks(nand); local
28 nand->bbt.cache = bitmap_zalloc(nblocks * bits_per_block, GFP_KERNEL);
/linux-master/fs/ext4/
H A Dext4_jbd2.h305 #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) argument
347 return jbd2_journal_extend(handle, nblocks, revoke);
351 static inline int ext4_journal_restart(handle_t *handle, int nblocks, argument
355 return jbd2__journal_restart(handle, nblocks, revoke, GFP_NOFS);

Completed in 306 milliseconds

1234