Lines Matching refs:iter
110 struct nfp_abm_u32_match *iter; in nfp_abm_find_band_for_prio() local
112 list_for_each_entry(iter, &alink->dscp_map, list) in nfp_abm_find_band_for_prio()
113 if ((prio & iter->mask) == iter->val) in nfp_abm_find_band_for_prio()
114 return iter->band; in nfp_abm_find_band_for_prio()
158 struct nfp_abm_u32_match *iter; in nfp_abm_u32_knode_delete() local
160 list_for_each_entry(iter, &alink->dscp_map, list) in nfp_abm_u32_knode_delete()
161 if (iter->handle == knode->handle) { in nfp_abm_u32_knode_delete()
162 list_del(&iter->list); in nfp_abm_u32_knode_delete()
163 kfree(iter); in nfp_abm_u32_knode_delete()
174 struct nfp_abm_u32_match *match = NULL, *iter; in nfp_abm_u32_knode_replace() local
189 list_for_each_entry(iter, &alink->dscp_map, list) { in nfp_abm_u32_knode_replace()
192 if (iter->handle == knode->handle) { in nfp_abm_u32_knode_replace()
193 match = iter; in nfp_abm_u32_knode_replace()
197 cmask = iter->mask & mask; in nfp_abm_u32_knode_replace()
198 if ((iter->val & cmask) == (val & cmask) && in nfp_abm_u32_knode_replace()
199 iter->band != knode->res->classid) { in nfp_abm_u32_knode_replace()