Searched refs:rx_fhash (Results 1 – 4 of 4) sorted by relevance
2874 adapter->rx_fhash.fbucket_size = adapter->fhash.fbucket_size; in qlcnic_alloc_lb_filters_mem()2876 head = kcalloc(adapter->rx_fhash.fbucket_size, in qlcnic_alloc_lb_filters_mem()2882 adapter->rx_fhash.fmax = (filter_size / act_pci_func); in qlcnic_alloc_lb_filters_mem()2883 adapter->rx_fhash.fhead = head; in qlcnic_alloc_lb_filters_mem()2885 for (i = 0; i < adapter->rx_fhash.fbucket_size; i++) in qlcnic_alloc_lb_filters_mem()2886 INIT_HLIST_HEAD(&adapter->rx_fhash.fhead[i]); in qlcnic_alloc_lb_filters_mem()2897 if (adapter->rx_fhash.fmax) in qlcnic_free_lb_filters_mem()2898 kfree(adapter->rx_fhash.fhead); in qlcnic_free_lb_filters_mem()2900 adapter->rx_fhash.fmax = 0; in qlcnic_free_lb_filters_mem()2901 adapter->rx_fhash.fhead = NULL; in qlcnic_free_lb_filters_mem()
172 adapter->rx_fhash.fnum--; in qlcnic_delete_rx_list_mac()210 if (adapter->rx_fhash.fnum >= adapter->rx_fhash.fmax) in qlcnic_add_lb_filter()213 head = &(adapter->rx_fhash.fhead[hindex]); in qlcnic_add_lb_filter()232 adapter->rx_fhash.fnum++; in qlcnic_add_lb_filter()257 head = &adapter->rx_fhash.fhead[hindex]; in qlcnic_add_lb_filter()
657 for (i = 0; i < adapter->rx_fhash.fbucket_size; i++) { in qlcnic_prune_lb_filters()658 head = &(adapter->rx_fhash.fhead[i]); in qlcnic_prune_lb_filters()665 adapter->rx_fhash.fnum--; in qlcnic_prune_lb_filters()
1174 struct qlcnic_filter_hash rx_fhash; member