Searched refs:xsd_errors (Results 1 – 4 of 4) sorted by relevance
49 struct xsd_errors struct57 static const struct xsd_errors xsd_errors[] argument
246 for ( i = 0; i < ((sizeof xsd_errors) / (sizeof xsd_errors[0])); i++ ) in xenbus_recv()247 if ( !strcmp(xsd_errors[i].errstring, payload) ) in xenbus_recv()248 return xsd_errors[i].errnum; in xenbus_recv()
524 for (i = 0; strcmp(errorstring, xsd_errors[i].errstring); i++) in get_error()525 if (i == ARRAY_SIZE(xsd_errors) - 1) in get_error()527 return xsd_errors[i].errnum; in get_error()
1055 for (i = 0; error != xsd_errors[i].errnum; i++) { in send_error()1056 if (i == ARRAY_SIZE(xsd_errors) - 1) { in send_error()1065 send_reply(conn, XS_ERROR, xsd_errors[i].errstring, in send_error()1066 strlen(xsd_errors[i].errstring) + 1); in send_error()
Completed in 21 milliseconds