Searched refs:blocks_per_page (Results 1 – 15 of 15) sorted by relevance
156 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local164 unsigned first_hole = blocks_per_page; in do_mpage_readpage()185 last_block = block_in_file + args->nr_pages * blocks_per_page; in do_mpage_readpage()207 if (page_block == blocks_per_page) in do_mpage_readpage()219 while (page_block < blocks_per_page) { in do_mpage_readpage()232 if (first_hole == blocks_per_page) in do_mpage_readpage()250 if (first_hole != blocks_per_page) in do_mpage_readpage()263 } else if (page_block == blocks_per_page) in do_mpage_readpage()271 if (first_hole != blocks_per_page) { in do_mpage_readpage()306 (first_hole != blocks_per_page)) in do_mpage_readpage()[all …]
218 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local239 unsigned first_hole = blocks_per_page; in ext4_mpage_readpages()250 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()273 if (page_block == blocks_per_page) in ext4_mpage_readpages()284 while (page_block < blocks_per_page) { in ext4_mpage_readpages()299 if (first_hole == blocks_per_page) in ext4_mpage_readpages()305 if (first_hole != blocks_per_page) in ext4_mpage_readpages()318 } else if (page_block == blocks_per_page) in ext4_mpage_readpages()324 if (first_hole != blocks_per_page) { in ext4_mpage_readpages()370 (first_hole != blocks_per_page)) { in ext4_mpage_readpages()[all …]
273 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local290 orig_blk_offset = orig_page_offset * blocks_per_page + in move_extent_per_page()293 donor_blk_offset = donor_page_offset * blocks_per_page + in move_extent_per_page()570 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in ext4_move_extents() local674 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()675 if (cur_len > blocks_per_page - offset_in_page) in ext4_move_extents()676 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
1281 int blocks_per_page; in ext4_mb_init_cache() local1299 blocks_per_page = PAGE_SIZE / blocksize; in ext4_mb_init_cache()1303 groups_per_page = blocks_per_page >> 1; in ext4_mb_init_cache()1316 first_group = folio->index * blocks_per_page / 2; in ext4_mb_init_cache()1357 first_block = folio->index * blocks_per_page; in ext4_mb_init_cache()1358 for (i = 0; i < blocks_per_page; i++) { in ext4_mb_init_cache()1454 int blocks_per_page; in ext4_mb_get_buddy_page_lock() local1460 blocks_per_page = PAGE_SIZE / sb->s_blocksize; in ext4_mb_get_buddy_page_lock()1467 pnum = block / blocks_per_page; in ext4_mb_get_buddy_page_lock()1468 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()[all …]
269 unsigned int blocks_per_page) in count_ccws() argument275 if (first_rec % blocks_per_page != 0) { in count_ccws()276 wz_stop = first_rec + blocks_per_page - in count_ccws()277 (first_rec % blocks_per_page) - 1; in count_ccws()284 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()285 if ((last_rec - blocks_per_page + 1) % blocks_per_page != 0) in count_ccws()286 d_stop = last_rec - ((last_rec - blocks_per_page + 1) % in count_ccws()287 blocks_per_page); in count_ccws()325 unsigned int blocks_per_page; in dasd_fba_build_cp_discard() local339 blocks_per_page = BLOCKS_PER_PAGE(blksize); in dasd_fba_build_cp_discard()[all …]
22 unsigned int blocks_per_page; in is_hash_block_verified() local68 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()69 hblock_idx = round_down(hblock_idx, blocks_per_page); in is_hash_block_verified()70 for (i = 0; i < blocks_per_page; i++) in is_hash_block_verified()
41 unsigned int blocks_per_page; /* PAGE_SIZE / block_size */ member
84 params->blocks_per_page = 1 << params->log_blocks_per_page; in fsverity_init_merkle_tree_params()
84 unsigned blocks_per_page; in generic_swapfile_activate() local95 blocks_per_page = PAGE_SIZE >> blkbits; in generic_swapfile_activate()104 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()119 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()124 for (block_in_page = 1; block_in_page < blocks_per_page; in generic_swapfile_activate()156 probe_block += blocks_per_page; in generic_swapfile_activate()
53 const unsigned int blocks_per_page = 1 << (PAGE_SHIFT - blockbits); in fscrypt_zeroout_range_inline_crypt() local63 unsigned int blocks_this_page = min(len, blocks_per_page); in fscrypt_zeroout_range_inline_crypt()
48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
48 u32 blocks_per_page; member
559 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()561 info->blocks_per_page = 0; in init_cache_info()
485 int blocks_per_page = i_blocks_per_folio(inode, folio); in metapage_read_folio() local496 while (block_offset < blocks_per_page) { in metapage_read_folio()497 xlen = blocks_per_page - block_offset; in metapage_read_folio()
3515 int blocks_per_page = rp->rbr_blocks_per_page; in niu_rbr_fill() local3519 while (index < (rp->rbr_table_size - blocks_per_page)) { in niu_rbr_fill()3524 index += blocks_per_page; in niu_rbr_fill()