Searched refs:status (Results 301 - 325 of 1750) sorted by relevance

<<11121314151617181920>>

/haiku/src/apps/drivesetup/
H A DCreateParametersPanel.cpp67 status_t status = ChangeParametersPanel::Go(name, type, parameters, local
69 if (status != B_OK)
70 return status;
116 status_t status = storage.SetInt64("size", fSizeSlider->Size()); local
117 if (status == B_OK)
118 status = storage.SetInt64("offset", fSizeSlider->Offset());
120 if (status != B_OK)
121 return status;
/haiku/src/add-ons/kernel/bus_managers/acpi/arch/x86/
H A Darch_init.cpp29 ACPI_STATUS status = AcpiFindRootPointer(&address); local
30 if (status == AE_OK)
/haiku/src/add-ons/kernel/busses/random/ccp/
H A Dccp.cpp89 status_t status = gDPC->new_dpc_queue(&bus->dpcHandle, "ccp timer",
91 if (status != B_OK) {
92 ERROR("dpc setup failed (%s)\n", strerror(status));
93 return status;
97 status = add_timer(&bus->extractTimer, &handleTimerHook, 1 * 1000 * 1000, B_PERIODIC_TIMER);
98 if (status != B_OK) {
99 ERROR("timer setup failed (%s)\n", strerror(status));
100 return status;
/haiku/src/system/libroot/posix/time/
H A Dlocaltime.cpp78 status_t status = backend->Localtime(inTime, tmOut); local
80 if (status != B_OK)
114 status_t status = backend->Gmtime(inTime, tmOut); local
116 if (status != B_OK)
142 status_t status = backend->Mktime(inTm, timeOut); local
144 if (status != B_OK) {
171 status_t status = backend->Timegm(inTm, timeOut); local
173 if (status != B_OK) {
/haiku/src/libs/compat/freebsd_network/
H A Dsynch.cpp23 int status = cv_timedwait(&channel, mutex, timeout); local
26 return status;
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioDevice.cpp115 status_t status = fController->read_host_features(fCookie, &fFeatures); local
116 if (status != B_OK)
117 return status;
135 status = fController->write_guest_features(fCookie, fFeatures);
136 if (status != B_OK)
137 return status;
191 status_t status = B_OK;
197 status = B_NO_MEMORY;
199 status = fQueues[index]->InitCheck();
200 if (status !
226 status_t status = fController->setup_interrupt(fCookie, fQueueCount); local
275 status_t status = B_OK; local
[all...]
/haiku/src/add-ons/mail_daemon/inbound_protocols/imap/
H A DIMAPConnectionWorker.cpp188 status_t status = WorkerPrivate(worker).SelectMailbox(fFolder); local
189 if (status == B_OK) {
198 status = protocol.ProcessCommand(fetch);
200 if (status == B_OK)
201 status = fFetchStatus;
202 if (status != B_OK)
203 fFolder.StoringBodyFailed(fRef, fUID, status);
205 return status;
252 status_t status = WorkerPrivate(worker).SelectMailbox(fFolder); local
253 if (status !
328 status_t status = WorkerPrivate(worker).AddFolders(fFolders); local
352 status_t status = WorkerPrivate(worker).SelectMailbox(*fFolder); local
363 status_t status = WorkerPrivate(worker).SelectMailbox(*fFolder); local
469 status_t status = WorkerPrivate(worker).SelectMailbox(fFolder); local
719 status_t status = B_OK; local
809 status_t status = fProtocol.ProcessCommand(select); local
897 status_t status = self->_Worker(); local
[all...]
/haiku/src/system/boot/loader/
H A Delf.cpp83 status_t status = platform_allocate_region((void**)_address, size, local
85 if (status != B_OK)
86 return status;
142 status_t status = platform_allocate_region(&address, size, protection, local
144 if (status != B_OK)
145 return status;
213 status_t status; local
223 status = B_NO_MEMORY;
230 status = B_ERROR;
293 status
407 status_t status = _ParseDynamicSection(image); local
487 status_t status; local
667 status_t status = B_ERROR; local
722 status_t status = elf_load_image(fd, &image); local
[all...]
H A Dloader.cpp121 status_t status = elf_load_image(fd, &image); local
125 if (status < B_OK) {
126 dprintf("loading kernel failed: %" B_PRIx32 "!\n", status);
127 return status;
132 status = elf_relocate_image(gKernelArgs.kernel_image);
133 if (status < B_OK) {
134 dprintf("relocating kernel failed: %" B_PRIx32 "!\n", status);
135 return status;
164 status_t status = elf_load_image(modules, name); local
165 if (status !
[all...]
/haiku/src/add-ons/kernel/file_systems/xfs/
H A DNodeAttribute.cpp36 status_t status; local
42 status = _FillMapEntry(0);
44 if (status != B_OK)
45 return status;
57 status = _FillBuffer(fNodeBuffer, fMap->br_startblock);
58 if (status != B_OK)
59 return status;
139 status_t status = Lookup(name, &length); local
140 if (status < B_OK)
141 return status;
168 status_t status; local
203 status_t status; local
373 int status; local
[all...]
H A Dkernel_interface.cpp68 status_t status = volume->Mount(device, flags); local
69 if (status != B_OK) {
70 ERROR("Failed mounting the volume. Error: %s\n", strerror(status));
73 return status;
86 status_t status = volume->Unmount(); local
89 return status;
134 status_t status = inode->Init();
135 if (status != B_OK) {
137 ERROR("get_vnode: InitCheck() failed. Error: %s\n", strerror(status));
204 status_t status
396 status_t status = inode->CheckPermissions(R_OK); local
427 status_t status = iterator->GetNext(buffer->d_name, &length, &ino); local
513 status_t status = iterator->GetNext(dirent->d_name, &length); local
555 status_t status; local
[all...]
/haiku/src/kits/locale/
H A DLocaleRoster.cpp254 status_t status = B_OK;
264 status = B_ERROR;
270 status = B_ERROR;
274 return status;
284 status_t status = B_OK;
296 status = B_ERROR;
305 status = B_ERROR;
311 status = B_ERROR;
315 return status;
326 status_t status
362 status_t status = fData->GetResources(&resources); local
403 status_t status = fData->GetResources(&resources); local
497 status_t status = _PrepareCatalogEntry(ref, signature, context, string, local
573 status_t status = node.InitCheck(); local
[all...]
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dusb_scsi.c101 status_t status = B_BAD_TYPE;
103 status = B_OK;
114 /*status = B_ENTRY_NOT_FOUND;*/ /*B_BAD_TYPE assumed*/
124 /*status = B_ENTRY_NOT_FOUND;*/ /*B_BAD_TYPE assumed*/
127 if(status == B_OK){
131 return status;
140 status_t status = B_NO_MEMORY;
145 status = get_module(*path, mi);
146 if(status != B_OK)
147 TRACE_ALWAYS("load_vendor_module:get_module(%s) failed:%08x\n", *path, status);
914 status_t status = B_OK;//B_ERROR; local
[all...]
/haiku/headers/private/bluetooth/
H A DPortListener.h36 status_t status; local
40 wait_for_thread(fThread, &status);
112 status_t status; local
116 wait_for_thread(fThread, &status);
118 return status;
138 status_t status = B_OK; local
164 status = handler(buffer, code, ssizePort);
166 if (status != B_OK)
173 dprintf("Error in PortListener handler=%s port=%s\n", strerror(status),
176 printf("Error in PortListener handler=%s port=%s\n", strerror(status),
[all...]
/haiku/src/add-ons/kernel/network/ppp/ppp_frame/
H A Dppp_frame.cpp49 status_t status = sStackModule->register_device_deframer(interface->device, local
51 if (status != B_OK)
52 return status;
54 status = sStackModule->register_domain_device_handler(
56 if (status != B_OK)
57 return status;
59 status = sStackModule->register_domain_device_handler(
61 if (status != B_OK)
62 return status;
196 status_t status local
[all...]
/haiku/src/bin/
H A Dmimeset.cpp39 usage(int status) argument
73 exit(status);
113 status_t status = B_OK; local
117 status = B_ENTRY_NOT_FOUND;
122 if (gFiles && status == B_OK)
123 status = update_mime_info(path, true, true, gForce);
124 if (gApps && status == B_OK)
125 status = create_app_meta_mime(path, true, true, gForce);
127 if (status != B_OK) {
129 sProgramName, path, strerror(status));
[all...]
/haiku/src/servers/bluetooth/
H A DDeskbarReplicant.cpp110 status_t status = BView::Archive(archive, deep); local
111 if (status == B_OK)
112 status = archive->AddString("add_on", BLUETOOTH_SIGNATURE);
113 if (status == B_OK)
114 status = archive->AddString("class", kClassName);
116 return status;
206 status_t status = BMessenger(BLUETOOTH_SIGNATURE).SendMessage( local
208 if (status < B_OK) {
210 status);
216 DeskbarReplicant::_ShowErrorAlert(BString msg, status_t status) argument
[all...]
/haiku/src/apps/haikudepot/edits_generic/
H A DEditManager.cpp69 status_t status = B_ERROR; local
73 status = edit->Undo(context);
74 if (status == B_OK)
82 return status;
89 status_t status = B_ERROR; local
93 status = edit->Redo(context);
94 if (status == B_OK)
102 return status;
188 status_t status = B_OK; local
220 if (status
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dlibnvme_haiku.cpp84 status_t status = get_memory_map((void*)vaddr, 1, &entry, 1); local
85 if (status != B_OK) {
87 (void*)vaddr, strerror(status));
101 status_t status = get_module(B_PCI_MODULE_NAME, local
103 return status;
165 status_t status = nvme_pcicfg_map_bar(devhandle, bar, false, mapped_addr); local
166 if (status != 0)
167 return status;
170 status = vm_set_area_memory_type(area_for(*mapped_addr),
172 if (status !
[all...]
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DAttribute.cpp86 status_t status = fNodeGetter.SetTo(fInode); local
87 if (status != B_OK)
88 return status;
123 status_t status = CheckAccess(name, openMode); local
124 if (status != B_OK)
125 return status;
154 status_t status = CheckAccess(name, openMode); local
155 if (status < B_OK)
156 return status;
158 status
240 status_t status = fAttribute->SetFileSize(transaction, 0); local
[all...]
/haiku/src/system/libroot/posix/pthread/
H A Dpthread.cpp231 status_t status = send_signal(thread->id, (uint)sig); local
232 if (status != B_OK) {
233 if (status == B_BAD_THREAD_ID)
236 return status;
284 status_t status = _kern_get_thread_info(thread->id, &info); local
285 if (status == B_BAD_THREAD_ID)
302 status_t status; local
309 status = _kern_set_thread_priority(thread->id, param->sched_priority);
310 if (status == B_BAD_THREAD_ID)
312 if (status < B_O
332 status_t status = _kern_get_thread_info(thread->id, &info); local
344 status_t status = _kern_rename_thread(thread->id, name); local
[all...]
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DSerialDevice.cpp422 status_t status; local
458 status = gTTYModule->tty_read(fDeviceTTYCookie, buffer, &bytesLeft);
460 if (status != B_OK) {
461 dprintf(DRIVER_NAME ": irq: tty_read: %s\n", strerror(status));
484 status = gTTYModule->tty_write(fDeviceTTYCookie, buffer, &i);
485 if (status != B_OK) {
486 dprintf(DRIVER_NAME ": irq: tty_write: %s\n", strerror(status));
540 status_t status = B_OK; local
548 status = gTTYModule->tty_create(pc_serial_service, NULL, &fMasterTTY);
549 if (status !
626 status_t status; local
643 status_t status; local
688 status_t status = B_OK; local
722 status_t status = B_OK; local
750 status_t status = B_OK; local
914 status_t status = gTTYModule->tty_read(fDeviceTTYCookie, buffer, local
941 ReadCallbackFunction(void *cookie, int32 status, void *data, uint32 actualLength) argument
955 WriteCallbackFunction(void *cookie, int32 status, void *data, uint32 actualLength) argument
969 InterruptCallbackFunction(void *cookie, int32 status, void *data, uint32 actualLength) argument
[all...]
/haiku/src/servers/print/
H A DPrintServerApp.cpp62 status_t status = B_OK; local
63 PrintServerApp printServer(&status);
64 if (status == B_OK)
68 return status;
275 status_t status = find_directory(B_USER_PRINTERS_DIRECTORY, &path); local
276 if (status != B_OK)
277 return status;
284 status = dir.InitCheck();
285 if (status != B_OK)
286 return status;
363 status_t status = find_directory(B_USER_PRINTERS_DIRECTORY, &path, true, local
469 status_t status = FindPrinterNode(printerName, node); local
538 status_t status = find_directory(B_USER_PRINTERS_DIRECTORY, &path, true, local
[all...]
/haiku/src/kits/network/libnetapi/
H A DNetworkSettings.cpp205 status_t status = address.SetTo(family, argument, (uint16)0, local
207 if (status != B_OK)
315 status_t status = fInterfaces.FindMessage("interface", cookie, &interface); local
316 if (status != B_OK)
317 return status;
389 status_t status = fNetworks.FindMessage("network", cookie, &network); local
390 if (status != B_OK)
391 return status;
441 status_t status = fServices.FindMessage("service", cookie, &service); local
442 if (status !
511 status_t status = _StartWatching(kInterfaceSettingsName, target); local
578 status_t status = _GetPath(NULL, path); local
625 status_t status = _GetPath(NULL, path); local
687 status_t status = _GetPath(name, path); local
1058 status_t status = B_OK; local
1249 status_t status = B_ERROR; local
1277 status_t status = data.SetString("device", fName); local
1699 status_t status = networkServer.SendMessage(&request, &reply); local
1710 status_t status = data.SetString("name", fName); local
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/
H A Dnvme_admin.c65 struct nvme_completion_poll_status *status)
69 while (status->done == false)
72 if (nvme_cpl_is_error(&status->cpl)) {
87 struct nvme_completion_poll_status status; local
91 status.done = false;
94 &status);
99 return nvme_admin_wait_cmd(ctrlr, &status);
129 struct nvme_completion_poll_status status; local
140 status.done = false;
143 &status);
64 nvme_admin_wait_cmd(struct nvme_ctrlr *ctrlr, struct nvme_completion_poll_status *status) argument
164 struct nvme_completion_poll_status status; local
322 struct nvme_completion_poll_status status; local
[all...]

Completed in 284 milliseconds

<<11121314151617181920>>