Searched refs:nblocks (Results 26 - 50 of 89) sorted by relevance

1234

/linux-master/fs/jfs/
H A Djfs_extent.c273 * requested size (nblocks). if this fails (nblocks
285 * *nblocks - pointer to an s64 value. on entry, this value specifies
299 extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) argument
320 if (*nblocks >= max && *nblocks > nbperpage)
323 nb = nblks = *nblocks;
341 *nblocks = nb;
H A Dresize.c62 s64 XAddress, XSize, nblocks, xoff, xaddr, t64; local
313 nblocks = min(t64 - mapSize, XSize);
322 if ((rc = dbExtendFS(ipbmap, XAddress, nblocks)))
328 * the map now has extended to cover additional nblocks:
329 * dn_mapsize = oldMapsize + nblocks;
331 /* ipbmap->i_mapsize += nblocks; */
332 XSize -= nblocks;
382 xlen = min(xlen, (int) nblocks) & ~(sbi->nbperpage - 1);
387 if ((rc = xtAppend(tid, ipbmap, 0, xoff, nblocks, &xlen, &xaddr, 0))) {
H A Dxattr.c207 int nblocks; local
225 nblocks = (size + (sb->s_blocksize - 1)) >> sb->s_blocksize_bits;
228 rc = dquot_alloc_block(ip, nblocks);
232 rc = dbAlloc(ip, INOHINT(ip), nblocks, &blkno);
235 dquot_free_block(ip, nblocks);
240 * Now have nblocks worth of storage to stuff into the FEALIST.
246 for (i = 0; i < nblocks; i += sbi->nbperpage) {
289 DXDlength(ea, nblocks);
300 dquot_free_block(ip, nblocks);
302 dbFree(ip, blkno, nblocks);
356 int nblocks; local
[all...]
/linux-master/fs/nilfs2/
H A Dsufile.c549 * @nblocks: number of live blocks in the segment
553 unsigned long nblocks, time64_t modtime)
575 su->su_nblocks = cpu_to_le32(nblocks);
935 * %-EINVAL - Invalid values in input (segment number, flags or nblocks)
1072 sector_t start = 0, nblocks = 0; local
1128 if (!nblocks) {
1131 nblocks = seg_end - seg_start + 1;
1135 if (start + nblocks == seg_start) {
1137 nblocks += seg_end - seg_start + 1;
1143 nblocks
552 nilfs_sufile_set_segment_usage(struct inode *sufile, __u64 segnum, unsigned long nblocks, time64_t modtime) argument
[all...]
H A Dthe_nilfs.c429 u64 nsegments, nblocks; local
483 nblocks = sb_bdev_nr_blocks(nilfs->ns_sb);
484 if (nblocks) {
492 if (nblocks < min_block_count) {
496 (unsigned long long)nblocks);
766 sector_t start = 0, nblocks = 0; local
776 if (!nblocks) {
778 nblocks = seg_end - seg_start + 1;
779 } else if (start + nblocks == seg_start) {
780 nblocks
799 nilfs_count_free_blocks(struct the_nilfs *nilfs, sector_t *nblocks) argument
[all...]
H A Dsegbuf.c83 segbuf->sb_pseg_start = prev->sb_pseg_start + prev->sb_sum.nblocks;
120 segbuf->sb_pseg_start + segbuf->sb_sum.nblocks);
134 segbuf->sb_sum.nblocks = segbuf->sb_sum.nsumblk = 0;
165 raw_sum->ss_nblocks = cpu_to_le32(segbuf->sb_sum.nblocks);
366 wi->rest_blocks = segbuf->sb_sum.nblocks;
472 segbuf->sb_sum.nblocks,
/linux-master/arch/arm64/crypto/
H A Dsm4-ce-gcm-glue.c24 const u8 *src, unsigned int nblocks);
101 unsigned int nblocks; local
114 nblocks = n / GHASH_BLOCK_SIZE;
115 if (nblocks) {
117 ptr, nblocks);
118 ptr += nblocks * GHASH_BLOCK_SIZE;
H A Dsm4-ce-ccm-glue.c22 const u8 *src, unsigned int nblocks);
128 unsigned int l, nblocks; local
137 nblocks = n / SM4_BLOCK_SIZE;
139 mac, ptr, nblocks);
141 ptr += nblocks * SM4_BLOCK_SIZE;
H A Dsm4-ce-glue.c33 u8 *iv, unsigned int nblocks);
35 u8 *iv, unsigned int nblocks);
49 const u8 *src, unsigned int nblocks,
168 unsigned int nblocks; local
170 nblocks = nbytes / SM4_BLOCK_SIZE;
171 if (nblocks) {
176 walk.iv, nblocks);
179 walk.iv, nblocks);
342 int nblocks = DIV_ROUND_UP(req->cryptlen, SM4_BLOCK_SIZE) - 2; local
351 nblocks * SM4_BLOCK_SIZ
604 unsigned int l, nblocks; local
[all...]
/linux-master/fs/minix/
H A Ditree_v1.c66 return nblocks(size, sb);
H A Ditree_v2.c74 return nblocks(size, sb);
/linux-master/drivers/s390/char/
H A Dtape_char.c193 int nblocks; local
206 nblocks = count / block_size;
209 nblocks = 1;
217 DBF_EVENT(6, "TCHAR:nblocks: %x\n", nblocks);
224 for (i = 0; i < nblocks; i++) {
/linux-master/fs/reiserfs/
H A Dxattr_acl.c370 int nblocks = 0; local
384 nblocks = reiserfs_xattr_jcreate_nblocks(inode);
385 nblocks += JOURNAL_BLOCKS_PER_OBJECT(inode->i_sb);
390 nblocks += reiserfs_xattr_nblocks(inode, size) * 4;
394 return nblocks;
/linux-master/drivers/misc/
H A Dsram.c179 unsigned int nblocks, exports = 0; local
191 nblocks = (np) ? of_get_available_child_count(np) + 1 : 1;
192 rblocks = kcalloc(nblocks, sizeof(*rblocks), GFP_KERNEL);
261 rblocks[nblocks - 1].start = size;
262 rblocks[nblocks - 1].size = 0;
263 list_add_tail(&rblocks[nblocks - 1].list, &reserve_list);
/linux-master/sound/synth/
H A Dutil_mem.c115 hdr->nblocks++;
143 hdr->nblocks--;
/linux-master/crypto/
H A Dpolyval-generic.c109 size_t nblocks, u8 *accumulator)
111 while (nblocks--) {
108 polyval_update_non4k(const u8 *key, const u8 *in, size_t nblocks, u8 *accumulator) argument
H A Dblake2b_generic.c115 const u8 *block, size_t nblocks, u32 inc)
121 } while (--nblocks);
114 blake2b_compress_generic(struct blake2b_state *state, const u8 *block, size_t nblocks, u32 inc) argument
/linux-master/fs/
H A Dmpage.c176 unsigned nblocks; local
201 nblocks = map_bh->b_size >> blkbits;
204 block_in_file < (args->first_logical_block + nblocks)) {
206 unsigned last = nblocks - map_offset;
265 nblocks = map_bh->b_size >> blkbits;
267 if (relative_block == nblocks) {
311 nblocks = map_bh->b_size >> blkbits;
312 if ((buffer_boundary(map_bh) && relative_block == nblocks) ||
/linux-master/fs/jbd2/
H A Dtransaction.c474 static handle_t *new_handle(int nblocks) argument
479 handle->h_total_credits = nblocks;
485 handle_t *jbd2__journal_start(journal_t *journal, int nblocks, int rsv_blocks, argument
501 nblocks += DIV_ROUND_UP(revoke_records,
503 handle = new_handle(nblocks);
531 line_no, nblocks);
541 * @nblocks: number of block buffer we might modify
543 * We make sure that the transaction can guarantee at least nblocks of
557 handle_t *jbd2_journal_start(journal_t *journal, int nblocks) argument
559 return jbd2__journal_start(journal, nblocks,
660 jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records) argument
778 jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records, gfp_t gfp_mask) argument
825 jbd2_journal_restart(handle_t *handle, int nblocks) argument
[all...]
H A Dcheckpoint.c53 int nblocks, space_left; variable
56 nblocks = journal->j_max_transaction_buffers;
57 while (jbd2_log_space_left(journal) < nblocks) {
79 if (space_left < nblocks) {
105 __func__, nblocks, space_left);
/linux-master/lib/crypto/
H A Dpoly1305-donna64.c34 unsigned int nblocks, u32 hibit)
44 if (!nblocks)
103 } while (--nblocks);
32 poly1305_core_blocks(struct poly1305_state *state, const struct poly1305_core_key *key, const void *src, unsigned int nblocks, u32 hibit) argument
H A Dpoly1305-donna32.c33 unsigned int nblocks, u32 hibit)
42 if (!nblocks)
110 } while (--nblocks);
31 poly1305_core_blocks(struct poly1305_state *state, const struct poly1305_core_key *key, const void *src, unsigned int nblocks, u32 hibit) argument
/linux-master/drivers/media/usb/pwc/
H A Dpwc-dec23.c594 int compression_index, nblocks; local
605 nblocks = compressed_image_width / 4;
611 while (nblocks) {
615 nblocks--;
619 nblocks = compressed_image_width / 8;
625 while (nblocks) {
634 nblocks -= 2;
/linux-master/arch/arm/crypto/
H A Dghash-ce-glue.c517 int nblocks = walk.nbytes / AES_BLOCK_SIZE; local
519 pmull_gcm_encrypt(nblocks, dg, src, ctx, dst, iv,
521 counter += nblocks;
524 src += nblocks * AES_BLOCK_SIZE;
525 dst += nblocks * AES_BLOCK_SIZE;
613 int nblocks = walk.nbytes / AES_BLOCK_SIZE; local
615 pmull_gcm_decrypt(nblocks, dg, src, ctx, dst, iv,
617 counter += nblocks;
620 src += nblocks * AES_BLOCK_SIZE;
621 dst += nblocks * AES_BLOCK_SIZ
[all...]
/linux-master/arch/riscv/crypto/
H A Daes-riscv64-glue.c283 u32 ctr32, nblocks; local
294 nblocks = nbytes / AES_BLOCK_SIZE;
297 nblocks = DIV_ROUND_UP(nbytes, AES_BLOCK_SIZE);
299 ctr32 += nblocks;
302 if (ctr32 >= nblocks) {
315 (nblocks - ctr32) * AES_BLOCK_SIZE);

Completed in 249 milliseconds

1234