Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 19 of 19) sorted by relevance

/subsys/bluetooth/mesh/
A Dstatistic.c12 static struct bt_mesh_statistic stat; variable
27 stat.tx_local_planned++; in bt_mesh_stat_planned_count()
29 stat.tx_adv_relay_planned++; in bt_mesh_stat_planned_count()
31 stat.tx_friend_planned++; in bt_mesh_stat_planned_count()
38 stat.tx_local_succeeded++; in bt_mesh_stat_succeeded_count()
40 stat.tx_adv_relay_succeeded++; in bt_mesh_stat_succeeded_count()
42 stat.tx_friend_succeeded++; in bt_mesh_stat_succeeded_count()
50 stat.rx_adv++; in bt_mesh_stat_rx()
53 stat.rx_loopback++; in bt_mesh_stat_rx()
57 stat.rx_proxy++; in bt_mesh_stat_rx()
[all …]
/subsys/net/lib/zperf/
A Dzperf_udp_receiver.c56 struct zperf_server_hdr *stat, in build_reply() argument
67 stat_hdr->flags = htonl(stat->flags); in build_reply()
75 stat_hdr->jitter1 = htonl(stat->jitter1); in build_reply()
76 stat_hdr->jitter2 = htonl(stat->jitter2); in build_reply()
85 struct zperf_server_hdr *stat) in zperf_receiver_send_stat() argument
90 build_reply(hdr, stat, reply); in zperf_receiver_send_stat()
136 &session->stat) < 0) { in udp_received()
163 session->stat.flags = 0x80000000; in udp_received()
165 session->stat.total_len2 = in udp_received()
172 session->stat.jitter1 = 0; in udp_received()
[all …]
A Dzperf_udp_uploader.c30 struct zperf_server_hdr *stat; in zperf_upload_decode_stat() local
38 stat = (struct zperf_server_hdr *) in zperf_upload_decode_stat()
40 flags = ntohl(UNALIGNED_GET(&stat->flags)); in zperf_upload_decode_stat()
45 results->nb_packets_rcvd = ntohl(UNALIGNED_GET(&stat->datagrams)); in zperf_upload_decode_stat()
46 results->nb_packets_lost = ntohl(UNALIGNED_GET(&stat->error_cnt)); in zperf_upload_decode_stat()
48 ntohl(UNALIGNED_GET(&stat->outorder_cnt)); in zperf_upload_decode_stat()
50 ntohl(UNALIGNED_GET(&stat->total_len2)); in zperf_upload_decode_stat()
51 results->time_in_us = ntohl(UNALIGNED_GET(&stat->stop_usec)) + in zperf_upload_decode_stat()
52 ntohl(UNALIGNED_GET(&stat->stop_sec)) * USEC_PER_SEC; in zperf_upload_decode_stat()
53 results->jitter_in_us = ntohl(UNALIGNED_GET(&stat->jitter2)) + in zperf_upload_decode_stat()
[all …]
A Dzperf_session.h52 struct zperf_server_hdr stat; member
/subsys/mgmt/mcumgr/grp/stat_mgmt/
A DKconfig26 int "Maximum stat group name length"
30 Limits the maximum stat group name length in MCUmgr requests, in bytes.
31 For stat group names. a buffer of this size gets allocated on the stack
32 during handling of all stat read commands. If a stat group's name
34 a stat show command.
35 For stat names s_name and snm_name, this is the maximum length when
/subsys/mgmt/ec_host_cmd/backends/
A Dec_host_cmd_backend_shi_npcx.c189 uint8_t stat; in shi_npcx_read_buf_pointer() local
193 stat = inst->IBUFSTAT; in shi_npcx_read_buf_pointer()
194 } while (stat != inst->IBUFSTAT); in shi_npcx_read_buf_pointer()
196 return (uint32_t)stat; in shi_npcx_read_buf_pointer()
205 uint8_t stat; in shi_npcx_write_buf_pointer() local
209 stat = inst->OBUFSTAT; in shi_npcx_write_buf_pointer()
210 } while (stat != inst->OBUFSTAT); in shi_npcx_write_buf_pointer()
212 return stat; in shi_npcx_write_buf_pointer()
688 uint8_t stat; in shi_npcx_isr() local
700 stat = inst->EVSTAT; in shi_npcx_isr()
[all …]
A Dec_host_cmd_backend_spi_stm32.c617 struct dma_status stat; in wait_for_rx_bytes() local
625 ret = dma_get_status(hc_spi->dma_rx->dma_dev, hc_spi->dma_rx->channel, &stat); in wait_for_rx_bytes()
631 rx_bytes = CONFIG_EC_HOST_CMD_HANDLER_RX_BUFFER_SIZE - stat.pending_length; in wait_for_rx_bytes()
/subsys/fs/
A Dfat_fs.c415 const char *path, struct fs_statvfs *stat) in fatfs_statvfs() argument
427 stat->f_bfree = f_bfree; in fatfs_statvfs()
435 stat->f_bsize = fs->ssize; in fatfs_statvfs()
437 stat->f_bsize = FF_MIN_SS; in fatfs_statvfs()
439 stat->f_frsize = fs->csize * stat->f_bsize; in fatfs_statvfs()
440 stat->f_blocks = (fs->n_fatent - 2); in fatfs_statvfs()
553 .stat = fatfs_stat,
A Dfuse_fs_access_bottom.c53 #define OP_STAT offsetof(struct ffa_op_callbacks, stat)
174 op_queue.ret = op_callbacks->stat(args->path, args->entry_p); in ffa_run_pending_op()
200 static int fuse_fs_access_getattr(const char *path, struct stat *st) in fuse_fs_access_getattr()
252 struct stat st; in fuse_fs_access_readmount()
304 struct stat st; in fuse_fs_access_readdir()
603 struct stat st; in ffsa_init_bottom()
608 if (stat(fuse_mountpoint, &st) < 0) { in ffsa_init_bottom()
A Dshell.c509 struct fs_statvfs stat; in cmd_statvfs() local
513 err = fs_statvfs(path, &stat); in cmd_statvfs()
520 stat.f_bsize, stat.f_frsize, stat.f_blocks, stat.f_bfree); in cmd_statvfs()
A Dfuse_fs_access_bottom.h25 int (*stat)(const char *path, struct ffa_dirent *entry); member
A Dlittlefs_fs.c560 const char *path, struct fs_statvfs *stat) in littlefs_statvfs() argument
565 stat->f_bsize = lfs->cfg->prog_size; in littlefs_statvfs()
566 stat->f_frsize = lfs->cfg->block_size; in littlefs_statvfs()
567 stat->f_blocks = lfs->cfg->block_count; in littlefs_statvfs()
578 stat->f_bfree = stat->f_blocks - ret; in littlefs_statvfs()
1057 .stat = littlefs_stat,
A Dfs.c622 CHECKIF(mp->fs->stat == NULL) { in fs_stat()
626 rc = mp->fs->stat(mp, abs_path, entry); in fs_stat()
635 int fs_statvfs(const char *abs_path, struct fs_statvfs *stat) in fs_statvfs() argument
656 rc = mp->fs->statvfs(mp, abs_path, stat); in fs_statvfs()
A Dfuse_fs_access.c220 .stat = ffa_stat_top,
/subsys/logging/backends/
A Dlog_backend_fs.c246 struct fs_statvfs stat; in allocate_new_file() local
364 rc = fs_statvfs(CONFIG_LOG_BACKEND_FS_DIR, &stat); in allocate_new_file()
370 ((stat.f_bfree * stat.f_frsize) <= in allocate_new_file()
380 &stat); in allocate_new_file()
/subsys/fs/virtiofs/
A Dvirtiofs_zfs.c626 struct fs_mount_t *mountp, const char *fs_path, struct fs_statvfs *stat) in virtiofs_zfs_statvfs() argument
635 stat->f_bsize = statfs_out.bsize; in virtiofs_zfs_statvfs()
636 stat->f_frsize = statfs_out.frsize; in virtiofs_zfs_statvfs()
637 stat->f_blocks = statfs_out.blocks; in virtiofs_zfs_statvfs()
638 stat->f_bfree = statfs_out.bfree; in virtiofs_zfs_statvfs()
660 .stat = virtiofs_zfs_stat,
/subsys/fs/ext2/
A Dext2_ops.c610 static int ext2_statvfs(struct fs_mount_t *mountp, const char *path, struct fs_statvfs *stat) in ext2_statvfs() argument
615 stat->f_bsize = fs->block_size; in ext2_statvfs()
616 stat->f_frsize = fs->block_size; in ext2_statvfs()
617 stat->f_blocks = fs->sblock.s_blocks_count; in ext2_statvfs()
618 stat->f_bfree = fs->sblock.s_free_blocks_count; in ext2_statvfs()
642 .stat = ext2_stat,
/subsys/bluetooth/audio/
A DKconfig.bap254 Sets the number of maximum receive stat characteristics that will be
/subsys/bluetooth/mesh/shell/
A Dshell.c1792 SHELL_CMD(stat, &stat_cmds, "Statistic commands", bt_mesh_shell_mdl_cmds_help),

Completed in 50 milliseconds