H A D | sa_query.c | 88 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
|