Lines Matching defs:op_async
56 int (*completion)(struct gb_loopback_async_operation *op_async);
424 struct gb_loopback_async_operation *op_async;
431 op_async = gb_operation_get_data(operation);
432 gb = op_async->gb;
436 if (!result && op_async->completion)
437 result = op_async->completion(op_async);
440 gb->elapsed_nsecs = gb_loopback_calc_latency(op_async->ts, te);
456 atomic_dec(&op_async->gb->outstanding_operations);
461 kfree(op_async);
469 struct gb_loopback_async_operation *op_async;
473 op_async = kzalloc(sizeof(*op_async), GFP_KERNEL);
474 if (!op_async)
480 kfree(op_async);
487 gb_operation_set_data(operation, op_async);
489 op_async->gb = gb;
490 op_async->operation = operation;
491 op_async->completion = completion;
493 op_async->ts = ktime_get();
503 kfree(op_async);
591 struct gb_loopback_async_operation *op_async)
600 gb = op_async->gb;
601 operation = op_async->operation;