Lines Matching defs:newpsl
400 struct ip6_sf_socklist *newpsl;
405 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(count), GFP_ATOMIC);
406 if (!newpsl) {
410 newpsl->sl_max = count;
411 newpsl->sl_count = count - IP6_SFBLOCK;
414 newpsl->sl_addr[i] = psl->sl_addr[i];
417 pmc->sflist = psl = newpsl;
452 struct ip6_sf_socklist *newpsl, *psl;
493 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(gsf->gf_numsrc),
495 if (!newpsl) {
499 newpsl->sl_max = newpsl->sl_count = gsf->gf_numsrc;
500 for (i=0; i<newpsl->sl_count; ++i) {
504 newpsl->sl_addr[i] = psin6->sin6_addr;
507 newpsl->sl_count, newpsl->sl_addr, 0);
509 sock_kfree_s(sk, newpsl, IP6_SFLSIZE(newpsl->sl_max));
513 newpsl = NULL;
525 pmc->sflist = newpsl;