Lines Matching refs:req
980 struct sa_path_request *req;
982 req = container_of(work, struct sa_path_request, work);
983 req->callback(0, &req->path_rec, req->context);
984 ib_sa_client_put(req->client);
985 kfree(req);
1024 struct sa_path_request *req;
1036 req = kmalloc(sizeof *req, gfp_mask);
1037 if (!req)
1052 memcpy(&req->path_rec, path_rec, sizeof *path_rec);
1055 INIT_WORK(&req->work, report_path);
1056 req->client = client;
1057 req->callback = callback;
1058 req->context = context;
1061 queue_work(sa_wq, &req->work);
1068 kfree(req);