Lines Matching refs:node

48   uid_set_node_t* node = set->head;  in uid_set_destroy()  local
49 while (node) { in uid_set_destroy()
50 uid_set_node_t* temp = node; in uid_set_destroy()
51 node = node->next; in uid_set_destroy()
61 uid_set_node_t* node = set->head; in uid_set_find_or_create_node() local
62 while (node && node->data.app_uid != app_uid) { in uid_set_find_or_create_node()
63 node = node->next; in uid_set_find_or_create_node()
66 if (!node) { in uid_set_find_or_create_node()
67 node = (uid_set_node_t*)osi_calloc(sizeof(uid_set_node_t)); in uid_set_find_or_create_node()
68 node->data.app_uid = app_uid; 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()
72 return node; in uid_set_find_or_create_node()
79 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_tx() local
80 node->data.tx_bytes += bytes; in uid_set_add_tx()
87 uid_set_node_t* node = uid_set_find_or_create_node(set, app_uid); in uid_set_add_rx() local
88 node->data.rx_bytes += bytes; in uid_set_add_rx()
96 uid_set_node_t* node = set->head; in uid_set_read_and_clear() local
97 while (node) { in uid_set_read_and_clear()
99 node = node->next; in uid_set_read_and_clear()
108 node = set->head; in uid_set_read_and_clear()
109 while (node) { in uid_set_read_and_clear()
111 *data = node->data; in uid_set_read_and_clear()
115 node->data.rx_bytes = 0; in uid_set_read_and_clear()
116 node->data.tx_bytes = 0; in uid_set_read_and_clear()
117 node = node->next; in uid_set_read_and_clear()