Lines Matching refs:ext
528 struct z_erofs_extent *ext; in z_erofs_map_blocks_ext() local
535 ext = erofs_read_metabuf(&map->buf, sb, pos, in_mbox); in z_erofs_map_blocks_ext()
536 if (IS_ERR(ext)) in z_erofs_map_blocks_ext()
537 return PTR_ERR(ext); in z_erofs_map_blocks_ext()
538 pa = le64_to_cpu(*(__le64 *)ext); in z_erofs_map_blocks_ext()
548 ext = erofs_read_metabuf(&map->buf, sb, pos, in_mbox); in z_erofs_map_blocks_ext()
549 if (IS_ERR(ext)) in z_erofs_map_blocks_ext()
550 return PTR_ERR(ext); in z_erofs_map_blocks_ext()
551 map->m_plen = le32_to_cpu(ext->plen); in z_erofs_map_blocks_ext()
556 map->m_pa = le32_to_cpu(ext->pstart_lo); in z_erofs_map_blocks_ext()
567 ext = erofs_read_metabuf(&map->buf, sb, in z_erofs_map_blocks_ext()
569 if (IS_ERR(ext)) in z_erofs_map_blocks_ext()
570 return PTR_ERR(ext); in z_erofs_map_blocks_ext()
572 la = le32_to_cpu(ext->lstart_lo); in z_erofs_map_blocks_ext()
573 pa = le32_to_cpu(ext->pstart_lo) | in z_erofs_map_blocks_ext()
574 (u64)le32_to_cpu(ext->pstart_hi) << 32; in z_erofs_map_blocks_ext()
576 la |= (u64)le32_to_cpu(ext->lstart_hi) << 32; in z_erofs_map_blocks_ext()
590 map->m_plen = le32_to_cpu(ext->plen); in z_erofs_map_blocks_ext()