/haiku-fatelf/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 78 status_t error = B_OK; local 84 error = parse_parameters(args, fsName, &fsParameters); 85 if (error != B_OK) 86 RETURN_ERROR(error); 95 error = userlandFS->RegisterFileSystem(fsName.GetString(), &fileSystem); 96 if (error != B_OK) 97 RETURN_ERROR(error); 101 error = fileSystem->Mount(fsVolume, device, flags, fsParameters, &volume); 102 if (error != B_OK) { 104 RETURN_ERROR(error); 125 status_t error = volume->Unmount(); local 141 status_t error = volume->Sync(); local 152 status_t error = volume->ReadFSInfo(info); local 164 status_t error = volume->WriteFSInfo(info, mask); local 181 status_t error = volume->Lookup(fsDir->private_node, entryName, vnid); local 194 status_t error = volume->GetVNodeName(fsNode->private_node, buffer, local 211 status_t error = volume->ReadVNode(vnid, reenter, &node, &ops, _type, local 235 status_t error = volume->WriteVNode(fsNode->private_node, reenter); local 248 status_t error = volume->RemoveVNode(fsNode->private_node, reenter); local 265 status_t error = volume->DoIO(fsNode->private_node, cookie, request); local 279 status_t error = volume->CancelIO(fsNode->private_node, cookie, request); local 296 status_t error = volume->IOCtl(fsNode->private_node, cookie, op, buffer, local 310 status_t error = volume->SetFlags(fsNode->private_node, cookie, flags); local 323 status_t error = volume->Select(fsNode->private_node, cookie, event, sync); local 336 status_t error = volume->Deselect(fsNode->private_node, cookie, event, local 348 status_t error = volume->FSync(fsNode->private_node); local 361 status_t error = volume->ReadSymlink(fsLink->private_node, buffer, local 375 status_t error = volume->CreateSymlink(fsDir->private_node, name, path, local 389 status_t error = volume->Link(fsDir->private_node, name, local 402 status_t error = volume->Unlink(fsDir->private_node, name); local 415 status_t error = volume->Rename(fsFromDir->private_node, fromName, local 428 status_t error = volume->Access(fsNode->private_node, mode); local 440 status_t error = volume->ReadStat(fsNode->private_node, st); local 453 status_t error = volume->WriteStat(fsNode->private_node, st, mask); local 470 status_t error = volume->Create(fsDir->private_node, name, openMode, perms, local 485 status_t error = volume->Open(fsNode->private_node, openMode, cookie); local 497 status_t error = volume->Close(fsNode->private_node, cookie); local 509 status_t error = volume->FreeCookie(fsNode->private_node, cookie); local 522 status_t error = volume->Read(fsNode->private_node, cookie, pos, buffer, local 536 status_t error = volume->Write(fsNode->private_node, cookie, pos, buffer, local 554 status_t error = volume->CreateDir(fsParent->private_node, name, perms); local 566 status_t error = volume->RemoveDir(fsParent->private_node, name); local 577 status_t error = volume->OpenDir(fsNode->private_node, cookie); local 589 status_t error = volume->CloseDir(fsNode->private_node, cookie); local 601 status_t error = volume->FreeDirCookie(fsNode->private_node, cookie); local 614 status_t error = volume->ReadDir(fsNode->private_node, cookie, buffer, local 643 status_t error = volume->RewindDir(fsNode->private_node, cookie); local 658 status_t error = volume->OpenAttrDir(fsNode->private_node, cookie); local 670 status_t error = volume->CloseAttrDir(fsNode->private_node, cookie); local 683 status_t error = volume->FreeAttrDirCookie(fsNode->private_node, cookie); local 696 status_t error = volume->ReadAttrDir(fsNode->private_node, cookie, buffer, local 709 status_t error = volume->RewindAttrDir(fsNode->private_node, cookie); local 726 status_t error = volume->CreateAttr(fsNode->private_node, name, type, local 740 status_t error = volume->OpenAttr(fsNode->private_node, name, openMode, local 753 status_t error = volume->CloseAttr(fsNode->private_node, cookie); local 765 status_t error = volume->FreeAttrCookie(fsNode->private_node, cookie); local 778 status_t error = volume->ReadAttr(fsNode->private_node, cookie, pos, buffer, local 792 status_t error = volume->WriteAttr(fsNode->private_node, cookie, pos, local 806 status_t error = volume->ReadAttrStat(fsNode->private_node, cookie, st); local 819 status_t error = volume->WriteAttrStat(fsNode->private_node, cookie, st, local 833 status_t error = volume->RenameAttr(fsFromNode->private_node, fromName, local 846 status_t error = volume->RemoveAttr(fsNode->private_node, name); local 861 status_t error = volume->OpenIndexDir(cookie); local 872 status_t error = volume->CloseIndexDir(cookie); local 883 status_t error = volume->FreeIndexDirCookie(cookie); local 896 status_t error = volume->ReadIndexDir(cookie, buffer, bufferSize, local 908 status_t error = volume->RewindIndexDir(cookie); local 921 status_t error = volume->CreateIndex(name, type, flags); local 932 status_t error = volume->RemoveIndex(name); local 944 status_t error = volume->ReadIndexStat(name, st); local 961 status_t error = volume->OpenQuery(queryString, flags, port, token, cookie); local 972 status_t error = volume->CloseQuery(cookie); local 983 status_t error = volume->FreeQueryCookie(cookie); local 996 status_t error = volume->ReadQuery(cookie, buffer, bufferSize, *count, local 1022 status_t error = volume->RewindQuery(cookie); local 1079 status_t error = UserlandFS::InitUserlandFS(&userlandFS); local [all...] |
H A D | UserlandFS.cpp | 49 status_t error = sUserlandFS->_Init(); 50 if (error != B_OK) { 53 return error; 96 status_t error = fFileSystems->Put(name, fileSystemInitializer); 97 if (error != B_OK) { 99 return error; 105 status_t error = fileSystemInitializer->Access(); local 106 if (error != B_OK) { 108 return error; 112 return error; 144 status_t error = fFileSystems->InitCheck(); local [all...] |
H A D | FileSystemInitializer.cpp | 84 status_t error = set_port_owner(port, thread); local 85 if (error == B_OK) 89 if (error == B_OK) 90 error = _Init(port); 92 if (error != B_OK) { 95 RETURN_ERROR(error); 135 status_t error = get_port_info(port, &portInfo); local 136 if (error != B_OK) 137 RETURN_ERROR(error); 144 error [all...] |
/haiku-fatelf/src/bin/makeudfimage/ |
H A D | UdfBuilder.cpp | 52 status_t error = pos >= 0 ? B_OK : B_BAD_VALUE; local 53 if (!error) { 69 error = B_ERROR; 71 return error; 110 status_t error = _OutputFile().InitCheck(); local 111 if (error) { 112 _PrintError("Error opening output file: 0x%lx, `%s'", error, 113 strerror(error)); 116 if (!error) { 117 error 196 status_t error = InitCheck(); local 1043 status_t error = message && formatString ? B_OK : B_BAD_VALUE; local 1064 status_t error = _FormatString(message, formatString, arguments); local 1082 status_t error = _FormatString(message, formatString, arguments); local 1102 status_t error = _FormatString(message, formatString, arguments); local 1128 status_t error = entry.InitCheck() == B_OK && path ? B_OK : B_BAD_VALUE; local 1429 status_t error = entry.InitCheck() == B_OK && path ? B_OK : B_BAD_VALUE; local [all...] |
H A D | PhysicalPartitionAllocator.cpp | 37 - error code: Failure, no blocks available. 42 status_t error = fAllocator.GetNextBlock(physicalBlock, fOffset); local 43 if (!error) 45 return error; 68 - error code: Failure. 76 status_t error = fAllocator.GetNextExtent(length, contiguous, physicalExtent, fOffset); local 77 if (!error) { 82 return error; 96 - error code: Failure. 106 // Allocate extents until we're done or we hit an error 107 status_t error = B_OK; local [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/ramfs/ |
H A D | Volume.cpp | 179 status_t error = B_OK; 182 if (error == B_OK) { 185 error = fBlockAllocator->InitCheck(); 187 SET_ERROR(error, B_NO_MEMORY); 190 if (error == B_OK) { 193 error = B_NO_MEMORY; 195 if (error == B_OK) { 198 error = B_NO_MEMORY; 201 if (error == B_OK) { 204 error 329 status_t error = (name ? B_OK : B_BAD_VALUE); local 348 status_t error = NodeAdded(node); local 369 status_t error = (fMounted ? GetVNode(node->GetID(), &dummy) local 416 status_t error = (node ? B_OK : B_BAD_VALUE); local 447 status_t error = (node ? B_OK : B_BAD_VALUE); local 486 status_t error = (node ? B_OK : B_BAD_VALUE); local 505 status_t error = B_OK; local 536 status_t error = (entry ? B_OK : B_BAD_VALUE); local 567 status_t error = (entry ? B_OK : B_BAD_VALUE); local 598 status_t error = (entry ? B_OK : B_BAD_VALUE); local 617 status_t error = B_OK; local 648 status_t error = (attribute ? B_OK : B_BAD_VALUE); local 666 status_t error = (attribute ? B_OK : B_BAD_VALUE); local 693 status_t error = (attribute ? B_OK : B_BAD_VALUE); local 778 status_t error = (size > 0 && size <= fBlockSize && block local [all...] |
/haiku-fatelf/src/apps/debugger/settings/ |
H A D | GuiTeamUiSettings.cpp | 54 status_t error = archive.FindString("ID", &fID); local 55 if (error != B_OK) 56 return error; 58 error = archive.FindMessage("values", &fValues); 60 return error; 68 status_t error = archive.AddString("ID", fID); local 69 if (error != B_OK) 70 return error; 72 error = archive.AddInt32("type", Type()); 73 if (error ! [all...] |
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/kernel_add_on/ |
H A D | FileSystem.cpp | 28 FileSystem::FileSystem(const char* name, RequestPort* initPort, status_t* error) argument 43 if (error) 44 *error = (fName.GetLength() == 0 ? B_NO_MEMORY : B_OK); 98 status_t error = fVolumes.PushBack(volume); local 100 if (error != B_OK) 101 return error; 103 error = volume->Mount(device, flags, parameters, len); 104 if (error != B_OK) { 109 return error; 112 return error; 128 status_t error = AllocateRequest(allocator, &request); local 245 status_t error = AllocateRequest(allocator, &request); local [all...] |
H A D | kernel_interface.cpp | 266 status_t error = B_OK; local 272 error = parse_parameters(parameters, len, fsName, &fsParameters, 274 if (error != B_OK) { 276 return error; 280 error = UserlandFS::RegisterUserlandFS(&userlandFS); 281 if (error != B_OK) { 283 return error; 287 error = userlandFS->RegisterFileSystem(fsName.GetString(), &fileSystem); 288 if (error != B_OK) { 291 return error; 315 status_t error = volume->Unmount(); local 336 status_t error = parse_parameters(parameters, len, fsName, &fsParameters, local 369 status_t error = volume->Sync(); local 381 status_t error = volume->ReadFSStat(info); local 393 status_t error = volume->WriteFSStat(info, mask); local 409 status_t error = volume->ReadVNode(vnid, reenter, node); local 426 status_t error = volume->WriteVNode(node, reenter); local 439 status_t error = volume->RemoveVNode(node, reenter); local 454 status_t error = volume->FSync(node); local 466 status_t error = volume->ReadStat(node, st); local 478 status_t error = volume->WriteStat(node, st, mask); local 490 status_t error = volume->Access(node, mode); local 507 status_t error = volume->Create(dir, name, openMode, mode, vnid, cookie); local 520 status_t error = volume->Open(node, openMode, cookie); local 532 status_t error = volume->Close(node, cookie); local 544 status_t error = volume->FreeCookie(node, cookie); local 558 status_t error = volume->Read(node, cookie, pos, buffer, *bufferSize, local 573 status_t error = volume->Write(node, cookie, pos, buffer, *bufferSize, local 588 status_t error = volume->IOCtl(node, cookie, cmd, buffer, bufferSize); local 600 status_t error = volume->SetFlags(node, cookie, flags); local 614 status_t error = volume->Select(node, cookie, event, ref, sync); local 628 status_t error = volume->Deselect(node, cookie, event, sync); local 643 status_t error = volume->Link(dir, name, node); local 655 status_t error = volume->Unlink(dir, name); local 667 status_t error = volume->Symlink(dir, name, path); local 680 status_t error = volume->ReadLink(node, buffer, *bufferSize, bufferSize); local 694 status_t error = volume->Rename(oldDir, oldName, newDir, newName); local 709 status_t error = volume->MkDir(dir, name, mode); local 721 status_t error = volume->RmDir(dir, name); local 733 status_t error = volume->OpenDir(node, cookie); local 745 status_t error = volume->CloseDir(node, cookie); local 757 status_t error = volume->FreeDirCookie(node, cookie); local 771 status_t error = volume->ReadDir(node, cookie, buffer, bufferSize, *count, local 800 status_t error = volume->RewindDir(node, cookie); local 814 status_t error = volume->Walk(dir, entryName, resolvedPath, vnid); local 830 status_t error = volume->OpenAttrDir(node, cookie); local 842 status_t error = volume->CloseAttrDir(node, cookie); local 854 status_t error = volume->FreeAttrDirCookie(node, cookie); local 868 status_t error = volume->ReadAttrDir(node, cookie, buffer, bufferSize, local 881 status_t error = volume->RewindAttrDir(node, cookie); local 895 status_t error = volume->ReadAttr(node, name, type, pos, buffer, local 910 status_t error = volume->WriteAttr(node, name, type, pos, buffer, local 923 status_t error = volume->RemoveAttr(node, name); local 937 status_t error = volume->RenameAttr(node, oldName, newName); local 951 status_t error = volume->StatAttr(node, name, attrInfo); local 966 status_t error = volume->OpenIndexDir(cookie); local 978 status_t error = volume->CloseIndexDir(cookie); local 990 status_t error = volume->FreeIndexDirCookie(cookie); local 1004 status_t error = volume->ReadIndexDir(cookie, buffer, bufferSize, local 1017 status_t error = volume->RewindIndexDir(cookie); local 1030 status_t error = volume->CreateIndex(name, type, flags); local 1042 status_t error = volume->RemoveIndex(name); local 1054 status_t error = volume->RenameIndex(oldName, newName); local 1066 status_t error = volume->StatIndex(name, indexInfo); local 1083 status_t error = volume->OpenQuery(queryString, flags, port, token, cookie); local 1095 status_t error = volume->CloseQuery(cookie); local 1107 status_t error = volume->FreeQueryCookie(cookie); local 1121 status_t error = volume->ReadQuery(cookie, buffer, bufferSize, local [all...] |
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | SendReceiveRequest.h | 10 // error code when disconnected 23 status_t error = connection->SendRequest(request, &reply); local 24 if (error != B_OK) 25 return error; 41 status_t error = channel->ReceiveRequest(&request); local 42 if (error != B_OK) 43 return error;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/packagefs/ |
H A D | GlobalFactory.cpp | 42 status_t error = factory->_Init(); 43 if (error != B_OK) { 45 return error; 80 status_t error = fBufferCache.Init(); local 81 if (error != B_OK) 82 return error;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/client/ |
H A D | SendReceiveRequest.h | 10 // error code when disconnected 23 status_t error = connection->SendRequest(request, &reply); local 24 if (error != B_OK) 25 return error; 41 status_t error = channel->ReceiveRequest(&request); local 42 if (error != B_OK) 43 return error;
|
/haiku-fatelf/src/tests/system/kernel/ |
H A D | sem_acquire_test1.cpp | 15 status_t error = acquire_sem_etc(sSemaphore, 2, 0, 0); local 16 printf("%s: acquire_sem_etc() returned: %s\n", threadName, strerror(error)); 17 return error; 25 status_t error = acquire_sem_etc(sSemaphore, 1, 0, 0); local 26 printf("thread2: acquire_sem_etc() returned: %s\n", strerror(error)); 27 return error;
|
/haiku-fatelf/src/apps/debugger/dwarf/ |
H A D | DwarfManager.cpp | 45 status_t error = file->Load(fileName); local 46 if (error != B_OK) { 47 return error; 67 status_t error = file->FinishLoading(); local 68 if (error != B_OK) 69 return error;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | GlobalBlockerPool.cpp | 18 status_t error = pool->InitCheck(); 19 if (error != B_OK) { 21 return error;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | RequestHandler.cpp | 24 status_t error = fChannels.Set(channel); 25 if (error != B_OK) 26 return error;
|
/haiku-fatelf/src/bin/coreutils/lib/ |
H A D | xmemxfrm.c | 30 #include "error.h" 44 Report an error and exit if there is an error. */ 54 error (0, errno, _("string transformation failed")); 55 error (0, 0, _("set LC_ALL='C' to work around the problem")); 56 error (exit_failure, 0,
|
/haiku-fatelf/src/kits/storage/disk_device/jobs/ |
H A D | DeleteChildJob.cpp | 33 status_t error = _kern_delete_child_partition(fPartition->PartitionID(), local 35 if (error != B_OK) 36 return error;
|
H A D | RepairJob.cpp | 33 status_t error = _kern_repair_partition(fPartition->PartitionID(), local 35 if (error != B_OK) 36 return error;
|
/haiku-fatelf/src/libs/util/ |
H A D | login_crypt.c | 38 login_setcryptfmt(login_cap_t *lc, const char *def, const char *error) { argument 46 return (error); 48 return (error);
|
/haiku-fatelf/src/system/libroot/posix/ |
H A D | assert.c | 30 __assert_perror_fail(int error, const char *file, argument 33 fprintf(stderr, "%s: %s:%d:%s: %s\n", __progname, file, line, function, strerror(error)); 34 debugger(strerror(error));
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/server/ |
H A D | GlobalBlockerPool.cpp | 18 status_t error = pool->InitCheck(); 19 if (error != B_OK) { 21 return error;
|
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/netfs/shared/ |
H A D | RequestHandler.cpp | 24 status_t error = fChannels.Set(channel); 25 if (error != B_OK) 26 return error;
|
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | SuperBlock.cpp | 49 status_t error = B_OK; local 51 if (error == B_OK) { 54 error = B_NO_MEMORY; 57 if (error == B_OK) { 60 error = B_IO_ERROR; 63 if (error == B_OK) { 66 error = B_ERROR; 69 if (error == B_OK) 73 return error; 99 status_t error local [all...] |
/haiku-fatelf/headers/private/kernel/boot/platform/bios_ia32/ |
H A D | platform_stage2_args.h | 9 # error This file is included from <boot/stage2_args.h> only
|