Searched refs:sbi (Results 1 - 16 of 16) sorted by relevance

/u-boot/fs/erofs/
H A Dsuper.c4 static bool check_layout_compatibility(struct erofs_sb_info *sbi, argument
9 sbi->feature_incompat = feature;
20 static int erofs_init_devices(struct erofs_sb_info *sbi, argument
26 sbi->total_blocks = sbi->primarydevice_blocks;
33 if (ondisk_extradevs != sbi->extra_devices) {
35 ondisk_extradevs, sbi->extra_devices);
41 sbi->device_id_mask = roundup_pow_of_two(ondisk_extradevs + 1) - 1;
42 sbi->devs = calloc(ondisk_extradevs, sizeof(*sbi
[all...]
H A Dinternal.h49 /* global sbi */
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);
116 return sbi.feature_##compat & EROFS_FEATURE_##feature; \
120 sbi
[all...]
H A Ddata.c112 sbi.device_id_mask;
128 if (sbi.extra_devices < map->m_deviceid)
130 } else if (sbi.extra_devices) {
131 for (id = 0; id < sbi.extra_devices; ++id) {
134 dif = sbi.devs + id;
228 .nid = sbi.packed_nid,
H A Dnamei.c106 vi->i_mtime = sbi.build_time;
107 vi->i_mtime_nsec = sbi.build_time_nsec;
126 vi->u.chunkbits = sbi.blkszbits +
228 nd->nid = sbi.root_nid;
H A Dfs.c5 struct erofs_sb_info sbi; variable in typeref:struct:erofs_sb_info
262 uuid_bin_to_str(sbi.uuid, uuid_str,
H A Dzmap.c16 vi->z_logical_clusterbits = sbi.blkszbits;
60 vi->z_logical_clusterbits = sbi.blkszbits + (h->h_clusterbits & 7);
489 m->compressedblks = 1 << (lclusterbits - sbi.blkszbits);
504 map->m_plen = m->compressedblks << sbi.blkszbits;
/u-boot/cmd/riscv/
H A DMakefile4 obj-$(CONFIG_CMD_SBI) += sbi.o
H A Dsbi.c3 * The 'sbi' command displays information about the SBI implementation.
10 #include <asm/sbi.h>
127 U_BOOT_LONGHELP(sbi,
131 sbi, 1, 0, do_sbi,
/u-boot/arch/riscv/lib/
H A Dsbi_ipi.c8 #include <asm/sbi.h>
H A DMakefile18 obj-$(CONFIG_SBI) += sbi.o
H A Dsbi.c7 * Taken from Linux arch/riscv/kernel/sbi.c
12 #include <asm/sbi.h>
/u-boot/drivers/serial/
H A Dserial_sbi.c4 #include <asm/sbi.h>
/u-boot/lib/efi_driver/
H A Defi_reset_riscv.c4 #include <asm/sbi.h>
/u-boot/drivers/sysreset/
H A Dsysreset_sbi.c11 #include <asm/sbi.h>
47 .name = "sbi-sysreset",
/u-boot/board/andestech/ae350/
H A Dae350.c18 #include <asm/sbi.h>
/u-boot/drivers/cpu/
H A Driscv_cpu.c14 #include <asm/sbi.h>

Completed in 85 milliseconds