Lines Matching defs:tmp

202 	struct dpaa2_switch_acl_entry *tmp;
212 tmp = list_entry(pos, struct dpaa2_switch_acl_entry, list);
213 if (entry->prio < tmp->prio)
225 struct dpaa2_switch_acl_entry *tmp;
228 list_for_each_entry(tmp, &block->acl_entries, list) {
230 return tmp;
256 struct dpaa2_switch_acl_entry *tmp;
267 tmp = dpaa2_switch_acl_entry_get_by_index(block, i);
269 err = dpaa2_switch_acl_entry_set_precedence(block, tmp,
289 struct dpaa2_switch_acl_entry *tmp, *n;
291 list_for_each_entry_safe(tmp, n, &block->acl_entries, list) {
292 if (tmp->cookie == cookie)
293 return tmp;
302 struct dpaa2_switch_acl_entry *tmp, *n;
305 list_for_each_entry_safe(tmp, n, &block->acl_entries, list) {
306 if (tmp->cookie == entry->cookie)
317 struct dpaa2_switch_mirror_entry *tmp, *n;
319 list_for_each_entry_safe(tmp, n, &block->mirror_entries, list) {
320 if (tmp->cookie == cookie)
321 return tmp;
330 struct dpaa2_switch_acl_entry *tmp;
348 tmp = dpaa2_switch_acl_entry_get_by_index(block, i);
349 err = dpaa2_switch_acl_entry_set_precedence(block, tmp,
583 struct dpaa2_switch_mirror_entry *tmp;
620 tmp = list_entry(pos, struct dpaa2_switch_mirror_entry, list);
622 if (tmp->cfg.filter == DPSW_REFLECTION_FILTER_INGRESS_VLAN &&
623 tmp->cfg.vlan_id == vlan) {
737 struct dpaa2_switch_mirror_entry *tmp;
768 tmp = list_entry(pos, struct dpaa2_switch_mirror_entry, list);
770 if (tmp->cfg.filter == DPSW_REFLECTION_FILTER_INGRESS_ALL) {
817 struct dpaa2_switch_mirror_entry *tmp;
820 list_for_each_entry(tmp, &block->mirror_entries, list) {
823 port_priv->idx, &tmp->cfg);
831 list_for_each_entry(tmp, &block->mirror_entries, list)
834 port_priv->idx, &tmp->cfg);
843 struct dpaa2_switch_mirror_entry *tmp;
846 list_for_each_entry(tmp, &block->mirror_entries, list) {
849 port_priv->idx, &tmp->cfg);
857 list_for_each_entry(tmp, &block->mirror_entries, list)
859 port_priv->idx, &tmp->cfg);