/net/ceph/ |
H A D | auth_none.c | 14 static void reset(struct ceph_auth_client *ac) argument 16 struct ceph_auth_none_info *xi = ac->private; 22 static void destroy(struct ceph_auth_client *ac) argument 24 kfree(ac->private); 25 ac->private = NULL; 28 static int is_authenticated(struct ceph_auth_client *ac) argument 30 struct ceph_auth_none_info *xi = ac->private; 35 static int should_authenticate(struct ceph_auth_client *ac) argument 37 struct ceph_auth_none_info *xi = ac->private; 42 static int build_request(struct ceph_auth_client *ac, voi argument 51 handle_reply(struct ceph_auth_client *ac, int result, void *buf, void *end) argument 65 ceph_auth_none_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 102 ceph_auth_none_destroy_authorizer(struct ceph_auth_client *ac, struct ceph_authorizer *a) argument 120 ceph_auth_none_init(struct ceph_auth_client *ac) argument [all...] |
H A D | auth.c | 23 static int ceph_auth_init_protocol(struct ceph_auth_client *ac, int protocol) argument 27 return ceph_auth_none_init(ac); 29 return ceph_x_init(ac); 40 struct ceph_auth_client *ac; local 46 ac = kzalloc(sizeof(*ac), GFP_NOFS); 47 if (!ac) 50 mutex_init(&ac->mutex); 51 ac->negotiating = true; 53 ac 64 ceph_auth_destroy(struct ceph_auth_client *ac) argument 75 ceph_auth_reset(struct ceph_auth_client *ac) argument 101 ceph_auth_build_hello(struct ceph_auth_client *ac, void *buf, size_t len) argument 144 ceph_build_auth_request(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) argument 174 ceph_handle_auth_reply(struct ceph_auth_client *ac, void *buf, size_t len, void *reply_buf, size_t reply_len) argument 256 ceph_build_auth(struct ceph_auth_client *ac, void *msg_buf, size_t msg_len) argument 270 ceph_auth_is_authenticated(struct ceph_auth_client *ac) argument 282 ceph_auth_create_authorizer(struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 296 ceph_auth_destroy_authorizer(struct ceph_auth_client *ac, struct ceph_authorizer *a) argument 306 ceph_auth_update_authorizer(struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *a) argument 320 ceph_auth_verify_authorizer_reply(struct ceph_auth_client *ac, struct ceph_authorizer *a, size_t len) argument 333 ceph_auth_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) argument [all...] |
H A 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) argument 20 struct ceph_x_info *xi = ac->private; 23 ceph_x_validate_tickets(ac, &need); 25 ac->want_keys, need, xi->have_keys); 26 return (ac->want_keys & xi->have_keys) == ac->want_keys; 29 static int ceph_x_should_authenticate(struct ceph_auth_client *ac) argument 31 struct ceph_x_info *xi = ac->private; 34 ceph_x_validate_tickets(ac, 96 get_ticket_handler(struct ceph_auth_client *ac, int service) argument 123 remove_ticket_handler(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th) argument 136 process_one_ticket(struct ceph_auth_client *ac, struct ceph_crypto_key *secret, void **p, void *end) argument 253 ceph_x_proc_ticket_reply(struct ceph_auth_client *ac, struct ceph_crypto_key *secret, void *buf, void *end) argument 281 ceph_x_build_authorizer(struct ceph_auth_client *ac, struct ceph_x_ticket_handler *th, struct ceph_x_authorizer *au) argument 370 ceph_x_validate_tickets(struct ceph_auth_client *ac, int *pneed) argument 402 ceph_x_build_request(struct ceph_auth_client *ac, void *buf, void *end) argument 481 ceph_x_handle_reply(struct ceph_auth_client *ac, int result, void *buf, void *end) argument 536 ceph_x_create_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 567 ceph_x_update_authorizer( struct ceph_auth_client *ac, int peer_type, struct ceph_auth_handshake *auth) argument 587 ceph_x_verify_authorizer_reply(struct ceph_auth_client *ac, struct ceph_authorizer *a, size_t len) argument 616 ceph_x_destroy_authorizer(struct ceph_auth_client *ac, struct ceph_authorizer *a) argument 626 ceph_x_reset(struct ceph_auth_client *ac) argument 635 ceph_x_destroy(struct ceph_auth_client *ac) argument 656 ceph_x_invalidate_authorizer(struct ceph_auth_client *ac, int peer_type) argument 683 ceph_x_init(struct ceph_auth_client *ac) argument [all...] |
H A D | osd_client.c | 997 struct ceph_auth_client *ac = osd->o_osdc->client->monc.auth; local 999 ceph_auth_destroy_authorizer(ac, osd->o_auth.authorizer); 2880 struct ceph_auth_client *ac = osdc->client->monc.auth; local 2884 ceph_auth_destroy_authorizer(ac, auth->authorizer); 2888 int ret = ceph_auth_create_authorizer(ac, CEPH_ENTITY_TYPE_OSD, 2893 int ret = ceph_auth_update_authorizer(ac, CEPH_ENTITY_TYPE_OSD, 2898 *proto = ac->protocol; 2908 struct ceph_auth_client *ac = osdc->client->monc.auth; local 2910 return ceph_auth_verify_authorizer_reply(ac, o->o_auth.authorizer, len); 2917 struct ceph_auth_client *ac local [all...] |
/net/ipv6/ |
H A D | anycast.c | 211 static void aca_put(struct ifacaddr6 *ac) argument 213 if (atomic_dec_and_test(&ac->aca_refcnt)) { 214 in6_dev_put(ac->aca_idev); 215 dst_release(&ac->aca_rt->dst); 216 kfree(ac);
|
/net/mac80211/ |
H A D | mesh_ps.c | 452 int ac; local 460 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { 462 skb = skb_dequeue(&sta->tx_filtered[ac]); 465 &sta->ps_tx_buf[ac]); 475 if (!skb_queue_empty(&sta->tx_filtered[ac]) || 476 !skb_queue_empty(&sta->ps_tx_buf[ac])) 577 int ac, buffer_local = 0; local 594 for (ac [all...] |
H A D | debugfs_sta.c | 100 int ac; local 102 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) 103 p += scnprintf(p, sizeof(buf)+buf-p, "AC%d: %d\n", ac, 104 skb_queue_len(&sta->ps_tx_buf[ac]) + 105 skb_queue_len(&sta->tx_filtered[ac]));
|
H A D | status.c | 53 int ac; local 94 ac = ieee802_1d_to_ac[tid & 7]; 96 ac = IEEE80211_AC_BE; 141 skb_queue_len(&sta->tx_filtered[ac]) < STA_MAX_TX_BUFFER) { 142 skb_queue_tail(&sta->tx_filtered[ac], skb); 162 skb_queue_len(&sta->tx_filtered[ac]),
|
H A D | tdls.c | 99 static enum ieee80211_ac_numbers ieee80211_ac_from_wmm(int ac) argument 101 switch (ac) { 159 wmm->ac[i].aci_aifsn = ieee80211_wmm_aci_aifsn(txq->aifs, 161 wmm->ac[i].cw = ieee80211_wmm_ecw(txq->cw_min, txq->cw_max); 162 wmm->ac[i].txop_limit = cpu_to_le16(txq->txop);
|
H A D | driver-ops.h | 624 struct ieee80211_sub_if_data *sdata, u16 ac, 634 trace_drv_conf_tx(local, sdata, ac, params); 637 ac, params); 623 drv_conf_tx(struct ieee80211_local *local, struct ieee80211_sub_if_data *sdata, u16 ac, const struct ieee80211_tx_queue_params *params) argument
|
H A D | iface.c | 705 int ac; local 714 for (ac = 0; ac < n_acs; ac++) { 715 int ac_queue = sdata->vif.hw_queue[ac]; 719 netif_start_subqueue(dev, ac);
|
H A D | sta_info.c | 97 int ac, i; local 122 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) { 123 local->total_ps_buffered -= skb_queue_len(&sta->ps_tx_buf[ac]); 124 ieee80211_purge_tx_queue(&local->hw, &sta->ps_tx_buf[ac]); 125 ieee80211_purge_tx_queue(&local->hw, &sta->tx_filtered[ac]); 607 static unsigned long ieee80211_tids_for_ac(int ac) argument 610 switch (ac) { 631 int ac; local 725 sta_info_cleanup_expire_buffered_ac(struct ieee80211_local *local, struct sta_info *sta, int ac) argument 807 int ac; local 1094 int filtered = 0, buffered = 0, ac; local 1275 int ac; local 1735 int i, ac; local [all...] |
H A D | rx.c | 1172 int tid, ac; local 1216 ac = ieee802_1d_to_ac[tid & 7]; 1225 if (!(rx->sta->sta.uapsd_queues & BIT(ac)))
|
H A D | tx.c | 234 * Don't wakeup from power save if u-apsd is enabled, voip ac has 237 * practise u-apsd is only used with the voip ac. This is a 369 int ac; local 371 for (ac = IEEE80211_AC_BK; ac >= IEEE80211_AC_VO; ac--) { 372 skb = skb_dequeue(&sta->ps_tx_buf[ac]); 373 total += skb_queue_len(&sta->ps_tx_buf[ac]); 481 int ac = skb_get_queue_mapping(tx->skb); local 490 sta->sta.addr, sta->sta.aid, ac); 979 int ac = -1; local 3025 int ac = ieee802_1d_to_ac[tid & 7]; local [all...] |
H A D | mlme.c | 2821 int ac, uapsd_queues = -1; local 2894 for (ac = 0; ac < IEEE80211_NUM_ACS; ac++) 2895 if (sdata->tx_conf[ac].uapsd) 2896 uapsd_queues |= BIT(ac);
|
H A D | util.c | 299 int ac; local 308 for (ac = 0; ac < n_acs; ac++) { 309 int ac_queue = sdata->vif.hw_queue[ac]; 315 netif_wake_subqueue(sdata->dev, ac); 400 int ac; local 405 for (ac = 0; ac < n_acs; ac 563 int ac; local 1074 int ac; local [all...] |