Home
last modified time | relevance | path

Searched refs:cur_group (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/infiniband/core/
Dmulticast.c156 struct mcast_group *cur_group; in mcast_insert() local
161 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert()
163 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert()
172 return cur_group; in mcast_insert()
560 struct mcast_group *group, *cur_group; in acquire_group() local
587 cur_group = mcast_insert(port, group, is_mgid0); in acquire_group()
588 if (cur_group) { in acquire_group()
590 group = cur_group; in acquire_group()
Dsysfs.c1203 const struct attribute_group **cur_group; in setup_port() local
1219 cur_group = p->groups_list; in setup_port()
1224 *cur_group++ = &p->groups[0]; in setup_port()
1232 *cur_group++ = &p->groups[1]; in setup_port()
1245 *cur_group++ = &p->groups[2]; in setup_port()
1249 *cur_group++ = get_counter_table(device, port_num); in setup_port()
/linux-6.6.21/drivers/infiniband/hw/mlx4/
Dmcg.c188 struct mcast_group *cur_group; in mcast_insert() local
193 cur_group = rb_entry(parent, struct mcast_group, node); in mcast_insert()
195 ret = memcmp(group->rec.mgid.raw, cur_group->rec.mgid.raw, in mcast_insert()
202 return cur_group; in mcast_insert()
750 struct mcast_group *group = NULL, *cur_group, *n; in search_relocate_mgid0_group() local
763 cur_group = mcast_insert(ctx, group); in search_relocate_mgid0_group()
764 if (cur_group) { in search_relocate_mgid0_group()
813 struct mcast_group *group, *cur_group; in acquire_group() local
855 cur_group = mcast_insert(ctx, group); in acquire_group()
856 if (cur_group) { in acquire_group()
[all …]
/linux-6.6.21/net/mac80211/
Drc80211_minstrel_ht.c541 int cur_group, cur_idx, cur_tp_avg, cur_prob; in minstrel_ht_sort_best_tp_rates() local
545 cur_group = MI_RATE_GROUP(index); in minstrel_ht_sort_best_tp_rates()
547 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
548 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, cur_prob); in minstrel_ht_sort_best_tp_rates()
580 int cur_tp_avg, cur_group, cur_idx; in minstrel_ht_set_best_prob_rate() local
584 cur_group = MI_RATE_GROUP(index); in minstrel_ht_set_best_prob_rate()
586 mg = &mi->groups[cur_group]; in minstrel_ht_set_best_prob_rate()
614 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, in minstrel_ht_set_best_prob_rate()