Lines Matching refs:p_node
418 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_exit() local
427 p_prev, p_node, hnode) { in qdf_frag_debug_exit()
482 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_look_up() local
486 qdf_list_for_each(&gp_qdf_frag_track_tbl[index].track_list, p_node, in qdf_frag_debug_look_up()
488 if (p_node->p_frag == p_frag) in qdf_frag_debug_look_up()
489 return p_node; in qdf_frag_debug_look_up()
509 QDF_FRAG_TRACK *p_node; in __qdf_frag_debug_add_node() local
511 p_node = qdf_frag_track_alloc(); in __qdf_frag_debug_add_node()
513 if (p_node) { in __qdf_frag_debug_add_node()
514 p_node->p_frag = fragp; in __qdf_frag_debug_add_node()
515 qdf_str_lcopy(p_node->alloc_func_name, func_name, in __qdf_frag_debug_add_node()
517 p_node->alloc_func_line = line_num; in __qdf_frag_debug_add_node()
518 p_node->refcount = QDF_NBUF_FRAG_DEBUG_COUNT_ZERO; in __qdf_frag_debug_add_node()
520 qdf_str_lcopy(p_node->last_func_name, func_name, in __qdf_frag_debug_add_node()
522 p_node->last_func_line = line_num; in __qdf_frag_debug_add_node()
525 &p_node->hnode); in __qdf_frag_debug_add_node()
527 return p_node; in __qdf_frag_debug_add_node()
537 static void __qdf_frag_debug_delete_node(QDF_FRAG_TRACK *p_node, uint32_t idx) in __qdf_frag_debug_delete_node() argument
541 &p_node->hnode); in __qdf_frag_debug_delete_node()
542 qdf_frag_track_free(p_node); in __qdf_frag_debug_delete_node()
553 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_add_node() local
562 p_node = qdf_frag_debug_look_up(fragp); in qdf_frag_debug_add_node()
564 if (p_node) { in qdf_frag_debug_add_node()
568 p_node->alloc_func_name, in qdf_frag_debug_add_node()
569 p_node->alloc_func_line, func_name, line_num); in qdf_frag_debug_add_node()
571 p_node = __qdf_frag_debug_add_node(fragp, index, func_name, in qdf_frag_debug_add_node()
573 if (!p_node) in qdf_frag_debug_add_node()
585 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_refcount_inc() local
594 p_node = qdf_frag_debug_look_up(fragp); in qdf_frag_debug_refcount_inc()
596 if (p_node) { in qdf_frag_debug_refcount_inc()
597 (p_node->refcount)++; in qdf_frag_debug_refcount_inc()
599 qdf_str_lcopy(p_node->last_func_name, func_name, in qdf_frag_debug_refcount_inc()
601 p_node->last_func_line = line_num; in qdf_frag_debug_refcount_inc()
603 p_node = __qdf_frag_debug_add_node(fragp, index, func_name, in qdf_frag_debug_refcount_inc()
605 if (p_node) in qdf_frag_debug_refcount_inc()
606 p_node->refcount = QDF_NBUF_FRAG_DEBUG_COUNT_ONE; in qdf_frag_debug_refcount_inc()
619 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_refcount_dec() local
628 p_node = qdf_frag_debug_look_up(fragp); in qdf_frag_debug_refcount_dec()
630 if (p_node) { in qdf_frag_debug_refcount_dec()
631 if (!(p_node->refcount)) { in qdf_frag_debug_refcount_dec()
636 (p_node->refcount)--; in qdf_frag_debug_refcount_dec()
638 if (!(p_node->refcount)) { in qdf_frag_debug_refcount_dec()
640 __qdf_frag_debug_delete_node(p_node, index); in qdf_frag_debug_refcount_dec()
642 qdf_str_lcopy(p_node->last_func_name, func_name, in qdf_frag_debug_refcount_dec()
644 p_node->last_func_line = line_num; in qdf_frag_debug_refcount_dec()
659 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_delete_node() local
668 p_node = qdf_frag_debug_look_up(fragp); in qdf_frag_debug_delete_node()
670 if (p_node) { in qdf_frag_debug_delete_node()
671 if (p_node->refcount) { in qdf_frag_debug_delete_node()
673 p_node->refcount); in qdf_frag_debug_delete_node()
678 __qdf_frag_debug_delete_node(p_node, index); in qdf_frag_debug_delete_node()
693 QDF_FRAG_TRACK *p_node; in qdf_frag_debug_update_addr() local
704 p_node = qdf_frag_debug_look_up(p_fragp); in qdf_frag_debug_update_addr()
706 if (!p_node) { in qdf_frag_debug_update_addr()
715 p_node->p_frag = n_fragp; in qdf_frag_debug_update_addr()
717 qdf_str_lcopy(p_node->last_func_name, func_name, in qdf_frag_debug_update_addr()
719 p_node->last_func_line = line_num; in qdf_frag_debug_update_addr()
724 &p_node->hnode); in qdf_frag_debug_update_addr()
734 &p_node->hnode); in qdf_frag_debug_update_addr()