Searched refs:id_map (Results 1 – 2 of 2) sorted by relevance
159 struct sip_svc_id_map *id_map = NULL; in sip_svc_id_map_create() local163 id_map = k_malloc(sizeof(struct sip_svc_id_map)); in sip_svc_id_map_create()164 if (!id_map) { in sip_svc_id_map_create()168 id_map->items = k_malloc(items_size); in sip_svc_id_map_create()169 if (!id_map->items) { in sip_svc_id_map_create()170 k_free(id_map); in sip_svc_id_map_create()174 id_map->size = size; in sip_svc_id_map_create()176 id_map->items[i].id = SIP_SVC_ID_INVALID; in sip_svc_id_map_create()177 id_map->items[i].arg1 = NULL; in sip_svc_id_map_create()178 id_map->items[i].arg2 = NULL; in sip_svc_id_map_create()[all …]
49 void sip_svc_id_map_delete(struct sip_svc_id_map *id_map);51 int sip_svc_id_map_insert_item(struct sip_svc_id_map *id_map, uint32_t id, void *arg1, void *arg2,54 int sip_svc_id_map_remove_item(struct sip_svc_id_map *id_map, uint32_t id);56 struct sip_svc_id_map_item *sip_svc_id_map_query_item(struct sip_svc_id_map *id_map, uint32_t id);