Home
last modified time | relevance | path

Searched refs:newpsl (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/net/ipv6/
Dmcast.c445 struct ip6_sf_socklist *newpsl; in ip6_mc_source() local
450 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip6_mc_source()
452 if (!newpsl) { in ip6_mc_source()
456 newpsl->sl_max = count; in ip6_mc_source()
457 newpsl->sl_count = count - IP6_SFBLOCK; in ip6_mc_source()
460 newpsl->sl_addr[i] = psl->sl_addr[i]; in ip6_mc_source()
464 rcu_assign_pointer(pmc->sflist, newpsl); in ip6_mc_source()
466 psl = newpsl; in ip6_mc_source()
495 struct ip6_sf_socklist *newpsl, *psl; in ip6_mc_msfilter() local
530 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip6_mc_msfilter()
[all …]
/linux-5.19.10/net/ipv4/
Digmp.c2394 struct ip_sf_socklist *newpsl; in ip_mc_source() local
2399 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, count), in ip_mc_source()
2401 if (!newpsl) { in ip_mc_source()
2405 newpsl->sl_max = count; in ip_mc_source()
2406 newpsl->sl_count = count - IP_SFBLOCK; in ip_mc_source()
2409 newpsl->sl_addr[i] = psl->sl_addr[i]; in ip_mc_source()
2414 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2417 psl = newpsl; in ip_mc_source()
2450 struct ip_sf_socklist *newpsl, *psl; in ip_mc_msfilter() local
2488 newpsl = sock_kmalloc(sk, struct_size(newpsl, sl_addr, in ip_mc_msfilter()
[all …]