Lines Matching refs:newpsl
2394 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()
2491 if (!newpsl) { in ip_mc_msfilter()
2495 newpsl->sl_max = newpsl->sl_count = msf->imsf_numsrc; in ip_mc_msfilter()
2496 memcpy(newpsl->sl_addr, msf->imsf_slist_flex, in ip_mc_msfilter()
2499 msf->imsf_fmode, newpsl->sl_count, newpsl->sl_addr, 0); in ip_mc_msfilter()
2501 sock_kfree_s(sk, newpsl, in ip_mc_msfilter()
2502 struct_size(newpsl, sl_addr, in ip_mc_msfilter()
2503 newpsl->sl_max)); in ip_mc_msfilter()
2507 newpsl = NULL; in ip_mc_msfilter()
2522 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()