/Zephyr-latest/tests/subsys/fs/ext2/src/ |
D | testfs_mount.c | 52 struct fs_statvfs sbuf; in ZTEST() local 60 ret = fs_statvfs(mp->mnt_point, &sbuf); in ZTEST() 64 sbuf.f_bsize, sbuf.f_frsize, sbuf.f_blocks, sbuf.f_bfree); in ZTEST() 66 zassert_equal(sbuf.f_bsize, 1024, in ZTEST() 67 "Wrong block size %lu (expected %lu)", sbuf.f_bsize, 1024); in ZTEST() 68 zassert_equal(sbuf.f_frsize, 1024, in ZTEST() 69 "Wrong frag size %lu (expected %lu)", sbuf.f_frsize, 1024); in ZTEST() 70 zassert_equal(sbuf.f_blocks, partition_size / 1024, in ZTEST() 72 sbuf.f_blocks, partition_size / 1024); in ZTEST() 100 struct fs_statvfs sbuf; in mkfs_custom_config() local [all …]
|
D | testfs_ext_specific.c | 115 struct fs_statvfs sbuf; in writing_test() local 126 ret = fs_statvfs(mp->mnt_point, &sbuf); in writing_test() 130 uint32_t freeb = sbuf.f_bfree; in writing_test() 131 uint32_t bsize = sbuf.f_bsize; in writing_test() 155 struct fs_statvfs sbuf; in ZTEST() local 166 ret = fs_statvfs(mp->mnt_point, &sbuf); in ZTEST() 169 uint32_t bsize = sbuf.f_bsize; in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/fat_fs_api/src/ |
D | test_fat_mkfs.c | 60 struct fs_statvfs sbuf; in ZTEST() local 73 ret = fs_statvfs(mp.mnt_point, &sbuf); in ZTEST() 77 sbuf.f_bsize, sbuf.f_frsize, sbuf.f_blocks, sbuf.f_bfree); in ZTEST()
|
/Zephyr-latest/tests/subsys/fs/littlefs/src/ |
D | testfs_mkfs.c | 59 struct fs_statvfs sbuf; in ZTEST() local 72 ret = fs_statvfs(mnt.mnt_point, &sbuf); in ZTEST() 75 TC_PRINT("f_bsize= %lu", sbuf.f_bsize); in ZTEST() 77 zassert_equal(sbuf.f_bsize, 2 * CONFIG_FS_LITTLEFS_PROG_SIZE); in ZTEST()
|
/Zephyr-latest/samples/subsys/usb/mass/src/ |
D | main.c | 140 struct fs_statvfs sbuf; in setup_disk() local 170 rc = fs_statvfs(mp->mnt_point, &sbuf); in setup_disk() 179 sbuf.f_bsize, sbuf.f_frsize, in setup_disk() 180 sbuf.f_blocks, sbuf.f_bfree); in setup_disk()
|
/Zephyr-latest/samples/net/wpan_serial/src/ |
D | main.c | 340 static size_t slip_buffer(uint8_t *sbuf, struct net_buf *buf) in slip_buffer() argument 343 uint8_t *sbuf_orig = sbuf; in slip_buffer() 356 *sbuf++ = SLIP_ESC; in slip_buffer() 357 *sbuf++ = SLIP_ESC_END; in slip_buffer() 360 *sbuf++ = SLIP_ESC; in slip_buffer() 361 *sbuf++ = SLIP_ESC_ESC; in slip_buffer() 364 *sbuf++ = byte; in slip_buffer() 368 *sbuf++ = SLIP_END; in slip_buffer() 370 return sbuf - sbuf_orig; in slip_buffer()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | friend.h | 24 struct net_buf_simple *sbuf); 28 struct net_buf_simple *sbuf);
|
D | net.c | 60 struct net_buf_simple *sbuf; member 399 struct net_buf_simple sbuf; in bt_mesh_net_local() local 429 net_buf_simple_init_with_data(&sbuf, buf->data, buf->len); in bt_mesh_net_local() 430 (void)bt_mesh_trans_recv(&sbuf, &rx); in bt_mesh_net_local() 685 static void bt_mesh_net_relay(struct net_buf_simple *sbuf, struct bt_mesh_net_rx *rx, bool bridge) in bt_mesh_net_relay() argument 722 sbuf->data[1] &= 0x80; in bt_mesh_net_relay() 723 sbuf->data[1] |= rx->ctx.recv_ttl - 1U; in bt_mesh_net_relay() 725 net_buf_simple_add_mem(&adv->b, sbuf->data, sbuf->len); in bt_mesh_net_relay() 788 net_buf_simple_restore(ctx->sbuf, ctx->state); in bt_mesh_sbr_check_cb() 789 bt_mesh_net_relay(ctx->sbuf, ctx->rx, true); in bt_mesh_sbr_check_cb() [all …]
|
D | friend.c | 1431 struct net_buf_simple *sbuf) in friend_lpn_enqueue_rx() argument 1465 buf = create_friend_pdu(frnd, &info, sbuf); in friend_lpn_enqueue_rx() 1480 struct net_buf_simple *sbuf) in friend_lpn_enqueue_tx() argument 1501 buf = create_friend_pdu(frnd, &info, sbuf); in friend_lpn_enqueue_tx() 1700 struct net_buf_simple *sbuf) in bt_mesh_friend_enqueue_rx() argument 1736 sbuf); in bt_mesh_friend_enqueue_rx() 1743 struct net_buf_simple *sbuf) in bt_mesh_friend_enqueue_tx() argument 1769 sbuf); in bt_mesh_friend_enqueue_tx()
|
/Zephyr-latest/samples/subsys/fs/littlefs/src/ |
D | main.c | 345 struct fs_statvfs sbuf; in main() local 358 rc = fs_statvfs(mountpoint->mnt_point, &sbuf); in main() 367 sbuf.f_bsize, sbuf.f_frsize, in main() 368 sbuf.f_blocks, sbuf.f_bfree); in main()
|