Lines Matching refs:prl
285 for (prl = rcu_dereference(start); \
286 prl; \
287 prl = rcu_dereference(prl->next))
292 struct ip_tunnel_prl_entry *prl; in __ipip6_tunnel_locate_prl() local
294 for_each_prl_rcu(t->prl) in __ipip6_tunnel_locate_prl()
295 if (prl->addr == addr) in __ipip6_tunnel_locate_prl()
297 return prl; in __ipip6_tunnel_locate_prl()
306 struct ip_tunnel_prl_entry *prl; in ipip6_tunnel_get_prl() local
344 for_each_prl_rcu(t->prl) { in ipip6_tunnel_get_prl()
347 if (kprl.addr != htonl(INADDR_ANY) && prl->addr != kprl.addr) in ipip6_tunnel_get_prl()
349 kp[c].addr = prl->addr; in ipip6_tunnel_get_prl()
350 kp[c].flags = prl->flags; in ipip6_tunnel_get_prl()
379 for (p = rtnl_dereference(t->prl); p; p = rtnl_dereference(p->next)) { in ipip6_tunnel_add_prl()
401 p->next = t->prl; in ipip6_tunnel_add_prl()
405 rcu_assign_pointer(t->prl, p); in ipip6_tunnel_add_prl()
432 for (p = &t->prl; in ipip6_tunnel_del_prl()
444 x = rtnl_dereference(t->prl); in ipip6_tunnel_del_prl()
448 t->prl = NULL; in ipip6_tunnel_del_prl()
459 struct ip_tunnel_prl prl; in ipip6_tunnel_prl_ctl() local
467 if (copy_from_user(&prl, ifr->ifr_ifru.ifru_data, sizeof(prl))) in ipip6_tunnel_prl_ctl()
472 err = ipip6_tunnel_del_prl(t, &prl); in ipip6_tunnel_prl_ctl()
476 err = ipip6_tunnel_add_prl(t, &prl, cmd == SIOCCHGPRL); in ipip6_tunnel_prl_ctl()