Lines Matching full:desc

169 	struct k_obj_core_stats_desc *desc;  in k_obj_core_stats_raw()  local
173 desc = obj_core->type->stats_desc; in k_obj_core_stats_raw()
174 if ((desc == NULL) || (desc->raw == NULL)) { in k_obj_core_stats_raw()
177 } else if ((desc->raw_size != stats_len) || (obj_core->stats == NULL)) { in k_obj_core_stats_raw()
184 rv = desc->raw(obj_core, stats); in k_obj_core_stats_raw()
196 struct k_obj_core_stats_desc *desc; in k_obj_core_stats_query() local
200 desc = obj_core->type->stats_desc; in k_obj_core_stats_query()
201 if ((desc == NULL) || (desc->query == NULL)) { in k_obj_core_stats_query()
204 } else if ((desc->query_size != stats_len) || (obj_core->stats == NULL)) { in k_obj_core_stats_query()
211 rv = desc->query(obj_core, stats); in k_obj_core_stats_query()
222 struct k_obj_core_stats_desc *desc; in k_obj_core_stats_reset() local
226 desc = obj_core->type->stats_desc; in k_obj_core_stats_reset()
227 if ((desc == NULL) || (desc->reset == NULL)) { in k_obj_core_stats_reset()
234 rv = desc->reset(obj_core); in k_obj_core_stats_reset()
245 struct k_obj_core_stats_desc *desc; in k_obj_core_stats_disable() local
249 desc = obj_core->type->stats_desc; in k_obj_core_stats_disable()
250 if ((desc == NULL) || (desc->disable == NULL)) { in k_obj_core_stats_disable()
257 rv = desc->disable(obj_core); in k_obj_core_stats_disable()
268 struct k_obj_core_stats_desc *desc; in k_obj_core_stats_enable() local
272 desc = obj_core->type->stats_desc; in k_obj_core_stats_enable()
273 if ((desc == NULL) || (desc->enable == NULL)) { in k_obj_core_stats_enable()
280 rv = desc->enable(obj_core); in k_obj_core_stats_enable()