Home
last modified time | relevance | path

Searched full:sb (Results 1 – 25 of 166) sorted by relevance

1234567

/openbmc/u-boot/fs/btrfs/
H A Dsuper.c24 static int btrfs_check_super_roots(struct btrfs_super_block *sb) in btrfs_check_super_roots() argument
31 root_backup = sb->super_roots + i; in btrfs_check_super_roots()
36 if (root_backup->tree_root_gen == sb->generation) in btrfs_check_super_roots()
78 static int btrfs_check_super(struct btrfs_super_block *sb) in btrfs_check_super() argument
82 if (sb->flags & ~BTRFS_SUPER_FLAG_SUPP) { in btrfs_check_super()
84 sb->flags & ~BTRFS_SUPER_FLAG_SUPP); in btrfs_check_super()
87 if (sb->root_level > BTRFS_MAX_LEVEL) { in btrfs_check_super()
89 sb->root_level, BTRFS_MAX_LEVEL); in btrfs_check_super()
93 if (sb->chunk_root_level > BTRFS_MAX_LEVEL) { in btrfs_check_super()
95 sb->chunk_root_level, BTRFS_MAX_LEVEL); in btrfs_check_super()
[all …]
H A Dbtrfs.c45 (u64) btrfs_info.sb.sectorsize)); in readdir_callback()
94 btrfs_info.tree_root.bytenr = btrfs_info.sb.root; in btrfs_probe()
96 btrfs_info.chunk_root.bytenr = btrfs_info.sb.chunk_root; in btrfs_probe()
218 uuid_bin_to_str(btrfs_info.sb.fsid, uuid_str, UUID_STR_FORMAT_STD); in btrfs_uuid()
/openbmc/u-boot/arch/x86/cpu/tangier/
H A Dsdram.c56 struct sfi_table_simple *sb; in sfi_get_table_by_sig() local
60 sb = (struct sfi_table_simple *)(addr + i); in sfi_get_table_by_sig()
61 if (sfi_table_is_type(&sb->header, signature)) in sfi_get_table_by_sig()
62 return sb; in sfi_get_table_by_sig()
71 struct sfi_table_simple *sb; in sfi_search_mmap() local
76 sb = sfi_get_table_by_sig(SFI_BASE_ADDR, SFI_SIG_SYST); in sfi_search_mmap()
77 if (!sb) { in sfi_search_mmap()
82 sys_entry_cnt = (sb->header.len - sizeof(*sbh)) / 8; in sfi_search_mmap()
86 sbh = (struct sfi_table_header *)(unsigned long)sb->pentry[i]; in sfi_search_mmap()
96 #define sfi_for_each_mentry(i, sb, mentry) \ argument
[all …]
/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-devtools/mtd/ubi-utils-klibc-2.0.2/
H A D0002-Instead-of-doing-preprocessor-magic-just-output-off_.patch77 } else switch (e->sb.st_mode & S_IFMT) {
81 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
83 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
84 (int) (e->sb.st_uid), (int) (e->sb.st_gid),
92 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
94 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
95 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
103 - e->sb.st_mode & ~S_IFMT, e->sb.st_size,
105 + e->sb.st_mode & ~S_IFMT, (long long)e->sb.st_size,
106 (int) e->sb.st_uid, (int) e->sb.st_gid, e->name);
[all …]
/openbmc/u-boot/drivers/dfu/
H A Ddfu_tftp.c15 char *s, *sb; in dfu_tftp_write() local
33 sb = s; in dfu_tftp_write()
40 debug("%s: image name: %s strlen: %zd\n", __func__, sb, strlen(sb)); in dfu_tftp_write()
42 alt_setting_num = dfu_get_alt(sb); in dfu_tftp_write()
43 free(sb); in dfu_tftp_write()
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-multimedia/libmad/libmad/
H A DCVE-2017-8374.patch127 unsigned int nch, bound, ch, s, sb, nb;
150 for (sb = 0; sb < bound; ++sb) {
163 for (sb = bound; sb < 32; ++sb) {
173 for (sb = 0; sb < 32; ++sb) {
175 if (allocation[ch][sb]) {
181 scalefactor[ch][sb] = mad_bit_read(&stream->ptr, 6);
186 nb = allocation[ch][sb];
187 frame->sbsample[ch][s][sb] = nb ?
190 sf_table[scalefactor[ch][sb]]) : 0;
197 if ((nb = allocation[0][sb])) {
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0009-linux-syslinux-implement-install_bootblock.patch25 + struct ext2_super_block sb;
27 + if (xpread(fd, &sb, sizeof sb, EXT2_SUPER_OFFSET + opt.offset) != sizeof sb) {
32 + if (sb.s_magic != EXT2_SUPER_MAGIC) {
/openbmc/ipmitool/src/plugins/bmc/
H A Dbmc.c182 struct strbuf sb; in ipmi_bmc_send_cmd_putmsg() local
209 sb.len = msgsz; in ipmi_bmc_send_cmd_putmsg()
210 sb.buf = (unsigned char *)msg; in ipmi_bmc_send_cmd_putmsg()
218 if (putmsg(intf->fd, NULL, &sb, 0) < 0) { in ipmi_bmc_send_cmd_putmsg()
228 sb.buf = malloc(MESSAGE_BUFSIZE); in ipmi_bmc_send_cmd_putmsg()
229 sb.maxlen = MESSAGE_BUFSIZE; in ipmi_bmc_send_cmd_putmsg()
231 if (getmsg(intf->fd, NULL, &sb, &flags) < 0) { in ipmi_bmc_send_cmd_putmsg()
233 free(sb.buf); in ipmi_bmc_send_cmd_putmsg()
234 sb.buf = NULL; in ipmi_bmc_send_cmd_putmsg()
238 msg = (bmc_msg_t *)sb.buf; in ipmi_bmc_send_cmd_putmsg()
[all …]
/openbmc/u-boot/doc/imx/common/
H 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
270 The u-boot.sb file can be directly written to SPI NOR from U-Boot prompt.
[all …]
/openbmc/u-boot/fs/ext4/
H A Dext4_write.c30 static inline void ext4fs_sb_free_inodes_inc(struct ext2_sblock *sb) in ext4fs_sb_free_inodes_inc() argument
32 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) + 1); in ext4fs_sb_free_inodes_inc()
35 static inline void ext4fs_sb_free_blocks_inc(struct ext2_sblock *sb) in ext4fs_sb_free_blocks_inc() argument
37 sb->free_blocks = cpu_to_le32(le32_to_cpu(sb->free_blocks) + 1); in ext4fs_sb_free_blocks_inc()
75 (struct ext2_sblock *)fs->sb, (uint32_t)SUPERBLOCK_SIZE); in ext4fs_update()
165 ext4fs_sb_free_blocks_inc(fs->sb); in delete_single_indirect_block()
229 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
260 ext4fs_sb_free_blocks_inc(fs->sb); in delete_double_indirect_block()
341 ext4fs_sb_free_blocks_inc(fs->sb); in delete_triple_indirect_block()
381 ext4fs_sb_free_blocks_inc(fs->sb); in delete_triple_indirect_block()
[all …]
/openbmc/qemu/hw/display/
H A Ddm163.c91 uint64_t *sb = in dm163_dck_gpio_handler() local
94 const bool sout = (s->selbk ? sb[2] & MAKE_64BIT_MASK(63, 1) : in dm163_dck_gpio_handler()
95 sb[2] & MAKE_64BIT_MASK(15, 1)) != 0; in dm163_dck_gpio_handler()
98 sb[2] = (sb[2] << 1) | ((sb[1] >> 63) & 1); in dm163_dck_gpio_handler()
99 sb[1] = (sb[1] << 1) | ((sb[0] >> 63) & 1); in dm163_dck_gpio_handler()
100 sb[0] = (sb[0] << 1) | s->sin; in dm163_dck_gpio_handler()
/openbmc/u-boot/doc/imx/mkimage/
H A Dmxsimage.txt1 Freescale i.MX233/i.MX28 SB image generator via mkimage
4 This tool allows user to produce SB BootStream encrypted with a zero key.
15 The output bootstream file is usually using the .sb file extension. Note
151 H -- SB Image header loaded
168 This will output all the information from the SB image header and all the
169 instructions contained in the SB image. It will also check if the various
170 checksums in the SB image are correct.
/openbmc/u-boot/cmd/
H A Dsb.c49 /* Skip past 'sb' */ in do_sb()
61 sb, 8, 1, do_sb,
64 "sb state - Show sandbox state"
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpa11.inl41 /* clear SB, AB and DA bits before returning FPCR */
48 fpa11->fpcr &= ~MASK_WFC; /* clear SB, AB and DA bits */
49 fpa11->fpcr |= (reg & MASK_WFC); /* write SB, AB and DA bits */
/openbmc/pldm/oem/ibm/libpldmresponder/
H A Dfile_io_type_pcie.cpp191 // stat sb is the out parameter provided to fstat in parseTopologyData()
192 struct stat sb; in parseTopologyData() local
193 if (fstat(fd, &sb) == -1) in parseTopologyData()
199 if (sb.st_size == 0) in parseTopologyData()
205 auto topologyCleanup = [sb](void* fileInMemory) { in parseTopologyData()
206 munmap(fileInMemory, sb.st_size); in parseTopologyData()
211 mmap(nullptr, sb.st_size, PROT_READ, MAP_PRIVATE, topologyFd(), 0); in parseTopologyData()
433 struct stat sb; in parseCableInfo() local
435 if (fstat(fd, &sb) == -1) in parseCableInfo()
441 if (sb.st_size == 0) in parseCableInfo()
[all …]
/openbmc/openbmc/poky/meta/recipes-devtools/makedevs/makedevs/
H A Dmakedevs.c259 struct stat sb; in add_new_device() local
266 memset(&sb, 0, sizeof(struct stat)); in add_new_device()
267 status = lstat(path, &sb); in add_new_device()
272 if ((mode & S_IFMT) != (sb.st_mode & S_IFMT)) { in add_new_device()
276 path, (sb.st_mode & S_IFMT), (mode & S_IFMT)); in add_new_device()
278 if (mode != sb.st_mode) { in add_new_device()
280 …fprintf(stderr, " -- applying new mode 04%lo (old was 04%o)\n", mode & ~S_IFMT, sb.st_mode & ~S_IF… in add_new_device()
327 struct stat sb; in add_new_fifo() local
329 memset(&sb, 0, sizeof(struct stat)); in add_new_fifo()
330 status = stat(path, &sb); in add_new_fifo()
[all …]
/openbmc/qemu/hw/uefi/
H A Dvar-service-auth.c31 static void set_secure_boot(uefi_vars_state *uv, uint8_t sb) in set_secure_boot() argument
37 &sb, sizeof(sb)); in set_secure_boot()
302 uint8_t platform_mode, sb, sbe, vk; in uefi_vars_auth_init() local
337 sb = SECURE_BOOT_MODE_ENABLE; in uefi_vars_auth_init()
339 sb = SECURE_BOOT_MODE_DISABLE; in uefi_vars_auth_init()
341 set_secure_boot(uv, sb); in uefi_vars_auth_init()
/openbmc/u-boot/arch/arm/cpu/arm926ejs/mxs/
H 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…
/openbmc/u-boot/fs/ubifs/
H A Dsuper.c58 struct inode *iget_locked(struct super_block *sb, unsigned long ino) in iget_locked() argument
66 inode->i_sb = sb; in iget_locked()
67 list_add(&inode->i_sb_list, &sb->s_inodes); in iget_locked()
238 struct inode *ubifs_iget(struct super_block *sb, unsigned long inum) in ubifs_iget() argument
243 struct ubifs_info *c = sb->s_fs_info; in ubifs_iget()
275 inode = iget_locked(sb, inum); in ubifs_iget()
439 static struct inode *ubifs_alloc_inode(struct super_block *sb) in ubifs_alloc_inode() argument
631 static int ubifs_sync_fs(struct super_block *sb, int wait) in ubifs_sync_fs() argument
634 struct ubifs_info *c = sb->s_fs_info; in ubifs_sync_fs()
1229 struct super_block *sb = c->vfs_sb; in ubifs_parse_options() local
[all …]
H A Dgc.c119 struct ubifs_scan_node *sa, *sb; in data_nodes_cmp() local
126 sb = list_entry(b, struct ubifs_scan_node, list); in data_nodes_cmp()
129 ubifs_assert(key_type(c, &sb->key) == UBIFS_DATA_KEY); in data_nodes_cmp()
131 ubifs_assert(sb->type == UBIFS_DATA_NODE); in data_nodes_cmp()
134 inumb = key_inum(c, &sb->key); in data_nodes_cmp()
138 unsigned int blkb = key_block(c, &sb->key); in data_nodes_cmp()
163 struct ubifs_scan_node *sa, *sb; in nondata_nodes_cmp() local
170 sb = list_entry(b, struct ubifs_scan_node, list); in nondata_nodes_cmp()
173 key_type(c, &sb->key) != UBIFS_DATA_KEY); in nondata_nodes_cmp()
175 sb->type != UBIFS_DATA_NODE); in nondata_nodes_cmp()
[all …]
/openbmc/u-boot/test/fs/
H A Dfs-test.sh7 # It currently tests the fs/sb and native commands for ext4 and fat partitions
10 # fs-test.sb.ext4 Summary: PASS: 24 FAIL: 0
14 # fs-test.sb.fat16 Summary: PASS: 24 FAIL: 0
18 # fs-test.sb.fat32 Summary: PASS: 24 FAIL: 0
156 # 5th parameter is fs/nonfs/sb - to dictate generic fs commands or
157 # otherwise or sb hostfs
159 # fs and ext4/fat and full patch for sb hostfs
196 sb)
209 # sb always uses full path to mointpoint, irrespective of filesystem
210 if [ "$5" = "sb" ]; then
[all …]
/openbmc/openbmc/poky/meta/recipes-bsp/lrzsz/
H A Dlrzsz_0.12.20.bb4 These programs use error correcting protocols ({z,x,y}modem) to send (sz, sx, sb) and \
39 ALTERNATIVE:${PN} = "rz rx rb sz sx sb"
47 ALTERNATIVE_TARGET[sb] = "${bindir}/lsz"
/openbmc/phosphor-dbus-interfaces/yaml/com/ibm/ipzvpd/
H A DCP00.interface.yaml28 - name: SB
31 SB keyword.SBE code version.
/openbmc/openbmc-tools/adcapp/src/
H A Dadcifc.c31 struct stat sb; in adc_directory_check() local
32 if (!(stat(path, &sb) == 0 && S_ISDIR(sb.st_mode))) { in adc_directory_check()
/openbmc/u-boot/doc/device-tree-bindings/pinctrl/
H 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",

1234567