Home
last modified time | relevance | path

Searched refs:gsf (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/net/ipv6/
Dipv6_sockglue.c206 struct group_filter *gsf; in ipv6_set_mcast_msfilter() local
214 gsf = memdup_sockptr(optval, optlen); in ipv6_set_mcast_msfilter()
215 if (IS_ERR(gsf)) in ipv6_set_mcast_msfilter()
216 return PTR_ERR(gsf); in ipv6_set_mcast_msfilter()
220 if (gsf->gf_numsrc >= 0x1ffffffU || in ipv6_set_mcast_msfilter()
221 gsf->gf_numsrc > sysctl_mld_max_msf) in ipv6_set_mcast_msfilter()
225 if (GROUP_FILTER_SIZE(gsf->gf_numsrc) > optlen) in ipv6_set_mcast_msfilter()
228 ret = ip6_mc_msfilter(sk, gsf, gsf->gf_slist); in ipv6_set_mcast_msfilter()
230 kfree(gsf); in ipv6_set_mcast_msfilter()
1063 struct group_filter gsf; in ipv6_get_msfilter() local
[all …]
Dmcast.c460 int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf, in ip6_mc_msfilter() argument
472 group = &((struct sockaddr_in6 *)&gsf->gf_group)->sin6_addr; in ip6_mc_msfilter()
476 if (gsf->gf_fmode != MCAST_INCLUDE && in ip6_mc_msfilter()
477 gsf->gf_fmode != MCAST_EXCLUDE) in ip6_mc_msfilter()
481 idev = ip6_mc_find_dev_rcu(net, group, gsf->gf_interface); in ip6_mc_msfilter()
490 if (gsf->gf_fmode == MCAST_INCLUDE && gsf->gf_numsrc == 0) { in ip6_mc_msfilter()
496 if (pmc->ifindex != gsf->gf_interface) in ip6_mc_msfilter()
505 if (gsf->gf_numsrc) { in ip6_mc_msfilter()
506 newpsl = sock_kmalloc(sk, IP6_SFLSIZE(gsf->gf_numsrc), in ip6_mc_msfilter()
512 newpsl->sl_max = newpsl->sl_count = gsf->gf_numsrc; in ip6_mc_msfilter()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dip_sockglue.c771 struct group_filter *gsf = NULL; in ip_set_mcast_msfilter() local
779 gsf = memdup_sockptr(optval, optlen); in ip_set_mcast_msfilter()
780 if (IS_ERR(gsf)) in ip_set_mcast_msfilter()
781 return PTR_ERR(gsf); in ip_set_mcast_msfilter()
785 if (gsf->gf_numsrc >= 0x1ffffff || in ip_set_mcast_msfilter()
786 gsf->gf_numsrc > sock_net(sk)->ipv4.sysctl_igmp_max_msf) in ip_set_mcast_msfilter()
790 if (GROUP_FILTER_SIZE(gsf->gf_numsrc) > optlen) in ip_set_mcast_msfilter()
793 err = set_mcast_msfilter(sk, gsf->gf_interface, gsf->gf_numsrc, in ip_set_mcast_msfilter()
794 gsf->gf_fmode, &gsf->gf_group, gsf->gf_slist); in ip_set_mcast_msfilter()
796 kfree(gsf); in ip_set_mcast_msfilter()
[all …]
Digmp.c2575 int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf, in ip_mc_gsfget() argument
2587 psin = (struct sockaddr_in *)&gsf->gf_group; in ip_mc_gsfget()
2596 pmc->multi.imr_ifindex == gsf->gf_interface) in ip_mc_gsfget()
2601 gsf->gf_fmode = pmc->sfmode; in ip_mc_gsfget()
2604 copycount = count < gsf->gf_numsrc ? count : gsf->gf_numsrc; in ip_mc_gsfget()
2605 gsf->gf_numsrc = count; in ip_mc_gsfget()
/kernel/linux/linux-5.10/include/linux/
Digmp.h125 extern int ip_mc_gsfget(struct sock *sk, struct group_filter *gsf,
/kernel/linux/linux-5.10/kernel/sched/
Ddebug.c916 unsigned long tpf, unsigned long gsf, unsigned long gpf) in print_numa_stats() argument
920 SEQ_printf(m, "group_private=%lu group_shared=%lu\n", gpf, gsf); in print_numa_stats()
Dsched.h2439 unsigned long tpf, unsigned long gsf, unsigned long gpf);
Dfair.c11779 unsigned long tsf = 0, tpf = 0, gsf = 0, gpf = 0; in show_numa_stats() local
11790 gsf = ng->faults[task_faults_idx(NUMA_MEM, node, 0)], in show_numa_stats()
11793 print_numa_stats(m, node, tsf, tpf, gsf, gpf); in show_numa_stats()
/kernel/linux/linux-5.10/include/net/
Dipv6.h1135 int ip6_mc_msfilter(struct sock *sk, struct group_filter *gsf,
1137 int ip6_mc_msfget(struct sock *sk, struct group_filter *gsf,