Lines Matching refs:status

107 		status_t status = fCommandWait.Wait(&fLock,
109 if (status != B_OK)
110 return posix_error(status);
143 status_t status;
154 status = _WaitForStateChange(timeout);
155 if (status != B_OK)
156 return status;
165 status = send_l2cap_disconnection_req(fConnection, ident,
167 if (status != B_OK)
168 return status;
173 status = _WaitForStateChange(timeout);
174 if (status != B_OK)
175 return status;
216 status_t status = gL2capEndpointManager.Bind(this, *address);
217 if (status != B_OK)
218 return status;
234 status_t status = gL2capEndpointManager.Unbind(this);
235 if (status != B_OK)
236 return status;
280 status_t status;
286 status = _WaitForStateChange(timeout);
287 if (status != B_OK)
288 return status;
317 status = gL2capEndpointManager.BindToChannel(this);
318 if (status != B_OK)
319 return status;
327 status = send_l2cap_connection_req(fConnection, ident,
329 if (status != B_OK)
330 return status;
335 status = _WaitForStateChange(timeout);
336 if (status != B_OK)
337 return status;
349 status_t status;
359 status = acquire_sem_etc(fAcceptSemaphore, 1, B_ABSOLUTE_TIMEOUT
361 if (status != B_OK) {
362 if (status == B_TIMED_OUT && socket->receive.timeout == 0)
365 return status;
369 status = gSocketModule->dequeue_connected(socket, _acceptedSocket);
370 } while (status != B_OK);
372 return status;
429 status_t status = gStackModule->fifo_enqueue_buffer(&fSendQueue, current);
430 if (status != B_OK) {
561 status_t status = gSocketModule->spawn_pending_socket(socket, &newSocket);
562 if (status != B_OK) {
563 ERROR("l2cap: could not spawn child for endpoint: %s\n", strerror(status));
572 status = gL2capEndpointManager.BindToChannel(endpoint);
573 if (status != B_OK) {
574 ERROR("l2cap: could not allocate channel for endpoint: %s\n", strerror(status));
661 status_t status = send_l2cap_configuration_req(fConnection, ident,
663 if (status != B_OK) {
664 socket->error = status;
826 status_t status = send_l2cap_disconnection_rsp(fConnection, ident, fChannelID, scid);
827 if (status != B_OK) {