Lines Matching defs:error
916 * CS_BAD_CIS - if generic parser error
936 * for this client, then return an error.
1076 * for this client, then return an error.
1253 * for this client, then return an error.
1436 * for this client, then return an error.
1484 * If there is an error in setting up the window hardware, the
1784 * created. The client must check the error codes in the
1785 * error code array to determine which clients could not
1798 if ((scli->error = cs_add_client_to_socket(sn, &scli->client_handle,
1806 * return an error.
1824 * Note that if we return an error, there is no state that can be cleaned
1825 * up. The only way that we can return an error with allocated resources
1826 * would be if one of the client handle functions had an internal error.
1836 int error, cie = 1;
1851 * display a message and return an error.
1903 * If this fails, then we have an internal error so don't bother
1911 if (!(client = cs_find_client(*ch, &error))) {
1919 return (error);
2060 int error, super_client = 0;
2081 if (!(client = cs_find_client(client_handle, &error))) {
2083 return (error);
2122 error = cs_destroy_client_handle(client_handle);
2133 return (error);
2168 * returns: (client_t *)NULL - if client not found or an error occured
2169 * If the error argument is not NULL,
2174 * If no error, the error argument is not modified.
2183 cs_find_client(client_handle_t client_handle, int *error)
2203 if (error)
2204 *error = CS_BAD_SOCKET;
2209 if (error)
2210 *error = CS_BAD_SOCKET;
2222 if (error)
2223 *error = CS_BAD_HANDLE;
2242 int error = CS_BAD_HANDLE;
2248 if ((!(clp = cs_find_client(client_handle, &error))) ||
2250 return (error);
2324 * If for some reason we can't get a minor number, return an error.
2325 * The only way we could get an error would be if there are
2328 * this error is unlikely to occur.
2343 * error; this should never happen, BTW. This is really
3750 int error;
3771 if (!(client = cs_find_client(client_handle, &error))) {
3773 return (error);
3780 * a corresponding ReleaseSocketMask, then return an error.
3859 int error;
3880 if (!(client = cs_find_client(client_handle, &error))) {
3882 return (error);
3889 * a corresponding ReleaseSocketMask, then return an error.
3928 int error;
3949 if (!(client = cs_find_client(client_handle, &error))) {
3951 return (error);
3959 * for this client, then return an error.
4006 int error;
4027 if (!(client = cs_find_client(client_handle, &error))) {
4029 return (error);
4037 * for this client, then return an error.
4101 * error
4333 int error;
4354 if (!(client = cs_find_client(client_handle, &error))) {
4356 return (error);
4368 if ((error = cs_read_event_status(sp, client, NULL, &get_ss_status,
4372 return (error);
4607 * CS_BAD_WINDOW - if an internal error occured
4624 int error;
4666 if (!(client = cs_find_client(client_handle, &error))) {
4669 return (error);
4676 * for this client, then return an error.
4694 * for return an error.
4696 if ((error = cs_find_mem_window(sp->socket_num, rw, &aw)) !=
4700 return (error);
4729 if ((error = cs_modify_mem_window(*wh, &mw, rw, socket_num)) !=
4734 return (error);
4778 int error;
4808 if (!(client = cs_find_client(cw->client_handle, &error))) {
4811 return (error);
4841 int error;
4864 if (!(client = cs_find_client(cw->client_handle, &error))) {
4867 return (error);
4874 * for this client, then return an error.
4894 if ((error = cs_modify_mem_window(wh, mw, NULL, NULL)) != CS_SUCCESS) {
4897 return (error);
5032 int error;
5063 if (!(client = cs_find_client(cw->client_handle, &error))) {
5066 return (error);
5073 * for this client, then return an error.
5169 * CS_BAD_WINDOW - if an internal error occured
5176 int error = CS_OUT_OF_RESOURCE;
5208 if ((error = cs_valid_window_speed(iw, rw->win_params.AccessSpeed)) ==
5210 error = CS_OUT_OF_RESOURCE;
5212 error = CS_BAD_SIZE;
5226 error = CS_BAD_WINDOW;
5265 * If the error is CS_BAD_TYPE, it means that the last reason
5268 * we checked. We convert this error code to CS_OUT_OF_RESOURCE
5273 if (error == CS_BAD_TYPE)
5274 error = CS_OUT_OF_RESOURCE;
5275 return (error);
5403 int error;
5457 if (!(client = cs_find_client(client_handle, &error))) {
5460 return (error);
5486 * for this client, then return an error.
5565 if ((error = cs_find_io_win(sp->socket_num, &iowin_char,
5655 if ((error = cs_allocate_io_win(sp->socket_num, ior->Attributes1,
5660 return (error);
5667 if ((error = cs_setup_io_win(socket_num,
5682 return (error);
5700 if ((error = cs_allocate_io_win(sp->socket_num,
5712 return (error);
5718 if ((error = cs_setup_io_win(socket_num,
5739 return (error);
5795 int error;
5823 if (!(client = cs_find_client(client_handle, &error))) {
5826 return (error);
5854 * they don't match, then return an error.
5881 * consistency error.
6038 * CS_BAD_WINDOW - if error while trying to configure window
6147 int error;
6177 if (!(client = cs_find_client(client_handle, &error))) {
6179 return (error);
6201 * for this client, then return an error.
6224 if ((error = SocketServices(SS_SetIRQHandler,
6281 int error;
6306 if (!(client = cs_find_client(client_handle, &error))) {
6308 return (error);
6340 * means that there is an internal consistancy error in either
6343 if ((error = SocketServices(SS_ClearIRQHandler, &clear_irq_handler)) !=
6367 * CS_BAD_SOCKET - if Socket Services returns an error
6393 int error;
6442 if (!(client = cs_find_client(client_handle, &error))) {
6444 return (error);
6458 * for this client, then return an error.
6810 * CS_BAD_SOCKET - if Socket Services returns an error
6823 int error;
6845 if (!(client = cs_find_client(client_handle, &error))) {
6847 return (error);
6954 * CS_BAD_SOCKET - if Socket Services returns an error
6971 int error;
6992 if (!(client = cs_find_client(client_handle, &error))) {
6994 return (error);
7008 * for this client, then return an error.
7143 int error;
7171 if (!(client = cs_find_client(client_handle, &error))) {
7173 return (error);
7178 * for this client, then return an error.
7230 error = CS_SUCCESS;
7239 error = CS_BAD_ARGS;
7247 return (error);
7302 * an error.
7624 int error, i;
7645 if (!(client = cs_find_client(client_handle, &error))) {
7647 return (error);
7653 * for this client, then return an error.
7668 * error code as well.
7670 error = CS_BAD_ARGS; /* for default case */
7677 error = CS_BAD_ATTRIBUTE;
7682 error = CS_SUCCESS;
7687 return (error);
7776 * an error if the socket number is out of range.
7977 * this is an error and return CS_BAD_SOCKET; if not,
8059 "window - error 0x%x\n",
8368 * Search for the client; if it's not found, return an error.
8512 * (various) if error initializing
8571 * CS_BAD_CIS - if error creating CIS chains