Home
last modified time | relevance | path

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

12

/Zephyr-latest/subsys/fs/ext2/
Dext2_format.c209 struct ext2_disk_superblock *sb = in ext2_format() local
212 memset(sb, 0, 1024); in ext2_format()
213 sb->s_inodes_count = sys_cpu_to_le32(inodes_count); in ext2_format()
214 sb->s_blocks_count = sys_cpu_to_le32(blocks_count); in ext2_format()
215 sb->s_r_blocks_count = sys_cpu_to_le32(0); in ext2_format()
216 sb->s_free_blocks_count = sys_cpu_to_le32(free_blocks); in ext2_format()
217 sb->s_free_inodes_count = sys_cpu_to_le32(inodes_count - used_inodes); in ext2_format()
218 sb->s_first_data_block = sys_cpu_to_le32(first_data_block); in ext2_format()
219 sb->s_log_block_size = sys_cpu_to_le32(block_log_size); in ext2_format()
220 sb->s_log_frag_size = sys_cpu_to_le32(block_log_size); in ext2_format()
[all …]
Dext2_diskops.c32 static void fill_sblock(struct ext2_superblock *sb, struct ext2_disk_superblock *disk_sb) in fill_sblock() argument
34 sb->s_inodes_count = sys_le32_to_cpu(disk_sb->s_inodes_count); in fill_sblock()
35 sb->s_blocks_count = sys_le32_to_cpu(disk_sb->s_blocks_count); in fill_sblock()
36 sb->s_free_blocks_count = sys_le32_to_cpu(disk_sb->s_free_blocks_count); in fill_sblock()
37 sb->s_free_inodes_count = sys_le32_to_cpu(disk_sb->s_free_inodes_count); in fill_sblock()
38 sb->s_first_data_block = sys_le32_to_cpu(disk_sb->s_first_data_block); in fill_sblock()
39 sb->s_log_block_size = sys_le32_to_cpu(disk_sb->s_log_block_size); in fill_sblock()
40 sb->s_log_frag_size = sys_le32_to_cpu(disk_sb->s_log_frag_size); in fill_sblock()
41 sb->s_blocks_per_group = sys_le32_to_cpu(disk_sb->s_blocks_per_group); in fill_sblock()
42 sb->s_frags_per_group = sys_le32_to_cpu(disk_sb->s_frags_per_group); in fill_sblock()
[all …]
Dext2_impl.c233 int ext2_verify_disk_superblock(struct ext2_disk_superblock *sb) in ext2_verify_disk_superblock() argument
236 if (sys_le16_to_cpu(sb->s_magic) != EXT2_MAGIC_NUMBER) { in ext2_verify_disk_superblock()
237 LOG_ERR("Wrong file system magic number (%x)", sb->s_magic); in ext2_verify_disk_superblock()
242 if (sys_le32_to_cpu(sb->s_log_block_size) != sb->s_log_frag_size) { in ext2_verify_disk_superblock()
248 if (sys_le32_to_cpu(sb->s_rev_level) != EXT2_DYNAMIC_REV) { in ext2_verify_disk_superblock()
249 LOG_ERR("Filesystem with revision %d is not supported", sb->s_rev_level); in ext2_verify_disk_superblock()
253 if (sys_le16_to_cpu(sb->s_inode_size) != EXT2_GOOD_OLD_INODE_SIZE) { in ext2_verify_disk_superblock()
254 LOG_ERR("Filesystem with inode size %d is not supported", sb->s_inode_size); in ext2_verify_disk_superblock()
259 if (sys_le16_to_cpu(sb->s_state) == EXT2_ERROR_FS) { in ext2_verify_disk_superblock()
261 switch (sys_le16_to_cpu(sb->s_errors)) { in ext2_verify_disk_superblock()
[all …]
Dext2_disk_access.c117 static int disk_access_read_superblock(struct ext2_data *fs, struct ext2_disk_superblock *sb) in disk_access_read_superblock() argument
128 return disk_read(disk->name, (uint8_t *)sb, sector_start, sector_count); in disk_access_read_superblock()
Dext2_impl.h83 int ext2_verify_disk_superblock(struct ext2_disk_superblock *sb);
Dext2_struct.h223 int (*read_superblock)(struct ext2_data *fs, struct ext2_disk_superblock *sb);
/Zephyr-latest/soc/ite/ec/common/
Dvector.S34 sb t1, 0(t0)
39 sb t1, 0(t0)
41 sb t1, 1(t0)
43 sb t1, 4(t0)
45 sb t1, 5(t0)
47 sb t1, 6(t0)
51 sb t1, 0(t0)
70 sb t1, 0(t0)
/Zephyr-latest/soc/microchip/mec/common/spigen/
Dmec_spi_gen.py442 for sb in spi_bufs:
443 … print("buf[{0}]: {1} location=0x{2:0x} length=0x{3:0x}".format(i, sb[0], sb[1], len(sb[2])))
452 for sb in spi_bufs:
454 print("sb: {0} location=0x{1:0x} len=0x{2:0x}".format(sb[0], sb[1], len(sb[2])))
455 if loc < sb[1]:
456 fill_len = sb[1] - loc
467 print("loc = 0x{0:0x}: write {1} len=0x{2:0x}".format(loc, sb[0], len(sb[2])))
468 fout.write(sb[2])
469 loc = loc + len(sb[2])
/Zephyr-latest/samples/boards/microchip/mec172xevb_assy6906/qmspi_ldma/src/
Dmain.c370 static struct spi_buf sb[NUM_ASYNC_SPI_BUFS]; variable
404 sb[cnt].buf = spi_async_txbuf; in spi_flash_read_fd_async()
405 sb[cnt++].len = param_len + 1; in spi_flash_read_fd_async()
408 sb[cnt].buf = NULL; /* 8 clocks with output tri-stated */ in spi_flash_read_fd_async()
409 sb[cnt++].len = 1; in spi_flash_read_fd_async()
412 sb[cnt].buf = data; in spi_flash_read_fd_async()
413 sb[cnt++].len = datasz; in spi_flash_read_fd_async()
415 txbs.buffers = &sb[0]; in spi_flash_read_fd_async()
418 rxbs.buffers = &sb[0]; in spi_flash_read_fd_async()
453 memset(sb, 0, sizeof(sb)); in main()
/Zephyr-latest/drivers/serial/
Duart_numicro.c52 static inline int32_t uart_numicro_convert_stopbit(enum uart_config_stop_bits sb) in uart_numicro_convert_stopbit() argument
54 switch (sb) { in uart_numicro_convert_stopbit()
Duart_numaker.c95 static inline int32_t uart_numaker_convert_stopbit(enum uart_config_stop_bits sb) in uart_numaker_convert_stopbit() argument
97 switch (sb) { in uart_numaker_convert_stopbit()
Duart_stm32.c329 enum uart_config_stop_bits sb) in uart_stm32_cfg2ll_stopbits() argument
331 switch (sb) { in uart_stm32_cfg2ll_stopbits()
362 static inline enum uart_config_stop_bits uart_stm32_ll2cfg_stopbits(uint32_t sb) in uart_stm32_ll2cfg_stopbits() argument
364 switch (sb) { in uart_stm32_ll2cfg_stopbits()
/Zephyr-latest/arch/riscv/core/
Disr.S179 sb zero, %tprel_lo(is_user_mode)(t0)
306 sb t1, _thread_offset_to_exception_depth(t0)
435 sb t1, _thread_offset_to_exception_depth(a0)
439 sb t1, _thread_offset_to_exception_depth(a1)
733 sb t1, _thread_offset_to_exception_depth(t0)
763 sb t1, %tprel_lo(is_user_mode)(t0)
/Zephyr-latest/samples/boards/intel/adsp/code_relocation/
Dlinker_xtensa_intel_adsp_cavs.ld65 *(.gnu.linkonce.sb.*)
/Zephyr-latest/boards/nxp/frdm_mcxw71/doc/
Dindex.rst188 blhost.exe -p COMxx -- receive-sb-file mcxw71_nbu_ble.sb3
191 ./blhost -p /dev/ttyxx -- receive-sb-file mcxw71_nbu_ble.sb3
/Zephyr-latest/soc/espressif/esp32c2/
Dmcuboot.ld252 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32c3/
Dmcuboot.ld252 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32c6/
Dmcuboot.ld250 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32/
Dmcuboot.ld246 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32s2/
Dmcuboot.ld252 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/espressif/esp32s3/
Dmcuboot.ld252 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/nxp/imxrt/imxrt5xx/f1/
Dlinker.ld382 *(.gnu.linkonce.sb.*)
/Zephyr-latest/doc/build/snippets/
Dwriting.rst40 SB_EXTRA_CONF_FILE: sb.conf
/Zephyr-latest/soc/cdns/dc233c/include/
Dxtensa-dc233c.ld318 *(.gnu.linkonce.sb.*)
/Zephyr-latest/soc/nxp/imx/imx8ulp/adsp/
Dlinker.ld427 *(.gnu.linkonce.sb.*)

12