/haiku/src/add-ons/kernel/drivers/network/ether/pcnet/ |
H A D | glue_pcn.c | 21 uint32_t status; local 27 status = CSR_READ_4(sc, PCN_IO32_RDP); 30 if ((status & PCN_CSR_INTR) == 0) {
|
/haiku/src/system/libroot/posix/ |
H A D | poll.cpp | 34 int status; local 39 status = _kern_poll(fds, numfds, timeout, sigMask); 41 RETURN_AND_SET_ERRNO_TEST_CANCEL(status);
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 69 iterative_io_finished_hook(void* cookie, io_request* request, status_t status, argument 85 status_t status = Volume::Identify(fd, &superBlock); local 86 if (status != B_OK) 135 partition->status = B_PARTITION_VALID; 171 status_t status = volume->Mount(device, flags); local 172 if (status != B_OK) { 173 ERROR("Failed mounting the volume. Error: %s\n", strerror(status)); 175 return status; 188 status_t status = volume->Unmount(); local 191 return status; 278 status_t status; local 347 status_t status = inode->FindBlock(offset, blockOffset, &blockLength); local 394 status_t status = directory->CheckPermissions(X_OK); local 563 status_t status = inode->CheckPermissions(R_OK); local 596 status_t status = iterator->GetNext(dirent->d_name, &length, &id); local [all...] |
/haiku/src/system/libroot/posix/unistd/ |
H A D | getlogin.cpp | 39 int status = getpwuid_r(getuid(), &passwdBuffer, passwdStringBuffer, local 41 if (status != B_OK) 42 return status;
|
H A D | terminal.c | 57 int status = ioctl(fd, TIOCGPGRP, &foregroundProcess); local 58 if (status == 0)
|
/haiku/src/bin/ |
H A D | safemode.c | 22 status_t status; local 39 status = _kern_get_safemode_option(optionName, buffer, &size); 40 if (status == B_OK) {
|
H A D | listres.cpp | 98 status_t status = file.InitCheck(); local 99 if (status < B_OK) { 101 program, argv[i], strerror(status)); 106 status = resources.SetTo(&file); 107 if (status != B_OK) { 109 program, argv[i], strerror(status));
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Inode.cpp | 127 status_t status = fVolume->GetInodeBlock(fID, blockNum); local 128 if (status != B_OK) 129 return status; 132 status = fVolume->ActivateLargeFiles(transaction); 133 if (status != B_OK) 134 return status; 170 status_t status = fVolume->GetInodeBlock(fID, blockNum); local 171 if (status != B_OK) 172 return status; 288 status_t status local 315 status_t status = file_cache_write(FileCache(), NULL, pos, buffer, local 343 status_t status = file_cache_write(fCache, NULL, start, NULL, local 371 status_t status; local 402 status_t status = Resize(transaction, blockSize); local 461 status_t status = fVolume->SaveOrphan(transaction, fID, firstOrphanID); local 515 status_t status = htree.Lookup(name, &entries); local 588 status_t status; local [all...] |
/haiku/src/add-ons/kernel/network/devices/tunnel/ |
H A D | tunnel.cpp | 160 status_t status = gStackModule->fifo_dequeue_buffer( local 162 if (status != B_OK) 163 return status; 166 status = gBufferModule->read(buffer, 0, data, length); 167 if (status != B_OK) 168 return status; 185 status_t status = gBufferModule->append(buffer, data, *_length); 186 if (status != B_OK) { 188 return status; 194 status 238 status_t status = add_select_sync_pool_entry(&cookie->device->select_pool, sync, event); local 336 status_t status = gStackModule->init_fifo(&device->send_queue, local 382 status_t status = devfs_unpublish_device(device->name, false); local 423 status_t status = B_OK; local [all...] |
/haiku/src/apps/icon-o-matic/generic/property/specific_properties/ |
H A D | IconProperty.cpp | 65 status_t status = Property::Archive(into, deep); local 67 if (status >= B_OK && fMessage) 68 status = into->AddMessage("message", fMessage); 71 if (status >= B_OK) 72 status = into->AddString("class", "IconProperty"); 74 return status;
|
/haiku/src/tests/kits/app/messaging/ |
H A D | PortLinkTest.cpp | 58 status_t status = sender.Flush(); local 59 if (status != B_OK) { 61 status, strerror(status)); 99 status = receiver.GetNextMessage(code, 0); 100 if (status != B_WOULD_BLOCK) {
|
/haiku/src/apps/powerstatus/ |
H A D | DriverInterface.cpp | 72 status_t status = Monitor::StartWatching(target); local 73 if (status != B_OK) 74 return status; 82 fWaitSem = create_sem(0, "power status wait"); 85 status = resume_thread(fThread); 89 if (status != B_OK && fWatcherList.CountItems() == 0) { 97 return status;
|
/haiku/src/kits/support/ |
H A D | Locker.cpp | 225 status_t status = B_OK; local 236 status = acquire_sem_etc(fSemaphoreID, 1, B_RELATIVE_TIMEOUT, 238 } while (status == B_INTERRUPTED); 282 if (status == B_OK) { 294 *error = status; 297 return (status == B_OK);
|
/haiku/src/bin/multiuser/ |
H A D | su.cpp | 78 status_t status = B_ERROR; local 81 status = authenticate_user("password: ", user, &passwd, NULL, 84 if (status < B_OK || !passwd) { 94 status = setup_environment(passwd, true, false); 95 if (status < B_OK) { 98 kProgramName, strerror(status));
|
/haiku/src/build/libbe/support/ |
H A D | Locker.cpp | 225 status_t status = B_OK; local 236 status = acquire_sem_etc(fSemaphoreID, 1, B_RELATIVE_TIMEOUT, 238 } while (status == B_INTERRUPTED); 282 if (status == B_OK) { 294 *error = status; 297 return (status == B_OK);
|
/haiku/src/tests/system/network/tcp_shell/ |
H A D | BufferQueueTest.cpp | 36 status_t status = gBufferModule->append(buffer, data, bytes); local 37 if (status != B_OK) { 39 strerror(status)); 59 status_t status = gQueue.Get(bytes, true, &buffer); local 60 if (status == B_OK) { 64 printf("getting %lu bytes failed: %s\n", bytes, strerror(status));
|
/haiku/src/add-ons/kernel/drivers/network/ether/wb840/ |
H A D | device.c | 34 status_t status; local 72 status = wb_create_semaphores(data); 73 if (status < B_OK) { 78 status = wb_stop(data); 79 if (status < B_OK) { 84 status = wb_initPHYs(data); 85 if (status < B_OK) { 94 status = install_io_interrupt_handler(data->irq, wb_interrupt, data, 0); 95 if (status < B_OK) { 97 ": can't install interrupt handler: %s\n", strerror(status))); 140 status_t status; local 210 status_t status = B_OK; local [all...] |
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/ |
H A D | IMAPFolder.cpp | 60 status_t status = fFile.SetTo(fPath.Path(), local 62 if (status == B_FILE_EXISTS && tries-- > 0) 64 if (status != B_OK) 65 return status; 121 status_t status = node.InitCheck(); local 122 if (status != B_OK) 123 return status; 126 status = node.GetNodeRef(&nodeRef); 127 if (status != B_OK) 128 return status; 210 status_t status = node.InitCheck(); local 247 status_t status = GetMessageEntryRef(uid, ref); local 345 status_t status = path.SetTo(&fRef); local 387 status_t status = _WriteUInt32(directory, kLastUIDAttribute, uid); local 440 status_t status = GetMessageEntryRef(uid, ref); local 595 _NotifyStoredBody(const entry_ref& ref, uint32 uid, status_t status) argument 627 status_t status = GetMessageEntryRef(uid, ref); local 656 status_t status = node.ReadAttrString(B_MAIL_ATTR_STATUS, &mailStatus); local [all...] |
/haiku/src/kits/network/libnetapi/ |
H A D | NetworkDevice.cpp | 440 status_t status = get_80211(device, IEEE80211_IOC_SCAN_RESULTS, buffer, local 442 if (status != B_OK) 443 return status; 495 status_t status = get_80211(device, IEEE80211_IOC_SCAN_RESULTS, buffer, local 497 if (status != B_OK) 498 return status; 552 status_t status = get_80211(device, IEEE80211_IOC_STA_INFO, &request, local 554 if (status != B_OK) 555 return status; 585 status_t status local 698 status_t status = do_request(request, Name(), SIOCGIFADDR); local 797 status_t status = set_80211(Name(), IEEE80211_IOC_SCAN_REQ, &request, local 867 status_t status = message.AddString("device", Name()); local 904 status_t status = message.AddString("device", Name()); local 931 status_t status = message.AddString("device", Name()); local 960 status_t status = message.AddString("device", Name()); local 985 status_t status = GetNextAssociatedNetwork(cookie, address); local 1003 status_t status = get_80211(Name(), IEEE80211_IOC_BSSID, mac, length); local [all...] |
/haiku/src/apps/mail/ |
H A D | MessageStatus.cpp | 28 MessageStatus::SetStatus(messageStatus status) argument 30 fStatus = status;
|
/haiku/src/kits/app/ |
H A D | LinkSender.cpp | 82 status_t status = Flush(); local 83 if (status < B_OK) 84 return status; 158 status_t status = FlushCompleted(size + CurrentMessageSize()); local 159 if (status < B_OK) 160 return fCurrentStatus = status; 216 status_t status = Attach<int32>(length); local 217 if (status < B_OK) 218 return status; 221 status 272 status_t status = Flush(); local [all...] |
/haiku/src/add-ons/kernel/file_systems/nfs4/ |
H A D | ReplyBuilder.h | 25 status_t GetAttr(status_t status, int mask, 27 status_t Recall(status_t status);
|
/haiku/src/add-ons/screen_savers/shelf/ |
H A D | Shelf.cpp | 79 status_t status; local 83 status = archive->FindData(kShelfArchiveName, 'shlf', &data, &length); 84 if (status == B_OK) { 229 status_t status; local 239 status = state->AddBool("got it", true); 242 status = fShelf->Save(); 244 if (status < B_OK) 245 return status; 246 status = state->AddData(kShelfArchiveName, 'shlf', fShelfData.Buffer(), 253 status [all...] |
/haiku/src/servers/app/ |
H A D | MessageLooper.cpp | 104 status_t status; local 106 status = acquire_sem_etc(semaphore, 1, B_RELATIVE_TIMEOUT, timeout); 107 } while (status == B_INTERRUPTED); 109 if (status == B_TIMED_OUT) 110 return status; 146 status_t status = receiver.GetNextMessage(code); local 147 if (status < B_OK) { 152 B_PRId32 ", %s!\n", name, receiver.Port(), strerror(status));
|
/haiku/src/kits/media/ |
H A D | BufferGroup.cpp | 153 status_t status = fBufferList->AddBuffer(fReclaimSem, info, _buffer); 154 if (status != B_OK) { 156 return status; 254 status_t status; 255 while ((status = acquire_sem(fReclaimSem)) == B_INTERRUPTED) 257 if (status != B_OK) 258 return status; 287 status_t status = B_ERROR; 289 status = acquire_sem_etc(fReclaimSem, count, B_RELATIVE_TIMEOUT, 0); 290 } while (status 322 status_t status = GetBufferList(fBufferCount, buffers); local [all...] |