Lines Matching defs:req
104 osmv_query_req_t req;
120 memset(&req, 0, sizeof(req));
131 req.query_type = OSMV_QUERY_VLARB_BY_LID_PORT_BLOCK;
132 req.timeout_ms = p_osmt->opt.transaction_timeout;
133 req.retry_cnt = p_osmt->opt.retry_count;
134 req.flags = OSM_SA_FLAGS_SYNC;
135 req.query_context = &context;
136 req.pfn_query_cb = osmtest_query_res_cb;
137 req.p_query_input = &user;
138 req.sm_key = 0;
140 status = osmv_query_sa(p_osmt->h_bind, &req);
305 osmv_query_req_t req;
321 memset(&req, 0, sizeof(req));
332 req.query_type = OSMV_QUERY_SLVL_BY_LID_AND_PORTS;
333 req.timeout_ms = p_osmt->opt.transaction_timeout;
334 req.retry_cnt = p_osmt->opt.retry_count;
335 req.flags = OSM_SA_FLAGS_SYNC;
336 req.query_context = &context;
337 req.pfn_query_cb = osmtest_query_res_cb;
338 req.p_query_input = &user;
339 req.sm_key = 0;
341 status = osmv_query_sa(p_osmt->h_bind, &req);