Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ext4/
Dreadpage.c108 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local
127 unsigned first_hole = blocks_per_page; in ext4_mpage_readpages()
142 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()
163 if (page_block == blocks_per_page) in ext4_mpage_readpages()
176 while (page_block < blocks_per_page) { in ext4_mpage_readpages()
192 if (first_hole == blocks_per_page) in ext4_mpage_readpages()
198 if (first_hole != blocks_per_page) in ext4_mpage_readpages()
209 } else if (page_block == blocks_per_page) in ext4_mpage_readpages()
216 if (first_hole != blocks_per_page) { in ext4_mpage_readpages()
227 if (fully_mapped && blocks_per_page == 1 && in ext4_mpage_readpages()
[all …]
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()
554 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in ext4_move_extents() local
657 offset_in_page = o_start % blocks_per_page; in ext4_move_extents()
658 if (cur_len > blocks_per_page- offset_in_page) in ext4_move_extents()
659 cur_len = blocks_per_page - offset_in_page; in ext4_move_extents()
Dmballoc.c809 int blocks_per_page; in ext4_mb_init_cache() local
829 blocks_per_page = PAGE_SIZE / blocksize; in ext4_mb_init_cache()
831 groups_per_page = blocks_per_page >> 1; in ext4_mb_init_cache()
846 first_group = page->index * blocks_per_page / 2; in ext4_mb_init_cache()
884 first_block = page->index * blocks_per_page; in ext4_mb_init_cache()
885 for (i = 0; i < blocks_per_page; i++) { in ext4_mb_init_cache()
977 int blocks_per_page; in ext4_mb_get_buddy_page_lock() local
983 blocks_per_page = PAGE_SIZE / sb->s_blocksize; in ext4_mb_get_buddy_page_lock()
990 pnum = block / blocks_per_page; in ext4_mb_get_buddy_page_lock()
991 poff = block % blocks_per_page; in ext4_mb_get_buddy_page_lock()
[all …]
/Linux-v4.19/fs/
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 == 1 && !PageUptodate(page) && in do_mpage_readpage()
[all …]
/Linux-v4.19/drivers/s390/block/
Ddasd_fba.c281 unsigned int blocks_per_page) in count_ccws() argument
287 if (first_rec % blocks_per_page != 0) { in count_ccws()
288 wz_stop = first_rec + blocks_per_page - in count_ccws()
289 (first_rec % blocks_per_page) - 1; in count_ccws()
296 if (last_rec - (first_rec + cur_pos) + 1 >= blocks_per_page) { in count_ccws()
297 if ((last_rec - blocks_per_page + 1) % blocks_per_page != 0) in count_ccws()
298 d_stop = last_rec - ((last_rec - blocks_per_page + 1) % in count_ccws()
299 blocks_per_page); in count_ccws()
337 unsigned int blocks_per_page; in dasd_fba_build_cp_discard() local
351 blocks_per_page = BLOCKS_PER_PAGE(blksize); in dasd_fba_build_cp_discard()
[all …]
/Linux-v4.19/mm/
Dpage_io.c153 unsigned blocks_per_page; in generic_swapfile_activate() local
164 blocks_per_page = PAGE_SIZE >> blkbits; in generic_swapfile_activate()
173 while ((probe_block + blocks_per_page) <= last_block && in generic_swapfile_activate()
187 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()
192 for (block_in_page = 1; block_in_page < blocks_per_page; in generic_swapfile_activate()
222 probe_block += blocks_per_page; in generic_swapfile_activate()
/Linux-v4.19/arch/powerpc/include/asm/
Dpage_64.h52 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
Dcache.h43 u32 blocks_per_page; member
/Linux-v4.19/fs/jfs/
Djfs_metapage.c489 int blocks_per_page = PAGE_SIZE >> inode->i_blkbits; in metapage_readpage() local
501 while (block_offset < blocks_per_page) { in metapage_readpage()
502 xlen = blocks_per_page - block_offset; in metapage_readpage()
/Linux-v4.19/arch/powerpc/kernel/
Dsetup_64.c471 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()
473 info->blocks_per_page = 0; in init_cache_info()
Dasm-offsets.c165 OFFSET(DCACHEL1BLOCKSPERPAGE, ppc64_caches, l1d.blocks_per_page); in main()
168 OFFSET(ICACHEL1BLOCKSPERPAGE, ppc64_caches, l1i.blocks_per_page); in main()
/Linux-v4.19/drivers/net/ethernet/sun/
Dniu.c3498 int blocks_per_page = rp->rbr_blocks_per_page; in niu_rbr_fill() local
3502 while (index < (rp->rbr_table_size - blocks_per_page)) { in niu_rbr_fill()
3507 index += blocks_per_page; in niu_rbr_fill()