Searched refs:block_in_file (Results 1 – 4 of 4) sorted by relevance
145 sector_t block_in_file; in ext4_mpage_readpages() local176 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits); in ext4_mpage_readpages()177 last_block = block_in_file + nr_pages * blocks_per_page; in ext4_mpage_readpages()187 block_in_file > map.m_lblk && in ext4_mpage_readpages()188 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()189 unsigned map_offset = block_in_file - map.m_lblk; in ext4_mpage_readpages()203 block_in_file++; in ext4_mpage_readpages()212 if (block_in_file < last_block) { in ext4_mpage_readpages()213 map.m_lblk = block_in_file; in ext4_mpage_readpages()214 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()[all …]
163 sector_t block_in_file; in do_mpage_readpage() local178 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits); in do_mpage_readpage()179 last_block = block_in_file + nr_pages * blocks_per_page; in do_mpage_readpage()189 if (buffer_mapped(map_bh) && block_in_file > *first_logical_block && in do_mpage_readpage()190 block_in_file < (*first_logical_block + nblocks)) { in do_mpage_readpage()191 unsigned map_offset = block_in_file - *first_logical_block; in do_mpage_readpage()204 block_in_file++; in do_mpage_readpage()217 if (block_in_file < last_block) { in do_mpage_readpage()218 map_bh->b_size = (last_block-block_in_file) << blkbits; in do_mpage_readpage()219 if (get_block(inode, block_in_file, map_bh, 0)) in do_mpage_readpage()[all …]
75 sector_t block_in_file; /* Current offset into the underlying member603 BUG_ON(sdio->block_in_file >= sdio->final_block_in_request); in get_more_blocks()604 fs_startblk = sdio->block_in_file >> sdio->blkfactor; in get_more_blocks()625 if (sdio->block_in_file < (i_size_read(dio->inode) >> in get_more_blocks()808 sdio->cur_page_fs_offset = sdio->block_in_file << sdio->blkbits; in submit_page_section()863 this_chunk_blocks = sdio->block_in_file & (dio_blocks_per_fs_block - 1); in dio_zero_block()913 while (sdio->block_in_file < sdio->final_block_in_request) { in do_direct_IO()952 dio_remainder = (sdio->block_in_file & blkmask); in do_direct_IO()986 if (sdio->block_in_file >= in do_direct_IO()994 sdio->block_in_file++; in do_direct_IO()[all …]
2469 sector_t block_in_file; in nobh_write_begin() local2509 block_in_file = (sector_t)page->index << (PAGE_CACHE_SHIFT - blkbits); in nobh_write_begin()2526 ret = get_block(inode, block_in_file + block_in_page, in nobh_write_begin()