Lines Matching refs:first_block
107 sector_t first_block; in generic_swapfile_activate() local
111 first_block = probe_block; in generic_swapfile_activate()
112 ret = bmap(inode, &first_block); in generic_swapfile_activate()
113 if (ret || !first_block) in generic_swapfile_activate()
119 if (first_block & (blocks_per_page - 1)) { in generic_swapfile_activate()
133 if (block != first_block + block_in_page) { in generic_swapfile_activate()
140 first_block >>= (PAGE_SHIFT - blkbits); in generic_swapfile_activate()
142 if (first_block < lowest_block) in generic_swapfile_activate()
143 lowest_block = first_block; in generic_swapfile_activate()
144 if (first_block > highest_block) in generic_swapfile_activate()
145 highest_block = first_block; in generic_swapfile_activate()
151 ret = add_swap_extent(sis, page_no, 1, first_block); in generic_swapfile_activate()