/haiku/src/servers/app/ |
H A D | DirectWindowInfo.cpp | 178 status_t status = release_sem(fSem); local 179 if (status != B_OK) 180 return status; 185 status = acquire_sem_etc(fAcknowledgeSem, 1, B_TIMEOUT, 500000); 186 } while (status == B_INTERRUPTED); 188 return status;
|
/haiku/src/add-ons/kernel/drivers/graphics/framebuffer/ |
H A D | device.cpp | 57 status_t status = B_OK; local 62 if (status == B_OK) 63 status = framebuffer_init(*info); 64 if (status == B_OK) 68 if (status == B_OK) { 74 return status;
|
/haiku/src/add-ons/kernel/drivers/network/ether/sis19x/ |
H A D | glue.c | 50 uint32_t status; local 52 status = CSR_READ_4(sc, IntrStatus); 53 if (status == 0xFFFFFFFF || (status & SGE_INTRS) == 0) { 59 CSR_WRITE_4(sc, IntrStatus, status); 63 sc->haiku_interrupt_status = status;
|
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/ |
H A D | scsi_disk.cpp | 83 status_t status = sSCSIPeripheral->check_capacity( 88 return status; 97 status_t status = update_capacity(info); local 98 if (status != B_OK) 99 return status; 211 status_t status = sSCSIPeripheral->trim_device(device->scsi_periph_device, local 218 return status; 230 status_t status = sSCSIPeripheral->io(info->scsi_periph_device, operation, local 233 info->io_scheduler->OperationCompleted(operation, status, bytesTransferred); 234 return status; 279 status_t status = sSCSIPeripheral->handle_open(info->scsi_periph_device, local 334 status_t status = update_capacity(info); local 348 status_t status = get_geometry(handle, &geometry); local 424 status_t status = info->dma_resource->Init(info->node, blockSize, 1024, local 535 status_t status = sDeviceManager->get_attr_uint8(node, "removable", local 589 status_t status; local [all...] |
/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 262 status_t status = find_map_base(offset, diskOffset, diskLength, fileOffset); local 263 //status_t status = inode->FindBlockRun(offset, run, fileOffset); 264 if (status != B_OK) 265 return status; 349 status_t status = B_OK; local 363 status = vfs_get_file_map(ref->vnode, mapOffset, ~0UL, vecs, &vecCount); 364 if (status < B_OK && status != B_BUFFER_OVERFLOW) { 366 return status; 371 // only clobber the status i 456 status_t status = get_file_map(ref, offset, numBytes, fileVecs, local 661 status_t status = pages_io(&ref, offset, vecs, count, &numBytes, false); local [all...] |
/haiku/src/system/runtime_loader/ |
H A D | runtime_loader.cpp | 178 status_t status; local 189 programPath, buffer, pathLength, status) 191 requestingObjectPath, buffer, pathLength, status)) { 192 if (status != B_OK) 193 return status; 232 status = _kern_read_stat(-1, path, false, &stat, sizeof(struct stat)); 233 if (status < B_OK) 234 return status; 242 status = _kern_read_link(-1, path, buffer, &length); 243 if (status < B_O 265 status_t status = B_ENTRY_NOT_FOUND; local 401 status_t status; local [all...] |
/haiku/src/kits/shared/ |
H A D | IconButton.cpp | 300 status_t status = be_app->GetAppInfo(&info); local 301 if (status != B_OK) 302 return status; 305 status = resources.InitCheck(); 306 if (status != B_OK) 307 return status; 315 status = bitmap.InitCheck(); 316 if (status != B_OK) 317 return status; 318 status 384 status_t status = bitmap->InitCheck(); local 401 status_t status = fileType ? fileType->InitCheck() : B_BAD_VALUE; local 435 status_t status = B_BAD_VALUE; local 688 status_t status = bitmap ? bitmap->InitCheck() : B_BAD_VALUE; local [all...] |
/haiku/src/kits/print/ |
H A D | Printer.cpp | 241 status_t status = B_ERROR;
local 244 return status;
253 status = B_OK;
260 return status;
325 status_t status = B_ERROR;
local 328 return status;
337 status = B_OK;
340 status = B_ERROR;
343 return status;
350 status_t status local 376 status_t status = B_ERROR; local [all...] |
/haiku/src/add-ons/index_server/fulltext/ |
H A D | CLuceneDataBase.cpp | 118 status_t status = B_OK; 121 status = B_ERROR; 131 return status; 194 bool status = false; 203 status = _RemoveDocument(wPath, reader); 204 if (status) 210 status = false; 216 if (!status) 223 return status; 280 bool status local [all...] |
/haiku/src/kits/media/ |
H A D | DormantNodeManager.cpp | 201 status_t status = get_ref_for_path(path, &ref); local 202 if (status != B_OK) { 204 "for path %s: %s\n", path, strerror(status)); 212 status = QueryServer(SERVER_REGISTER_ADD_ON, &request, sizeof(request), 214 if (status != B_OK) { 216 "media server: %s\n", strerror(status)); 251 status_t status = QueryServer(SERVER_GET_ADD_ON_REF, &request, local 253 if (status != B_OK) 254 return status; 291 status_t status local [all...] |
/haiku/src/tools/fs_shell/ |
H A D | lock.cpp | 73 fssh_status_t status = fssh_acquire_sem(lock->sem); local 74 if (status < FSSH_B_OK) 75 return status; 90 fssh_status_t status = fssh_acquire_sem_etc(lock->sem, 1, local 92 if (status < FSSH_B_OK) 93 return status; 171 fssh_status_t status; local 173 status = fssh_acquire_sem(mutex->sem); 174 if (status < FSSH_B_OK) 175 return status; 275 fssh_status_t status = fssh_acquire_sem_etc(lock->sem, FSSH_RW_MAX_READERS, local [all...] |
H A D | file_cache.cpp | 92 fssh_status_t status = vfs_read_pages(ref->node, cookie, local 97 return status; 111 fssh_status_t status = vfs_write_pages(ref->node, cookie, local 116 return status; 131 fssh_status_t status = function(ref, cookie, lastOffset, lastPageOffset, local 133 if (status == FSSH_B_OK) { 140 return status; 210 fssh_status_t status = satisfy_cache_io(ref, cookie, function, local 213 if (status != FSSH_B_OK) 214 return status; 355 fssh_status_t status = cache_io(ref, cookie, offset, local [all...] |
/haiku/src/system/kernel/arch/x86/timers/ |
H A D | x86_hpet.cpp | 242 status_t status = hpet_set_enabled(false); local 243 if (status != B_OK) 244 return status; 246 status = hpet_set_legacy(true); 247 if (status != B_OK) 248 return status; 270 status = hpet_set_enabled(true); 271 if (status != B_OK) 272 return status; 275 status [all...] |
/haiku/src/add-ons/kernel/network/devices/ethernet/ |
H A D | ethernet.cpp | 107 status_t status = acquire_sem_etc(sLinkChangeSemaphore, 1, local 109 if (status == B_BAD_SEM_ID) 148 status_t status = get_module(NET_BUFFER_MODULE_NAME, (module_info **)&gBufferModule); 149 if (status < B_OK) 150 return status; 299 status_t status = gBufferModule->read(buffer, 0, local 301 if (status != B_OK) 302 return status; 358 status_t status; local 366 status 479 status_t status = get_module(NET_STACK_MODULE_NAME, local 504 status_t status; local [all...] |
/haiku/src/tests/add-ons/kernel/file_systems/bfs/btree/ |
H A D | test.cpp | 333 status_t status; local 334 while ((status = iterator.GetNextEntry(key, &length, B_FILE_NAME_LENGTH, 362 if (status != B_ENTRY_NOT_FOUND) { 363 printf("TreeIterator::GetNext() returned: %s\n", strerror(status)); 387 status_t status = iterator.Find((uint8*)gKeys[i].data, gKeys[i].length); local 389 if (status == B_OK) { 393 } else if (status != B_OK) { 394 printf("TreeIterator::Find() returned: %s\n", strerror(status)); 427 status_t status = tree->Insert(transaction, (uint8*)gKeys[i].data, local 429 if (status ! 448 status_t status = tree->Remove(transaction, (uint8*)gKeys[i].data, local 477 status_t status; local 516 status_t status = tree->Remove(transaction, local 553 status_t status = tree->Insert(transaction, (uint8*)gKeys[index].data, local 598 status_t status = tree->Remove(transaction, (uint8*)gKeys[index].data, local 736 status_t status = tree.InitCheck(); local [all...] |
/haiku/src/add-ons/kernel/file_systems/ufs2/ |
H A D | kernel_interface.cpp | 40 status_t status = Volume::Identify(fd, &superBlock); local 41 if (status != B_OK) 57 partition->status = B_PARTITION_VALID; 92 status_t status = volume->Mount(device, flags); local 93 if (status != B_OK){ 94 ERROR("Failed mounting the volume. Error: %s\n", strerror(status)); 96 return status; 107 status_t status = volume->Unmount(); local 110 return status; 146 status_t status 210 status_t status = directory->CheckPermissions(X_OK); local 367 status_t status = inode->CheckPermissions(R_OK); local 398 status_t status = iterator->GetNext(dirent->d_name, &length, &iNodeNo); local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/echo/ |
H A D | echo.cpp | 166 ECHOSTATUS status; local 172 status = stream->card->pEG->CloseAudio(&close_params); 173 if (status != ECHOSTATUS_OK && status != ECHOSTATUS_CHANNEL_NOT_OPEN) { 175 PRINT((" status: %s \n", pStatusStrs[status])); 186 status = stream->card->pEG->OpenAudio(&open_params, &stream->pipe); 187 if (status != ECHOSTATUS_OK) { 189 PRINT((" status: %s \n", pStatusStrs[status])); 316 ECHOSTATUS status; local 334 ECHOSTATUS status; local 349 cpu_status status; local 388 cpu_status status; local 831 ECHOSTATUS status; local 892 ECHOSTATUS status; local [all...] |
/haiku/src/servers/launch/ |
H A D | LaunchDaemon.cpp | 161 virtual void TeamLaunched(Job* job, status_t status); 446 status_t status TRACE_ONLY = B_NAME_NOT_FOUND; 453 status = eventSource->AddDestination(event); 458 TRACE("Register external event '%s': %" B_PRId32 "\n", name, status); 484 LaunchDaemon::TeamLaunched(Job* job, status_t status) argument 486 fLog.JobLaunched(job, status); 576 // Get the exit status, and pass it on to the log 586 status_t status = rosterPrivate.IsShutDownInProgress( local 588 if (status != B_OK || !inProgress) { 622 status_t status local 1048 status_t status = B_OK; local 1094 status_t status = B_OK; local 1177 status_t status = B_OK; local 1245 status_t status = B_OK; local 1389 status_t status = request.AddInt32("user", 0); local 1458 status_t status = path.SetTo(&entry); local 1651 status_t status = B_NO_INIT; local 1810 status_t status = fJobQueue.AddJob(job); local 2002 status_t status = get_app_path(path); local 2021 status_t status = _kern_get_safemode_option(B_SAFEMODE_SAFE_MODE, buffer, local 2124 status_t status; local 2152 status_t status; local [all...] |
/haiku/src/add-ons/kernel/bus_managers/usb/ |
H A D | Interface.cpp | 53 Interface::GetStatus(uint16 *status) argument 55 TRACE("get status\n"); 62 (void *)status,
|
/haiku/src/system/libroot/posix/sys/ |
H A D | stat.c | 31 int status = _kern_read_stat(-1, path, true, stat, sizeof(struct stat)); local 33 RETURN_AND_SET_ERRNO(status); 40 int status = _kern_read_stat(fd, NULL, false, stat, sizeof(struct stat)); local 42 RETURN_AND_SET_ERRNO(status); 49 int status = _kern_read_stat(-1, path, false, stat, sizeof(struct stat)); local 51 RETURN_AND_SET_ERRNO(status); 58 int status = _kern_read_stat(fd, path, (flag & AT_SYMLINK_NOFOLLOW) == 0, local 61 RETURN_AND_SET_ERRNO(status);
|
/haiku/src/system/libroot/posix/unistd/ |
H A D | read.c | 26 ssize_t status = _kern_read(fd, -1, buffer, bufferSize); local 28 RETURN_AND_SET_ERRNO_TEST_CANCEL(status);
|
H A D | write.c | 24 int status = _kern_write(fd, -1, buffer, bufferSize); local 26 RETURN_AND_SET_ERRNO_TEST_CANCEL(status);
|
/haiku/src/tests/add-ons/kernel/network/ |
H A D | userland_modules.cpp | 94 status_t status; local 108 status = B_OK; 115 status = init_module(m); 116 if (status != B_OK) { 117 printf("Failed to init module %s: %s.\n", m->name, strerror(status)); 122 return status; 157 status_t status; local 181 status = B_OK; 190 status = B_BAD_INDEX; 194 return status; 268 status_t status; local 428 status_t status; local 541 status_t status; local 695 status_t status; local 735 status_t status; local [all...] |
/haiku/src/tests/system/kernel/ |
H A D | page_fault_cache_merge_test.cpp | 53 int status; local 54 while (wait(&status) != child);
|
/haiku/src/kits/interface/ |
H A D | Picture.cpp | 130 status_t status = B_ERROR; local 131 if (link.FlushWithReply(status) == B_OK && status == B_OK) 134 if (status < B_OK) 350 status_t status = fExtent->Unflatten(stream); 351 if (status < B_OK) 352 return status; 363 return status; 449 status_t status = B_ERROR; local 450 if (link.FlushWithReply(status) 470 status_t status = B_ERROR; local 598 status_t status = picture->Unflatten(stream); local 645 status_t status = PictureAt(i)->Flatten(stream); local [all...] |