Home
last modified time | relevance | path

Searched refs:blocks_per_page (Results 1 - 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/fs/
H A Dmpage.c164 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local
172 unsigned first_hole = blocks_per_page; in do_mpage_readpage()
193 last_block = block_in_file + args->nr_pages * blocks_per_page; in do_mpage_readpage()
214 if (page_block == blocks_per_page) in do_mpage_readpage()
228 while (page_block < blocks_per_page) { in do_mpage_readpage()
241 if (first_hole == blocks_per_page) in do_mpage_readpage()
259 if (first_hole != blocks_per_page) in do_mpage_readpage()
270 } else if (page_block == blocks_per_page) in do_mpage_readpage()
279 if (first_hole != blocks_per_page) { in do_mpage_readpage()
314 (first_hole != blocks_per_page)) in do_mpage_readpage()
477 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; __mpage_writepage() local
[all...]
/kernel/linux/linux-5.10/fs/
H A Dmpage.c161 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local
169 unsigned first_hole = blocks_per_page; in do_mpage_readpage()
190 last_block = block_in_file + args->nr_pages * blocks_per_page; in do_mpage_readpage()
211 if (page_block == blocks_per_page) in do_mpage_readpage()
225 while (page_block < blocks_per_page) { in do_mpage_readpage()
238 if (first_hole == blocks_per_page) in do_mpage_readpage()
256 if (first_hole != blocks_per_page) in do_mpage_readpage()
267 } else if (page_block == blocks_per_page) in do_mpage_readpage()
276 if (first_hole != blocks_per_page) { in do_mpage_readpage()
287 if (fully_mapped && blocks_per_page in do_mpage_readpage()
489 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; __mpage_writepage() local
[all...]
/kernel/linux/linux-5.10/fs/ext4/
H A Dreadpage.c231 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local
252 unsigned first_hole = blocks_per_page; in ext4_mpage_readpages()
264 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()
286 if (page_block == blocks_per_page) in ext4_mpage_readpages()
299 while (page_block < blocks_per_page) { in ext4_mpage_readpages()
315 if (first_hole == blocks_per_page) in ext4_mpage_readpages()
321 if (first_hole != blocks_per_page) in ext4_mpage_readpages()
332 } else if (page_block == blocks_per_page) in ext4_mpage_readpages()
339 if (first_hole != blocks_per_page) { in ext4_mpage_readpages()
353 if (fully_mapped && blocks_per_page in ext4_mpage_readpages()
[all...]
H A Dmove_extent.c261 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local
278 orig_blk_offset = orig_page_offset * blocks_per_page + in move_extent_per_page()
281 donor_blk_offset = donor_page_offset * blocks_per_page + in move_extent_per_page()
559 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in ext4_move_extents() local
662 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()
663 if (cur_len > blocks_per_page- offset_in_page) in ext4_move_extents()
664 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
H A Dmballoc.c105 * take up 2 blocks. A page can contain blocks_per_page (PAGE_SIZE /
107 * which is blocks_per_page/2
856 * contain blocks_per_page (PAGE_SIZE / blocksize) blocks.
858 * is blocks_per_page/2
868 int blocks_per_page; in ext4_mb_init_cache() local
886 blocks_per_page = PAGE_SIZE / blocksize; in ext4_mb_init_cache()
890 groups_per_page = blocks_per_page >> 1; in ext4_mb_init_cache()
905 first_group = page->index * blocks_per_page / 2; in ext4_mb_init_cache()
945 first_block = page->index * blocks_per_page; in ext4_mb_init_cache()
946 for (i = 0; i < blocks_per_page; in ext4_mb_init_cache()
1042 int blocks_per_page; ext4_mb_get_buddy_page_lock() local
1170 int blocks_per_page; ext4_mb_load_buddy_gfp() local
[all...]
/kernel/linux/linux-6.6/fs/ext4/
H A Dreadpage.c225 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local
246 unsigned first_hole = blocks_per_page; in ext4_mpage_readpages()
257 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()
279 if (page_block == blocks_per_page) in ext4_mpage_readpages()
292 while (page_block < blocks_per_page) { in ext4_mpage_readpages()
308 if (first_hole == blocks_per_page) in ext4_mpage_readpages()
314 if (first_hole != blocks_per_page) in ext4_mpage_readpages()
325 } else if (page_block == blocks_per_page) in ext4_mpage_readpages()
332 if (first_hole != blocks_per_page) { in ext4_mpage_readpages()
379 (first_hole != blocks_per_page)) { in ext4_mpage_readpages()
[all...]
H A Dmove_extent.c267 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local
284 orig_blk_offset = orig_page_offset * blocks_per_page + in move_extent_per_page()
287 donor_blk_offset = donor_page_offset * blocks_per_page + in move_extent_per_page()
563 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in ext4_move_extents() local
665 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()
666 if (cur_len > blocks_per_page - offset_in_page) in ext4_move_extents()
667 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
H A Dmballoc.c105 * take up 2 blocks. A page can contain blocks_per_page (PAGE_SIZE /
107 * which is blocks_per_page/2
1265 * contain blocks_per_page (PAGE_SIZE / blocksize) blocks.
1267 * is blocks_per_page/2
1277 int blocks_per_page; in ext4_mb_init_cache() local
1295 blocks_per_page = PAGE_SIZE / blocksize; in ext4_mb_init_cache()
1299 groups_per_page = blocks_per_page >> 1; in ext4_mb_init_cache()
1312 first_group = page->index * blocks_per_page / 2; in ext4_mb_init_cache()
1352 first_block = page->index * blocks_per_page; in ext4_mb_init_cache()
1353 for (i = 0; i < blocks_per_page; in ext4_mb_init_cache()
1449 int blocks_per_page; ext4_mb_get_buddy_page_lock() local
1577 int blocks_per_page; ext4_mb_load_buddy_gfp() local
[all...]
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_fba.c282 unsigned int blocks_per_page) in count_ccws()
288 if (first_rec % blocks_per_page != 0) { in count_ccws()
289 wz_stop = first_rec + blocks_per_page - in count_ccws()
290 (first_rec % blocks_per_page) - 1; in count_ccws()
297 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
298 if ((last_rec - blocks_per_page + 1) % blocks_per_page != 0) in count_ccws()
299 d_stop = last_rec - ((last_rec - blocks_per_page + 1) % in count_ccws()
300 blocks_per_page); in count_ccws()
338 unsigned int blocks_per_page; in dasd_fba_build_cp_discard() local
281 count_ccws(sector_t first_rec, sector_t last_rec, unsigned int blocks_per_page) count_ccws() argument
[all...]
/kernel/linux/linux-6.6/drivers/s390/block/
H A Ddasd_fba.c273 unsigned int blocks_per_page) in count_ccws()
279 if (first_rec % blocks_per_page != 0) { in count_ccws()
280 wz_stop = first_rec + blocks_per_page - in count_ccws()
281 (first_rec % blocks_per_page) - 1; in count_ccws()
288 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
289 if ((last_rec - blocks_per_page + 1) % blocks_per_page != 0) in count_ccws()
290 d_stop = last_rec - ((last_rec - blocks_per_page + 1) % in count_ccws()
291 blocks_per_page); in count_ccws()
329 unsigned int blocks_per_page; in dasd_fba_build_cp_discard() local
272 count_ccws(sector_t first_rec, sector_t last_rec, unsigned int blocks_per_page) count_ccws() argument
[all...]
/kernel/linux/linux-6.6/fs/verity/
H A Dverify.c23 unsigned int blocks_per_page; in is_hash_block_verified() local
65 blocks_per_page = vi->tree_params.blocks_per_page; in is_hash_block_verified()
66 hblock_idx = round_down(hblock_idx, blocks_per_page); in is_hash_block_verified()
67 for (i = 0; i < blocks_per_page; i++) in is_hash_block_verified()
H A Dfsverity_private.h43 unsigned int blocks_per_page; /* PAGE_SIZE / block_size */ member
47 u8 log_blocks_per_page; /* log2(blocks_per_page) */
H A Dopen.c86 params->blocks_per_page = 1 << params->log_blocks_per_page; in fsverity_init_merkle_tree_params()
/kernel/linux/linux-5.10/fs/crypto/
H A Dbio.c49 const unsigned int blocks_per_page = 1 << (PAGE_SHIFT - blockbits); in fscrypt_zeroout_range_inline_crypt() local
58 unsigned int blocks_this_page = min(len, blocks_per_page); in fscrypt_zeroout_range_inline_crypt()
114 const unsigned int blocks_per_page = 1 << blocks_per_page_bits; in fscrypt_zeroout_range() local
131 (len + blocks_per_page - 1) >> blocks_per_page_bits); in fscrypt_zeroout_range()
/kernel/linux/linux-6.6/fs/crypto/
H A 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()
117 const unsigned int blocks_per_page = 1 << blocks_per_page_bits; in fscrypt_zeroout_range() local
134 (len + blocks_per_page - 1) >> blocks_per_page_bits); in fscrypt_zeroout_range()
/kernel/linux/linux-5.10/mm/
H A Dpage_io.c103 unsigned blocks_per_page; in generic_swapfile_activate() local
114 blocks_per_page = PAGE_SIZE >> blkbits; in generic_swapfile_activate()
123 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()
138 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()
143 for (block_in_page = 1; block_in_page < blocks_per_page; in generic_swapfile_activate()
175 probe_block += blocks_per_page; in generic_swapfile_activate()
/kernel/linux/linux-6.6/mm/
H A 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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
H A Dpage_64.h48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
H A Dcache.h44 u32 blocks_per_page; member
/kernel/linux/linux-6.6/arch/powerpc/include/asm/
H A Dpage_64.h48 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
H A Dcache.h48 u32 blocks_per_page; member
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsetup_64.c559 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()
561 info->blocks_per_page = 0; in init_cache_info()
/kernel/linux/linux-5.10/fs/jfs/
H A Djfs_metapage.c476 int blocks_per_page = i_blocks_per_page(inode, page); in metapage_readpage() local
488 while (block_offset < blocks_per_page) { in metapage_readpage()
489 xlen = blocks_per_page - block_offset; in metapage_readpage()
/kernel/linux/linux-6.6/fs/jfs/
H A Djfs_metapage.c476 int blocks_per_page = i_blocks_per_page(inode, page); in metapage_read_folio() local
488 while (block_offset < blocks_per_page) { in metapage_read_folio()
489 xlen = blocks_per_page - block_offset; in metapage_read_folio()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsetup_64.c510 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()
512 info->blocks_per_page = 0; in init_cache_info()

Completed in 23 milliseconds

12