Lines Matching refs:set
42 uid_set_t* set = (uid_set_t*)osi_calloc(sizeof(uid_set_t)); in uid_set_create() local
43 return set; in uid_set_create()
46 void uid_set_destroy(uid_set_t* set) { in uid_set_destroy() argument
48 uid_set_node_t* node = set->head; in uid_set_destroy()
54 set->head = NULL; in uid_set_destroy()
55 osi_free(set); in uid_set_destroy()
59 static uid_set_node_t* uid_set_find_or_create_node(uid_set_t* set, in uid_set_find_or_create_node() argument
61 uid_set_node_t* node = set->head; in uid_set_find_or_create_node()
69 node->next = set->head; in uid_set_find_or_create_node()
70 set->head = node; in uid_set_find_or_create_node()
75 void uid_set_add_tx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_tx() argument
79 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_tx()
83 void uid_set_add_rx(uid_set_t* set, int32_t app_uid, uint64_t bytes) { in uid_set_add_rx() argument
87 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_rx()
91 bt_uid_traffic_t* uid_set_read_and_clear(uid_set_t* set) { in uid_set_read_and_clear() argument
96 uid_set_node_t* node = set->head; in uid_set_read_and_clear()
108 node = set->head; in uid_set_read_and_clear()