Searched refs:m_la (Results 1 – 5 of 5) sorted by relevance
/fs/erofs/ |
D | zmap.c | 339 m->map->m_la = (lcn << lclusterbits) | m->clusterofs; in z_erofs_extent_lookback() 438 u64 lcn = m->lcn, headlcn = map->m_la >> lclusterbits; in z_erofs_get_extent_decompressedlen() 444 map->m_llen = inode->i_size - map->m_la; in z_erofs_get_extent_decompressedlen() 471 map->m_llen = (lcn << lclusterbits) + m->clusterofs - map->m_la; in z_erofs_get_extent_decompressedlen() 492 ofs = flags & EROFS_GET_BLOCKS_FINDTAIL ? inode->i_size - 1 : map->m_la; in z_erofs_do_map_blocks() 512 map->m_la = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_do_map_blocks() 549 map->m_llen = end - map->m_la; in z_erofs_do_map_blocks() 604 __func__, map->m_la, map->m_pa, in z_erofs_do_map_blocks() 737 if (map->m_la >= inode->i_size) { in z_erofs_map_blocks_iter() 738 map->m_llen = map->m_la + 1 - inode->i_size; in z_erofs_map_blocks_iter() [all …]
|
D | data.c | 89 u64 offset = map->m_la; in erofs_map_blocks_flatmode() 100 map->m_pa = erofs_pos(sb, vi->raw_blkaddr) + map->m_la; in erofs_map_blocks_flatmode() 117 vi->nid, inode->i_size, map->m_la); in erofs_map_blocks_flatmode() 139 if (map->m_la >= inode->i_size) { in erofs_map_blocks() 156 chunknr = map->m_la >> vi->chunkbits; in erofs_map_blocks() 165 map->m_la = chunknr << vi->chunkbits; in erofs_map_blocks() 167 round_up(inode->i_size - map->m_la, sb->s_blocksize)); in erofs_map_blocks() 260 map.m_la = offset; in erofs_iomap_begin() 275 iomap->offset = map.m_la; in erofs_iomap_begin()
|
D | zdata.c | 557 fe->map.m_la < fe->headoffset) in z_erofs_should_alloc_cache() 810 pcl->pageofs_out = map->m_la & ~PAGE_MASK; in z_erofs_register_pcluster() 989 if (offset + end - 1 < map->m_la || in z_erofs_do_read_page() 990 offset + end - 1 >= map->m_la + map->m_llen) { in z_erofs_do_read_page() 993 map->m_la = offset + end - 1; in z_erofs_do_read_page() 1000 cur = offset > map->m_la ? 0 : map->m_la - offset; in z_erofs_do_read_page() 1011 erofs_off_t fpos = offset + cur - map->m_la; in z_erofs_do_read_page() 1041 .offset = offset - map->m_la, in z_erofs_do_read_page() 1048 if (fe->pcl->pageofs_out != (map->m_la & ~PAGE_MASK)) in z_erofs_do_read_page() 1050 if (fe->pcl->length < offset + end - map->m_la) { in z_erofs_do_read_page() [all …]
|
D | fscache.c | 273 map.m_la = pos; in erofs_fscache_data_read() 310 count = min_t(size_t, map.m_llen - (pos - map.m_la), len); in erofs_fscache_data_read() 327 rreq, mdev.m_pa + (pos - map.m_la)); in erofs_fscache_data_read()
|
D | internal.h | 399 erofs_off_t m_pa, m_la; member
|