Home
last modified time | relevance | path

Searched refs:grp (Results 1 – 8 of 8) sorted by relevance

/net/sched/
Dsch_qfq.c154 struct qfq_group *grp; member
309 if (agg->grp == NULL) { in qfq_update_agg()
312 agg->grp = &q->groups[i]; in qfq_update_agg()
755 static int qfq_calc_state(struct qfq_sched *q, const struct qfq_group *grp) in qfq_calc_state() argument
758 unsigned int state = qfq_gt(grp->S, q->V); in qfq_calc_state()
759 unsigned long mask = mask_from(q->bitmaps[ER], grp->index); in qfq_calc_state()
764 if (qfq_gt(grp->F, next->F)) in qfq_calc_state()
885 static void qfq_slot_insert(struct qfq_group *grp, struct qfq_aggregate *agg, in qfq_slot_insert() argument
888 u64 slot = (roundedS - grp->S) >> grp->slot_shift; in qfq_slot_insert()
892 u64 deltaS = roundedS - grp->S - in qfq_slot_insert()
[all …]
/net/8021q/
Dvlan.c83 struct vlan_group *grp; in unregister_vlan_dev() local
91 grp = &vlan_info->grp; in unregister_vlan_dev()
93 grp->nr_vlan_devs--; in unregister_vlan_dev()
100 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, NULL); in unregister_vlan_dev()
109 if (grp->nr_vlan_devs == 0) { in unregister_vlan_dev()
142 struct vlan_group *grp; in register_vlan_dev() local
153 grp = &vlan_info->grp; in register_vlan_dev()
154 if (grp->nr_vlan_devs == 0) { in register_vlan_dev()
163 err = vlan_group_prealloc_vid(grp, vlan->vlan_proto, vlan_id); in register_vlan_dev()
185 vlan_group_set_device(grp, vlan->vlan_proto, vlan_id, dev); in register_vlan_dev()
[all …]
Dvlan.h33 struct vlan_group grp; member
89 return vlan_group_get_device(&vlan_info->grp, in vlan_find_dev()
95 #define vlan_group_for_each_dev(grp, i, dev) \ argument
97 if (((dev) = __vlan_group_get_device((grp), (i) / VLAN_N_VID, \
Dvlan_core.c81 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()
375 return vlan_info->grp.nr_vlan_devs ? true : false; in vlan_uses_dev()
/net/netlink/
Dgenetlink.c90 const struct genl_multicast_group *grp,
195 const struct genl_multicast_group *grp = &family->mcgrps[i]; in genl_validate_assign_mc_groups() local
197 if (WARN_ON(grp->name[0] == '\0')) in genl_validate_assign_mc_groups()
199 if (WARN_ON(memchr(grp->name, '\0', GENL_NAMSIZ) == NULL)) in genl_validate_assign_mc_groups()
706 const struct genl_multicast_group *grp; in ctrl_fill_info() local
708 grp = &family->mcgrps[i]; in ctrl_fill_info()
717 grp->name)) in ctrl_fill_info()
734 const struct genl_multicast_group *grp, in ctrl_fill_mcgrp_info() argument
760 grp->name)) in ctrl_fill_mcgrp_info()
822 const struct genl_multicast_group *grp, in ctrl_build_mcgrp_msg() argument
[all …]
/net/ipv4/
Dipmr.c1571 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_ioctl()
1592 struct in_addr grp; member
1646 c = ipmr_cache_find(mrt, sr.src.s_addr, sr.grp.s_addr); in ipmr_compat_ioctl()
2426 __be32 src, grp; in ipmr_rtm_getroute() local
2438 grp = tb[RTA_DST] ? nla_get_in_addr(tb[RTA_DST]) : 0; in ipmr_rtm_getroute()
2449 cache = ipmr_cache_find(mrt, src, grp); in ipmr_rtm_getroute()
/net/bridge/
Dbr_multicast.c463 const struct in6_addr *grp, in br_ip6_multicast_alloc_query() argument
526 interval = ipv6_addr_any(grp) ? in br_ip6_multicast_alloc_query()
538 mldq->mld_mca = *grp; in br_ip6_multicast_alloc_query()
557 mld2q->mld2q_mca = *grp; in br_ip6_multicast_alloc_query()
/net/ipv6/
Dip6mr.c1909 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_ioctl()
1930 struct sockaddr_in6 grp; member
1984 c = ip6mr_cache_find(mrt, &sr.src.sin6_addr, &sr.grp.sin6_addr); in ip6mr_compat_ioctl()