Searched refs:m_la (Results 1 – 7 of 7) sorted by relevance
/linux/fs/erofs/ |
H A D | data.c | 83 if (map->m_la < erofs_pos(sb, lastblk)) { in erofs_map_blocks_flatmode() 84 map->m_pa = erofs_pos(sb, vi->raw_blkaddr) + map->m_la; in erofs_map_blocks_flatmode() 85 map->m_plen = erofs_pos(sb, lastblk) - map->m_la; in erofs_map_blocks_flatmode() 89 vi->xattr_isize + erofs_blkoff(sb, map->m_la); in erofs_map_blocks_flatmode() 90 map->m_plen = inode->i_size - map->m_la; in erofs_map_blocks_flatmode() 117 if (map->m_la >= inode->i_size) { in erofs_map_blocks() 134 chunknr = map->m_la >> vi->chunkbits; in erofs_map_blocks() 143 map->m_la = chunknr << vi->chunkbits; in erofs_map_blocks() 145 round_up(inode->i_size - map->m_la, sb->s_blocksize)); in erofs_map_blocks() 278 map.m_la = offset; in erofs_iomap_begin() [all …]
|
H A D | zmap.c | 295 m->map->m_la = (lcn << lclusterbits) | m->clusterofs; in z_erofs_extent_lookback() 390 u64 lcn = m->lcn, headlcn = map->m_la >> lclusterbits; in z_erofs_get_extent_decompressedlen() 396 map->m_llen = inode->i_size - map->m_la; in z_erofs_get_extent_decompressedlen() 424 map->m_llen = (lcn << lclusterbits) + m->clusterofs - map->m_la; in z_erofs_get_extent_decompressedlen() 444 ofs = flags & EROFS_GET_BLOCKS_FINDTAIL ? inode->i_size - 1 : map->m_la; in z_erofs_do_map_blocks() 464 map->m_la = (m.lcn << lclusterbits) | m.clusterofs; in z_erofs_do_map_blocks() 501 map->m_llen = end - map->m_la; in z_erofs_do_map_blocks() 683 if (map->m_la >= inode->i_size) { /* post-EOF unmapped extent */ in z_erofs_map_blocks_iter() 684 map->m_llen = map->m_la + 1 - inode->i_size; in z_erofs_map_blocks_iter() 685 map->m_la = inode->i_size; in z_erofs_map_blocks_iter() [all …]
|
H A D | zdata.c | 521 fe->map.m_la < fe->headoffset) in z_erofs_should_alloc_cache() 758 pcl->pageofs_out = map->m_la & ~PAGE_MASK; in z_erofs_register_pcluster() 1032 if (offset + end - 1 < map->m_la || in z_erofs_scan_folio() 1033 offset + end - 1 >= map->m_la + map->m_llen) { in z_erofs_scan_folio() 1035 map->m_la = offset + end - 1; in z_erofs_scan_folio() 1042 cur = offset > map->m_la ? 0 : map->m_la - offset; in z_erofs_scan_folio() 1051 erofs_off_t fpos = offset + cur - map->m_la; in z_erofs_scan_folio() 1084 .offset = offset + pgs - map->m_la, in z_erofs_scan_folio() 1090 if (f->pcl->pageofs_out != (map->m_la & ~PAGE_MASK)) in z_erofs_scan_folio() 1092 if (f->pcl->length < offset + end - map->m_la) { in z_erofs_scan_folio() [all …]
|
H A D | fileio.c | 100 if (!in_range(pos + cur, map->m_la, map->m_llen)) { in erofs_fileio_scan_folio() 101 map->m_la = pos + cur; in erofs_fileio_scan_folio() 108 ofs = folio_pos(folio) + cur - map->m_la; in erofs_fileio_scan_folio()
|
H A D | fscache.c | 268 map.m_la = pos; in erofs_fscache_data_read_slice() 304 count = min_t(size_t, map.m_llen - (pos - map.m_la), count); in erofs_fscache_data_read_slice() 320 mdev.m_pa + (pos - map.m_la), io); in erofs_fscache_data_read_slice()
|
H A D | internal.h | 332 erofs_off_t m_pa, m_la; member
|
/linux/include/trace/events/ |
H A D | erofs.h | 164 __entry->la = map->m_la; 198 __entry->la = map->m_la;
|