/linux-master/drivers/md/dm-vdo/ |
H A D | murmurhash3.c | 36 const int nblocks = len / 16; local 52 for (i = 0; i < nblocks; i++) { 78 const u8 *tail = (const u8 *)(data + nblocks * 16);
|
/linux-master/fs/reiserfs/ |
H A D | journal.c | 110 unsigned long nblocks, int join); 3025 * blocks you expect to use in nblocks. 3028 struct super_block *sb, unsigned long nblocks, 3039 BUG_ON(nblocks > journal->j_trans_max); 3074 && (journal->j_len_alloc + nblocks + 2) >= journal->j_max_batch) 3086 if (!join && (journal->j_len_alloc + nblocks + 2) >= 3088 ((journal->j_len + nblocks + 2) * 100) < 3128 journal->j_len_alloc += nblocks; 3130 th->t_blocks_allocated = nblocks; 3150 int nblocks) 3027 do_journal_begin_r(struct reiserfs_transaction_handle *th, struct super_block *sb, unsigned long nblocks, int join) argument 3147 reiserfs_persistent_transaction(struct super_block *s, int nblocks) argument 3222 journal_begin(struct reiserfs_transaction_handle *th, struct super_block *sb, unsigned long nblocks) argument [all...] |
/linux-master/net/sunrpc/auth_gss/ |
H A D | gss_krb5_crypto.c | 680 u32 blocksize, nbytes, nblocks, cbcbytes; local 686 nblocks = (nbytes + blocksize - 1) / blocksize; 688 if (nblocks > 2) 689 cbcbytes = (nblocks - 2) * blocksize; 744 u32 blocksize, nblocks, cbcbytes; local 749 nblocks = (buf->len + blocksize - 1) / blocksize; 751 if (nblocks > 2) 752 cbcbytes = (nblocks - 2) * blocksize;
|
/linux-master/net/ipv4/ |
H A D | inet_hashtables.c | 1231 unsigned int i, nblocks = 1; local 1235 nblocks = max(2U * L1_CACHE_BYTES / locksz, 1U); 1236 nblocks = roundup_pow_of_two(nblocks * num_possible_cpus()); 1239 nblocks = min(nblocks, hashinfo->ehash_mask + 1); 1241 hashinfo->ehash_locks = kvmalloc_array(nblocks, locksz, GFP_KERNEL); 1245 for (i = 0; i < nblocks; i++) 1248 hashinfo->ehash_locks_mask = nblocks - 1;
|
/linux-master/drivers/misc/ |
H A D | sram.c | 179 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/arch/riscv/crypto/ |
H A D | aes-riscv64-glue.c | 283 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);
|
/linux-master/sound/soc/codecs/ |
H A D | tas2781-fmwlib.c | 190 cfg_info->nblocks = 198 bk_da = cfg_info->blk_data = kcalloc(cfg_info->nblocks, 205 for (i = 0; i < cfg_info->nblocks; i++) { 209 "%s: Out of boundary: i = %d nblocks = %u!\n", 210 __func__, i, cfg_info->nblocks); 250 __func__, i, cfg_info->nblocks);
|
/linux-master/fs/xfs/ |
H A D | xfs_rtalloc.c | 661 xfs_extlen_t nblocks, /* new count of blocks */ 683 while (oblocks < nblocks) { 684 resblks = XFS_GROWFSRT_SPACE_RES(mp, nblocks - oblocks); 710 error = xfs_bmapi_write(tp, ip, oblocks, nblocks - oblocks, 658 xfs_growfs_rt_alloc( struct xfs_mount *mp, xfs_extlen_t oblocks, xfs_extlen_t nblocks, struct xfs_inode *ip) argument
|
H A D | xfs_mount.c | 132 uint64_t nblocks) 138 if (nblocks >> (PAGE_SHIFT - sbp->sb_blocklog) > ULONG_MAX) 130 xfs_sb_validate_fsb_count( xfs_sb_t *sbp, uint64_t nblocks) argument
|
/linux-master/fs/xfs/scrub/ |
H A D | trace.h | 1915 __field(uint64_t, nblocks) 1935 __entry->nblocks = be64_to_cpu(dip->di_nblocks); 1946 TP_printk("dev %d:%d ino 0x%llx mode 0x%x version %u format %u uid %u gid %u disize 0x%llx nblocks 0x%llx extsize %u nextents %u anextents %u forkoff 0x%x aformat %u flags 0x%x gen 0x%x flags2 0x%llx cowextsize %u", 1955 __entry->nblocks, 1991 __field(xfs_rfsblock_t, nblocks) 2003 __entry->nblocks = sc->ip->i_nblocks; 2011 TP_printk("dev %d:%d ino 0x%llx disize 0x%llx nblocks 0x%llx flags 0x%x flags2 0x%llx nextents %u format %u anextents %u aformat %u", 2015 __entry->nblocks,
|
H A D | inode_repair.c | 1250 xfs_filblks_t nblocks; local 1261 nblocks = be64_to_cpu(dip->di_nblocks); 1264 if (data_extents > nblocks) 1266 if (attr_extents > nblocks) 1268 if (data_extents + attr_extents > nblocks)
|
H A D | bmap_repair.c | 73 xfs_rfsblock_t nblocks; member in struct:xrep_bmap 258 rb->nblocks += rec->rm_blockcount; 503 sc->ip->i_nblocks = rb->nblocks + delta;
|
/linux-master/fs/xfs/libxfs/ |
H A D | xfs_inode_buf.c | 476 xfs_filblks_t nblocks; local 513 nblocks = be64_to_cpu(dip->di_nblocks); 516 if (mode && nextents + naextents > nblocks) 519 if (nextents + naextents == 0 && nblocks != 0)
|
/linux-master/fs/nilfs2/ |
H A D | the_nilfs.c | 429 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 D | sufile.c | 549 * @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 D | segment.c | 452 sci->sc_nblk_this_inc += sci->sc_curseg->sb_sum.nblocks; 468 if (segbuf->sb_sum.nblocks >= segbuf->sb_rest_blocks) { 555 if (segbuf->sb_sum.nblocks + required + 1 > segbuf->sb_rest_blocks) { 1028 (sci->sc_nblk_this_inc + sci->sc_curseg->sb_sum.nblocks); 1434 live_blocks = segbuf->sb_sum.nblocks + 1493 sci->sc_nblk_this_inc += sci->sc_curseg->sb_sum.nblocks; 1548 unsigned long nblocks = 0, ndatablk = 0; local 1571 nblocks = le32_to_cpu(finfo->fi_nblocks); 1599 if (--nblocks == 0) { 1814 + segbuf->sb_sum.nblocks; [all...] |
H A D | recovery.c | 327 unsigned long nblocks, ndatablk, nnodeblk; local 336 nblocks = le32_to_cpu(finfo->fi_nblocks); 338 nnodeblk = nblocks - ndatablk; 806 unsigned long nblocks; local 842 nblocks = le32_to_cpu(sum->ss_nblocks); 843 pseg_end = pseg_start + nblocks - 1; 892 nilfs->ns_pseg_offset = pseg_start + nblocks - seg_start; 909 pseg_start += nblocks;
|
H A D | segbuf.c | 83 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/fs/isofs/ |
H A D | inode.c | 1066 struct buffer_head **bh, unsigned long nblocks) 1090 while (nblocks) { 1144 nblocks--; 1065 isofs_get_blocks(struct inode *inode, sector_t iblock, struct buffer_head **bh, unsigned long nblocks) argument
|
/linux-master/fs/ext4/ |
H A D | ext4.h | 2863 int nblocks); 2869 type, nblocks) \ 2871 0, (type), __LINE__, (nblocks))
|
H A D | namei.c | 1605 ext4_lblk_t nblocks; local 1631 nblocks = 1; 1647 nblocks = dir->i_size >> EXT4_BLOCK_SIZE_BITS(sb); 1648 if (!nblocks) { 1653 if (start >= nblocks) 1668 ra_max = nblocks - block; 1713 if (++block >= nblocks) 1721 block = nblocks; 1722 nblocks = dir->i_size >> EXT4_BLOCK_SIZE_BITS(sb); 1723 if (block < nblocks) { [all...] |
/linux-master/crypto/ |
H A D | blake2b_generic.c | 115 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/nfs/ |
H A D | nfs4xdr.c | 5129 uint32_t limit_type, nblocks, blocksize; local 5141 nblocks = be32_to_cpup(p++); 5143 maxsize = (uint64_t)nblocks * (uint64_t)blocksize;
|
/linux-master/fs/ |
H A D | mpage.c | 176 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/erofs/ |
H A D | data.c | 86 erofs_blk_t nblocks, lastblk; local 92 nblocks = erofs_iblks(inode); 93 lastblk = nblocks - tailendpacking;
|