Lines Matching refs:newpsl
418 struct ip6_sf_socklist *newpsl; in ip6_mc_source() local
423 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(count), GFP_ATOMIC); in ip6_mc_source()
424 if (!newpsl) { in ip6_mc_source()
428 newpsl->sl_max = count; in ip6_mc_source()
429 newpsl->sl_count = count - IP6_SFBLOCK; in ip6_mc_source()
432 newpsl->sl_addr[i] = psl->sl_addr[i]; in ip6_mc_source()
435 pmc->sflist = psl = newpsl; in ip6_mc_source()
466 struct ip6_sf_socklist *newpsl, *psl; in ip6_mc_msfilter() local
505 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(gsf->gf_numsrc), in ip6_mc_msfilter()
507 if (!newpsl) { in ip6_mc_msfilter()
511 newpsl->sl_max = newpsl->sl_count = gsf->gf_numsrc; in ip6_mc_msfilter()
512 for (i = 0; i < newpsl->sl_count; ++i) { in ip6_mc_msfilter()
516 newpsl->sl_addr[i] = psin6->sin6_addr; in ip6_mc_msfilter()
519 newpsl->sl_count, newpsl->sl_addr, 0); in ip6_mc_msfilter()
521 sock_kfree_s(sk, newpsl, IP6_SFLSIZE(newpsl->sl_max)); in ip6_mc_msfilter()
525 newpsl = NULL; in ip6_mc_msfilter()
537 pmc->sflist = newpsl; in ip6_mc_msfilter()