/net/ceph/ |
D | auth.c | 24 static int init_protocol(struct ceph_auth_client *ac, int proto) in init_protocol() argument 30 return ceph_auth_none_init(ac); in init_protocol() 32 return ceph_x_init(ac); in init_protocol() 39 void ceph_auth_set_global_id(struct ceph_auth_client *ac, u64 global_id) in ceph_auth_set_global_id() argument 46 if (ac->global_id && global_id != ac->global_id) in ceph_auth_set_global_id() 47 pr_err("global_id changed from %llu to %llu\n", ac->global_id, in ceph_auth_set_global_id() 50 ac->global_id = global_id; in ceph_auth_set_global_id() 60 struct ceph_auth_client *ac; in ceph_auth_init() local 62 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init() 63 if (!ac) in ceph_auth_init() [all …]
|
D | auth_none.c | 15 static void reset(struct ceph_auth_client *ac) in reset() argument 17 struct ceph_auth_none_info *xi = ac->private; in reset() 22 static void destroy(struct ceph_auth_client *ac) in destroy() argument 24 kfree(ac->private); in destroy() 25 ac->private = NULL; in destroy() 28 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated() argument 30 struct ceph_auth_none_info *xi = ac->private; in is_authenticated() 35 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate() argument 37 struct ceph_auth_none_info *xi = ac->private; in should_authenticate() 42 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer() argument [all …]
|
D | auth_x.c | 20 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 22 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument 24 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated() 28 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 29 missing = ac->want_keys & ~xi->have_keys; in ceph_x_is_authenticated() 32 ac->want_keys, xi->have_keys, missing, !missing); in ceph_x_is_authenticated() 36 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 38 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 41 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 43 ac->want_keys, xi->have_keys, need, !!need); in ceph_x_should_authenticate() [all …]
|
D | auth_none.h | 25 int ceph_auth_none_init(struct ceph_auth_client *ac);
|
D | auth_x.h | 52 int ceph_x_init(struct ceph_auth_client *ac);
|
D | osd_client.c | 5534 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_get_authorizer() local 5538 ret = __ceph_auth_get_authorizer(ac, auth, CEPH_ENTITY_TYPE_OSD, in osd_get_authorizer() 5551 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_add_authorizer_challenge() local 5553 return ceph_auth_add_authorizer_challenge(ac, o->o_auth.authorizer, in osd_add_authorizer_challenge() 5561 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_verify_authorizer_reply() local 5564 return ceph_auth_verify_authorizer_reply(ac, auth->authorizer, in osd_verify_authorizer_reply() 5573 struct ceph_auth_client *ac = osdc->client->monc.auth; in osd_invalidate_authorizer() local 5575 ceph_auth_invalidate_authorizer(ac, CEPH_ENTITY_TYPE_OSD); in osd_invalidate_authorizer() 5584 struct ceph_auth_client *ac = o->o_osdc->client->monc.auth; in osd_get_auth_request() local 5588 ret = ceph_auth_get_authorizer(ac, auth, CEPH_ENTITY_TYPE_OSD, in osd_get_auth_request() [all …]
|
/net/mac80211/ |
D | sta_info.c | 86 int ac, i; in __cleanup_single_sta() local 123 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta() 124 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta() 125 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta() 126 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta() 783 static unsigned long ieee80211_tids_for_ac(int ac) in ieee80211_tids_for_ac() argument 786 switch (ac) { in ieee80211_tids_for_ac() 807 int ac; in __sta_info_recalc_tim() local 843 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __sta_info_recalc_tim() 846 if (ignore_for_tim & ieee80211_ac_to_qos_mask[ac]) in __sta_info_recalc_tim() [all …]
|
D | debugfs_sta.c | 112 int ac; in sta_num_ps_buf_frames_read() local 114 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_num_ps_buf_frames_read() 115 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read() 116 skb_queue_len(&sta->ps_tx_buf[ac]) + in sta_num_ps_buf_frames_read() 117 skb_queue_len(&sta->tx_filtered[ac])); in sta_num_ps_buf_frames_read() 172 txqi->txq.ac, in sta_aqm_read() 207 int ac; in sta_airtime_read() local 212 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_airtime_read() 213 spin_lock_bh(&local->airtime[ac].lock); in sta_airtime_read() 214 rx_airtime += sta->airtime[ac].rx_airtime; in sta_airtime_read() [all …]
|
D | mesh_ps.c | 454 int ac; in mps_frame_deliver() local 462 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in mps_frame_deliver() 464 skb = skb_dequeue(&sta->tx_filtered[ac]); in mps_frame_deliver() 467 &sta->ps_tx_buf[ac]); in mps_frame_deliver() 477 if (!skb_queue_empty(&sta->tx_filtered[ac]) || in mps_frame_deliver() 478 !skb_queue_empty(&sta->ps_tx_buf[ac])) in mps_frame_deliver() 579 int ac, buffer_local = 0; in ieee80211_mps_frame_release() local 596 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_mps_frame_release() 597 buffer_local += skb_queue_len(&sta->ps_tx_buf[ac]) + in ieee80211_mps_frame_release() 598 skb_queue_len(&sta->tx_filtered[ac]); in ieee80211_mps_frame_release()
|
D | debugfs.c | 238 u32 ac, q_limit_low, q_limit_high, q_limit_low_old, q_limit_high_old; in aql_txq_limit_write() local 252 if (sscanf(buf, "%u %u %u", &ac, &q_limit_low, &q_limit_high) != 3) in aql_txq_limit_write() 255 if (ac >= IEEE80211_NUM_ACS) in aql_txq_limit_write() 258 q_limit_low_old = local->airtime[ac].aql_txq_limit_low; in aql_txq_limit_write() 259 q_limit_high_old = local->airtime[ac].aql_txq_limit_high; in aql_txq_limit_write() 261 local->airtime[ac].aql_txq_limit_low = q_limit_low; in aql_txq_limit_write() 262 local->airtime[ac].aql_txq_limit_high = q_limit_high; in aql_txq_limit_write() 267 if (sta->airtime[ac].aql_limit_low == q_limit_low_old && in aql_txq_limit_write() 268 sta->airtime[ac].aql_limit_high == q_limit_high_old) { in aql_txq_limit_write() 269 sta->airtime[ac].aql_limit_low = q_limit_low; in aql_txq_limit_write() [all …]
|
D | mlme.c | 1883 int ac; in __ieee80211_sta_handle_tspec_ac_params() local 1888 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __ieee80211_sta_handle_tspec_ac_params() 1889 struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac]; in __ieee80211_sta_handle_tspec_ac_params() 1907 if (drv_conf_tx(local, sdata, ac, &sdata->tx_conf[ac])) in __ieee80211_sta_handle_tspec_ac_params() 1910 ac); in __ieee80211_sta_handle_tspec_ac_params() 1922 for (non_acm_ac = ac + 1; in __ieee80211_sta_handle_tspec_ac_params() 1936 if (drv_conf_tx(local, sdata, ac, in __ieee80211_sta_handle_tspec_ac_params() 1940 ac); in __ieee80211_sta_handle_tspec_ac_params() 1980 int count, mu_edca_count, ac; in ieee80211_sta_wmm_params() local 2024 ac = IEEE80211_AC_BK; in ieee80211_sta_wmm_params() [all …]
|
D | wme.c | 90 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() local 92 if (ifmgd->tx_tspec[ac].admitted_time && in ieee80211_downgrade_queue() 93 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue() 94 return ac; in ieee80211_downgrade_queue()
|
D | util.c | 291 static void __ieee80211_wake_txqs(struct ieee80211_sub_if_data *sdata, int ac) in __ieee80211_wake_txqs() argument 307 sdata->vif.txqs_stopped[ac] = false; in __ieee80211_wake_txqs() 321 if (ac != txq->ac) in __ieee80211_wake_txqs() 340 (ps && atomic_read(&ps->num_sta_ps)) || ac != vif->txq->ac) in __ieee80211_wake_txqs() 373 int ac; in _ieee80211_wake_txqs() local 375 for (ac = 0; ac < n_acs; ac++) { in _ieee80211_wake_txqs() 376 int ac_queue = sdata->vif.hw_queue[ac]; in _ieee80211_wake_txqs() 380 __ieee80211_wake_txqs(sdata, ac); in _ieee80211_wake_txqs() 412 int ac; in ieee80211_propagate_queue_wake() local 421 for (ac = 0; ac < n_acs; ac++) { in ieee80211_propagate_queue_wake() [all …]
|
D | tx.c | 377 int ac; in purge_old_ps_buffers() local 379 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { in purge_old_ps_buffers() 380 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 381 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 489 int ac = skb_get_queue_mapping(tx->skb); in ieee80211_tx_h_unicast_ps_buf() local 498 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf() 516 if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) { in ieee80211_tx_h_unicast_ps_buf() 517 struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]); in ieee80211_tx_h_unicast_ps_buf() 520 sta->sta.addr, ac); in ieee80211_tx_h_unicast_ps_buf() 529 skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb); in ieee80211_tx_h_unicast_ps_buf() [all …]
|
D | driver-ops.c | 183 struct ieee80211_sub_if_data *sdata, u16 ac, in drv_conf_tx() argument 204 trace_drv_conf_tx(local, sdata, ac, params); in drv_conf_tx() 207 ac, params); in drv_conf_tx()
|
D | cfg.c | 1530 u8 ac; in sta_apply_airtime_params() local 1532 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_apply_airtime_params() 1533 struct airtime_sched_info *air_sched = &local->airtime[ac]; in sta_apply_airtime_params() 1534 struct airtime_info *air_info = &sta->airtime[ac]; in sta_apply_airtime_params() 1542 ac != ieee80211_ac_from_tid(tid)) in sta_apply_airtime_params() 2480 ieee80211_regulatory_limit_wmm_params(sdata, &p, params->ac); in ieee80211_set_txq_params() 2482 sdata->tx_conf[params->ac] = p; in ieee80211_set_txq_params() 2483 if (drv_conf_tx(local, sdata, params->ac, &p)) { in ieee80211_set_txq_params() 2486 params->ac); in ieee80211_set_txq_params() 3903 int ac = ieee802_1d_to_ac[up]; in ieee80211_add_tx_ts() local [all …]
|
D | status.c | 49 int ac; in ieee80211_handle_filtered_frame() local 97 ac = ieee80211_ac_from_tid(tid); in ieee80211_handle_filtered_frame() 99 ac = IEEE80211_AC_BE; in ieee80211_handle_filtered_frame() 145 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame() 146 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame() 166 skb_queue_len(&sta->tx_filtered[ac]), in ieee80211_handle_filtered_frame()
|
D | trace.h | 972 u16 ac, const struct ieee80211_tx_queue_params *params), 974 TP_ARGS(local, sdata, ac, params), 979 __field(u16, ac) 990 __entry->ac = ac; 1000 LOCAL_PR_ARG, VIF_PR_ARG, __entry->ac 2736 __field(u8, ac) 2746 __entry->ac = txq->txq.ac; 2752 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->ac, __entry->tid
|
D | iface.c | 1268 int ac; in ieee80211_do_open() local 1277 for (ac = 0; ac < n_acs; ac++) { in ieee80211_do_open() 1278 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_do_open() 1282 netif_start_subqueue(dev, ac); in ieee80211_do_open()
|
D | debugfs_netdev.c | 497 txqi->txq.ac, in ieee80211_if_fmt_aqm() 526 spin_lock_bh(&local->airtime[txq->ac].lock); in ieee80211_if_fmt_airtime() 536 spin_unlock_bh(&local->airtime[txq->ac].lock); in ieee80211_if_fmt_airtime()
|
D | tdls.c | 237 static enum ieee80211_ac_numbers ieee80211_ac_from_wmm(int ac) in ieee80211_ac_from_wmm() argument 239 switch (ac) { in ieee80211_ac_from_wmm() 297 wmm->ac[i].aci_aifsn = ieee80211_wmm_aci_aifsn(txq->aifs, in ieee80211_tdls_add_wmm_param_ie() 299 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie() 300 wmm->ac[i].txop_limit = cpu_to_le16(txq->txop); in ieee80211_tdls_add_wmm_param_ie()
|
D | sta_info.h | 153 struct sta_info *sta, u8 ac,
|
D | ieee80211_i.h | 1666 return &sta->airtime[txq->ac]; in to_airtime_info() 1670 return &sdata->airtime[txq->ac]; in to_airtime_info() 2193 int ac);
|
/net/ipv6/ |
D | anycast.c | 253 static void aca_put(struct ifacaddr6 *ac) in aca_put() argument 255 if (refcount_dec_and_test(&ac->aca_refcnt)) { in aca_put() 256 call_rcu(&ac->rcu, aca_free_rcu); in aca_put()
|
/net/wireless/ |
D | reg.c | 663 struct fwdb_wmm_ac *ac = (struct fwdb_wmm_ac *)rule; in valid_wmm() local 667 u16 cw_min = ecw2cw((ac[i].ecw & 0xf0) >> 4); in valid_wmm() 668 u16 cw_max = ecw2cw(ac[i].ecw & 0x0f); in valid_wmm() 669 u8 aifsn = ac[i].aifsn; in valid_wmm() 1442 u8 ac; in reg_rules_intersect() local 1444 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in reg_rules_intersect() 1445 reg_wmm_rules_intersect(&wmm_rule1->client[ac], in reg_rules_intersect() 1446 &wmm_rule2->client[ac], in reg_rules_intersect() 1447 &wmm_rule->client[ac]); in reg_rules_intersect() 1448 reg_wmm_rules_intersect(&wmm_rule1->ap[ac], in reg_rules_intersect() [all …]
|