Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 25 of 37) sorted by relevance

12

/u-boot/arch/x86/cpu/tangier/
A Dsdram.c58 struct sfi_table_simple *sb; in sfi_get_table_by_sig() local
64 return sb; in sfi_get_table_by_sig()
79 if (!sb) { in sfi_search_mmap()
112 sb = sfi_search_mmap(); in sfi_setup_e820()
113 if (!sb) in sfi_setup_e820()
155 sb = sfi_search_mmap(); in sfi_get_bank_size()
156 if (!sb) in sfi_get_bank_size()
178 sb = sfi_search_mmap(); in sfi_get_ram_size()
179 if (!sb) in sfi_get_ram_size()
214 sb = sfi_search_mmap(); in board_get_usable_ram_top()
[all …]
/u-boot/fs/btrfs/
A Ddisk-io.c152 csum_type = btrfs_super_csum_type(sb); in btrfs_check_super()
188 btrfs_super_chunk_root(sb)); in btrfs_check_super()
193 btrfs_super_log_root(sb)); in btrfs_check_super()
198 btrfs_super_nodesize(sb)); in btrfs_check_super()
207 btrfs_super_sectorsize(sb)); in btrfs_check_super()
218 if (btrfs_super_bytes_used(sb) < 6 * btrfs_super_nodesize(sb)) { in btrfs_check_super()
223 && (btrfs_super_stripesize(sb) != btrfs_super_sectorsize(sb))) { in btrfs_check_super()
229 metadata_uuid = sb->metadata_uuid; in btrfs_check_super()
231 metadata_uuid = sb->fsid; in btrfs_check_super()
249 btrfs_super_num_devices(sb)); in btrfs_check_super()
[all …]
A Ddisk-io.h34 int btrfs_check_fs_compatibility(struct btrfs_super_block *sb);
44 struct btrfs_super_block *sb);
A Dvolumes.c652 struct extent_buffer *sb; in btrfs_read_sys_array() local
669 sb = alloc_dummy_extent_buffer(fs_info, BTRFS_SUPER_INFO_OFFSET, in btrfs_read_sys_array()
671 if (!sb) in btrfs_read_sys_array()
673 btrfs_set_buffer_uptodate(sb); in btrfs_read_sys_array()
674 write_extent_buffer(sb, super_copy, 0, sizeof(*super_copy)); in btrfs_read_sys_array()
703 num_stripes = btrfs_chunk_num_stripes(sb, chunk); in btrfs_read_sys_array()
716 ret = read_one_chunk(fs_info, &key, sb, chunk, -1); in btrfs_read_sys_array()
730 free_extent_buffer(sb); in btrfs_read_sys_array()
736 free_extent_buffer(sb); in btrfs_read_sys_array()
/u-boot/drivers/dfu/
A Ddfu_alt.c29 char *s, *sb; in dfu_write_by_name() local
47 sb = s; in dfu_write_by_name()
54 debug("%s: image name: %s strlen: %zd\n", __func__, sb, strlen(sb)); in dfu_write_by_name()
56 alt_setting_num = dfu_get_alt(sb); in dfu_write_by_name()
57 free(sb); in dfu_write_by_name()
/u-boot/fs/ubifs/
A Dgc.c121 struct ubifs_scan_node *sa, *sb; in data_nodes_cmp() local
133 ubifs_assert(sb->type == UBIFS_DATA_NODE); in data_nodes_cmp()
136 inumb = key_inum(c, &sb->key); in data_nodes_cmp()
165 struct ubifs_scan_node *sa, *sb; in nondata_nodes_cmp() local
177 sb->type != UBIFS_DATA_NODE); in nondata_nodes_cmp()
181 if (sb->type == UBIFS_INO_NODE) in nondata_nodes_cmp()
182 return sb->len - sa->len; in nondata_nodes_cmp()
185 if (sb->type == UBIFS_INO_NODE) in nondata_nodes_cmp()
195 sb->type == UBIFS_XENT_NODE); in nondata_nodes_cmp()
198 inumb = key_inum(c, &sb->key); in nondata_nodes_cmp()
[all …]
A Dsuper.c70 inode->i_sb = sb; in iget_locked()
2073 sync_filesystem(sb); in ubifs_remount_fs()
2250 c->vfs_sb = sb; in ubifs_fill_super()
2287 sb->s_bdi = &c->bdi; in ubifs_fill_super()
2289 sb->s_fs_info = c; in ubifs_fill_super()
2317 if (!sb->s_root) { in ubifs_fill_super()
2322 sb->s_root = NULL; in ubifs_fill_super()
2482 if (IS_ERR(sb)) { in ubifs_mount()
2483 err = PTR_ERR(sb); in ubifs_mount()
2488 if (sb->s_root) { in ubifs_mount()
[all …]
A DMakefile10 obj-y := ubifs.o io.o super.o sb.o master.o lpt.o
A Dubifs.c381 static int ubifs_finddir(struct super_block *sb, char *dirname, in ubifs_finddir() argument
403 dir->i_sb = sb; in ubifs_finddir()
408 c = sb->s_fs_info; in ubifs_finddir()
468 static unsigned long ubifs_findfile(struct super_block *sb, char *filename) in ubifs_findfile() argument
505 ret = ubifs_finddir(sb, name, root_inum, &inum); in ubifs_findfile()
508 inode = ubifs_iget(sb, inum); in ubifs_findfile()
A Ddebug.c2350 struct ubifs_scan_node *sa, *sb; in dbg_check_data_nodes_order() local
2370 ubifs_dump_node(c, sb->node); in dbg_check_data_nodes_order()
2375 inumb = key_inum(c, &sb->key); in dbg_check_data_nodes_order()
2386 blkb = key_block(c, &sb->key); in dbg_check_data_nodes_order()
2402 ubifs_dump_node(c, sb->node); in dbg_check_data_nodes_order()
2417 struct ubifs_scan_node *sa, *sb; in dbg_check_nondata_nodes_order() local
2439 ubifs_dump_node(c, sb->node); in dbg_check_nondata_nodes_order()
2453 if (sa->len < sb->len) { in dbg_check_nondata_nodes_order()
2465 inumb = key_inum(c, &sb->key); in dbg_check_nondata_nodes_order()
2476 hashb = key_block(c, &sb->key); in dbg_check_nondata_nodes_order()
[all …]
/u-boot/fs/ext4/
A Dext4_write.c36 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) + 1); in ext4fs_sb_free_inodes_inc()
41 sb->free_blocks = cpu_to_le32(le32_to_cpu(sb->free_blocks) + 1); in ext4fs_sb_free_blocks_inc()
169 ext4fs_sb_free_blocks_inc(fs->sb); in delete_single_indirect_block()
233 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
264 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
417 ext4fs_sb_free_blocks_inc(fs->sb); in delete_triple_indirect_block()
568 ext4fs_sb_free_inodes_inc(fs->sb); in ext4fs_delete_file()
610 fs->sb = zalloc(SUPERBLOCK_SIZE); in ext4fs_init()
611 if (!fs->sb) in ext4fs_init()
729 free(fs->sb); in ext4fs_deinit()
[all …]
A Dext4_journal.c69 memcpy(temp + SUPERBLOCK_SIZE, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
77 memcpy(journal_ptr[gindex]->buf, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
409 if (le32_to_cpu(fs->sb->feature_ro_compat) & EXT4_FEATURE_RO_COMPAT_METADATA_CSUM) in ext4fs_check_journal_state()
428 if (le32_to_cpu(fs->sb->feature_incompat) & EXT3_FEATURE_INCOMPAT_RECOVER) { in ext4fs_check_journal_state()
529 ext4_read_superblock((char *)fs->sb); in ext4fs_check_journal_state()
530 new_feature_incompat = le32_to_cpu(fs->sb->feature_incompat); in ext4fs_check_journal_state()
532 fs->sb->feature_incompat = cpu_to_le32(new_feature_incompat); in ext4fs_check_journal_state()
536 (struct ext2_sblock *)fs->sb, in ext4fs_check_journal_state()
538 ext4_read_superblock((char *)fs->sb); in ext4fs_check_journal_state()
649 if (!(fs->sb->feature_compatibility & EXT4_FEATURE_COMPAT_HAS_JOURNAL)) in ext4fs_update_journal()
A Dext4_common.h85 uint64_t ext4fs_sb_get_free_blocks(const struct ext2_sblock *sb);
86 void ext4fs_sb_set_free_blocks(struct ext2_sblock *sb, uint64_t free_blocks);
A Dext4_common.c59 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) - 1); in ext4fs_sb_free_inodes_dec()
64 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_free_blocks_dec()
69 sb->free_blocks_high = cpu_to_le16(free_blocks >> 32); in ext4fs_sb_free_blocks_dec()
113 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_get_free_blocks()
121 sb->free_blocks_high = cpu_to_le16(free_blocks >> 32); in ext4fs_sb_set_free_blocks()
430 crc = ext2fs_crc16(~0, fs->sb->unique_id, in ext4fs_checksum_update()
431 sizeof(fs->sb->unique_id)); in ext4fs_checksum_update()
1000 ext4fs_sb_free_blocks_dec(fs->sb); in ext4fs_get_new_blk_no()
1075 ext4fs_sb_free_blocks_dec(fs->sb); in ext4fs_get_new_blk_no()
1136 ext4fs_sb_free_inodes_dec(fs->sb); in ext4fs_get_new_inode_no()
[all …]
/u-boot/arch/arm/cpu/arm926ejs/mxs/
A DMakefile75 MKIMAGEFLAGS_u-boot.sb = -n $< -T mxsimage
76 u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE
79 MKIMAGEFLAGS_u-boot-signed.sb = -n $< -T mxsimage
80 u-boot-signed.sb: $(src)/mxsimage-signed.cfg u-boot.ivt u-boot.sig spl/u-boot-spl.ivt spl/u-boot-sp…
/u-boot/board/liebherr/xea/
A DREADME7 $ make -j4 u-boot.sb u-boot.img
9 Now you should see u-boot.sb and u-boot.img files in the build directory.
28 0x00000000 SPL u-boot.sb
55 - update_spl: writes u-boot.sb to SPI NOR
/u-boot/drivers/w1-eeprom/
A Dds2502.c140 u8 sb = status[page + 1]; in ds2502_indirect_page() local
142 if (sb == 0xff) in ds2502_indirect_page()
145 page = ~sb & 0xff; in ds2502_indirect_page()
150 sb); in ds2502_indirect_page()
/u-boot/fs/cramfs/
A Dcramfs.c374 struct cramfs_super *sb; in cramfs_check() local
379 sb = (struct cramfs_super *) PART_OFFSET(info); in cramfs_check()
380 if (sb->magic != CRAMFS_32 (CRAMFS_MAGIC)) { in cramfs_check()
382 sb = (struct cramfs_super *) (PART_OFFSET(info) + 512); in cramfs_check()
383 if (sb->magic != CRAMFS_32 (CRAMFS_MAGIC)) in cramfs_check()
/u-boot/doc/imx/common/
A Dmxs.txt118 $ make u-boot.sb
123 The code produces "u-boot.sb" file. This file needs to be augmented with a
127 NOTE: The process that produces u-boot.sb uses the mkimage to generate the
135 -o u-boot.sb
137 -o u-boot.sb
175 $ ./tools/mxsboot sd u-boot.sb u-boot.sd
201 is invoked on "u-boot.sb" file from chapter 2):
203 $ ./tools/mxsboot nand u-boot.sb u-boot.nand
244 "u-boot.sb" in it's root directory. This can be changed by
274 => tftp u-boot.sb 0x42000000
[all …]
/u-boot/arch/powerpc/dts/
A Dt1040si-post.dtsi189 dcsr-cpu-sb-proxy@100000 {
190 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
194 dcsr-cpu-sb-proxy@108000 {
195 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
199 dcsr-cpu-sb-proxy@110000 {
200 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
204 dcsr-cpu-sb-proxy@118000 {
205 compatible = "fsl,dcsr-e5500-sb-proxy", "fsl,dcsr-cpu-sb-proxy";
/u-boot/cmd/
A Dsb.c63 sb, 8, 1, do_sb,
/u-boot/doc/device-tree-bindings/pinctrl/
A Dmarvell,armada-37xx-pinctrl.txt17 - compatible: "marvell,armada3710-sb-pinctrl", "syscon, "simple-mfd"
156 pinctrl_sb: pinctrl-sb@18800 {
157 compatible = "marvell,armada3710-sb-pinctrl",
/u-boot/arch/arm/dts/
A Darmada-37xx.dtsi123 sb_periph_clk: sb-periph-clk@18000 {
124 compatible = "marvell,armada-3700-periph-clock-sb";
191 pinctrl_sb: pinctrl-sb@18800 {
192 compatible = "marvell,armada3710-sb-pinctrl",
/u-boot/test/fs/
A Dfs-test.sh196 sb)
223 sb=$5
604 test_image $IMAGE $fs $SMALL_FILE $BIG_FILE sb `pwd`/$MOUNT_DIR \
/u-boot/board/ti/am65x/
A DREADME346 sb --xmodem tiboot3.bin > $MCU_DEV < $MCU_DEV
347 sb --ymodem sysfw.itb > $MCU_DEV < $MCU_DEV
348 sb --ymodem tispl.bin > $MAIN_DEV < $MAIN_DEV
350 sb --xmodem u-boot.img > $MAIN_DEV < $MAIN_DEV

Completed in 68 milliseconds

12