Lines Matching refs:completion
408 struct vchiq_completion_data *completion,
415 .reason = completion->reason,
416 .header = ptr_to_compat(completion->header),
417 .service_userdata = ptr_to_compat(completion->service_userdata),
418 .bulk_userdata = ptr_to_compat(completion->bulk_userdata),
423 if (copy_to_user(&buf[index], completion, sizeof(*completion)))
467 struct vchiq_completion_data_kernel *completion;
476 completion = &instance->completions[remove & (MAX_COMPLETIONS - 1)];
480 * prefetch of a stale completion record
484 service = completion->service_userdata;
489 .reason = completion->reason,
493 header = completion->header;
531 /* The completion must point to the msgbuf. */
535 if ((completion->reason == VCHIQ_SERVICE_CLOSED) &&
543 user_completion.bulk_userdata = completion->bulk_userdata;
603 /* Wake the completion thread and ask it to exit */
1216 /* Wake the completion thread and ask it to exit */
1222 /* Wake the slot handler if the completion queue is full. */
1271 struct vchiq_completion_data_kernel *completion;
1274 completion = &instance->completions[instance->completion_remove
1276 service = completion->service_userdata;
1277 if (completion->reason == VCHIQ_SERVICE_CLOSED) {