Lines Matching refs:newpsl
2392 struct ip_sf_socklist *newpsl; in ip_mc_source() local
2397 newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL); in ip_mc_source()
2398 if (!newpsl) { in ip_mc_source()
2402 newpsl->sl_max = count; in ip_mc_source()
2403 newpsl->sl_count = count - IP_SFBLOCK; in ip_mc_source()
2406 newpsl->sl_addr[i] = psl->sl_addr[i]; in ip_mc_source()
2410 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_source()
2413 psl = newpsl; in ip_mc_source()
2446 struct ip_sf_socklist *newpsl, *psl; in ip_mc_msfilter() local
2484 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc), in ip_mc_msfilter()
2486 if (!newpsl) { in ip_mc_msfilter()
2490 newpsl->sl_max = newpsl->sl_count = msf->imsf_numsrc; in ip_mc_msfilter()
2491 memcpy(newpsl->sl_addr, msf->imsf_slist, in ip_mc_msfilter()
2494 msf->imsf_fmode, newpsl->sl_count, newpsl->sl_addr, 0); in ip_mc_msfilter()
2496 sock_kfree_s(sk, newpsl, IP_SFLSIZE(newpsl->sl_max)); in ip_mc_msfilter()
2500 newpsl = NULL; in ip_mc_msfilter()
2514 rcu_assign_pointer(pmc->sflist, newpsl); in ip_mc_msfilter()