Home
last modified time | relevance | path

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

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.10/net/mac80211/
Drc80211_minstrel_ht.c387 int cur_group, cur_idx, cur_tp_avg, cur_prob; in minstrel_ht_sort_best_tp_rates() local
391 cur_group = index / MCS_GROUP_RATES; in minstrel_ht_sort_best_tp_rates()
393 cur_prob = mi->groups[cur_group].rates[cur_idx].prob_avg; in minstrel_ht_sort_best_tp_rates()
394 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, cur_prob); in minstrel_ht_sort_best_tp_rates()
425 int max_tp_group, cur_tp_avg, cur_group, cur_idx; in minstrel_ht_set_best_prob_rate() local
429 cur_group = index / MCS_GROUP_RATES; in minstrel_ht_set_best_prob_rate()
451 cur_tp_avg = minstrel_ht_get_tp_avg(mi, cur_group, cur_idx, in minstrel_ht_set_best_prob_rate()