/net/mac80211/ |
H A D | rc80211_minstrel.c | 99 minstrel_update_rates(struct minstrel_priv *mp, struct minstrel_sta_info *mi) argument 111 if (mp->hw->max_rates >= 3) { 116 if (mp->hw->max_rates >= 2) { 123 ratetbl->rate[i].count = mp->max_retry; 124 ratetbl->rate[i].count_cts = mp->max_retry; 125 ratetbl->rate[i].count_rts = mp->max_retry; 127 rate_control_set_rates(mp->hw, mi->sta, ratetbl); 131 minstrel_update_stats(struct minstrel_priv *mp, struct minstrel_sta_info *mi) argument 210 if (mp->fixed_rate_idx != -1) { 211 mi->max_tp_rate[0] = mp 228 struct minstrel_priv *mp = priv; local 299 struct minstrel_priv *mp = priv; local 444 struct minstrel_priv *mp = priv; local 534 struct minstrel_priv *mp = priv; local 578 minstrel_init_cck_rates(struct minstrel_priv *mp) argument 611 struct minstrel_priv *mp; local [all...] |
H A D | rc80211_minstrel_ht.c | 130 minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi); 144 minstrel_ht_get_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, argument 155 for (idx = 0; idx < ARRAY_SIZE(mp->cck_rates); idx++) 156 if (rate->idx == mp->cck_rates[idx]) 381 minstrel_ht_update_stats(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 465 if (mp->fixed_rate_idx != -1) { 467 mi->max_tp_rate[i] = mp->fixed_rate_idx; 468 mi->max_prob_rate = mp->fixed_rate_idx; 477 minstrel_ht_txstat_valid(struct minstrel_priv *mp, struct ieee80211_tx_rate *rate) argument 488 return rate->idx == mp 573 struct minstrel_priv *mp = priv; local 649 minstrel_calc_retransmit(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, int index) argument 708 minstrel_ht_set_rate(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_sta_rates *ratetbl, int offset, int index) argument 748 minstrel_ht_update_rates(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 783 minstrel_get_sample_rate(struct minstrel_priv *mp, struct minstrel_ht_sta *mi) argument 850 minstrel_ht_check_cck_shortpreamble(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, bool val) argument 874 struct minstrel_priv *mp = priv; local 926 minstrel_ht_update_cck(struct minstrel_priv *mp, struct minstrel_ht_sta *mi, struct ieee80211_supported_band *sband, struct ieee80211_sta *sta) argument 957 struct minstrel_priv *mp = priv; local 1077 struct minstrel_priv *mp = priv; local [all...] |
/net/bridge/netfilter/ |
H A D | ebt_arp.c | 66 const unsigned char *mp; local 73 mp = skb_header_pointer(skb, sizeof(struct arphdr), 75 if (mp == NULL) 79 verdict |= (mp[i] ^ info->smaddr[i]) & 86 mp = skb_header_pointer(skb, sizeof(struct arphdr) + 89 if (mp == NULL) 93 verdict |= (mp[i] ^ info->dmaddr[i]) &
|
/net/bridge/ |
H A D | br_multicast.c | 92 struct net_bridge_mdb_entry *mp; local 94 hlist_for_each_entry_rcu(mp, &mdb->mhash[hash], hlist[mdb->ver]) { 95 if (br_ip_equal(&mp->addr, dst)) 96 return mp; 184 struct net_bridge_mdb_entry *mp; local 190 hlist_for_each_entry(mp, &old->mhash[i], hlist[old->ver]) 191 hlist_add_head(&mp->hlist[new->ver], 192 &new->mhash[br_ip_hash(new, &mp->addr)]); 200 hlist_for_each_entry(mp, &new->mhash[i], hlist[new->ver]) 219 struct net_bridge_mdb_entry *mp local 227 struct net_bridge_mdb_entry *mp = (void *)data; local 255 struct net_bridge_mdb_entry *mp; local 517 struct net_bridge_mdb_entry *mp; local 590 struct net_bridge_mdb_entry *mp; local 660 struct net_bridge_mdb_entry *mp; local 1226 struct net_bridge_mdb_entry *mp; local 1315 struct net_bridge_mdb_entry *mp; local 1413 struct net_bridge_mdb_entry *mp; local 1907 struct net_bridge_mdb_entry *mp; local [all...] |
H A D | br_mdb.c | 64 struct net_bridge_mdb_entry *mp; local 69 hlist_for_each_entry_rcu(mp, &mdb->mhash[i], hlist[mdb->ver]) { 79 for (pp = &mp->ports; 321 struct net_bridge_mdb_entry *mp; local 328 mp = br_mdb_ip_get(mdb, group); 329 if (!mp) { 330 mp = br_multicast_new_group(br, port, group); 331 err = PTR_ERR(mp); 332 if (IS_ERR(mp)) 336 for (pp = &mp 410 struct net_bridge_mdb_entry *mp; local [all...] |
/net/8021q/ |
H A D | vlanproc.c | 315 const struct vlan_priority_tci_mapping *mp local 317 while (mp) { 319 mp->priority, ((mp->vlan_qos >> 13) & 0x7)); 320 mp = mp->next;
|
H A D | vlan_dev.c | 208 struct vlan_priority_tci_mapping *mp = NULL; local 213 mp = vlan->egress_priority_map[skb_prio & 0xF]; 214 while (mp) { 215 if (mp->priority == skb_prio) { 216 if (mp->vlan_qos && !vlan_qos) 218 else if (!mp->vlan_qos && vlan_qos) 220 mp->vlan_qos = vlan_qos; 223 mp = mp->next; 227 mp [all...] |
/net/key/ |
H A D | af_key.c | 3484 const struct xfrm_migrate *mp; local 3508 for (i = 0, mp = m; i < num_bundles; i++, mp++) { 3511 pfkey_sockaddr_pair_size(mp->old_family); 3514 pfkey_sockaddr_pair_size(mp->new_family); 3554 for (i = 0, mp = m; i < num_bundles; i++, mp++) { 3556 int mode = pfkey_mode_from_xfrm(mp->mode); 3559 if (set_ipsecrequest(skb, mp->proto, mode, 3560 (mp [all...] |
/net/ipv6/ |
H A D | ip6_fib.c | 638 u32 *mp; local 641 mp = dst_metrics_write_ptr(dst); 643 mp = kzalloc(sizeof(u32) * RTAX_MAX, GFP_ATOMIC); 644 if (!mp) 646 dst_init_metrics(dst, mp, 0); 656 mp[type - 1] = nla_get_u32(nla);
|
/net/ipv4/ |
H A D | fib_semantics.c | 1054 struct nlattr *mp; local 1056 mp = nla_nest_start(skb, RTA_MULTIPATH); 1057 if (mp == NULL) 1081 nla_nest_end(skb, mp);
|
H A D | fib_trie.c | 1534 int mp = KEYLENGTH - __fls(pref_mismatch) - 1; local 1536 if (tkey_extract_bits(cn->key, mp, cn->pos - mp) != 0) 1540 current_prefix_length = mp;
|
/net/xfrm/ |
H A D | xfrm_policy.c | 3255 struct xfrm_migrate *mp; local 3266 for (j = 0, mp = m; j < num_migrate; j++, mp++) { 3267 if (!migrate_tmpl_match(mp, &pol->xfrm_vec[i])) 3274 memcpy(&pol->xfrm_vec[i].id.daddr, &mp->new_daddr, 3276 memcpy(&pol->xfrm_vec[i].saddr, &mp->new_saddr, 3278 pol->xfrm_vec[i].encap_family = mp->new_family; 3335 struct xfrm_migrate *mp; local 3347 for (i = 0, mp = m; i < num_migrate; i++, mp [all...] |
H A D | xfrm_user.c | 2254 const struct xfrm_migrate *mp; local 2277 for (i = 0, mp = m ; i < num_migrate; i++, mp++) { 2278 err = copy_to_user_migrate(mp, skb);
|