Lines Matching defs:psl
1945 struct ip_sf_socklist *psl;
1990 psl = pmc->sflist;
1992 if (!psl)
1995 for (i=0; i<psl->sl_count; i++) {
1996 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr,
2005 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) {
2014 for (j=i+1; j<psl->sl_count; j++)
2015 psl->sl_addr[j-1] = psl->sl_addr[j];
2016 psl->sl_count--;
2022 if (psl && psl->sl_count >= sysctl_igmp_max_msf) {
2026 if (!psl || psl->sl_count == psl->sl_max) {
2030 if (psl)
2031 count += psl->sl_max;
2039 if (psl) {
2040 for (i=0; i<psl->sl_count; i++)
2041 newpsl->sl_addr[i] = psl->sl_addr[i];
2043 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc);
2044 call_rcu(&psl->rcu, ip_sf_socklist_reclaim);
2047 psl = newpsl;
2050 for (i=0; i<psl->sl_count; i++) {
2051 rv = memcmp(&psl->sl_addr[i], &mreqs->imr_sourceaddr,
2058 for (j=psl->sl_count-1; j>=i; j--)
2059 psl->sl_addr[j+1] = psl->sl_addr[j];
2060 psl->sl_addr[i] = mreqs->imr_sourceaddr;
2061 psl->sl_count++;
2081 struct ip_sf_socklist *newpsl, *psl;
2139 psl = pmc->sflist;
2140 if (psl) {
2142 psl->sl_count, psl->sl_addr, 0);
2144 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc);
2145 call_rcu(&psl->rcu, ip_sf_socklist_reclaim);
2168 struct ip_sf_socklist *psl;
2195 psl = pmc->sflist;
2197 if (!psl) {
2201 count = psl->sl_count;
2204 len = copycount * sizeof(psl->sl_addr[0]);
2211 copy_to_user(&optval->imsf_slist[0], psl->sl_addr, len))
2227 struct ip_sf_socklist *psl;
2248 psl = pmc->sflist;
2250 count = psl ? psl->sl_count : 0;
2263 psin->sin_addr.s_addr = psl->sl_addr[i];
2280 struct ip_sf_socklist *psl;
2297 psl = pmc->sflist;
2299 if (!psl)
2302 for (i=0; i<psl->sl_count; i++) {
2303 if (psl->sl_addr[i] == rmt_addr)
2307 if (pmc->sfmode == MCAST_INCLUDE && i >= psl->sl_count)
2309 if (pmc->sfmode == MCAST_EXCLUDE && i < psl->sl_count)