Lines Matching defs:newpsl
2027 struct ip_sf_socklist *newpsl;
2032 newpsl = sock_kmalloc(sk, IP_SFLSIZE(count), GFP_KERNEL);
2033 if (!newpsl) {
2037 newpsl->sl_max = count;
2038 newpsl->sl_count = count - IP_SFBLOCK;
2041 newpsl->sl_addr[i] = psl->sl_addr[i];
2046 rcu_assign_pointer(pmc->sflist, newpsl);
2047 psl = newpsl;
2081 struct ip_sf_socklist *newpsl, *psl;
2119 newpsl = sock_kmalloc(sk, IP_SFLSIZE(msf->imsf_numsrc),
2121 if (!newpsl) {
2125 newpsl->sl_max = newpsl->sl_count = msf->imsf_numsrc;
2126 memcpy(newpsl->sl_addr, msf->imsf_slist,
2129 msf->imsf_fmode, newpsl->sl_count, newpsl->sl_addr, 0);
2131 sock_kfree_s(sk, newpsl, IP_SFLSIZE(newpsl->sl_max));
2135 newpsl = NULL;
2149 rcu_assign_pointer(pmc->sflist, newpsl);