Lines Matching refs:blocks_per_page
809 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()
999 if (blocks_per_page >= 2) { in ext4_mb_get_buddy_page_lock()
1005 pnum = block / blocks_per_page; in ext4_mb_get_buddy_page_lock()
1102 int blocks_per_page; in ext4_mb_load_buddy_gfp() local
1115 blocks_per_page = PAGE_SIZE / sb->s_blocksize; in ext4_mb_load_buddy_gfp()
1141 pnum = block / blocks_per_page; in ext4_mb_load_buddy_gfp()
1142 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()
1187 pnum = block / blocks_per_page; in ext4_mb_load_buddy_gfp()
1188 poff = block % blocks_per_page; in ext4_mb_load_buddy_gfp()