Lines Matching refs:index

276 	int index;  in qdf_frag_track_prefill()  local
283 for (index = 0; index < FREEQ_POOLSIZE; index++) { in qdf_frag_track_prefill()
398 uint32_t index; in qdf_frag_debug_init() local
407 for (index = 0; index < QDF_FRAG_TRACK_MAX_SIZE; index++) { in qdf_frag_debug_init()
408 qdf_list_create(&gp_qdf_frag_track_tbl[index].track_list, 0); in qdf_frag_debug_init()
409 qdf_spinlock_create(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_init()
417 uint32_t index; in qdf_frag_debug_exit() local
424 for (index = 0; index < QDF_FRAG_TRACK_MAX_SIZE; index++) { in qdf_frag_debug_exit()
425 qdf_spin_lock_irqsave(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_exit()
426 qdf_list_for_each_del(&gp_qdf_frag_track_tbl[index].track_list, in qdf_frag_debug_exit()
429 &gp_qdf_frag_track_tbl[index].track_list, in qdf_frag_debug_exit()
444 qdf_list_destroy(&gp_qdf_frag_track_tbl[index].track_list); in qdf_frag_debug_exit()
446 &gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_exit()
447 qdf_spinlock_destroy(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_exit()
463 uint32_t index; in qdf_frag_debug_hash() local
465 index = (uint32_t)(((uintptr_t)p_frag) >> 4); in qdf_frag_debug_hash()
466 index += (uint32_t)(((uintptr_t)p_frag) >> 14); in qdf_frag_debug_hash()
467 index &= (QDF_FRAG_TRACK_MAX_SIZE - 1); in qdf_frag_debug_hash()
469 return index; in qdf_frag_debug_hash()
481 uint32_t index; in qdf_frag_debug_look_up() local
484 index = qdf_frag_debug_hash(p_frag); in qdf_frag_debug_look_up()
486 qdf_list_for_each(&gp_qdf_frag_track_tbl[index].track_list, p_node, in qdf_frag_debug_look_up()
552 uint32_t index; in qdf_frag_debug_add_node() local
558 index = qdf_frag_debug_hash(fragp); in qdf_frag_debug_add_node()
560 qdf_spin_lock_irqsave(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_add_node()
571 p_node = __qdf_frag_debug_add_node(fragp, index, func_name, in qdf_frag_debug_add_node()
578 qdf_spin_unlock_irqrestore(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_add_node()
584 uint32_t index; in qdf_frag_debug_refcount_inc() local
590 index = qdf_frag_debug_hash(fragp); in qdf_frag_debug_refcount_inc()
592 qdf_spin_lock_irqsave(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_refcount_inc()
603 p_node = __qdf_frag_debug_add_node(fragp, index, func_name, in qdf_frag_debug_refcount_inc()
612 qdf_spin_unlock_irqrestore(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_refcount_inc()
618 uint32_t index; in qdf_frag_debug_refcount_dec() local
624 index = qdf_frag_debug_hash(fragp); in qdf_frag_debug_refcount_dec()
626 qdf_spin_lock_irqsave(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_refcount_dec()
640 __qdf_frag_debug_delete_node(p_node, index); in qdf_frag_debug_refcount_dec()
652 qdf_spin_unlock_irqrestore(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_refcount_dec()
658 uint32_t index; in qdf_frag_debug_delete_node() local
664 index = qdf_frag_debug_hash(fragp); in qdf_frag_debug_delete_node()
666 qdf_spin_lock_irqsave(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_delete_node()
678 __qdf_frag_debug_delete_node(p_node, index); in qdf_frag_debug_delete_node()
686 qdf_spin_unlock_irqrestore(&gp_qdf_frag_track_tbl[index].list_lock); in qdf_frag_debug_delete_node()