/haiku/src/add-ons/kernel/file_systems/xfs/ |
H A D | Directory.cpp | 31 status_t status; local 39 status = extentDir->Init(); 40 if (status == B_OK) 52 status = leafDir->Init(); 53 if (status == B_OK) 65 status = nodeDir->Init(); 66 if (status == B_OK) 79 status_t status = treeDir->InitCheck(); 81 if (status == B_OK)
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | sg_buffer.c | 30 status_t status = B_NO_INIT; local 43 status = B_OK; 47 return status; 57 status_t status = B_NO_INIT; local 61 status = (0 != ptr) ? B_OK : B_NO_MEMORY; 62 if(B_OK == status) { 69 status = B_OK; 74 return status; 80 status_t status = B_ERROR; local 92 status 103 status_t status = B_NO_INIT; local 167 status_t status = B_NO_INIT; local [all...] |
H A D | proto_cbi.c | 90 status_t status = B_ERROR; local 93 status = (*udi->usb_m->send_request)(udi->device, 98 return status; 104 status_t status = B_ERROR; local 105 status = (*udi->usb_m->queue_interrupt)(udi->pipe_intr, idb, 107 if(status != B_OK){ 108 PTRACE(udi, "request_interrupt:failed:%08x\n", status); 110 status = acquire_sem_etc(udi->trans_sem, 1, B_RELATIVE_TIMEOUT, udi->trans_timeout/*LOCK_TIMEOUT*/); 111 if(status != B_OK){ 112 PTRACE(udi, "request_interrupt:acquire_sem_etc failed:%08x\n", status); 162 status_t status = B_ERROR; local 193 status_t status = B_OK; local 213 status_t status = B_OK; local [all...] |
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | WinChipHead.cpp | 26 status_t status = ENODEV; local 50 status = B_OK; 54 TRACE_FUNCRET("< WCHDevice::AddDevice() returns: 0x%08x\n", status); 56 return status; 67 status_t status = gUSBModule->send_request(Device(), local 71 if (status == B_OK) { 76 status); 77 return status; 80 status = gUSBModule->send_request(Device(), 84 if (status ! 172 status_t status = WriteConfig(fDataRate, fStatusLCR, fStatusMCR); local 198 status_t status = 0; local 221 status_t status = gUSBModule->send_request(Device(), local [all...] |
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 58 status_t status = Volume::Identify(fd, &superBlock); local 59 if (status != B_OK) 75 partition->status = B_PARTITION_VALID; 115 status_t status = volume->Mount(device, flags); local 116 if (status != B_OK) { 117 ERROR("Failed mounting the volume. Error: %s\n", strerror(status)); 119 return status; 132 status_t status = volume->Unmount(); local 135 return status; 177 status_t status local 255 status_t status = inode->Resize(transaction, 0); local 261 status_t status = volume->RemoveOrphan(transaction, inode->ID()); local 305 status_t status; local 352 status_t status; local 393 status_t status = inode->FindBlock(offset, block, &count); local 456 status_t status = directory->CheckPermissions(X_OK); local 544 status_t status = inode->FindBlock(*offset, block, &count); local 650 status_t status = inode->Resize(transaction, stat->st_size); local 713 status_t status = inode->WriteBack(transaction); local 758 status_t status = Inode::Create(transaction, directory, name, local 881 status_t status = directory->CheckPermissions(W_OK); local 951 status_t status = oldDirectory->CheckPermissions(W_OK); local 1182 status_t status = inode->Resize(transaction, 0); local 1242 status_t status = inode->WriteAt(transaction, pos, (const uint8*)buffer, local 1381 status_t status = directory->CheckPermissions(W_OK); local 1441 status_t status = inode->CheckPermissions(R_OK); local 1472 status_t status = iterator->GetNext(dirent->d_name, &length, &id); local 1575 status_t status = attribute.Find(index); local [all...] |
/haiku/src/preferences/input/ |
H A D | InputTouchpadPref.cpp | 80 status_t status = find_directory(B_USER_SETTINGS_DIRECTORY, &path); local 81 if (status < B_OK) 82 return status; 92 status_t status = GetSettingsPath(path); local 93 if (status != B_OK) 94 return status; 97 status = settingsFile.InitCheck(); 98 if (status != B_OK) 99 return status; 120 status_t status local [all...] |
/haiku/src/servers/launch/ |
H A D | Worker.cpp | 39 status_t status = resume_thread(fThread); 40 if (status == B_OK) 43 return status; 52 status_t status = fJobQueue.Pop(Timeout(), false, &job); local 53 if (status != B_OK) 54 return status; 56 status = Run(job); 57 if (status != B_OK) { 60 strerror(status)); 91 status_t status local [all...] |
/haiku/src/system/runtime_loader/arch/arm/ |
H A D | arch_relocate.cpp | 42 status_t status = resolve_symbol(rootImage, image, sym, cache, &S, local 44 if (status < B_OK) { 46 SYMNAME(image, sym), status); 47 return status; 84 status_t status; local 88 status = relocate_rel(rootImage, image, image->rel, image->rel_len, 90 if (status < B_OK) 91 return status; 95 status = relocate_rel(rootImage, image, image->pltrel, 97 if (status < B_O [all...] |
/haiku/src/apps/icon-o-matic/shape/commands/ |
H A D | FlipPointsCommand.cpp | 56 status_t status = PathCommand::InitCheck(); local 57 if (status < B_OK) 58 return status; 60 status = B_NO_MEMORY; 61 return status; 68 status_t status = B_OK; local 89 status = B_ERROR; 94 return status; 101 status_t status = Perform(); local 103 if (status > [all...] |
/haiku/src/servers/app/font/ |
H A D | AppFontManager.cpp | 59 status_t status = entry.SetTo(path); local 60 if (status != B_OK) 61 return status; 64 status = entry.GetNodeRef(&nodeRef); 65 if (status < B_OK) 66 return status; 73 status = _AddFont(face, nodeRef, path, familyID, styleID); 74 return status; 87 status_t status; local 95 status [all...] |
/haiku/src/kits/interface/ |
H A D | PrivateScreen.cpp | 98 status_t status; local 99 if (link.FlushWithReply(status) == B_OK && status == B_OK) 178 status_t status = screen->GetNextID(id); local 179 if (status != B_OK) 198 status_t status; local 199 if (link.FlushWithReply(status) != B_OK || status < B_OK) 230 status_t status = B_ERROR; local 231 if (link.FlushWithReply(status) 255 status_t status; local 278 status_t status; local 344 status_t status; local 403 status_t status = B_ERROR; local 460 status_t status = B_ERROR; local 484 status_t status = B_ERROR; local 520 status_t status = B_ERROR; local 543 status_t status = B_ERROR; local 560 status_t status = B_ERROR; local 580 status_t status = B_ERROR; local 601 status_t status; local 622 status_t status = B_ERROR; local 640 status_t status = B_ERROR; local 656 status_t status; local 673 status_t status; local 691 status_t status; local 707 status_t status = B_ERROR; local 764 status_t status = B_ERROR; local 781 status_t status = B_ERROR; local [all...] |
/haiku/src/kits/storage/mime/ |
H A D | SupportingApps.cpp | 71 status_t status = BuildSupportingAppsTable(); local 72 if (status != B_OK) 73 return status; 83 status_t status = mime.InitCheck(); local 84 if (status != B_OK) 85 return status; 92 for (i = superApps.begin(); i != superApps.end() && status == B_OK; i++) { 93 status = apps->AddString(kApplicationsField, (*i).c_str()); 96 if (status == B_OK) 97 status 281 status_t status = dir.Init(fDatabaseLocation, "application"); local [all...] |
H A D | AppMetaMimeCreator.cpp | 52 status_t status = file.SetTo(&entry, B_READ_ONLY | O_NOTRAVERSE); local 53 if (status < B_OK) 54 return status; 64 status = appInfo.InitCheck(); 65 if (status < B_OK) 66 return status; 72 status = file.ReadAttrString("BEOS:APP_SIG", &signature); 73 if (status != B_OK) 87 status = fDatabase->Location()->OpenType(signature, typeNode); 88 if (status ! [all...] |
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | Attribute.cpp | 61 status_t status = CheckAccess(name, openMode); local 62 if (status < B_OK) 63 return status; 65 status = _Lookup(name, strlen(name)); 66 if (status < B_OK) 67 return status; 93 status_t status = _Lookup(fName, nameLength, &entries, &length); local 94 if (status < B_OK) 95 return status; 98 status 121 status_t status = _Lookup(fName, nameLength, &entries, &length); local 159 status_t status = fInode->GetVolume()->FSTree()->FindExact(&path, key, local [all...] |
/haiku/src/kits/locale/ |
H A D | Country.cpp | 115 status_t status = InitCheck(); local 116 if (status != B_OK) 117 return status; 122 status = BLocaleRoster::Default()->GetPreferredLanguages( 124 if (status == B_OK) 125 status = preferredLanguages.FindString("language", 0, &appLanguage); 130 if (status == B_OK) { 138 return status; 148 status_t status = InitCheck(); 149 if (status ! 174 status_t status = InitCheck(); local 185 status_t status = InitCheck(); local 196 status_t status = InitCheck(); local [all...] |
/haiku/src/bin/ |
H A D | boot_process_done.cpp | 21 status_t status = _kern_generic_syscall(LAUNCH_SPEEDUP_SYSCALLS, B_SYSCALL_INFO, local 23 if (status != B_OK) {
|
H A D | autologin.cpp | 27 status_t status = BLaunchRoster().StartSession(passwd->pw_name); 28 if (status != B_OK)
|
/haiku/src/tests/kits/media/nodetest/ |
H A D | misc.h | 5 void val(status_t status);
|
/haiku/src/kits/media/ |
H A D | MediaFiles.cpp | 48 status_t status = QueryServer(SERVER_GET_MEDIA_FILE_TYPES, &request, local 50 if (status != B_OK) { 52 strerror(status)); 53 return status; 99 status_t status = QueryServer(SERVER_GET_MEDIA_FILE_ITEMS, &request, local 101 if (status != B_OK) { 103 strerror(status)); 104 return status; 152 status_t status = QueryServer(SERVER_GET_REF_FOR, &request, sizeof(request), local 154 if (status ! 177 status_t status = QueryServer(SERVER_GET_ITEM_AUDIO_GAIN, &request, local 201 status_t status = QueryServer(SERVER_SET_REF_FOR, &request, sizeof(request), local 223 status_t status = QueryServer(SERVER_SET_ITEM_AUDIO_GAIN, &request, local 245 status_t status = QueryServer(SERVER_INVALIDATE_MEDIA_ITEM, &request, local 266 status_t status = QueryServer(SERVER_REMOVE_MEDIA_ITEM, &request, local [all...] |
/haiku/src/system/libroot/posix/sys/ |
H A D | wait.cpp | 37 // When not getting a child status when WNOHANG was specified, don't 44 // prepare the status 46 int status; local 49 // fill in exit status for WIFEXITED() and WEXITSTATUS() 50 status = info.si_status & 0xff; 56 status = (info.si_status << 8) & 0xff00; 59 status |= 0x10000; 64 status = 0x20000; 69 status = (info.si_status << 16) & 0xff0000; 76 status [all...] |
/haiku/headers/compatibility/bsd/sys/ |
H A D | wait.h | 23 pid_t wait3(int *status, int options, struct rusage *rusage); 25 pid_t wait4(pid_t pid, int *status, int options, struct rusage *rusage);
|
/haiku/headers/private/kernel/arch/sparc/ |
H A D | arch_int.h | 69 #define arch_int_restore_interrupts(status) \ 70 arch_int_restore_interrupts_inline(status)
|
/haiku/src/tests/kits/storage/testapps/ |
H A D | NodeMonitorTest.cpp | 35 status_t status = watch_node(&fNodeRef, B_WATCH_DIRECTORY, this); local 36 if (status != B_OK) { 45 status_t status = watch_node(&fNodeRef, B_STOP_WATCHING, this); local 46 if (status != B_OK) 47 fprintf(stderr, "Could not stop watching: %s\n", strerror(status)); 79 status_t status = file.SetTo(&entry, B_CREATE_FILE | B_READ_WRITE); local 80 if (status != B_OK) 92 wait_for_thread(looper.Thread(), &status);
|
/haiku/src/add-ons/media/media-add-ons/usb_vision/ |
H A D | TunerLocale.cpp | 60 status_t status = B_OK; local 80 return status; 85 status_t status = B_ERROR; local 87 if((status = find_directory(B_USER_SETTINGS_DIRECTORY, &path)) != B_OK) 88 return status; 89 if((status = path.Append(kLocalesSettings)) != B_OK) 90 return status; 92 if((status = directory.InitCheck()) != B_OK) 93 return status; 96 while((status [all...] |
/haiku/src/system/libroot/posix/unistd/ |
H A D | fork.c | 109 status_t status; local 113 status = mutex_lock(&sForkLock); 114 if (status != B_OK) { 116 return status; 120 status = add_fork_hook(&sPrepareHooks, NULL, prepare); 122 if (status == B_OK && parent) 123 status = add_fork_hook(&sParentHooks, &sLastParentHook, parent); 125 if (status == B_OK && child) 126 status = add_fork_hook(&sChildHooks, &sLastChildHook, child); 132 return status; 140 status_t status; local [all...] |