Searched refs:stat_name (Results 1 – 1 of 1) sorted by relevance
127 char stat_name[CONFIG_MCUMGR_GRP_STAT_MAX_NAME_LEN]; in stat_mgmt_show() local139 if (!ok || name.len == 0 || name.len >= ARRAY_SIZE(stat_name)) { in stat_mgmt_show()143 memcpy(stat_name, name.value, name.len); in stat_mgmt_show()144 stat_name[name.len] = '\0'; in stat_mgmt_show()146 if (stat_mgmt_count(stat_name, &counter) != 0) { in stat_mgmt_show()147 LOG_ERR("Invalid stat name: %s", stat_name); in stat_mgmt_show()166 int rc = stat_mgmt_foreach_entry(zse, stat_name, in stat_mgmt_show()