Searched refs:state_ptr (Results 1 – 1 of 1) sorted by relevance
172 module_state_t *state_ptr = hash_map_get(metadata, module); in get_module_state() local175 return state_ptr ? *state_ptr : MODULE_STATE_NONE; in get_module_state()181 module_state_t *state_ptr = hash_map_get(metadata, module); in set_module_state() local182 if (!state_ptr) { in set_module_state()183 state_ptr = osi_malloc(sizeof(module_state_t)); in set_module_state()184 hash_map_set(metadata, module, state_ptr); in set_module_state()189 *state_ptr = state; in set_module_state()