Searched refs:xsd_errors (Results 1 – 4 of 4) sorted by relevance
66 struct xsd_errors struct74 static 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()
442 for (i = 0; !streq(errorstring, xsd_errors[i].errstring); i++) in get_error()443 if (i == ARRAY_SIZE(xsd_errors) - 1) in get_error()445 return xsd_errors[i].errnum; in get_error()
661 for (i = 0; error != xsd_errors[i].errnum; i++) { in send_error()662 if (i == ARRAY_SIZE(xsd_errors) - 1) { in send_error()668 send_reply(conn, XS_ERROR, xsd_errors[i].errstring, in send_error()669 strlen(xsd_errors[i].errstring) + 1); in send_error()
Completed in 10 milliseconds