/net/tipc/ |
D | group.c | 101 static void tipc_group_proto_xmit(struct tipc_group *grp, struct tipc_member *m, 114 static void tipc_group_decr_active(struct tipc_group *grp, in tipc_group_decr_active() argument 119 grp->active_cnt--; in tipc_group_decr_active() 122 static int tipc_group_rcvbuf_limit(struct tipc_group *grp) in tipc_group_rcvbuf_limit() argument 125 int mcnt = grp->member_cnt + 1; in tipc_group_rcvbuf_limit() 130 grp->max_active = max_active; in tipc_group_rcvbuf_limit() 140 u16 tipc_group_bc_snd_nxt(struct tipc_group *grp) in tipc_group_bc_snd_nxt() argument 142 return grp->bc_snd_nxt; in tipc_group_bc_snd_nxt() 155 u32 tipc_group_exclude(struct tipc_group *grp) in tipc_group_exclude() argument 157 if (!grp->loopback) in tipc_group_exclude() [all …]
|
D | group.h | 48 void tipc_group_join(struct net *net, struct tipc_group *grp, int *sk_rcv_buf); 49 void tipc_group_delete(struct net *net, struct tipc_group *grp); 50 void tipc_group_add_member(struct tipc_group *grp, u32 node, 52 struct tipc_nlist *tipc_group_dests(struct tipc_group *grp); 53 void tipc_group_self(struct tipc_group *grp, struct tipc_name_seq *seq, 55 u32 tipc_group_exclude(struct tipc_group *grp); 56 void tipc_group_filter_msg(struct tipc_group *grp, 59 void tipc_group_member_evt(struct tipc_group *grp, bool *wakeup, 63 void tipc_group_proto_rcv(struct tipc_group *grp, bool *wakeup, 67 void tipc_group_update_bc_members(struct tipc_group *grp, int len, bool ack); [all …]
|
D | socket.c | 1144 struct tipc_group *grp = tsk->group; in tipc_send_group_mcast() local 1156 exclude = tipc_group_exclude(grp); in tipc_send_group_mcast() 1406 struct tipc_group *grp = tsk->group; in __tipc_sendmsg() local 1424 if (grp) { in __tipc_sendmsg() 2151 struct tipc_group *grp = tsk->group; in tipc_sk_proto_rcv() local 2167 tipc_group_proto_rcv(grp, &wakeup, hdr, inputq, xmitq); in tipc_sk_proto_rcv() 2337 struct tipc_group *grp = tsk->group; in tipc_sk_filter_rcv() local 2352 if (unlikely(grp)) in tipc_sk_filter_rcv() 2353 tipc_group_filter_msg(grp, &inputq, xmitq); in tipc_sk_filter_rcv() 2355 if (unlikely(!grp) && mtyp == TIPC_MCAST_MSG) in tipc_sk_filter_rcv() [all …]
|
D | name_table.h | 121 void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp,
|
D | name_table.c | 695 void tipc_nametbl_build_group(struct net *net, struct tipc_group *grp, in tipc_nametbl_build_group() argument 714 tipc_group_add_member(grp, p->node, p->port, p->lower); in tipc_nametbl_build_group()
|
/net/sched/ |
D | sch_qfq.c | 152 struct qfq_group *grp; member 303 if (agg->grp == NULL) { in qfq_update_agg() 306 agg->grp = &q->groups[i]; in qfq_update_agg() 754 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument 757 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state() 758 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state() 763 if (qfq_gt(grp->F, next->F)) in qfq_calc_state() 884 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument 887 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert() 891 u64 deltaS = roundedS - grp->S - in qfq_slot_insert() [all …]
|
/net/8021q/ |
D | vlan.c | 91 struct vlan_group *grp; in unregister_vlan_dev() local 99 grp = &vlan_info->grp; in unregister_vlan_dev() 101 grp->nr_vlan_devs--; in unregister_vlan_dev() 108 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev() 117 if (grp->nr_vlan_devs == 0) { in unregister_vlan_dev() 151 struct vlan_group *grp; in register_vlan_dev() local 162 grp = &vlan_info->grp; in register_vlan_dev() 163 if (grp->nr_vlan_devs == 0) { in register_vlan_dev() 172 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev() 190 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev() [all …]
|
D | vlan.h | 33 struct vlan_group grp; member 96 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev() 114 #define vlan_group_for_each_dev(grp, i, dev) \ argument 116 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \
|
D | vlan_core.c | 81 return vlan_group_get_device(&vlan_info->grp, in __vlan_find_dev_deep_rcu() 128 static void vlan_group_free(struct vlan_group *grp) in vlan_group_free() argument 134 kfree(grp->vlan_devices_arrays[i][j]); in vlan_group_free() 139 vlan_group_free(&vlan_info->grp); in vlan_info_free() 242 vdev = vlan_group_get_device(&vlan_info->grp, vid_info->proto, in vlan_for_each() 459 return vlan_info->grp.nr_vlan_devs ? true : false; in vlan_uses_dev()
|
/net/netlink/ |
D | genetlink.c | 90 const struct genl_multicast_group *grp, 262 const struct genl_multicast_group *grp = &family->mcgrps[i]; in genl_validate_assign_mc_groups() local 264 if (WARN_ON(grp->name[0] == '\0')) in genl_validate_assign_mc_groups() 266 if (WARN_ON(memchr(grp->name, '\0', GENL_NAMSIZ) == NULL)) in genl_validate_assign_mc_groups() 883 const struct genl_multicast_group *grp; in ctrl_fill_info() local 885 grp = &family->mcgrps[i]; in ctrl_fill_info() 894 grp->name)) in ctrl_fill_info() 911 const struct genl_multicast_group *grp, in ctrl_fill_mcgrp_info() argument 937 grp->name)) in ctrl_fill_mcgrp_info() 999 const struct genl_multicast_group *grp, in ctrl_build_mcgrp_msg() argument [all …]
|
/net/ipv4/ |
D | ipmr.c | 1627 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_ioctl() 1648 struct in_addr grp; member 1702 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_compat_ioctl() 2525 __be32 src, grp; in ipmr_rtm_getroute() local 2534 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute() 2545 cache = ipmr_cache_find(mrt, src, grp); in ipmr_rtm_getroute()
|
/net/ipv6/ |
D | ip6mr.c | 1897 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_ioctl() 1918 struct sockaddr_in6 grp; member 1972 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_compat_ioctl()
|