/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() 21 static void destroy(struct ceph_auth_client *ac) in destroy() argument 23 kfree(ac->private); in destroy() 24 ac->private = NULL; in destroy() 27 static int is_authenticated(struct ceph_auth_client *ac) in is_authenticated() argument 29 struct ceph_auth_none_info *xi = ac->private; in is_authenticated() 34 static int should_authenticate(struct ceph_auth_client *ac) in should_authenticate() argument 36 struct ceph_auth_none_info *xi = ac->private; in should_authenticate() 41 static int ceph_auth_none_build_authorizer(struct ceph_auth_client *ac, in ceph_auth_none_build_authorizer() argument [all …]
|
D | auth_x.c | 18 static void ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed); 20 static int ceph_x_is_authenticated(struct ceph_auth_client *ac) in ceph_x_is_authenticated() argument 22 struct ceph_x_info *xi = ac->private; in ceph_x_is_authenticated() 25 ceph_x_validate_tickets(ac, &need); in ceph_x_is_authenticated() 27 ac->want_keys, need, xi->have_keys); in ceph_x_is_authenticated() 28 return (ac->want_keys & xi->have_keys) == ac->want_keys; in ceph_x_is_authenticated() 31 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) in ceph_x_should_authenticate() argument 33 struct ceph_x_info *xi = ac->private; in ceph_x_should_authenticate() 36 ceph_x_validate_tickets(ac, &need); in ceph_x_should_authenticate() 38 ac->want_keys, need, xi->have_keys); 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 | 51 int ceph_x_init(struct ceph_auth_client *ac);
|
D | osd_client.c | 4458 struct ceph_auth_client *ac = osdc->client->monc.auth; in get_authorizer() local 4466 int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_OSD, in get_authorizer() 4471 int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_OSD, in get_authorizer() 4476 *proto = ac->protocol; in get_authorizer() 4486 struct ceph_auth_client *ac = osdc->client->monc.auth; in verify_authorizer_reply() local 4488 return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer, len); in verify_authorizer_reply() 4495 struct ceph_auth_client *ac = osdc->client->monc.auth; in invalidate_authorizer() local 4497 ceph_auth_invalidate_authorizer(ac, CEPH_ENTITY_TYPE_OSD); in invalidate_authorizer()
|
/net/mac80211/ |
D | sta_info.c | 87 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() 654 static unsigned long ieee80211_tids_for_ac(int ac) in ieee80211_tids_for_ac() argument 657 switch (ac) { in ieee80211_tids_for_ac() 678 int ac; in __sta_info_recalc_tim() local 714 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __sta_info_recalc_tim() 717 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 | wme.c | 93 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() local 95 if (ifmgd->tx_tspec[ac].admitted_time && in ieee80211_downgrade_queue() 96 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue() 97 return ac; in ieee80211_downgrade_queue()
|
D | mlme.c | 1631 int ac; in __ieee80211_sta_handle_tspec_ac_params() local 1636 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in __ieee80211_sta_handle_tspec_ac_params() 1637 struct ieee80211_sta_tx_tspec *tx_tspec = &ifmgd->tx_tspec[ac]; in __ieee80211_sta_handle_tspec_ac_params() 1655 if (drv_conf_tx(local, sdata, ac, &sdata->tx_conf[ac])) in __ieee80211_sta_handle_tspec_ac_params() 1658 ac); in __ieee80211_sta_handle_tspec_ac_params() 1670 for (non_acm_ac = ac + 1; in __ieee80211_sta_handle_tspec_ac_params() 1684 if (drv_conf_tx(local, sdata, ac, in __ieee80211_sta_handle_tspec_ac_params() 1688 ac); in __ieee80211_sta_handle_tspec_ac_params() 1726 int count, ac; in ieee80211_sta_wmm_params() local 1763 ac = IEEE80211_AC_BK; in ieee80211_sta_wmm_params() [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() 164 txqi->txq.ac, in sta_aqm_read()
|
D | util.c | 254 int ac; in ieee80211_propagate_queue_wake() local 263 for (ac = 0; ac < n_acs; ac++) { in ieee80211_propagate_queue_wake() 264 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_propagate_queue_wake() 270 netif_wake_subqueue(sdata->dev, ac); in ieee80211_propagate_queue_wake() 361 int ac; in __ieee80211_stop_queue() local 366 for (ac = 0; ac < n_acs; ac++) { in __ieee80211_stop_queue() 367 if (sdata->vif.hw_queue[ac] == queue || in __ieee80211_stop_queue() 369 netif_stop_subqueue(sdata->dev, ac); in __ieee80211_stop_queue() 524 int ac; in ieee80211_get_vif_queues() local 528 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) in ieee80211_get_vif_queues() [all …]
|
D | driver-ops.c | 162 struct ieee80211_sub_if_data *sdata, u16 ac, in drv_conf_tx() argument 178 trace_drv_conf_tx(local, sdata, ac, params); in drv_conf_tx() 181 ac, params); in drv_conf_tx()
|
D | status.c | 52 int ac; in ieee80211_handle_filtered_frame() local 99 ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_handle_filtered_frame() 101 ac = IEEE80211_AC_BE; in ieee80211_handle_filtered_frame() 147 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { in ieee80211_handle_filtered_frame() 148 skb_queue_tail(&sta->tx_filtered[ac], skb); in ieee80211_handle_filtered_frame() 168 skb_queue_len(&sta->tx_filtered[ac]), in ieee80211_handle_filtered_frame()
|
D | tx.c | 381 int ac; in purge_old_ps_buffers() local 383 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { in purge_old_ps_buffers() 384 skb = skb_dequeue(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 385 total += skb_queue_len(&sta->ps_tx_buf[ac]); in purge_old_ps_buffers() 493 int ac = skb_get_queue_mapping(tx->skb); in ieee80211_tx_h_unicast_ps_buf() local 502 sta->sta.addr, sta->sta.aid, ac); in ieee80211_tx_h_unicast_ps_buf() 520 if (skb_queue_len(&sta->ps_tx_buf[ac]) >= STA_MAX_TX_BUFFER) { in ieee80211_tx_h_unicast_ps_buf() 521 struct sk_buff *old = skb_dequeue(&sta->ps_tx_buf[ac]); in ieee80211_tx_h_unicast_ps_buf() 524 sta->sta.addr, ac); in ieee80211_tx_h_unicast_ps_buf() 533 skb_queue_tail(&sta->ps_tx_buf[ac], tx->skb); in ieee80211_tx_h_unicast_ps_buf() [all …]
|
D | trace.h | 924 u16 ac, const struct ieee80211_tx_queue_params *params), 926 TP_ARGS(local, sdata, ac, params), 931 __field(u16, ac) 942 __entry->ac = ac; 952 LOCAL_PR_ARG, VIF_PR_ARG, __entry->ac 2557 __field(u8, ac) 2567 __entry->ac = txq->txq.ac; 2573 LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->ac, __entry->tid
|
D | cfg.c | 2126 sdata->tx_conf[params->ac] = p; in ieee80211_set_txq_params() 2127 if (drv_conf_tx(local, sdata, params->ac, &p)) { in ieee80211_set_txq_params() 2130 params->ac); in ieee80211_set_txq_params() 3494 int ac = ieee802_1d_to_ac[up]; in ieee80211_add_tx_ts() local 3502 if (ifmgd->tx_tspec[ac].admitted_time) in ieee80211_add_tx_ts() 3506 ifmgd->tx_tspec[ac].admitted_time = 32 * admitted_time; in ieee80211_add_tx_ts() 3507 ifmgd->tx_tspec[ac].tsid = tsid; in ieee80211_add_tx_ts() 3508 ifmgd->tx_tspec[ac].up = up; in ieee80211_add_tx_ts() 3520 int ac; in ieee80211_del_tx_ts() local 3522 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { in ieee80211_del_tx_ts() [all …]
|
D | iface.c | 737 int ac; in ieee80211_do_open() local 746 for (ac = 0; ac < n_acs; ac++) { in ieee80211_do_open() 747 int ac_queue = sdata->vif.hw_queue[ac]; in ieee80211_do_open() 751 netif_start_subqueue(dev, ac); in ieee80211_do_open()
|
D | tdls.c | 234 static enum ieee80211_ac_numbers ieee80211_ac_from_wmm(int ac) in ieee80211_ac_from_wmm() argument 236 switch (ac) { in ieee80211_ac_from_wmm() 294 wmm->ac[i].aci_aifsn = ieee80211_wmm_aci_aifsn(txq->aifs, in ieee80211_tdls_add_wmm_param_ie() 296 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); in ieee80211_tdls_add_wmm_param_ie() 297 wmm->ac[i].txop_limit = cpu_to_le16(txq->txop); in ieee80211_tdls_add_wmm_param_ie()
|
D | rx.c | 1435 u8 ac = ieee802_1d_to_ac[tid & 7]; in ieee80211_sta_uapsd_trigger() local 1444 if (!(sta->sta.uapsd_queues & BIT(ac))) in ieee80211_sta_uapsd_trigger() 2431 u16 ac, q, hdrlen; in ieee80211_rx_h_mesh_fwding() local 2502 ac = ieee80211_select_queue_80211(sdata, skb, hdr); in ieee80211_rx_h_mesh_fwding() 2503 q = sdata->vif.hw_queue[ac]; in ieee80211_rx_h_mesh_fwding()
|
D | Kconfig | 37 bool "Minstrel 802.11ac support" if EXPERT
|
D | debugfs_netdev.c | 503 txqi->txq.ac, in ieee80211_if_fmt_aqm()
|
D | driver-ops.h | 565 struct ieee80211_sub_if_data *sdata, u16 ac,
|
/net/ipv6/ |
D | anycast.c | 209 static void aca_put(struct ifacaddr6 *ac) in aca_put() argument 211 if (atomic_dec_and_test(&ac->aca_refcnt)) { in aca_put() 212 in6_dev_put(ac->aca_idev); in aca_put() 213 dst_release(&ac->aca_rt->dst); in aca_put() 214 kfree(ac); in aca_put()
|
/net/wireless/ |
D | trace.h | 1053 __field(enum nl80211_ac, ac) 1062 __entry->ac = params->ac; 1069 WIPHY_PR_ARG, NETDEV_PR_ARG, __entry->ac, __entry->txop,
|