Home
last modified time | relevance | path

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

/linux-5.19.10/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
1216 cur_group = p->groups_list; in setup_port()
1221 *cur_group++ = &p->groups[0]; in setup_port()
1229 *cur_group++ = &p->groups[1]; in setup_port()
1242 *cur_group++ = &p->groups[2]; in setup_port()
1246 *cur_group++ = get_counter_table(device, port_num); in setup_port()
/linux-5.19.10/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-5.19.10/net/mac80211/
Drc80211_minstrel_ht.c540 int cur_group, cur_idx, cur_tp_avg, cur_prob; in minstrel_ht_sort_best_tp_rates() local
544 cur_group = MI_RATE_GROUP(index); in minstrel_ht_sort_best_tp_rates()
546 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
547 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, cur_prob); in minstrel_ht_sort_best_tp_rates()
579 int cur_tp_avg, cur_group, cur_idx; in minstrel_ht_set_best_prob_rate() local
583 cur_group = MI_RATE_GROUP(index); in minstrel_ht_set_best_prob_rate()
585 mg = &mi->groups[cur_group]; in minstrel_ht_set_best_prob_rate()
613 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, in minstrel_ht_set_best_prob_rate()