Searched refs:erofs_pos (Results 1 – 5 of 5) sorted by relevance
/fs/erofs/ |
D | data.c | 99 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() 176 map->m_pa = erofs_pos(sb, le32_to_cpu(*blkaddr)); in erofs_map_blocks() 190 map->m_pa = erofs_pos(sb, le32_to_cpu(idx->blkaddr)); in erofs_map_blocks() 234 startoff = erofs_pos(sb, dif->mapped_blkaddr); in erofs_map_dev() 235 length = erofs_pos(sb, dif->blocks); in erofs_map_dev()
|
D | dir.c | 105 ctx->pos = erofs_pos(sb, i) + ofs; in erofs_readdir() 115 ctx->pos = erofs_pos(sb, i) + maxsize; in erofs_readdir()
|
D | internal.h | 260 #define erofs_pos(sb, blk) ((erofs_off_t)(blk) << (sb)->s_blocksize_bits) macro 333 return erofs_pos(inode->i_sb, sbi->meta_blkaddr) + in erofs_iloc()
|
D | zmap.c | 422 map->m_plen = erofs_pos(sb, m->compressedblks); in z_erofs_get_extent_compressedlen() 565 map->m_pa = erofs_pos(inode->i_sb, m.pblk); in z_erofs_do_map_blocks()
|
D | zdata.c | 1675 .m_pa = erofs_pos(sb, pcl->obj.index), in z_erofs_submit_queue()
|