Home
last modified time | relevance | path

Searched refs:fhash (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/qlcnic/
Dqlcnic_hw.c491 for (i = 0; i < adapter->fhash.fmax; i++) { in qlcnic_prune_lb_filters()
492 head = &(adapter->fhash.fhead[i]); in qlcnic_prune_lb_filters()
503 adapter->fhash.fnum--; in qlcnic_prune_lb_filters()
519 for (i = 0; i < adapter->fhash.fmax; i++) { in qlcnic_delete_lb_filters()
520 head = &(adapter->fhash.fhead[i]); in qlcnic_delete_lb_filters()
527 adapter->fhash.fnum--; in qlcnic_delete_lb_filters()
Dqlcnic_main.c1175 if (adapter->fhash.fnum) in __qlcnic_down()
1778 adapter->fhash.fmax = QLCNIC_LB_MAX_FILTERS; in qlcnic_alloc_lb_filters_mem()
1779 adapter->fhash.fhead = (struct hlist_head *)head; in qlcnic_alloc_lb_filters_mem()
1781 for (i = 0; i < adapter->fhash.fmax; i++) in qlcnic_alloc_lb_filters_mem()
1782 INIT_HLIST_HEAD(&adapter->fhash.fhead[i]); in qlcnic_alloc_lb_filters_mem()
1787 if (adapter->fhash.fmax && adapter->fhash.fhead) in qlcnic_free_lb_filters_mem()
1788 kfree(adapter->fhash.fhead); in qlcnic_free_lb_filters_mem()
1790 adapter->fhash.fhead = NULL; in qlcnic_free_lb_filters_mem()
1791 adapter->fhash.fmax = 0; in qlcnic_free_lb_filters_mem()
1844 if (adapter->fhash.fnum >= adapter->fhash.fmax) in qlcnic_send_filter()
[all …]
Dqlcnic.h1058 struct qlcnic_filter_hash fhash; member