/haiku/src/add-ons/kernel/bus_managers/mmc/ |
H A D | mmc_bus.cpp | 26 // Get the parent info, it includes the API to send commands to the hardware 27 device_node* parent = gDeviceManager->get_parent_node(node); local 28 fStatus = gDeviceManager->get_driver(parent, 30 gDeviceManager->put_node(parent); 166 // Check if we need to exit early (possible if the parent device did
|
/haiku/src/apps/stylededit/ |
H A D | StatusView.cpp | 79 BView* parent = Parent(); local 80 if (parent != NULL) 81 color = parent->ViewColor();
|
/haiku/src/system/kernel/device_manager/ |
H A D | devfs.cpp | 98 struct devfs_vnode* parent; member in struct:__anon34::devfs_vnode 199 if (vnode->parent != NULL) 200 return vnode->parent->id; 257 devfs_create_vnode(struct devfs* fs, devfs_vnode* parent, const char* name) argument 276 vnode->gid = parent ? parent->gid : getegid(); 277 // inherit group from parent if possible 343 return dir->parent; 381 vnode->parent = dir; 455 if (devfs_find_in_dir(device->parent, nam [all...] |
H A D | device_manager.cpp | 139 status_t Register(device_node* parent); 587 register_node(device_node* parent, const char* moduleName, argument 591 if ((parent == NULL && sRootNode != NULL) || moduleName == NULL) 594 if (parent != NULL && parent->FindChild(attrs) != NULL) { 595 // A node like this one already exists for this parent 605 TRACE(("%p: register node \"%s\", parent %p\n", newNode, moduleName, 606 parent)); 612 status = newNode->Register(parent); 672 get_next_child_node(device_node* parent, cons argument 720 device_node* parent = node->Parent(); local 929 find_child_node(device_node* parent, const device_attr* attributes, device_node** _node, bool *_lastFound) argument 963 find_child_node(device_node* parent, const device_attr* attributes, device_node** _node) argument 1505 Register(device_node* parent) argument [all...] |
/haiku/src/libs/compat/freebsd_network/ |
H A D | bus.cpp | 485 if (dev->parent == NULL) 496 if (dev->parent == NULL) 571 device_t parent = device_get_parent(child); local 572 if (parent == NULL) 575 return bus_child_present(parent);
|
/haiku/src/add-ons/kernel/drivers/input/virtio_input/ |
H A D | virtio_input.cpp | 264 DeviceNodePutter<&gDeviceManager> parent( 267 gDeviceManager->get_driver(parent.Get(), 413 virtio_input_supports_device(device_node *parent) argument 420 // make sure parent is really the Virtio bus manager 421 if (gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 428 if (gDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
|
/haiku/src/add-ons/kernel/busses/pci/designware/ |
H A D | DWPCIController.cpp | 75 DWPCIController::SupportsDevice(device_node* parent) argument 78 status_t status = gDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false); 86 status = gDeviceManager->get_attr_string(parent, "fdt/compatible", &compatible, false); 100 DWPCIController::RegisterDevice(device_node* parent) argument 108 return gDeviceManager->register_node(parent, DESIGNWARE_PCI_DRIVER_MODULE_NAME, attrs, NULL, 238 dprintf(", parent: %08" B_PRIx64, parentAdr);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Mixer.cpp | 477 Controls[index].parent = parentIndex; 488 Controls[index].parent = groupIndex; 500 Controls[index].parent = groupIndex; 514 Controls[index].parent = groupIndex; 524 Controls[index].parent = groupIndex; 535 Controls[index].parent = groupIndex; 550 Controls[index].parent = groupIndex; 564 Controls[index].parent = recordMUX; 584 Controls[index].parent = 0; 595 Controls[index].parent [all...] |
/haiku/headers/private/kernel/util/ |
H A D | AVLTreeMap.h | 133 _AVL_TREE_MAP_CLASS_NAME* parent local 136 parent->_Free(parent->_GetNode(node)); 141 inline Iterator(_AVL_TREE_MAP_CLASS_NAME* parent, argument 143 : ConstIterator(parent, treeIterator) 235 inline ConstIterator(const _AVL_TREE_MAP_CLASS_NAME* parent, argument 238 fParent = parent;
|
/haiku/src/kits/debugger/files/ |
H A D | FileManager.cpp | 47 LocatableDirectory* parent = entry->Parent(); local 48 if (parent != NULL && strlen(parent->Path()) > 0) 49 directory = parent->Path(); 158 // parent not yet located -- try locate with the entry's path 163 // parent already located -- locate the entry in the parent 203 LocatableDirectory* parent = entry->Parent(); local 204 if (parent != NULL) 205 parent [all...] |
/haiku/src/kits/debugger/value/value_nodes/ |
H A D | BMessageValueNode.cpp | 34 BMessageWhatNodeChild(BMessageValueNode* parent, DataMember* member, argument 40 fParent(parent), 618 BMessageFieldNodeChild *child, BMessageValueNode* parent, 623 fType(parent->GetType()), 624 fParent(parent), 707 BMessageValueNode* parent, Type* nodeType, const BString &name, 714 fParent(parent), 617 BMessageFieldNode( BMessageFieldNodeChild *child, BMessageValueNode* parent, const BString &name, type_code type, int32 count) argument 706 BMessageFieldNodeChild( BMessageValueNode* parent, Type* nodeType, const BString &name, type_code type, int32 count, int32 index) argument
|
/haiku/src/apps/packageinstaller/ |
H A D | PackageView.cpp | 96 BWindow* parent = Window(); local 105 parent->SetTitle(title.String()); 138 parent->Quit(); 194 BWindow *parent = Window(); local 195 if (parent && parent->Lock()) 196 parent->Quit();
|
/haiku/src/add-ons/kernel/drivers/power/x86_cpuidle/ |
H A D | acpi_cpuidle.cpp | 508 acpi_cpuidle_support(device_node *parent) argument 514 // make sure parent is really the ACPI bus manager 515 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 522 if (sDeviceManager->get_attr_uint32(parent, ACPI_DEVICE_TYPE_ITEM, 557 device_node *parent; local 558 parent = sDeviceManager->get_parent_node(node); 559 sDeviceManager->get_driver(parent, (driver_module_info **)&device->acpi, 561 sDeviceManager->put_node(parent);
|
/haiku/src/add-ons/kernel/file_systems/packagefs/util/ |
H A D | TwoKeyAVLTree.h | 495 Node* parent = NULL; local 496 Node* node = _FindFirst(key, &parent); 499 if (parent == NULL) 502 node = parent; 639 Node* parent = NULL; local 655 parent = node; 664 *_parent = parent;
|
/haiku/src/tests/kits/storage/ |
H A D | PathTest.cpp | 1080 BPath parent; local 1086 CPPUNIT_ASSERT( path.GetParent(&parent) == B_NO_INIT ); 1088 parent.Unset(); 1093 CPPUNIT_ASSERT( path.GetParent(&parent) == B_ENTRY_NOT_FOUND ); 1095 parent.Unset(); 1099 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK ); 1100 CPPUNIT_ASSERT( string("/") == parent.Path() ); 1102 CPPUNIT_ASSERT( path.GetParent(&parent) == B_OK ); 1103 CPPUNIT_ASSERT( string("/boot") == parent.Path() ); 1105 CPPUNIT_ASSERT( path.GetParent(&parent) [all...] |
/haiku/src/system/boot/platform/efi/ |
H A D | dtb.cpp | 174 strcmp(fdt_string(fdt, fdt32_to_cpu(property->nameoff)), "interrupt-parent") == 0 || 202 // parent address 214 dprintf(" (0x%08" PRIx32 "), child: 0x%08" PRIx64 ", parent: 0x%08" PRIx64 ", len: 0x%08" PRIx64 "\n", 345 int parent = fdt_parent_offset(fdt, node); local 346 if (parent < 0) 349 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#address-cells", NULL); 363 int parent = fdt_parent_offset(fdt, node); local 364 if (parent < 0) 367 uint32 *prop = (uint32*)fdt_getprop(fdt, parent, "#size-cells", NULL); 404 int parent local [all...] |
/haiku/src/system/kernel/arch/generic/ |
H A D | acpi_irq_routing_table.cpp | 371 acpi_handle parent, const acpi_pci_routing_table* acpiTable, 384 status = acpi->get_handle(parent, acpiTable->Source, &source); 527 // figure one out in the parent, based on the device number and 532 pci_address& parent = parents.ElementAt(i); local 533 irqEntry = find_routing_table_entry(matchedTable, parent.bus, 534 parent.device, parentPin); 540 parent.bus, parent.device, parentPin); 544 // no match in that parent, go further up 545 parentPin = ((parent 370 handle_routing_table_entry(acpi_module_info* acpi, pci_module_info* pci, acpi_handle parent, const acpi_pci_routing_table* acpiTable, uint8 currentBus, irq_routing_entry& irqEntry) argument 611 read_irq_routing_table_recursive(acpi_module_info* acpi, pci_module_info* pci, acpi_handle parent, acpi_handle device, uint8 currentBus, IRQRoutingTable& table, IRQRoutingTable& unmatchedTable, bool rootBridge, interrupt_available_check_function checkFunction) argument [all...] |
/haiku/src/bin/bfs_tools/lib/ |
H A D | Inode.cpp | 126 // parent resides on disk? 127 || fInode->parent.allocation_group > fDisk->SuperBlock()->num_ags 128 || fInode->parent.allocation_group < 0 129 || fInode->parent.start > (1L << fDisk->SuperBlock()->ag_shift) 130 || fInode->parent.length != 1 237 fInode->parent = run; 437 block_run parent = Parent(); local 438 while (!parent.IsZero() && parent != fDisk->Root()) { 441 inode = source->InodeAt(parent); [all...] |
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_disk/ |
H A D | scsi_disk.cpp | 466 das_supports_device(device_node *parent) argument 471 // make sure parent is really the SCSI bus manager 472 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 479 if (sDeviceManager->get_attr_uint8(parent, SCSI_DEVICE_TYPE_ITEM, 555 device_node* parent = sDeviceManager->get_parent_node(node); local 556 sDeviceManager->get_driver(parent, (driver_module_info **)&info->scsi, 558 sDeviceManager->put_node(parent);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/virtio_block/ |
H A D | virtio_block.cpp | 263 device_node* parent = sDeviceManager->get_parent_node(info->node); local 264 sDeviceManager->get_driver(parent, (driver_module_info **)&info->virtio, 266 sDeviceManager->put_node(parent); 498 virtio_block_supports_device(device_node *parent) argument 504 // make sure parent is really the Virtio bus manager 505 if (sDeviceManager->get_attr_string(parent, B_DEVICE_BUS, &bus, false)) 512 if (sDeviceManager->get_attr_uint16(parent, VIRTIO_DEVICE_TYPE_ITEM,
|
/haiku/src/kits/storage/disk_device/ |
H A D | PartitionDelegate.cpp | 58 const user_partition_data* partitionData, Delegate* parent) 61 parent ? &parent->fMutablePartition : NULL); 57 InitHierarchy( const user_partition_data* partitionData, Delegate* parent) argument
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | Volume.cpp | 71 // for the file in the parent filesystem 181 Partition *parent = _GetPartition(map->partition_number()); local 183 if (descriptor != NULL && parent != NULL) { 186 map->partition_number(), *parent,
|
/haiku/src/apps/bootmanager/ |
H A D | BootManagerController.cpp | 51 BPath parent; local 52 if (path.GetParent(&parent) == B_OK) { 54 directory.CreateDirectory(parent.Path(), NULL);
|
/haiku/src/apps/serialconnect/ |
H A D | SerialApp.cpp | 151 entry_ref parent; local 154 if (message->FindRef("directory", &parent) == B_OK 157 BDirectory directory(&parent);
|
/haiku/src/system/boot/loader/ |
H A D | partitions.cpp | 129 // Tell the children that their parent is gone 167 Partition::SetParent(Partition *parent) argument 169 TRACE(("%p Partition::SetParent %p\n", this, parent)); 170 fParent = parent; 402 ", size = %" B_PRIdOFF ", parent = %p)!\n", this, child, 538 dprintf("could not find parent partition.\n");
|