Searched refs:sa_query (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/infiniband/core/
H A Dsa_query.c88 struct ib_sa_query sa_query; member in struct:ib_sa_service_query
94 struct ib_sa_query sa_query; member in struct:ib_sa_path_query
100 struct ib_sa_query sa_query; member in struct:ib_sa_guidinfo_query
106 struct ib_sa_query sa_query; member in struct:ib_sa_mcmember_query
668 static void ib_sa_path_rec_callback(struct ib_sa_query *sa_query, ib_sa_path_rec_callback() argument
673 container_of(sa_query, struct ib_sa_path_query, sa_query); ib_sa_path_rec_callback()
688 static void ib_sa_path_rec_release(struct ib_sa_query *sa_query) ib_sa_path_rec_release() argument
690 kfree(container_of(sa_query, struct ib_sa_path_query, sa_query)); ib_sa_path_rec_release()
705 * @sa_query:query context, used to cancel query
727 struct ib_sa_query **sa_query) ib_sa_path_rec_get()
746 query->sa_query.port = port; ib_sa_path_rec_get()
747 ret = alloc_mad(&query->sa_query, gfp_mask); ib_sa_path_rec_get()
752 query->sa_query.client = client; ib_sa_path_rec_get()
756 mad = query->sa_query.mad_buf->mad; ib_sa_path_rec_get()
759 query->sa_query.callback = callback ? ib_sa_path_rec_callback : NULL; ib_sa_path_rec_get()
760 query->sa_query.release = ib_sa_path_rec_release; ib_sa_path_rec_get()
767 *sa_query = &query->sa_query; ib_sa_path_rec_get()
769 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); ib_sa_path_rec_get()
776 *sa_query = NULL; ib_sa_path_rec_get()
777 ib_sa_client_put(query->sa_query.client); ib_sa_path_rec_get()
778 free_mad(&query->sa_query); ib_sa_path_rec_get()
786 static void ib_sa_service_rec_callback(struct ib_sa_query *sa_query, ib_sa_service_rec_callback() argument
791 container_of(sa_query, struct ib_sa_service_query, sa_query); ib_sa_service_rec_callback()
803 static void ib_sa_service_rec_release(struct ib_sa_query *sa_query) ib_sa_service_rec_release() argument
805 kfree(container_of(sa_query, struct ib_sa_service_query, sa_query)); ib_sa_service_rec_release()
821 * @sa_query:request context, used to cancel request
844 struct ib_sa_query **sa_query) ib_sa_service_rec_query()
868 query->sa_query.port = port; ib_sa_service_rec_query()
869 ret = alloc_mad(&query->sa_query, gfp_mask); ib_sa_service_rec_query()
874 query->sa_query.client = client; ib_sa_service_rec_query()
878 mad = query->sa_query.mad_buf->mad; ib_sa_service_rec_query()
881 query->sa_query.callback = callback ? ib_sa_service_rec_callback : NULL; ib_sa_service_rec_query()
882 query->sa_query.release = ib_sa_service_rec_release; ib_sa_service_rec_query()
890 *sa_query = &query->sa_query; ib_sa_service_rec_query()
892 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); ib_sa_service_rec_query()
899 *sa_query = NULL; ib_sa_service_rec_query()
900 ib_sa_client_put(query->sa_query.client); ib_sa_service_rec_query()
901 free_mad(&query->sa_query); ib_sa_service_rec_query()
909 static void ib_sa_mcmember_rec_callback(struct ib_sa_query *sa_query, ib_sa_mcmember_rec_callback() argument
914 container_of(sa_query, struct ib_sa_mcmember_query, sa_query); ib_sa_mcmember_rec_callback()
926 static void ib_sa_mcmember_rec_release(struct ib_sa_query *sa_query) ib_sa_mcmember_rec_release() argument
928 kfree(container_of(sa_query, struct ib_sa_mcmember_query, sa_query)); ib_sa_mcmember_rec_release()
941 struct ib_sa_query **sa_query) ib_sa_mcmember_rec_query()
960 query->sa_query.port = port; ib_sa_mcmember_rec_query()
961 ret = alloc_mad(&query->sa_query, gfp_mask); ib_sa_mcmember_rec_query()
966 query->sa_query.client = client; ib_sa_mcmember_rec_query()
970 mad = query->sa_query.mad_buf->mad; ib_sa_mcmember_rec_query()
973 query->sa_query.callback = callback ? ib_sa_mcmember_rec_callback : NULL; ib_sa_mcmember_rec_query()
974 query->sa_query.release = ib_sa_mcmember_rec_release; ib_sa_mcmember_rec_query()
982 *sa_query = &query->sa_query; ib_sa_mcmember_rec_query()
984 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); ib_sa_mcmember_rec_query()
991 *sa_query = NULL; ib_sa_mcmember_rec_query()
992 ib_sa_client_put(query->sa_query.client); ib_sa_mcmember_rec_query()
993 free_mad(&query->sa_query); ib_sa_mcmember_rec_query()
1001 static void ib_sa_guidinfo_rec_callback(struct ib_sa_query *sa_query, ib_sa_guidinfo_rec_callback() argument
1006 container_of(sa_query, struct ib_sa_guidinfo_query, sa_query); ib_sa_guidinfo_rec_callback()
1018 static void ib_sa_guidinfo_rec_release(struct ib_sa_query *sa_query) ib_sa_guidinfo_rec_release() argument
1020 kfree(container_of(sa_query, struct ib_sa_guidinfo_query, sa_query)); ib_sa_guidinfo_rec_release()
1032 struct ib_sa_query **sa_query) ib_sa_guid_info_rec_query()
1057 query->sa_query.port = port; ib_sa_guid_info_rec_query()
1058 ret = alloc_mad(&query->sa_query, gfp_mask); ib_sa_guid_info_rec_query()
1063 query->sa_query.client = client; ib_sa_guid_info_rec_query()
1067 mad = query->sa_query.mad_buf->mad; ib_sa_guid_info_rec_query()
1070 query->sa_query.callback = callback ? ib_sa_guidinfo_rec_callback : NULL; ib_sa_guid_info_rec_query()
1071 query->sa_query.release = ib_sa_guidinfo_rec_release; ib_sa_guid_info_rec_query()
1080 *sa_query = &query->sa_query; ib_sa_guid_info_rec_query()
1082 ret = send_mad(&query->sa_query, timeout_ms, gfp_mask); ib_sa_guid_info_rec_query()
1089 *sa_query = NULL; ib_sa_guid_info_rec_query()
1090 ib_sa_client_put(query->sa_query.client); ib_sa_guid_info_rec_query()
1091 free_mad(&query->sa_query); ib_sa_guid_info_rec_query()
718 ib_sa_path_rec_get(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_path_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_path_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_path_rec_get() argument
835 ib_sa_service_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_service_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_service_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_service_rec_query() argument
931 ib_sa_mcmember_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, u8 method, struct ib_sa_mcmember_rec *rec, ib_sa_comp_mask comp_mask, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_mcmember_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_mcmember_rec_query() argument
1023 ib_sa_guid_info_rec_query(struct ib_sa_client *client, struct ib_device *device, u8 port_num, struct ib_sa_guidinfo_rec *rec, ib_sa_comp_mask comp_mask, u8 method, int timeout_ms, gfp_t gfp_mask, void (*callback)(int status, struct ib_sa_guidinfo_rec *resp, void *context), void *context, struct ib_sa_query **sa_query) ib_sa_guid_info_rec_query() argument
H A DMakefile18 ib_sa-y := sa_query.o multicast.o
H A Dsa.h61 struct ib_sa_query **sa_query);
/linux-4.1.27/drivers/infiniband/hw/mlx4/
H A Dalias_GUID.c56 struct ib_sa_query *sa_query; member in struct:mlx4_alias_guid_work_context
438 if (cb_ctx->sa_query) { aliasguid_query_handler()
544 &callback_context->sa_query); set_guid_rec()
799 struct ib_sa_query *sa_query; mlx4_ib_destroy_alias_guid_service() local
810 sa_query = cb_ctx->sa_query; mlx4_ib_destroy_alias_guid_service()
811 cb_ctx->sa_query = NULL; mlx4_ib_destroy_alias_guid_service()
814 ib_sa_cancel_query(cb_ctx->query_id, sa_query); mlx4_ib_destroy_alias_guid_service()
/linux-4.1.27/include/rdma/
H A Dib_sa.h320 struct ib_sa_query **sa_query);
429 struct ib_sa_query **sa_query);
/linux-4.1.27/net/mac80211/
H A Drx.c2524 if (len < 24 + 1 + sizeof(resp->u.action.u.sa_query)) { ieee80211_process_sa_query_req()
2541 skb_put(skb, 1 + sizeof(resp->u.action.u.sa_query)); ieee80211_process_sa_query_req()
2543 resp->u.action.u.sa_query.action = WLAN_ACTION_SA_QUERY_RESPONSE; ieee80211_process_sa_query_req()
2544 memcpy(resp->u.action.u.sa_query.trans_id, ieee80211_process_sa_query_req()
2545 mgmt->u.action.u.sa_query.trans_id, ieee80211_process_sa_query_req()
2825 sizeof(mgmt->u.action.u.sa_query))) ieee80211_rx_h_action()
2828 switch (mgmt->u.action.u.sa_query.action) { ieee80211_rx_h_action()
/linux-4.1.27/include/linux/
H A Dieee80211.h973 } __packed sa_query; member in union:ieee80211_mgmt::__anon11767::__anon11777::__anon11778

Completed in 274 milliseconds