Searched refs:blocks_per_page (Results 1 – 12 of 12) sorted by relevance
108 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in ext4_mpage_readpages() local127 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 …]
261 int blocks_per_page = PAGE_SIZE >> orig_inode->i_blkbits; in move_extent_per_page() local278 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() local657 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()
809 int blocks_per_page; in ext4_mb_init_cache() local829 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() local983 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 …]
161 const unsigned blocks_per_page = PAGE_SIZE >> blkbits; in do_mpage_readpage() local169 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 …]
281 unsigned int blocks_per_page) in count_ccws() argument287 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() local351 blocks_per_page = BLOCKS_PER_PAGE(blksize); in dasd_fba_build_cp_discard()[all …]
153 unsigned blocks_per_page; in generic_swapfile_activate() local164 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()
52 iterations = ppc64_caches.l1d.blocks_per_page / 8; in clear_page()
43 u32 blocks_per_page; member
489 int blocks_per_page = PAGE_SIZE >> inode->i_blkbits; in metapage_readpage() local501 while (block_offset < blocks_per_page) { in metapage_readpage()502 xlen = blocks_per_page - block_offset; in metapage_readpage()
471 info->blocks_per_page = PAGE_SIZE / bsize; in init_cache_info()473 info->blocks_per_page = 0; in init_cache_info()
165 OFFSET(DCACHEL1BLOCKSPERPAGE, ppc64_caches, l1d.blocks_per_page); in main()168 OFFSET(ICACHEL1BLOCKSPERPAGE, ppc64_caches, l1i.blocks_per_page); in main()
3498 int blocks_per_page = rp->rbr_blocks_per_page; in niu_rbr_fill() local3502 while (index < (rp->rbr_table_size - blocks_per_page)) { in niu_rbr_fill()3507 index += blocks_per_page; in niu_rbr_fill()