Searched refs:tmp_fil (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_hw.c | 631 struct qlcnic_filter *tmp_fil; in qlcnic_prune_lb_filters() local 640 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_prune_lb_filters() 641 cmd = tmp_fil->vlan_id ? QLCNIC_MAC_VLAN_DEL : in qlcnic_prune_lb_filters() 643 expires = tmp_fil->ftime + QLCNIC_FILTER_AGE * HZ; in qlcnic_prune_lb_filters() 646 tmp_fil->faddr, in qlcnic_prune_lb_filters() 647 tmp_fil->vlan_id, in qlcnic_prune_lb_filters() 651 hlist_del(&tmp_fil->fnode); in qlcnic_prune_lb_filters() 653 kfree(tmp_fil); in qlcnic_prune_lb_filters() 660 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) in qlcnic_prune_lb_filters() 662 expires = tmp_fil->ftime + QLCNIC_FILTER_AGE * HZ; in qlcnic_prune_lb_filters() [all …]
|
D | qlcnic_io.c | 179 struct qlcnic_filter *tmp_fil = NULL; in qlcnic_find_mac_filter() local 182 hlist_for_each_entry_safe(tmp_fil, n, head, fnode) { in qlcnic_find_mac_filter() 183 if (ether_addr_equal(tmp_fil->faddr, addr) && in qlcnic_find_mac_filter() 184 tmp_fil->vlan_id == vlan_id) in qlcnic_find_mac_filter() 185 return tmp_fil; in qlcnic_find_mac_filter() 195 struct qlcnic_filter *fil, *tmp_fil; in qlcnic_add_lb_filter() local 215 tmp_fil = qlcnic_find_mac_filter(head, &src_addr, vlan_id); in qlcnic_add_lb_filter() 216 if (tmp_fil) { in qlcnic_add_lb_filter() 217 time = tmp_fil->ftime; in qlcnic_add_lb_filter() 219 tmp_fil->ftime = jiffies; in qlcnic_add_lb_filter() [all …]
|