Searched refs:ioctl_reply (Results 1 – 3 of 3) sorted by relevance
852 …struct _ioctl_reply *ioctl_reply = (struct _ioctl_reply *) data; /* format for returning replies */ in start_object() local864 ioctl_reply->error = EBUSY; in start_object()866 ioctl_reply->error = 0; in start_object()871 ioctl_reply->error = EIO; in start_object()872 strcpy(ioctl_reply->msg, "Drive is down"); in start_object()880 ioctl_reply->error = revive_block(objindex); /* revive another block */ in start_object()881 ioctl_reply->msg[0] = '\0'; /* no comment */ in start_object()886 ioctl_reply->error = initsd(objindex, data->verify); /* initialize another block */ in start_object()887 ioctl_reply->msg[0] = '\0'; /* no comment */ in start_object()893 ioctl_reply->error = EBUSY; in start_object()[all …]
71 static struct _ioctl_reply *ioctl_reply; /* struct to return via ioctl */ variable108 if ((ioctl_reply != NULL) /* we're called from the user */ in throw_rude_remark()115 strcpy(ioctl_reply->msg, text); in throw_rude_remark()116 ioctl_reply->error = error; /* first byte is the error number */ in throw_rude_remark()1679 ioctl_reply = (struct _ioctl_reply *) cptr; in parse_user_config()1682 strcpy(ioctl_reply->msg, "no drives found"); in parse_user_config()1683 ioctl_reply = NULL; /* don't do this again */ in parse_user_config()1693 ioctl_reply = (struct _ioctl_reply *) msg; /* reinstate the address to reply to */ in remove()1694 ioctl_reply->error = 0; /* no error, */ in remove()1695 ioctl_reply->msg[0] = '\0'; /* no message */ in remove()[all …]
77 struct _ioctl_reply *ioctl_reply; /* struct to return */ in vinumioctl() local84 ioctl_reply = (struct _ioctl_reply *) data; /* save the address to reply to */ in vinumioctl()97 ioctl_reply = (struct _ioctl_reply *) data; /* reinstate the address to reply to */ in vinumioctl()98 ioctl_reply->error = 0; in vinumioctl()108 ioctl_reply->error = parse_user_config((char *) data, /* update the config */ in vinumioctl()110 else if (ioctl_reply->error == 0) { /* longjmp, but no error status */ in vinumioctl()112 ioctl_reply->error = EINVAL; /* note that something's up */ in vinumioctl()113 ioctl_reply->msg[0] = '\0'; /* no message? */ in vinumioctl()210 ioctl_reply = (struct _ioctl_reply *) data; /* reinstate the address to reply to */ in vinumioctl()211 ioctl_reply->error = 0; in vinumioctl()[all …]