/haiku/src/kits/storage/disk_device/ |
H A D | DiskDeviceJobGenerator.cpp | 141 status_t error = _GenerateCleanupJobs(fDevice); in GenerateJobs() local 180 status_t error = fJobQueue->AddJob(job); in _AddJob() local 198 status_t error = _GenerateUninitializeJob(partition); in _GenerateCleanupJobs() local 204 status_t error = _GenerateCleanupJobs(child); in _GenerateCleanupJobs() local 211 status_t error = _GenerateDeleteChildJob(parent, partition); in _GenerateCleanupJobs() local 234 status_t error = _GenerateResizeJob(partition); in _GeneratePlacementJobs() local 240 status_t error = _GenerateChildPlacementJobs(partition); in _GeneratePlacementJobs() local 246 status_t error = _GenerateResizeJob(partition); in _GeneratePlacementJobs() local 291 status_t error = _GeneratePlacementJobs(child); in _GenerateChildPlacementJobs() local 318 status_t error = _GenerateMoveJob(info.partition); in _GenerateChildPlacementJobs() local [all …]
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | UnixDebug.h | 17 # define PRINT_ERROR(error) \ argument 24 # define REPORT_ERROR(error) PRINT_ERROR(error) argument 25 # define RETURN_ERROR(error) \ argument 32 # define REPORT_ERROR(error) \ argument 38 # define RETURN_ERROR(error) \ argument 48 # define REPORT_ERROR(error) argument 49 # define RETURN_ERROR(error) return (error) argument
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | kernel_interface.cpp | 79 status_t error = B_OK; in userlandfs_mount() local 126 status_t error = volume->Unmount(); in userlandfs_unmount() local 142 status_t error = volume->Sync(); in userlandfs_sync() local 153 status_t error = volume->ReadFSInfo(info); in userlandfs_read_fs_info() local 166 status_t error = volume->WriteFSInfo(info, mask); in userlandfs_write_fs_info() local 183 status_t error = volume->Lookup(fsDir->private_node, entryName, vnid); in userlandfs_lookup() local 197 status_t error = volume->GetVNodeName(fsNode->private_node, buffer, in userlandfs_get_vnode_name() local 214 status_t error = volume->ReadVNode(vnid, reenter, &node, &ops, _type, in userlandfs_get_vnode() local 238 status_t error = volume->WriteVNode(fsNode->private_node, reenter); in userlandfs_put_vnode() local 251 status_t error = volume->RemoveVNode(fsNode->private_node, reenter); in userlandfs_remove_vnode() local [all …]
|
H A D | KernelRequestHandler.cpp | 238 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 272 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 335 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 362 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 384 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 407 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 433 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 458 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 481 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 502 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local [all …]
|
/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | Directory.cpp | 78 status_t error = (name && directory ? B_OK : B_BAD_VALUE); in CreateDirectory() local 96 status_t error = (name && file ? B_OK : B_BAD_VALUE); in CreateFile() local 114 status_t error = (name && symLink ? B_OK : B_BAD_VALUE); in CreateSymLink() local 136 status_t error = (entry && !entry->GetParent() ? B_OK : B_BAD_VALUE); in AddEntry() local 155 status_t error = (node ? B_OK : B_BAD_VALUE); in CreateEntry() local 189 status_t error = (entry && entry->GetParent() == this ? B_OK in RemoveEntry() local 231 status_t error = RemoveEntry(entry); in DeleteEntry() local 249 status_t error = (name && _entry ? B_OK : B_BAD_VALUE); in FindEntry() local 270 status_t error = (name && node ? B_OK : B_BAD_VALUE); in FindNode() local 281 status_t error = (name && node ? B_OK : B_BAD_VALUE); in FindAndGetNode() local [all …]
|
H A D | EntryIterator.cpp | 32 status_t error = (directory ? B_OK : B_BAD_VALUE); in SetTo() local 60 status_t error = (fDirectory ? B_OK : B_ERROR); in Suspend() local 80 status_t error = (fDirectory ? B_OK : B_ERROR); in Resume() local 99 status_t error = B_ENTRY_NOT_FOUND; in GetNext() local 117 status_t error = (fDirectory ? B_OK : B_ERROR); in Rewind() local
|
H A D | Node.cpp | 56 status_t error = DeleteAttribute(attribute); in ~Node() local 76 status_t error = GetVolume()->PublishVNode(this); in AddReference() local 106 status_t error = AddReference(); in Link() local 147 status_t error = (name && _attribute ? B_OK : B_BAD_VALUE); in CreateAttribute() local 171 status_t error = RemoveAttribute(attribute); in DeleteAttribute() local 181 status_t error = (attribute && !attribute->GetNode() ? B_OK : B_BAD_VALUE); in AddAttribute() local 225 status_t error = GetVolume()->NodeAttributeRemoved(GetID(), attribute); in RemoveAttribute() local 238 status_t error = (name && _attribute ? B_OK : B_BAD_VALUE); in FindAttribute() local 256 status_t error = (attribute ? B_OK : B_BAD_VALUE); in GetPreviousAttribute() local 274 status_t error = (attribute ? B_OK : B_BAD_VALUE); in GetNextAttribute() local
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_sysctl.c | 112 int error; in ath_sysctl_slottime() local 138 int error; in ath_sysctl_acktimeout() local 164 int error; in ath_sysctl_ctstimeout() local 190 int error; in ath_sysctl_softled() local 211 int error; in ath_sysctl_ledpin() local 230 int error; in ath_sysctl_hardled() local 251 int error; in ath_sysctl_txantenna() local 288 int error; in ath_sysctl_rxantenna() local 311 int error; in ath_sysctl_diversity() local 342 int error; in ath_sysctl_diag() local [all …]
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | FDManager.cpp | 60 status_t error = manager->Init(); in CreateDefault() local 91 status_t error = directory->SetTo(ref); in SetDirectory() local 105 status_t error = entry->SetTo(ref); in SetEntry() local 119 status_t error = entry->SetTo(path); in SetEntry() local 133 status_t error = file->SetTo(path, openMode); in SetFile() local 147 status_t error = node->SetTo(ref); in SetNode() local 161 status_t error = B_OK; in Open() local 182 status_t error = B_OK; in OpenDir() local 203 status_t error = B_OK; in OpenAttrDir() local
|
H A D | NetFSServer.cpp | 93 status_t error = fConnectionListener->FinishInitialization( in _Thread() local 170 status_t error = requestChannel.SendRequest(&request); in Execute() local 279 status_t error = _InitSettings(); in Init() local 385 status_t error = fSecurityContext->AddUser(user, password); in MessageReceived() local 401 status_t error = fSecurityContext->RemoveUser(userName, &user); in MessageReceived() local 424 status_t error = fSecurityContext->GetUsers(&users); in MessageReceived() local 454 status_t error = StatisticsManager::GetDefault() in MessageReceived() local 482 status_t error = fSecurityContext->AddShare(share, path); in MessageReceived() local 502 status_t error = fSecurityContext->RemoveShare(shareName, &share); in MessageReceived() local 528 status_t error = fSecurityContext->GetShares(&shares); in MessageReceived() local [all …]
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | Iterators.cpp | 107 status_t error = (fLength < fMaxLength ? InitCheck() : B_BAD_VALUE); in PushElement() local 120 status_t error = InitCheck(); in PopElement() local 261 status_t error = InitCheck(); in GoTo() local 321 status_t error = InitCheck(); in GoToPreviousLeaf() local 363 status_t error = InitCheck(); in GoToNextLeaf() local 401 status_t error = (k ? InitCheck() : B_BAD_VALUE); in FindRightMostLeaf() local 434 status_t error = InitCheck(); in Suspend() local 452 status_t error in Resume() local 463 status_t error = fPath->PushElement(fCurrentNode->GetNumber(), fIndex); in _PushCurrentNode() local 476 status_t error = B_OK; in _PopTopNode() local [all …]
|
/haiku/src/add-ons/kernel/file_systems/netfs/client/ |
H A D | netfs.cpp | 186 status_t error = B_OK; in netfs_mount() local 277 status_t error = B_BAD_VALUE; in netfs_read_fs_stat() local 325 status_t error = B_BAD_VALUE; in netfs_read_vnode() local 346 status_t error = node->GetVolume()->WriteVNode(node, reenter); in netfs_write_vnode() local 359 status_t error = node->GetVolume()->RemoveVNode(node, reenter); in netfs_remove_vnode() local 390 status_t error = node->GetVolume()->ReadStat(node, st); in netfs_read_stat() local 402 status_t error = node->GetVolume()->WriteStat(node, st, mask); in netfs_write_stat() local 414 status_t error = node->GetVolume()->Access(node, mode); in netfs_access() local 431 status_t error = dir->GetVolume()->Create(dir, name, openMode, mode, vnid, in netfs_create() local 445 status_t error = node->GetVolume()->Open(node, openMode, cookie); in netfs_open() local [all …]
|
/haiku/src/kits/storage/ |
H A D | Volume.cpp | 75 status_t error = (device >= 0 ? B_OK : B_BAD_VALUE); in SetTo() local 113 status_t error = (directory && InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in GetRootDirectory() local 134 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in Capacity() local 148 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in FreeBytes() local 179 status_t error = (name && InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in GetName() local 209 status_t error = _kern_write_fs_info(fDevice, &newInfo, in SetName() local 284 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in IsRemovable() local 298 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in IsReadOnly() local 312 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in IsPersistent() local 326 status_t error = (InitCheck() == B_OK ? B_OK : B_BAD_VALUE); in IsShared() local [all …]
|
H A D | Query.cpp | 62 status_t error = B_OK; in Clear() local 93 status_t error = B_OK; in PushOp() local 208 status_t error = (expression ? B_OK : B_BAD_VALUE); in SetPredicate() local 221 status_t error = (messenger.IsValid() ? B_OK : B_BAD_VALUE); in SetTarget() local 247 status_t error = (buffer ? B_OK : B_BAD_VALUE); in GetPredicate() local 265 status_t error = (predicate ? B_OK : B_BAD_VALUE); in GetPredicate() local 280 status_t error = _EvaluateStack(); in PredicateLength() local 332 status_t error = (entry ? B_OK : B_BAD_VALUE); in GetNextEntry() local 347 status_t error = (ref ? B_OK : B_BAD_VALUE); in GetNextRef() local 438 status_t error = (node ? B_OK : B_NO_MEMORY); in _PushNode() local [all …]
|
H A D | Directory.cpp | 100 status_t error = _SetTo(ref, true); in SetTo() local 107 status_t error = fDirFd; in SetTo() local 123 status_t error = (nref ? B_OK : B_BAD_VALUE); in SetTo() local 142 status_t error = _SetTo(entry->fDirFd, entry->fName, true); in SetTo() local 149 status_t error = fDirFd; in SetTo() local 165 status_t error = _SetTo(-1, path, true); in SetTo() local 172 status_t error = fDirFd; in SetTo() local 199 status_t error = _SetTo(dirFD, path, true); in SetTo() local 206 status_t error = fDirFd; in SetTo() local 395 status_t error = Rewind(); in CountEntries() local [all …]
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | UserlandRequestHandler.cpp | 277 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 305 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 330 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 356 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 383 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 416 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 443 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 489 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 521 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local 549 status_t error = AllocateRequest(allocator, &reply); in _HandleRequest() local [all …]
|
/haiku/src/system/boot/loader/net/ |
H A D | NetStack.cpp | 62 status_t error = fARPService->Init(); in Init() local 106 status_t error = netStack->Init(); in CreateDefault() local 150 status_t error = fEthernetService->Init(interface); in AddEthernetInterface() local 164 status_t error = NetStack::CreateDefault(); in net_stack_init() local
|
/haiku/src/add-ons/kernel/partitioning_systems/common/ |
H A D | PartitionMapWriter.cpp | 109 status_t error = _ReadBlock(0, partitionTable); in WriteMBR() local 149 status_t error = _ReadBlock(logical->PartitionTableOffset(), in WriteLogical() local 172 status_t error = _WriteBlock(logical->PartitionTableOffset(), in WriteLogical() local 189 status_t error = _ReadBlock(primary->Offset(), partitionTable); in WriteExtendedHead() local 227 status_t error = _WriteBlock(primary->Offset(), partitionTable); in WriteExtendedHead() local 252 status_t error = _WriteBlock(primary->Offset(), partitionTable); in ClearExtendedHead() local 269 status_t error = errno; in _ReadBlock() local 290 status_t error = errno; in _WriteBlock() local
|
/haiku/src/build/libbe/storage/ |
H A D | Statable.cpp | 81 status_t error = (ref ? B_OK : B_BAD_VALUE); in GetNodeRef() local 99 status_t error = (owner ? B_OK : B_BAD_VALUE); in GetOwner() local 127 status_t error = (group ? B_OK : B_BAD_VALUE); in GetGroup() local 155 status_t error = (perms ? B_OK : B_BAD_VALUE); in GetPermissions() local 185 status_t error = (size ? B_OK : B_BAD_VALUE); in GetSize() local 201 status_t error = (mtime ? B_OK : B_BAD_VALUE); in GetModificationTime() local 230 status_t error = (atime ? B_OK : B_BAD_VALUE); in GetAccessTime() local 260 status_t error = (vol ? B_OK : B_BAD_VALUE); in GetVolume() local
|
/haiku/src/add-ons/kernel/file_systems/netfs/netfs_server_prefs/ |
H A D | NetFSServerRoster.cpp | 34 status_t error = BRoster().Launch(kNetFSServerSignature); in LaunchServer() local 54 status_t error = B_OK; in TerminateServer() local 143 status_t error = _SendRequest(&request, &reply); in GetUsers() local 169 status_t error = _SendRequest(&request, &reply); in GetUserStatistics() local 232 status_t error = _SendRequest(&request, &reply); in GetShares() local 258 status_t error = _SendRequest(&request, &reply); in GetShareUsers() local 284 status_t error = _SendRequest(&request, &reply); in GetShareStatistics() local 339 status_t error = _SendRequest(&request, &reply); in GetUserPermissions() local 372 status_t error; in _InitMessenger() local 395 status_t error = _InitMessenger(); in _SendRequest() local
|
/haiku/src/kits/locale/ |
H A D | Collator.cpp | 36 UErrorCode error = U_ZERO_ERROR; in BCollator() local 46 UErrorCode error = U_ZERO_ERROR; in BCollator() local 60 UErrorCode error = U_ZERO_ERROR; in BCollator() local 127 UErrorCode error = U_ZERO_ERROR; in SetNumericSorting() local 147 UErrorCode error = U_ZERO_ERROR; in GetSortKey() local 182 UErrorCode error = U_ZERO_ERROR; in Compare() local 197 UErrorCode error = U_ZERO_ERROR; in Archive() local
|
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_i2c.c | 144 int error=0; in i2c_start() local 159 int error=0; in i2c_stop() local 174 int error=0; in i2c_high() local 188 int error=0; in i2c_low() local 202 int error=0; in i2c_get_ack() local 220 int error=0; in i2c_send_ack() local 281 int error=0; in i2c_maven_read() local 297 int error=0; in i2c_maven_write() local
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | i2c.c | 155 int error=0; in i2c_start() local 170 int error=0; in i2c_stop() local 185 int error=0; in i2c_high() local 199 int error=0; in i2c_low() local 213 int error=0; in i2c_get_ack() local 231 int error=0; in i2c_send_ack() local 292 int error=0; in i2c_maven_read() local 308 int error=0; in i2c_maven_write() local
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | i2c.c | 155 int error=0; in i2c_start() local 170 int error=0; in i2c_stop() local 185 int error=0; in i2c_high() local 199 int error=0; in i2c_low() local 213 int error=0; in i2c_get_ack() local 231 int error=0; in i2c_send_ack() local 292 int error=0; in i2c_maven_read() local 308 int error=0; in i2c_maven_write() local
|
/haiku/src/kits/package/manager/ |
H A D | RepositoryBuilder.cpp | 80 status_t error = fRepository.SetTo(name); in BRepositoryBuilder() local 93 status_t error = fRepository.SetTo(config); in BRepositoryBuilder() local 106 status_t error = fRepository.SetTo(cache); in BRepositoryBuilder() local 125 status_t error = fRepository.AddPackage(info, _package); in AddPackage() local 144 status_t error; in AddPackage() local 198 status_t error = fRepository.AddPackages(location); in AddPackages() local 224 status_t error = entryPath.SetTo(path, name); in AddPackagesDirectory() local 247 status_t error = solver->AddRepository(&fRepository); in AddToSolver() local
|