Lines Matching defs:rw_arg
768 struct rw_complete_arg *rw_arg = (struct rw_complete_arg *)refcon;
774 rw_arg->io_size = (UInt32)io_size;
775 rw_arg->result = result;
777 CFRunLoopStop(rw_arg->cf_loop);
790 struct rw_complete_arg rw_arg;
819 bzero((void *)&rw_arg, sizeof(struct rw_complete_arg));
820 rw_arg.cf_loop = CFRunLoopGetCurrent();
834 (IOAsyncCallback1)rw_completed, (void *)&rw_arg);
837 (void *)&rw_arg);
852 if (result != kIOReturnSuccess || (rw_arg.result != kIOReturnSuccess &&
853 rw_arg.result != kIOReturnAborted) ) {
858 error_code = darwin_to_errno (rw_arg.result);
859 error_str = darwin_error_str (rw_arg.result);
871 return rw_arg.io_size;