Lines Matching defs:status

593 	status_t status = fRequestOwner.Wait(true);
598 if (status == B_OK) {
600 status = fRequestOwner.Error();
603 if (status == B_OK)
604 status = _CheckBackgroundWrite();
606 if (status == B_OK)
609 return status;
674 status_t status = _CheckBackgroundRead();
675 if (status != B_OK)
676 return status;
702 status = fRequestOwner.Wait(true, timeout);
705 if (status == B_OK)
706 status = _CheckBackgroundRead();
710 TRACE(("ReaderLocker::AcquireReader() ended status 0x%" B_PRIx32 "\n",
711 status));
713 return status;
1103 status_t status = locker.AcquireWriter(dontBlock, 0);
1104 if (status != B_OK) {
1106 return status;
1142 status = locker.AcquireWriter(dontBlock, bytesNeeded);
1143 if (status != B_OK) {
1145 return *_length == 0 ? status : B_OK;
1205 status_t status = locker.AcquireWriter(dontBlock, 0);
1206 if (status != B_OK) {
1208 return status;
1227 status = locker.AcquireWriter(dontBlock, bytesNeeded);
1228 if (status != B_OK) {
1230 return *_length == 0 ? status : B_OK;
1301 status_t status = user_memcpy(safeBuffer, buffer, toWrite);
1302 if (status != B_OK)
1303 return status;
1307 status = tty_write_to_tty_slave_unsafe(sourceCookie, safeBuffer,
1309 if (status != B_OK)
1310 return *_length == 0 ? status : B_OK;
1361 status_t status = init_line_buffer(tty->input_buffer, TTY_BUFFER_SIZE);
1363 if (status < B_OK) {
1369 return status;
1407 status_t status = cookie->blocking_semaphore;
1409 return status;
1607 status_t status;
1613 status = locker.AcquireReader(timeout, bytesNeeded);
1615 if (status != B_OK && toRead == 0) {
1629 status = bytesRead;
1651 if (status == B_WOULD_BLOCK || status == B_TIMED_OUT) {
1655 status = B_OK;
1658 TRACE(("tty_input_read() status 0x%" B_PRIx32 "\n", status));
1660 return *_length == 0 ? status : B_OK;
1715 status_t status = user_memcpy(&tty->settings->termios, buffer,
1717 if (status != B_OK)
1718 return status;
1722 return status;
1824 status_t status = readLocker.AcquireReader(timeout, wanted);
1825 if (status != B_OK)
1826 return status;
1845 status_t status = readLocker.AcquireReader(0, 1);
1846 if (status == B_OK)
1848 else if (status != B_WOULD_BLOCK)
1849 return status;
1865 status_t status = writeLocker.AcquireWriter(0, 1);
1866 if (status == B_OK)
1868 else if (status != B_WOULD_BLOCK)
1869 return status;