Lines Matching refs:sl_count
2250 iml->sfmode, psf->sl_count, psf->sl_addr, 0); in ip_mc_leave_src()
2365 for (i = 0; i < psl->sl_count; i++) { in ip_mc_source()
2375 if (psl->sl_count == 1 && omode == MCAST_INCLUDE) { in ip_mc_source()
2384 for (j = i+1; j < psl->sl_count; j++) in ip_mc_source()
2386 psl->sl_count--; in ip_mc_source()
2392 if (psl && psl->sl_count >= READ_ONCE(net->ipv4.sysctl_igmp_max_msf)) { in ip_mc_source()
2396 if (!psl || psl->sl_count == psl->sl_max) { in ip_mc_source()
2409 newpsl->sl_count = count - IP_SFBLOCK; in ip_mc_source()
2411 for (i = 0; i < psl->sl_count; i++) in ip_mc_source()
2423 for (i = 0; i < psl->sl_count; i++) { in ip_mc_source()
2431 for (j = psl->sl_count-1; j >= i; j--) in ip_mc_source()
2434 psl->sl_count++; in ip_mc_source()
2498 newpsl->sl_max = newpsl->sl_count = msf->imsf_numsrc; in ip_mc_msfilter()
2502 msf->imsf_fmode, newpsl->sl_count, newpsl->sl_addr, 0); in ip_mc_msfilter()
2517 psl->sl_count, psl->sl_addr, 0); in ip_mc_msfilter()
2575 count = psl->sl_count; in ip_mc_msfget()
2623 count = psl ? psl->sl_count : 0; in ip_mc_gsfget()
2672 for (i = 0; i < psl->sl_count; i++) { in ip_mc_sf_allow()
2677 if (pmc->sfmode == MCAST_INCLUDE && i >= psl->sl_count) in ip_mc_sf_allow()
2679 if (pmc->sfmode == MCAST_EXCLUDE && i < psl->sl_count) in ip_mc_sf_allow()