Lines Matching refs:newpsl
2397 struct ip_sf_socklist *newpsl;
2402 newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL);
2403 if (!newpsl) {
2407 newpsl->sl_max = count;
2408 newpsl->sl_count = count - IP_SFBLOCK;
2411 newpsl->sl_addr[i] = psl->sl_addr[i];
2415 rcu_assign_pointer(pmc->sflist, newpsl);
2418 psl = newpsl;
2451 struct ip_sf_socklist *newpsl, *psl;
2489 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc),
2491 if (!newpsl) {
2495 newpsl->sl_max = newpsl->sl_count = msf->imsf_numsrc;
2496 memcpy(newpsl->sl_addr, msf->imsf_slist,
2499 msf->imsf_fmode, newpsl->sl_count, newpsl->sl_addr, 0);
2501 sock_kfree_s(sk, newpsl, IP_SFLSIZE(newpsl->sl_max));
2505 newpsl = NULL;
2519 rcu_assign_pointer(pmc->sflist, newpsl);