/net/ceph/ |
D | auth.c | 23 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) in ceph_auth_init_protocol() argument 27 return ceph_auth_none_init(ac); in ceph_auth_init_protocol() 29 return ceph_x_init(ac); in ceph_auth_init_protocol() 40 struct ceph_auth_client *ac; in ceph_auth_init() local 46 ac = kzalloc(sizeof(*ac), GFP_NOFS); in ceph_auth_init() 47 if (!ac) in ceph_auth_init() 50 mutex_init(&ac->mutex); in ceph_auth_init() 51 ac->negotiating = true; in ceph_auth_init() 53 ac->name = name; in ceph_auth_init() 55 ac->name = CEPH_AUTH_NAME_DEFAULT; in ceph_auth_init() [all …]
|
D | auth_none.c | 14 static void reset(struct ceph_auth_client *ac) in reset() argument 16 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 build_request(struct ceph_auth_client *ac, void *buf, void *end) in build_request() argument [all …]
|
D | auth_x.c | 16 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 18 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument 20 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated() 23 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 25 ac->want_keys, need, xi->have_keys); in ceph_x_is_authenticated() 26 return (ac->want_keys & xi->have_keys) == ac->want_keys; in ceph_x_is_authenticated() 29 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 31 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 34 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 36 ac->want_keys, need, xi->have_keys); in ceph_x_should_authenticate() [all …]
|
D | auth_none.h | 26 int ceph_auth_none_init(struct ceph_auth_client *ac);
|
D | auth_x.h | 48 int ceph_x_init(struct ceph_auth_client *ac);
|
D | osd_client.c | 997 struct ceph_auth_client *ac = osd->o_osdc->client->monc.auth; in put_osd() local 999 ceph_auth_destroy_authorizer(ac, osd->o_auth.authorizer); in put_osd() 2897 struct ceph_auth_client *ac = osdc->client->monc.auth; in get_authorizer() local 2901 ceph_auth_destroy_authorizer(ac, auth->authorizer); in get_authorizer() 2905 int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_OSD, in get_authorizer() 2910 int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_OSD, in get_authorizer() 2915 *proto = ac->protocol; in get_authorizer() 2925 struct ceph_auth_client *ac = osdc->client->monc.auth; in verify_authorizer_reply() local 2927 return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer, len); in verify_authorizer_reply() 2934 struct ceph_auth_client *ac = osdc->client->monc.auth; in invalidate_authorizer() local [all …]
|
/net/mac80211/ |
D | sta_info.c | 97 int ac, i; in __cleanup_single_sta() local 122 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __cleanup_single_sta() 123 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); in __cleanup_single_sta() 124 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); in __cleanup_single_sta() 125 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); in __cleanup_single_sta() 607 static unsigned long ieee80211_tids_for_ac(int ac) in ieee80211_tids_for_ac() argument 610 switch (ac) { in ieee80211_tids_for_ac() 631 int ac; in sta_info_recalc_tim() local 667 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in sta_info_recalc_tim() 670 if (ignore_for_tim & BIT(ac)) in sta_info_recalc_tim() [all …]
|
D | mesh_ps.c | 452 int ac; in mps_frame_deliver() local 460 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in mps_frame_deliver() 462 skb = skb_dequeue(&sta->tx_filtered[ac]); in mps_frame_deliver() 465 &sta->ps_tx_buf[ac]); in mps_frame_deliver() 475 if (!skb_queue_empty(&sta->tx_filtered[ac]) || in mps_frame_deliver() 476 !skb_queue_empty(&sta->ps_tx_buf[ac])) in mps_frame_deliver() 577 int ac, buffer_local = 0; in ieee80211_mps_frame_release() local 594 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_mps_frame_release() 595 buffer_local += skb_queue_len(&sta->ps_tx_buf[ac]) + in ieee80211_mps_frame_release() 596 skb_queue_len(&sta->tx_filtered[ac]); in ieee80211_mps_frame_release()
|
D | util.c | 299 int ac; in ieee80211_propagate_queue_wake() local 308 for (ac = 0; ac < n_acs; ac++) { in ieee80211_propagate_queue_wake() 309 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_propagate_queue_wake() 315 netif_wake_subqueue(sdata->dev, ac); in ieee80211_propagate_queue_wake() 400 int ac; in __ieee80211_stop_queue() local 405 for (ac = 0; ac < n_acs; ac++) { in __ieee80211_stop_queue() 406 if (sdata->vif.hw_queue[ac] == queue || in __ieee80211_stop_queue() 408 netif_stop_subqueue(sdata->dev, ac); in __ieee80211_stop_queue() 563 int ac; in ieee80211_get_vif_queues() local 567 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_get_vif_queues() [all …]
|
D | debugfs_sta.c | 100 int ac; in sta_num_ps_buf_frames_read() local 102 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in sta_num_ps_buf_frames_read() 103 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, in sta_num_ps_buf_frames_read() 104 skb_queue_len(&sta->ps_tx_buf[ac]) + in sta_num_ps_buf_frames_read() 105 skb_queue_len(&sta->tx_filtered[ac])); in sta_num_ps_buf_frames_read()
|
D | tx.c | 366 int ac; in purge_old_ps_buffers() local 368 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { in purge_old_ps_buffers() 369 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 370 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 478 int ac = skb_get_queue_mapping(tx->skb); in ieee80211_tx_h_unicast_ps_buf() local 487 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf() 505 if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) { in ieee80211_tx_h_unicast_ps_buf() 506 struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]); in ieee80211_tx_h_unicast_ps_buf() 509 sta->sta.addr, ac); in ieee80211_tx_h_unicast_ps_buf() 518 skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb); in ieee80211_tx_h_unicast_ps_buf() [all …]
|
D | status.c | 53 int ac; in ieee80211_handle_filtered_frame() local 94 ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_handle_filtered_frame() 96 ac = IEEE80211_AC_BE; in ieee80211_handle_filtered_frame() 141 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame() 142 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame() 162 skb_queue_len(&sta->tx_filtered[ac]), in ieee80211_handle_filtered_frame()
|
D | tdls.c | 99 static enum ieee80211_ac_numbers ieee80211_ac_from_wmm(int ac) in ieee80211_ac_from_wmm() argument 101 switch (ac) { in ieee80211_ac_from_wmm() 159 wmm->ac[i].aci_aifsn = ieee80211_wmm_aci_aifsn(txq->aifs, in ieee80211_tdls_add_wmm_param_ie() 161 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie() 162 wmm->ac[i].txop_limit = cpu_to_le16(txq->txop); in ieee80211_tdls_add_wmm_param_ie()
|
D | iface.c | 706 int ac; in ieee80211_do_open() local 715 for (ac = 0; ac < n_acs; ac++) { in ieee80211_do_open() 716 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_do_open() 720 netif_start_subqueue(dev, ac); in ieee80211_do_open()
|
D | trace.h | 832 u16 ac, const struct ieee80211_tx_queue_params *params), 834 TP_ARGS(local, sdata, ac, params), 839 __field(u16, ac) 850 __entry->ac = ac; 860 LOCAL_PR_ARG, VIF_PR_ARG, __entry->ac
|
D | driver-ops.h | 624 struct ieee80211_sub_if_data *sdata, u16 ac, in drv_conf_tx() argument 634 trace_drv_conf_tx(local, sdata, ac, params); in drv_conf_tx() 637 ac, params); in drv_conf_tx()
|
D | rx.c | 1173 int tid, ac; in ieee80211_rx_h_uapsd_and_pspoll() local 1217 ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_rx_h_uapsd_and_pspoll() 1226 if (!(rx->sta->sta.uapsd_queues & BIT(ac))) in ieee80211_rx_h_uapsd_and_pspoll() 2103 u16 ac, q, hdrlen; in ieee80211_rx_h_mesh_fwding() local 2173 ac = ieee80211_select_queue_80211(sdata, skb, hdr); in ieee80211_rx_h_mesh_fwding() 2174 q = sdata->vif.hw_queue[ac]; in ieee80211_rx_h_mesh_fwding()
|
D | mlme.c | 2822 int ac, uapsd_queues = -1; in ieee80211_rx_mgmt_assoc_resp() local 2895 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_rx_mgmt_assoc_resp() 2896 if (sdata->tx_conf[ac].uapsd) in ieee80211_rx_mgmt_assoc_resp() 2897 uapsd_queues |= BIT(ac); in ieee80211_rx_mgmt_assoc_resp()
|
D | cfg.c | 1839 sdata->tx_conf[params->ac] = p; in ieee80211_set_txq_params() 1840 if (drv_conf_tx(local, sdata, params->ac, &p)) { in ieee80211_set_txq_params() 1843 params->ac); in ieee80211_set_txq_params()
|
/net/ipv6/ |
D | anycast.c | 211 static void aca_put(struct ifacaddr6 *ac) in aca_put() argument 213 if (atomic_dec_and_test(&ac->aca_refcnt)) { in aca_put() 214 in6_dev_put(ac->aca_idev); in aca_put() 215 dst_release(&ac->aca_rt->dst); in aca_put() 216 kfree(ac); in aca_put()
|
/net/wireless/ |
D | trace.h | 935 __field(enum nl80211_ac, ac) 944 __entry->ac = params->ac; 951 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->ac, __entry->txop,
|
D | nl80211.c | 1856 txq_params->ac = nla_get_u8(tb[NL80211_TXQ_ATTR_AC]); in parse_txq_params() 1862 if (txq_params->ac >= NL80211_NUM_ACS) in parse_txq_params()
|