Home
last modified time | relevance | path

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

/Linux-v6.6/fs/erofs/
Ddata.c99 if (offset < erofs_pos(sb, lastblk)) { in erofs_map_blocks_flatmode()
100 map->m_pa = erofs_pos(sb, vi->raw_blkaddr) + map->m_la; in erofs_map_blocks_flatmode()
101 map->m_plen = erofs_pos(sb, lastblk) - offset; in erofs_map_blocks_flatmode()
175 map->m_pa = erofs_pos(sb, le32_to_cpu(*blkaddr)); in erofs_map_blocks()
189 map->m_pa = erofs_pos(sb, le32_to_cpu(idx->blkaddr)); in erofs_map_blocks()
221 map->m_pa += erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev()
237 startoff = erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev()
238 length = erofs_pos(sb, dif->blocks); in erofs_map_dev()
Ddir.c89 ctx->pos = erofs_pos(sb, i) + ofs; in erofs_readdir()
99 ctx->pos = erofs_pos(sb, i) + maxsize; in erofs_readdir()
Dinternal.h235 #define erofs_pos(sb, blk) ((erofs_off_t)(blk) << (sb)->s_blocksize_bits) macro
311 return erofs_pos(inode->i_sb, sbi->meta_blkaddr) + in erofs_iloc()
Dzmap.c399 map->m_plen = erofs_pos(sb, m->compressedblks); in z_erofs_get_extent_compressedlen()
538 map->m_pa = erofs_pos(inode->i_sb, m.pblk); in z_erofs_do_map_blocks()
Dxattr.c376 it->pos = erofs_pos(sb, sbi->xattr_blkaddr) + in erofs_xattr_iter_shared()
Dzdata.c1672 .m_pa = erofs_pos(sb, pcl->obj.index), in z_erofs_submit_queue()