Home
last modified time | relevance | path

Searched refs:blocks_per_page (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/fs/
Dmpage.c156 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local
164 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 …]
/linux-6.12.1/fs/ext4/
Dreadpage.c218 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local
239 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 …]
Dmove_extent.c273 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local
290 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() local
674 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()
Dmballoc.c1281 int blocks_per_page; in ext4_mb_init_cache() local
1299 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() local
1460 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 …]
/linux-6.12.1/drivers/s390/block/
Ddasd_fba.c269 unsigned int blocks_per_page) in count_ccws() argument
275 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() local
339 blocks_per_page = BLOCKS_PER_PAGE(blksize); in dasd_fba_build_cp_discard()
[all …]
/linux-6.12.1/fs/verity/
Dverify.c22 unsigned int blocks_per_page; in is_hash_block_verified() local
68 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()
Dfsverity_private.h41 unsigned int blocks_per_page; /* PAGE_SIZE / block_size */ member
Dopen.c84 params->blocks_per_page = 1 << params->log_blocks_per_page; in fsverity_init_merkle_tree_params()
/linux-6.12.1/mm/
Dpage_io.c84 unsigned blocks_per_page; in generic_swapfile_activate() local
95 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()
/linux-6.12.1/fs/crypto/
Dbio.c53 const unsigned int blocks_per_page = 1 << (PAGE_SHIFT - blockbits); in fscrypt_zeroout_range_inline_crypt() local
63 unsigned int blocks_this_page = min(len, blocks_per_page); in fscrypt_zeroout_range_inline_crypt()
/linux-6.12.1/arch/powerpc/include/asm/
Dpage_64.h48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
Dcache.h48 u32 blocks_per_page; member
/linux-6.12.1/arch/powerpc/kernel/
Dsetup_64.c559 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()
561 info->blocks_per_page = 0; in init_cache_info()
/linux-6.12.1/fs/jfs/
Djfs_metapage.c485 int blocks_per_page = i_blocks_per_folio(inode, folio); in metapage_read_folio() local
496 while (block_offset < blocks_per_page) { in metapage_read_folio()
497 xlen = blocks_per_page - block_offset; in metapage_read_folio()
/linux-6.12.1/drivers/net/ethernet/sun/
Dniu.c3515 int blocks_per_page = rp->rbr_blocks_per_page; in niu_rbr_fill() local
3519 while (index < (rp->rbr_table_size - blocks_per_page)) { in niu_rbr_fill()
3524 index += blocks_per_page; in niu_rbr_fill()