Searched refs:blocks_per_page (Results 1 – 9 of 9) sorted by relevance
139 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local147 unsigned first_hole = blocks_per_page; in do_mpage_readpage()168 last_block = block_in_file + args->nr_pages * blocks_per_page; in do_mpage_readpage()189 if (page_block == blocks_per_page) in do_mpage_readpage()203 while (page_block < blocks_per_page) { in do_mpage_readpage()216 if (first_hole == blocks_per_page) in do_mpage_readpage()234 if (first_hole != blocks_per_page) in do_mpage_readpage()245 } else if (page_block == blocks_per_page) in do_mpage_readpage()254 if (first_hole != blocks_per_page) { in do_mpage_readpage()265 if (fully_mapped && blocks_per_page == 1 && !folio_test_uptodate(folio) && in do_mpage_readpage()[all …]
228 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local249 unsigned first_hole = blocks_per_page; in ext4_mpage_readpages()261 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()283 if (page_block == blocks_per_page) in ext4_mpage_readpages()296 while (page_block < blocks_per_page) { in ext4_mpage_readpages()312 if (first_hole == blocks_per_page) in ext4_mpage_readpages()318 if (first_hole != blocks_per_page) in ext4_mpage_readpages()329 } else if (page_block == blocks_per_page) in ext4_mpage_readpages()336 if (first_hole != blocks_per_page) { in ext4_mpage_readpages()350 if (fully_mapped && blocks_per_page == 1 && in ext4_mpage_readpages()[all …]
264 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local281 orig_blk_offset = orig_page_offset * blocks_per_page + in move_extent_per_page()284 donor_blk_offset = donor_page_offset * blocks_per_page + in move_extent_per_page()565 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in ext4_move_extents() local667 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()668 if (cur_len > blocks_per_page - offset_in_page) in ext4_move_extents()669 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
1163 int blocks_per_page; in ext4_mb_init_cache() local1181 blocks_per_page = PAGE_SIZE / blocksize; in ext4_mb_init_cache()1185 groups_per_page = blocks_per_page >> 1; in ext4_mb_init_cache()1200 first_group = page->index * blocks_per_page / 2; in ext4_mb_init_cache()1240 first_block = page->index * blocks_per_page; in ext4_mb_init_cache()1241 for (i = 0; i < blocks_per_page; i++) { in ext4_mb_init_cache()1337 int blocks_per_page; in ext4_mb_get_buddy_page_lock() local1343 blocks_per_page = PAGE_SIZE / sb->s_blocksize; in ext4_mb_get_buddy_page_lock()1350 pnum = block / blocks_per_page; in ext4_mb_get_buddy_page_lock()1351 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()[all …]
55 unsigned int blocks_per_page; in is_hash_block_verified() local97 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()98 hblock_idx = round_down(hblock_idx, blocks_per_page); in is_hash_block_verified()99 for (i = 0; i < blocks_per_page; i++) in is_hash_block_verified()
45 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()
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()
476 int blocks_per_page = i_blocks_per_page(inode, page); in metapage_read_folio() local488 while (block_offset < blocks_per_page) { in metapage_read_folio()489 xlen = blocks_per_page - block_offset; in metapage_read_folio()