Lines Matching refs:request_buffer
1070 static void init_24x7_request(struct hv_24x7_request_buffer *request_buffer, in init_24x7_request() argument
1074 memset(request_buffer, 0, H24x7_DATA_BUFFER_SIZE); in init_24x7_request()
1077 request_buffer->interface_version = interface_version; in init_24x7_request()
1085 static int make_24x7_request(struct hv_24x7_request_buffer *request_buffer, in make_24x7_request() argument
1096 virt_to_phys(request_buffer), H24x7_DATA_BUFFER_SIZE, in make_24x7_request()
1102 req = request_buffer->requests; in make_24x7_request()
1122 struct hv_24x7_request_buffer *request_buffer) in add_event_to_24x7_request() argument
1129 if (request_buffer->num_requests >= in add_event_to_24x7_request()
1130 max_num_requests(request_buffer->interface_version)) { in add_event_to_24x7_request()
1132 request_buffer->num_requests); in add_event_to_24x7_request()
1147 req_size = H24x7_REQUEST_SIZE(request_buffer->interface_version); in add_event_to_24x7_request()
1149 i = request_buffer->num_requests++; in add_event_to_24x7_request()
1150 req = (void *) request_buffer->requests + i * req_size; in add_event_to_24x7_request()
1160 if (request_buffer->interface_version > 1) { in add_event_to_24x7_request()
1254 struct hv_24x7_request_buffer *request_buffer; in single_24x7_request() local
1257 BUILD_BUG_ON(sizeof(*request_buffer) > 4096); in single_24x7_request()
1260 request_buffer = (void *)get_cpu_var(hv_24x7_reqb); in single_24x7_request()
1263 init_24x7_request(request_buffer, result_buffer); in single_24x7_request()
1265 ret = add_event_to_24x7_request(event, request_buffer); in single_24x7_request()
1269 ret = make_24x7_request(request_buffer, result_buffer); in single_24x7_request()
1381 struct hv_24x7_request_buffer *request_buffer; in h_24x7_event_read() local
1401 request_buffer = (void *)get_cpu_var(hv_24x7_reqb); in h_24x7_event_read()
1403 ret = add_event_to_24x7_request(event, request_buffer); in h_24x7_event_read()
1411 i = request_buffer->num_requests - 1; in h_24x7_event_read()
1462 struct hv_24x7_request_buffer *request_buffer; in h_24x7_event_start_txn() local
1472 request_buffer = (void *)get_cpu_var(hv_24x7_reqb); in h_24x7_event_start_txn()
1475 init_24x7_request(request_buffer, result_buffer); in h_24x7_event_start_txn()
1504 struct hv_24x7_request_buffer *request_buffer; in h_24x7_event_commit_txn() local
1522 request_buffer = (void *)get_cpu_var(hv_24x7_reqb); in h_24x7_event_commit_txn()
1525 ret = make_24x7_request(request_buffer, result_buffer); in h_24x7_event_commit_txn()