Home
last modified time | relevance | path

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

12

/rk3399_rockchip-uboot/arch/x86/cpu/tangier/
H A Dsdram.c57 struct sfi_table_simple *sb; in sfi_get_table_by_sig() local
61 sb = (struct sfi_table_simple *)(addr + i); in sfi_get_table_by_sig()
62 if (sfi_table_is_type(&sb->header, signature)) in sfi_get_table_by_sig()
63 return sb; in sfi_get_table_by_sig()
72 struct sfi_table_simple *sb; in sfi_search_mmap() local
77 sb = sfi_get_table_by_sig(SFI_BASE_ADDR, SFI_SIG_SYST); in sfi_search_mmap()
78 if (!sb) { in sfi_search_mmap()
83 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap()
87 sbh = (struct sfi_table_header *)(unsigned long)sb->pentry[i]; in sfi_search_mmap()
97 #define sfi_for_each_mentry(i, sb, mentry) \ argument
[all …]
/rk3399_rockchip-uboot/drivers/dfu/
H A Ddfu_tftp.c16 char *s, *sb; in dfu_tftp_write() local
34 sb = s; in dfu_tftp_write()
41 debug("%s: image name: %s strlen: %d\n", __func__, sb, strlen(sb)); in dfu_tftp_write()
43 alt_setting_num = dfu_get_alt(sb); in dfu_tftp_write()
44 free(sb); in dfu_tftp_write()
/rk3399_rockchip-uboot/fs/ext4/
H A Dext4_write.c31 static inline void ext4fs_sb_free_inodes_inc(struct ext2_sblock *sb) in ext4fs_sb_free_inodes_inc() argument
33 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) + 1); in ext4fs_sb_free_inodes_inc()
36 static inline void ext4fs_sb_free_blocks_inc(struct ext2_sblock *sb) in ext4fs_sb_free_blocks_inc() argument
38 sb->free_blocks = cpu_to_le32(le32_to_cpu(sb->free_blocks) + 1); in ext4fs_sb_free_blocks_inc()
76 (struct ext2_sblock *)fs->sb, (uint32_t)SUPERBLOCK_SIZE); in ext4fs_update()
166 ext4fs_sb_free_blocks_inc(fs->sb); in delete_single_indirect_block()
230 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
261 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
342 ext4fs_sb_free_blocks_inc(fs->sb); in delete_triple_indirect_block()
382 ext4fs_sb_free_blocks_inc(fs->sb); in delete_triple_indirect_block()
[all …]
H 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);
H A Dext4_journal.c67 memcpy(temp + SUPERBLOCK_SIZE, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
75 memcpy(journal_ptr[gindex]->buf, fs->sb, SUPERBLOCK_SIZE); in ext4fs_init_journal()
427 if (le32_to_cpu(fs->sb->feature_incompat) & EXT3_FEATURE_INCOMPAT_RECOVER) { in ext4fs_check_journal_state()
528 ext4_read_superblock((char *)fs->sb); in ext4fs_check_journal_state()
529 new_feature_incompat = le32_to_cpu(fs->sb->feature_incompat); in ext4fs_check_journal_state()
531 fs->sb->feature_incompat = cpu_to_le32(new_feature_incompat); in ext4fs_check_journal_state()
535 (struct ext2_sblock *)fs->sb, in ext4fs_check_journal_state()
537 ext4_read_superblock((char *)fs->sb); in ext4fs_check_journal_state()
H A Dext4_common.c56 static inline void ext4fs_sb_free_inodes_dec(struct ext2_sblock *sb) in ext4fs_sb_free_inodes_dec() argument
58 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) - 1); in ext4fs_sb_free_inodes_dec()
61 static inline void ext4fs_sb_free_blocks_dec(struct ext2_sblock *sb) in ext4fs_sb_free_blocks_dec() argument
63 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_free_blocks_dec()
64 free_blocks += (uint64_t)le32_to_cpu(sb->free_blocks_high) << 32; in ext4fs_sb_free_blocks_dec()
67 sb->free_blocks = cpu_to_le32(free_blocks & 0xffffffff); in ext4fs_sb_free_blocks_dec()
68 sb->free_blocks_high = cpu_to_le16(free_blocks >> 32); in ext4fs_sb_free_blocks_dec()
110 uint64_t ext4fs_sb_get_free_blocks(const struct ext2_sblock *sb) in ext4fs_sb_get_free_blocks() argument
112 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_get_free_blocks()
113 free_blocks += (uint64_t)le32_to_cpu(sb->free_blocks_high) << 32; in ext4fs_sb_get_free_blocks()
[all …]
/rk3399_rockchip-uboot/fs/ubifs/
H A Dgc.c120 struct ubifs_scan_node *sa, *sb; in data_nodes_cmp() local
127 sb = list_entry(b, struct ubifs_scan_node, list); in data_nodes_cmp()
130 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
132 ubifs_assert(sb->type == UBIFS_DATA_NODE); in data_nodes_cmp()
135 inumb = key_inum(c, &sb->key); in data_nodes_cmp()
139 unsigned int blkb = key_block(c, &sb->key); in data_nodes_cmp()
164 struct ubifs_scan_node *sa, *sb; in nondata_nodes_cmp() local
171 sb = list_entry(b, struct ubifs_scan_node, list); in nondata_nodes_cmp()
174 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
176 sb->type != UBIFS_DATA_NODE); in nondata_nodes_cmp()
[all …]
H A Dsuper.c59 struct inode *iget_locked(struct super_block *sb, unsigned long ino) in iget_locked() argument
67 inode->i_sb = sb; in iget_locked()
68 list_add(&inode->i_sb_list, &sb->s_inodes); in iget_locked()
239 struct inode *ubifs_iget(struct super_block *sb, unsigned long inum) in ubifs_iget() argument
244 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget()
276 inode = iget_locked(sb, inum); in ubifs_iget()
440 static struct inode *ubifs_alloc_inode(struct super_block *sb) in ubifs_alloc_inode() argument
632 static int ubifs_sync_fs(struct super_block *sb, int wait) in ubifs_sync_fs() argument
635 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs()
1230 struct super_block *sb = c->vfs_sb; in ubifs_parse_options() local
[all …]
H A DMakefile12 obj-y := ubifs.o io.o super.o sb.o master.o lpt.o
H A Dubifs.c392 static int ubifs_finddir(struct super_block *sb, char *dirname, in ubifs_finddir() argument
414 dir->i_sb = sb; in ubifs_finddir()
419 c = sb->s_fs_info; in ubifs_finddir()
479 static unsigned long ubifs_findfile(struct super_block *sb, char *filename) in ubifs_findfile() argument
516 ret = ubifs_finddir(sb, name, root_inum, &inum); in ubifs_findfile()
519 inode = ubifs_iget(sb, inum); in ubifs_findfile()
H A Ddebug.c2349 struct ubifs_scan_node *sa, *sb; in dbg_check_data_nodes_order() local
2360 sb = container_of(cur->next, struct ubifs_scan_node, list); in dbg_check_data_nodes_order()
2367 if (sb->type != UBIFS_DATA_NODE) { in dbg_check_data_nodes_order()
2368 ubifs_err(c, "bad node type %d", sb->type); in dbg_check_data_nodes_order()
2369 ubifs_dump_node(c, sb->node); in dbg_check_data_nodes_order()
2374 inumb = key_inum(c, &sb->key); in dbg_check_data_nodes_order()
2385 blkb = key_block(c, &sb->key); in dbg_check_data_nodes_order()
2401 ubifs_dump_node(c, sb->node); in dbg_check_data_nodes_order()
2416 struct ubifs_scan_node *sa, *sb; in dbg_check_nondata_nodes_order() local
2427 sb = container_of(cur->next, struct ubifs_scan_node, list); in dbg_check_nondata_nodes_order()
[all …]
H A Dubifs.h80 static struct timespec current_fs_time(struct super_block *sb) in current_fs_time() argument
256 struct inode *(*alloc_inode)(struct super_block *sb);
264 int (*sync_fs)(struct super_block *sb, int wait);
2370 struct inode *ubifs_iget(struct super_block *sb, unsigned long inum);
/rk3399_rockchip-uboot/arch/arm/cpu/arm926ejs/mxs/
H A DMakefile77 MKIMAGEFLAGS_u-boot.sb = -n $< -T mxsimage
78 u-boot.sb: $(src)/$(MKIMAGE_TARGET-y) u-boot.bin spl/u-boot-spl.bin FORCE
81 MKIMAGEFLAGS_u-boot-signed.sb = -n $< -T mxsimage
82 u-boot-signed.sb: $(src)/mxsimage-signed.cfg u-boot.ivt u-boot.sig spl/u-boot-spl.ivt spl/u-boot-sp…
/rk3399_rockchip-uboot/fs/cramfs/
H A Dcramfs.c373 struct cramfs_super *sb; in cramfs_check() local
378 sb = (struct cramfs_super *) PART_OFFSET(info); in cramfs_check()
379 if (sb->magic != CRAMFS_32 (CRAMFS_MAGIC)) { in cramfs_check()
381 sb = (struct cramfs_super *) (PART_OFFSET(info) + 512); in cramfs_check()
382 if (sb->magic != CRAMFS_32 (CRAMFS_MAGIC)) in cramfs_check()
/rk3399_rockchip-uboot/doc/
H A DREADME.mxs118 $ 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
270 The u-boot.sb file can be directly written to SPI NOR from U-Boot prompt.
[all …]
H A Dgit-mailrc110 alias sb sandbox
/rk3399_rockchip-uboot/test/fs/
H A Dfs-test.sh182 sb)
209 sb=$5
575 test_image $IMAGE $fs $SMALL_FILE $BIG_FILE sb `pwd`/$MOUNT_DIR \
/rk3399_rockchip-uboot/arch/arm/dts/
H A Darmada-37xx.dtsi159 pinctrl_sb: pinctrl-sb@18800 {
160 compatible = "marvell,armada3710-sb-pinctrl",
278 bank-name = "armada-3700-sb";
/rk3399_rockchip-uboot/include/
H A Dext4fs.h99 struct ext2_sblock *sb; member
/rk3399_rockchip-uboot/lib/bzip2/
H A Dbzlib_blocksort.c799 Int32 i, j, k, ss, sb; in mainSort() local
928 sb = (ss << 8) + j; in mainSort()
929 if ( ! (ftab[sb] & SETMASK) ) { in mainSort()
930 Int32 lo = ftab[sb] & CLEARMASK; in mainSort()
931 Int32 hi = (ftab[sb+1] & CLEARMASK) - 1; in mainSort()
945 ftab[sb] |= SETMASK; in mainSort()
/rk3399_rockchip-uboot/cmd/
H A Dhost.c172 sb, 8, 1, do_host,
/rk3399_rockchip-uboot/arch/nios2/cpu/
H A Du-boot.lds85 *(.gnu.linkonce.sb.*)
/rk3399_rockchip-uboot/arch/xtensa/include/asm/
H A Dldscript.h150 *(.gnu.linkonce.sb.*) \
/rk3399_rockchip-uboot/scripts/kconfig/
H A Dconfdata.c845 struct stat sb; in conf_split_config() local
930 if (stat(path, &sb) && mkdir(path, 0755)) { in conf_split_config()
/rk3399_rockchip-uboot/
H A DMakefile1128 u-boot-signed.sb: u-boot.bin spl/u-boot-spl.bin
1129 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot-signed.sb
1130 u-boot.sb: u-boot.bin spl/u-boot-spl.bin
1131 $(Q)$(MAKE) $(build)=arch/arm/cpu/arm926ejs/mxs u-boot.sb

12