Lines Matching refs:map
284 struct ext4_map_blocks map; in ext4_mpage_readpages() local
286 map.m_pblk = 0; in ext4_mpage_readpages()
287 map.m_lblk = 0; in ext4_mpage_readpages()
288 map.m_len = 0; in ext4_mpage_readpages()
289 map.m_flags = 0; in ext4_mpage_readpages()
320 if ((map.m_flags & EXT4_MAP_MAPPED) && in ext4_mpage_readpages()
321 block_in_file > map.m_lblk && in ext4_mpage_readpages()
322 block_in_file < (map.m_lblk + map.m_len)) { in ext4_mpage_readpages()
323 unsigned map_offset = block_in_file - map.m_lblk; in ext4_mpage_readpages()
324 unsigned last = map.m_len - map_offset; in ext4_mpage_readpages()
329 map.m_flags &= ~EXT4_MAP_MAPPED; in ext4_mpage_readpages()
334 blocks[page_block] = map.m_pblk + map_offset + in ext4_mpage_readpages()
347 map.m_lblk = block_in_file; in ext4_mpage_readpages()
348 map.m_len = last_block - block_in_file; in ext4_mpage_readpages()
350 if (ext4_map_blocks(NULL, inode, &map, 0) < 0) { in ext4_mpage_readpages()
359 if ((map.m_flags & EXT4_MAP_MAPPED) == 0) { in ext4_mpage_readpages()
371 if (page_block && blocks[page_block-1] != map.m_pblk-1) in ext4_mpage_readpages()
374 if (relative_block == map.m_len) { in ext4_mpage_readpages()
376 map.m_flags &= ~EXT4_MAP_MAPPED; in ext4_mpage_readpages()
380 blocks[page_block] = map.m_pblk+relative_block; in ext4_mpage_readpages()
442 if (((map.m_flags & EXT4_MAP_BOUNDARY) && in ext4_mpage_readpages()
443 (relative_block == map.m_len)) || in ext4_mpage_readpages()