Lines Matching refs:group
994 static int genl_bind(struct net *net, int group) in genl_bind() argument
1003 if (group >= f->mcgrp_offset && in genl_bind()
1004 group < f->mcgrp_offset + f->n_mcgrps) { in genl_bind()
1005 int fam_grp = group - f->mcgrp_offset; in genl_bind()
1022 static void genl_unbind(struct net *net, int group) in genl_unbind() argument
1031 if (group >= f->mcgrp_offset && in genl_unbind()
1032 group < f->mcgrp_offset + f->n_mcgrps) { in genl_unbind()
1033 int fam_grp = group - f->mcgrp_offset; in genl_unbind()
1100 static int genlmsg_mcast(struct sk_buff *skb, u32 portid, unsigned long group, in genlmsg_mcast() argument
1115 portid, group, flags); in genlmsg_mcast()
1123 return nlmsg_multicast(prev->genl_sock, skb, portid, group, flags); in genlmsg_mcast()
1130 u32 portid, unsigned int group, gfp_t flags) in genlmsg_multicast_allns() argument
1132 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genlmsg_multicast_allns()
1134 group = family->mcgrp_offset + group; in genlmsg_multicast_allns()
1135 return genlmsg_mcast(skb, portid, group, flags); in genlmsg_multicast_allns()
1140 struct genl_info *info, u32 group, gfp_t flags) in genl_notify() argument
1149 if (WARN_ON_ONCE(group >= family->n_mcgrps)) in genl_notify()
1151 group = family->mcgrp_offset + group; in genl_notify()
1152 nlmsg_notify(sk, skb, info->snd_portid, group, report, flags); in genl_notify()