Home
last modified time | relevance | path

Searched refs:m_la (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/erofs/
H A Dzmap.c314 m->map->m_la = (lcn << lclusterbits) | m->clusterofs; in z_erofs_extent_lookback()
409 u64 lcn = m->lcn, headlcn = map->m_la >> lclusterbits; in z_erofs_get_extent_decompressedlen()
415 map->m_llen = inode->i_size - map->m_la; in z_erofs_get_extent_decompressedlen()
443 map->m_llen = (lcn << lclusterbits) + m->clusterofs - map->m_la; in z_erofs_get_extent_decompressedlen()
463 ofs = flags & EROFS_GET_BLOCKS_FINDTAIL ? inode->i_size - 1 : map->m_la; in z_erofs_do_map_blocks()
483 map->m_la = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_do_map_blocks()
520 map->m_llen = end - map->m_la; in z_erofs_do_map_blocks()
705 if (map->m_la >= inode->i_size) { in z_erofs_map_blocks_iter()
706 map->m_llen = map->m_la + 1 - inode->i_size; in z_erofs_map_blocks_iter()
707 map->m_la = inode->i_size; in z_erofs_map_blocks_iter()
[all …]
H A Ddata.c89 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()
138 if (map->m_la >= inode->i_size) { in erofs_map_blocks()
155 chunknr = map->m_la >> vi->chunkbits; in erofs_map_blocks()
164 map->m_la = chunknr << vi->chunkbits; in erofs_map_blocks()
166 round_up(inode->i_size - map->m_la, sb->s_blocksize)); in erofs_map_blocks()
264 map.m_la = offset; in erofs_iomap_begin()
279 iomap->offset = map.m_la; in erofs_iomap_begin()
H A Dzdata.c552 fe->map.m_la < fe->headoffset) in z_erofs_should_alloc_cache()
806 pcl->pageofs_out = map->m_la & ~PAGE_MASK; in z_erofs_register_pcluster()
985 if (offset + end - 1 < map->m_la || in z_erofs_do_read_page()
986 offset + end - 1 >= map->m_la + map->m_llen) { in z_erofs_do_read_page()
988 map->m_la = offset + end - 1; in z_erofs_do_read_page()
995 cur = offset > map->m_la ? 0 : map->m_la - offset; in z_erofs_do_read_page()
1006 erofs_off_t fpos = offset + cur - map->m_la; in z_erofs_do_read_page()
1036 .offset = offset - map->m_la, in z_erofs_do_read_page()
1043 if (fe->pcl->pageofs_out != (map->m_la & ~PAGE_MASK)) in z_erofs_do_read_page()
1045 if (fe->pcl->length < offset + end - map->m_la) { in z_erofs_do_read_page()
[all …]
H A Dfscache.c213 map.m_la = pos; in erofs_fscache_data_read_slice()
252 count = min_t(size_t, map.m_llen - (pos - map.m_la), count); in erofs_fscache_data_read_slice()
268 req, mdev.m_pa + (pos - map.m_la), count); in erofs_fscache_data_read_slice()
H A Dinternal.h347 erofs_off_t m_pa, m_la; member
/openbmc/linux/include/trace/events/
H A Derofs.h163 __entry->la = map->m_la;
210 __entry->la = map->m_la;