Lines Matching refs:node
67 struct qdf_tracker_node *node; in qdf_tracker_leaks_print() local
71 qdf_ptr_hash_for_each(tracker->ht, bucket, node, entry) { in qdf_tracker_leaks_print()
72 if (node->domain != domain) in qdf_tracker_leaks_print()
84 qdf_nofl_alert("0x%lx @ %s:%u", node->entry.key, in qdf_tracker_leaks_print()
85 node->func, node->line); in qdf_tracker_leaks_print()
112 struct qdf_tracker_node *node; in qdf_tracker_track() local
119 node = qdf_ptr_hash_get(tracker->ht, ptr, node, entry); in qdf_tracker_track()
120 if (node) in qdf_tracker_track()
123 tracker->track_title, node->func, node->line); in qdf_tracker_track()
126 if (node) in qdf_tracker_track()
129 node = qdf_mem_malloc(sizeof(*node)); in qdf_tracker_track()
130 if (!node) in qdf_tracker_track()
133 node->domain = qdf_debug_domain_get(); in qdf_tracker_track()
134 qdf_str_lcopy(node->func, func, QDF_TRACKER_FUNC_SIZE); in qdf_tracker_track()
135 node->line = line; in qdf_tracker_track()
138 qdf_ptr_hash_add(tracker->ht, ptr, node, entry); in qdf_tracker_track()
149 struct qdf_tracker_node *node; in qdf_tracker_untrack() local
156 node = qdf_ptr_hash_remove(tracker->ht, ptr, node, entry); in qdf_tracker_untrack()
157 if (!node) in qdf_tracker_untrack()
160 else if (node->domain != domain) in qdf_tracker_untrack()
163 qdf_debug_domain_name(node->domain), in qdf_tracker_untrack()
164 node->func, node->line, in qdf_tracker_untrack()
169 if (node) in qdf_tracker_untrack()
170 qdf_mem_free(node); in qdf_tracker_untrack()
178 struct qdf_tracker_node *node; in qdf_tracker_lookup() local
181 node = qdf_ptr_hash_get(tracker->ht, ptr, node, entry); in qdf_tracker_lookup()
182 if (node) { in qdf_tracker_lookup()
183 qdf_str_lcopy((char *)out_func, node->func, in qdf_tracker_lookup()
185 *out_line = node->line; in qdf_tracker_lookup()
189 return !!node; in qdf_tracker_lookup()