Searched refs:sbi (Results 1 – 6 of 6) sorted by relevance
9 sbi->feature_incompat = feature; in check_layout_compatibility()26 sbi->total_blocks = sbi->primarydevice_blocks; in erofs_init_devices()42 sbi->devs = calloc(ondisk_extradevs, sizeof(*sbi->devs)); in erofs_init_devices()43 if (!sbi->devs) in erofs_init_devices()52 free(sbi->devs); in erofs_init_devices()57 sbi->total_blocks += dis.blocks; in erofs_init_devices()84 sbi.blkszbits = dsb->blkszbits; in erofs_read_superblock()85 if (sbi.blkszbits < 9 || in erofs_read_superblock()97 sbi.islotbits = EROFS_ISLOTBITS; in erofs_read_superblock()100 sbi.inos = le64_to_cpu(dsb->inos); in erofs_read_superblock()[all …]
50 extern struct erofs_sb_info sbi;52 #define erofs_blksiz() (1u << sbi.blkszbits)53 #define erofs_blknr(addr) ((addr) >> sbi.blkszbits)55 #define erofs_pos(nr) ((erofs_off_t)(nr) << sbi.blkszbits)57 #define BLK_ROUND_UP(addr) DIV_ROUND_UP(addr, 1u << sbi.blkszbits)110 return erofs_pos(sbi.meta_blkaddr) + (nid << sbi.islotbits); in iloc()116 return sbi.feature_##compat & EROFS_FEATURE_##feature; \120 sbi.feature_##compat |= EROFS_FEATURE_##feature; \124 sbi.feature_##compat &= ~EROFS_FEATURE_##feature; \
112 sbi.device_id_mask; in erofs_map_blocks()128 if (sbi.extra_devices < map->m_deviceid) in erofs_map_dev()130 } else if (sbi.extra_devices) { in erofs_map_dev()131 for (id = 0; id < sbi.extra_devices; ++id) { in erofs_map_dev()134 dif = sbi.devs + id; in erofs_map_dev()228 .nid = sbi.packed_nid, in z_erofs_read_one_data()
106 vi->i_mtime = sbi.build_time; in erofs_read_inode_from_disk()107 vi->i_mtime_nsec = sbi.build_time_nsec; in erofs_read_inode_from_disk()126 vi->u.chunkbits = sbi.blkszbits + in erofs_read_inode_from_disk()228 nd->nid = sbi.root_nid; in link_path_walk()
5 struct erofs_sb_info sbi; variable268 uuid_bin_to_str(sbi.uuid, uuid_str, in erofs_uuid()
16 vi->z_logical_clusterbits = sbi.blkszbits; in z_erofs_fill_inode()60 vi->z_logical_clusterbits = sbi.blkszbits + (h->h_clusterbits & 7); in z_erofs_fill_inode_lazy()489 m->compressedblks = 1 << (lclusterbits - sbi.blkszbits); in z_erofs_get_extent_compressedlen()504 map->m_plen = m->compressedblks << sbi.blkszbits; in z_erofs_get_extent_compressedlen()
Completed in 677 milliseconds