/haiku/src/apps/expander/ |
H A D | ExpanderRules.cpp | 101 BNode node(&entry); 102 BNodeInfo nodeInfo(&node); 220 RuleRefFilter::Filter(const entry_ref* ref, BNode* node, struct stat_beos* stat, argument 223 if (node->IsDirectory() || node->IsSymLink())
|
/haiku/src/servers/media/ |
H A D | DefaultManager.cpp | 165 // we call the node manager to have more infos about nodes 167 media_node node; local 170 &node) != B_OK 171 || node_manager->GetDormantNodeInfo(node, &info) != B_OK 176 // failed to get node info thus just return 230 TRACE("DefaultManager::Set type : %i, node : %li, input : %li\n", type, 472 TRACE("Couldn't find physical %s %s node\n", 484 *id = info[i].node.node; 493 *id = info[i].node [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | Device.cpp | 98 acpi_device_init_driver(device_node *node, void **cookie) argument 104 if (gDeviceManager->get_attr_uint32(node, ACPI_DEVICE_TYPE_ITEM, &type, false) != B_OK) 106 gDeviceManager->get_attr_string(node, ACPI_DEVICE_PATH_ITEM, &path, false); 122 device->node = node;
|
H A D | Call.cpp | 25 device_node *node; member in struct:__anon1 48 device_node *node = (device_node *)_node; local 54 device->node = node; 55 status_t err = gDeviceManager->get_driver(node, (driver_module_info **)&device->acpi,
|
/haiku/src/add-ons/kernel/busses/i2c/ocores/ |
H A D | ocores_i2c.cpp | 119 OcoresI2c::InitDriver(device_node* node, OcoresI2c*& outDriver) argument 125 CHECK_RET(driver->InitDriverInt(node)); 132 OcoresI2c::InitDriverInt(device_node* node) argument 134 fNode = node; 137 DeviceNodePutter<&gDeviceManager> parent(gDeviceManager->get_parent_node(node));
|
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundAddOn.cpp | 136 OpenSoundNode * node = local 142 if (node == 0) { 146 *out_error = node->InitCheck(); 148 return node; 158 OpenSoundNode * node = dynamic_cast<OpenSoundNode*>(your_node); local 159 if (node == 0) { 163 if (node->GetConfigurationFor(into_message) == B_OK) { 170 OpenSoundNode * node = dynamic_cast<OpenSoundNode*>(your_node); local 171 if (node == 0) { 175 return node [all...] |
/haiku/src/bin/listdev/ |
H A D | listdev.cpp | 118 dump_device(device_node_cookie *node, uint8 level) argument 123 attr.node_cookie = *node; 136 dump_nodes(device_node_cookie *node, uint8 level) argument 139 device_node_cookie child = *node; 140 dump_device(node, level); 153 display_device(device_node_cookie *node, uint8 level) argument 187 attr.node_cookie = *node; 348 display_nodes(device_node_cookie *node, uint8 level) argument 351 device_node_cookie child = *node; 352 level = display_device(node, leve [all...] |
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | Driver.cpp | 30 device_node* node; member in struct:hid_driver_cookie 308 i2c_hid_register_device(device_node *node) argument 313 if (sDeviceManager->get_attr_uint64(node, ACPI_DEVICE_HANDLE_ITEM, 336 return sDeviceManager->register_node(node, I2C_HID_DRIVER_NAME, attrs, 342 i2c_hid_init_driver(device_node *node, void **driverCookie) argument 347 if (sDeviceManager->get_attr_uint32(node, "descriptorAddress", 359 device->node = node; 363 parent = sDeviceManager->get_parent_node(node); 427 sDeviceManager->publish_device(device->node, pathBuffe [all...] |
/haiku/src/system/kernel/ |
H A D | system_info.cpp | 413 count_topology_nodes(const cpu_topology_node* node, uint32& count) argument 416 for (int32 i = 0; i < node->children_count; i++) 417 count_topology_nodes(node->children[i], count); 422 get_logical_processor(const cpu_topology_node* node) argument 424 while (node->level != CPU_TOPOLOGY_SMT) { 425 ASSERT(node->children_count > 0); 426 node = node->children[0]; 429 return node->id; 435 const cpu_topology_node* node, uint3 434 generate_topology_array(cpu_topology_node_info* topology, const cpu_topology_node* node, uint32& count) argument 613 const cpu_topology_node* node = get_cpu_topology(); local [all...] |
/haiku/src/add-ons/kernel/file_cache/ |
H A D | rule_based_prefetcher.cpp | 63 vnode_id node; member in struct:head 85 struct head *FindHead(mount_id device, vnode_id node); 140 void GotFile(mount_id device, vnode_id node); 249 node = -1; 316 parse_ref(const char *string, mount_id &device, vnode_id &node, char **_end = NULL) argument 318 // parse node ref 324 node = strtoull(end + 1, &end, 0); 403 vnode_id node; local 407 if (parse_ref(line, device, node, &line)) { 415 TRACE(("c %ld:%lld:%s %s %ld\n", device, node, fileNam 524 FindHead(mount_id device, vnode_id node) argument 628 GotFile(mount_id device, vnode_id node) argument 683 node_opened(struct vnode *vnode, int32 fdType, dev_t device, vnode_id parent, vnode_id node, const char *name, off_t size) argument [all...] |
H A D | log.cpp | 40 vnode_id node; member in struct:cache_log 98 vnode_id node, const char *name, off_t size) 115 log->node = node; 119 log->type, device, parent, node, log->file_name)); 124 sCacheModule->node_opened(vnode, fdType, device, parent, node, name, size); 129 log_node_closed(void *vnode, int32 fdType, mount_id device, vnode_id node, int32 accessType) argument 140 log->node = node; 145 log->team_name, log->type, device, node, accessTyp 97 log_node_opened(void *vnode, int32 fdType, mount_id device, vnode_id parent, vnode_id node, const char *name, off_t size) argument [all...] |
/haiku/src/preferences/printers/ |
H A D | PrinterListView.cpp | 161 PrinterListView::EntryCreated(node_ref* node, entry_ref* entry) argument 163 BDirectory printer(node); 169 PrinterListView::EntryRemoved(node_ref* node) argument 171 PrinterItem* item = _FindItem(node); 183 PrinterListView::AttributeChanged(node_ref* node) argument 185 BDirectory printer(node); 196 node_ref node; local 199 && printer.GetNodeRef(&node) == B_OK 200 && _FindItem(&node) == NULL 209 // Yes, it is a printer definition node 263 PrinterItem(PrintersWindow* window, const BDirectory& node, PrinterListLayoutData& layoutData) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | ClientConnection.cpp | 255 // create the node monitoring event queue 268 // start the node monitoring processor 282 to be closed (at least for the node monitoring thread to be gone). 294 // Wait at least for the node monitoring processor; this is not perfect, 653 // get the node 654 Node* node = NULL; local 656 node = volume->GetNode(request->nodeID); 657 if (!node) 664 _GetNodeInfo(node, &reply.nodeInfo); 690 // get the node 691 Node* node = NULL; local 773 Node* node = volume->GetNode(request->directoryID); local 870 Node* node = NULL; local 1005 Node* node = volume->GetNode(fileHandle->GetNodeRef()); local 1087 Node* node = volume->GetNode(fileHandle->GetNodeRef()); local 1133 Node* node = NULL; local 1148 Node* node = volume->GetNode(request->directoryID); local 1206 Node* node = volume->GetNode(request->directoryID); local 1264 Node* node = volume->GetNode(request->directoryID); local 1320 Node* node = NULL; local 1385 Node* node = volume->GetNode(request->newDirectoryID); local 1411 Node* node = volume->GetNode(request->oldDirectoryID); local 1469 Node* node = volume->GetNode(request->directoryID); local 1527 Node* node = volume->GetNode(request->directoryID); local 1585 Node* node = volume->GetNode(request->nodeID); local 1666 Node* node = volume->GetNode(iterator->GetNodeRef()); local 1752 Node* node = volume->GetNode(request->nodeID); local 1782 Node* node = entry->GetNode(); local 1824 Node* node = volume->GetNode(request->nodeID); local 1887 Node* node = NULL; local 1966 Node* node = NULL; local 2023 Node* node = NULL; local 2179 Node* node = NULL; local 2261 Node* node = NULL; local 2323 Node* node = NULL; local 2666 _GetNodeInfo(Node* node, NodeInfo* info) argument 3106 Node* node = volume->GetNode(event->volumeID, event->nodeID); local 3132 Node* node = volume->GetNode(event->volumeID, event->nodeID); local [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/package/ |
H A D | Package.cpp | 139 // create the package node 140 PackageNode* node; local 143 node = new PackageFile(fPackage, mode, 157 node = symlink; 160 node = new PackageDirectory(fPackage, mode); 164 if (node == NULL) 166 BReference<PackageNode> nodeReference(node, true); 172 status_t error = node->Init(parentDir, entryName); 176 node->SetModifiedTime(entry->ModifiedTime()); 180 parentDir->AddChild(node); 198 PackageNode* node = (PackageNode*)entry->UserToken(); local 621 AddNode(PackageNode* node) argument [all...] |
/haiku/src/add-ons/kernel/debugger/demangle/ |
H A D | gcc3+.cpp | 545 void SetNextAllocated(Node* node) { fNextAllocated = node; } argument 548 virtual void SetParent(Node* node) { fParent = node; } argument 551 void SetNext(Node* node) { fNext = node; } argument 557 void SetNextReferenceable(Node* node) { fNextReferenceable = node; } argument 663 SubstitutionNode(Node* node) argument 665 fNode(node) 938 SetParent(Node* node) argument 1255 PrefixedNode(Node* prefix, Node* node) argument 1303 ClonedNode(Node* clone, ObjectNode* node) argument 2056 _AddAllocatedNode(Node* node) argument 2133 Node* node = fAllocatedNodes; local 2146 ObjectNode* node; local 2177 ObjectNode* node; local 2557 Node* node; local 2986 Node* node; local 3320 _ParseBareFunctionType(FunctionNode* node) argument 3345 _ParseTemplateArgs(Node* node, Node*& _node) argument 3623 ObjectNode* node; local 3746 _RegisterReferenceableNode(Node* node) argument 3767 Node* node = fFirstReferenceableNode; local [all...] |
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/ |
H A D | IndexImpl.h | 50 inline void NodeChangeBegin(Node* node); 51 inline void NodeChangeEnd(Node* node); 53 virtual void NodeRemoved(Node* node); 161 /*! Moves the iterator temporarily off the current node. 162 Called when the node the iterator currently points to has been modified and 168 GenericIndexIterator<Policy>::NodeChangeBegin(Node* node) argument 178 GenericIndexIterator<Policy>::NodeChangeEnd(Node* node) argument 185 // If the node is no longer the one we originally pointed to, re-register 186 // the node listener. 191 if (newNode != node) { 201 NodeRemoved(Node* node) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/video_mixer/ |
H A D | VideoMixerNode.cpp | 56 fOutput.node = media_node::null; // until registration 70 // for every node created so far set to this Node; 72 fConnectedInputs[i]->node = Node(); 77 fInitialInput.node = Node(); 82 fOutput.node = Node(); 106 input->node = Node(); 274 status_t VideoMixerNode::DeleteHook(BMediaNode *node) argument 277 return BMediaEventLooper::DeleteHook(node); 309 strcpy(outInfo->info, "A VideoMixerNode node mixes multiple video"
|
/haiku/src/system/boot/platform/u-boot/ |
H A D | start.cpp | 239 int node = fdt_path_offset(gFDT, "/chosen"); local 244 if (node >= 0) { 245 prop = fdt_getprop(gFDT, node, "linux,initrd-start", &len); 248 prop = fdt_getprop(gFDT, node, "linux,initrd-end", &len); 323 int node = fdt_path_offset(gFDT, "/chosen"); local 327 if (node >= 0) { 328 prop = fdt_getprop(gFDT, node, "bootargs", &len);
|
/haiku/src/apps/cortex/addons/LoggingConsumer/ |
H A D | NodeHarnessWin.cpp | 99 // tear down the node network 105 r->Disconnect(mConnection.producer.node, mConnection.source, 106 mConnection.consumer.node, mConnection.destination); 133 // set up the node network 137 // find a node that can handle an audio file 144 ErrorCheck(err, "couldn't find file reader node\n"); 147 ErrorCheck(err, "couldn't instantiate file reader node\n"); 161 ErrorCheck(err, "unable to register LoggingConsumer node!\n"); 162 // make sure the Media Roster knows that we're using the node 163 r->GetNodeFor(mLogNode->Node().node, [all...] |
/haiku/src/add-ons/kernel/generic/ata_adapter/ |
H A D | ata_adapter.cpp | 349 ata_adapter_init_channel(device_node *node, argument 368 sDeviceManager->get_attr_uint8(node, PCI_DEVICE_BUS_ITEM, &bus, true); 369 sDeviceManager->get_attr_uint8(node, PCI_DEVICE_DEVICE_ITEM, &device, true); 370 sDeviceManager->get_attr_uint8(node, PCI_DEVICE_FUNCTION_ITEM, &function, true); 371 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_VENDOR_ID_ITEM, &vendorID, true); 372 sDeviceManager->get_attr_uint16(node, PCI_DEVICE_DEVICE_ID_ITEM, &deviceID, true); 379 if (sDeviceManager->get_attr_uint16(node, ATA_ADAPTER_COMMAND_BLOCK_BASE, &command_block_base, false) != B_OK 380 || sDeviceManager->get_attr_uint16(node, ATA_ADAPTER_CONTROL_BLOCK_BASE, &control_block_base, false) != B_OK 381 || sDeviceManager->get_attr_uint8(node, ATA_ADAPTER_INTNUM, &intnum, true) != B_OK 382 || sDeviceManager->get_attr_uint8(node, ATA_ADAPTER_CHANNEL_INDE 487 ata_adapter_publish_channel(device_node *controller_node, const char *channel_module_name, uint16 command_block_base, uint16 control_block_base, uint8 intnum, bool can_dma, uint8 channel_index, const char *name, const io_resource *resources, device_node **node) argument 524 ata_adapter_detect_channel(pci_device_module_info *pci, pci_device *pci_device, device_node *controller_node, const char *channel_module_name, bool controller_can_dma, uint16 command_block_base, uint16 control_block_base, uint16 bus_master_base, uint8 intnum, uint8 channel_index, const char *name, device_node **node, bool supports_compatibility_mode) argument 633 ata_adapter_init_controller(device_node *node, ata_adapter_controller_info **cookie, size_t total_data_size) argument 706 ata_adapter_publish_controller(device_node *parent, uint16 bus_master_base, io_resource *resources, const char *controller_driver, const char *controller_driver_type, const char *controller_name, bool can_dma, bool can_cq, uint32 dma_alignment, uint32 dma_boundary, uint32 max_sg_block_size, device_node **node) argument 751 ata_adapter_detect_controller(pci_device_module_info *pci, pci_device *pci_device, device_node *parent, uint16 bus_master_base, const char *controller_driver, const char *controller_driver_type, const char *controller_name, bool can_dma, bool can_cq, uint32 dma_alignment, uint32 dma_boundary, uint32 max_sg_block_size, device_node **node) argument [all...] |
/haiku/src/add-ons/kernel/drivers/disk/norflash/ |
H A D | norflash.cpp | 40 device_node *node; member in struct:nor_driver_info 185 nor_register_device(device_node *node) argument 193 return sDeviceManager->register_node(node, NORFLASH_DRIVER_MODULE_NAME, 199 nor_init_driver(device_node *node, void **cookie) argument 209 info->node = node; 232 status = sDeviceManager->publish_device(info->node, "disk/nor/0/raw",
|
/haiku/src/bin/ |
H A D | listattr.cpp | 61 show_attr_contents(BNode& node, const char* attribute, const attr_info& info) argument 74 ssize_t bytesRead = node.ReadAttr(attribute, info.type, 0, buffer, size); 246 BNode node(argv[i]); 248 status_t status = node.InitCheck(); 270 while (node.GetNextAttrName(name) == B_OK) { 273 status = node.GetAttrInfo(name, &attrInfo); 285 show_attr_contents(node, name, attrInfo);
|
/haiku/headers/private/kernel/vm/ |
H A D | VMCache.h | 50 static page_num_t GetKey(const NodeType* node) argument 52 return node->cache_offset; 55 static SplayTreeLink<NodeType>* GetLink(NodeType* node) argument 57 return &node->cache_link; 60 static int Compare(page_num_t key, const NodeType* node) argument 62 return key == node->cache_offset ? 0 63 : (key < node->cache_offset ? -1 : 1); 66 static NodeType** GetListLink(NodeType* node) argument 68 return &node->cache_next;
|
/haiku/src/add-ons/kernel/busses/ata/highpoint_ide_pci/ |
H A D | highpoint_ide_pci.cpp | 142 init_channel(device_node *node, void **channel_cookie) argument 147 TRACE("init_channel(): node: %p, cookie: %p\n", node, channel_cookie); 152 sDeviceManager->get_attr_uint16(node, B_DEVICE_VENDOR_ID, &vendorID, true); 153 sDeviceManager->get_attr_uint16(node, B_DEVICE_ID, &deviceID, true); 162 result = sATAAdapter->init_channel(node, 169 if (sDeviceManager->get_attr_uint8(node, ATA_ADAPTER_CHANNEL_INDEX, 204 init_controller(device_node *node, ata_adapter_controller_info **cookie) argument 220 result = sATAAdapter->init_controller(node, cookie, 225 device_node *parent = sDeviceManager->get_parent_node(node); [all...] |
/haiku/src/add-ons/kernel/busses/mmc/ |
H A D | sdhci_pci.cpp | 44 init_bus_pci(device_node* node, void** bus_cookie) argument 52 device_node* parent = gDeviceManager->get_parent_node(node); 60 if (gDeviceManager->get_attr_uint8(node, SLOT_NUMBER, &slot, false) < B_OK 61 || gDeviceManager->get_attr_uint8(node, BAR_INDEX, &bar, false) < B_OK) 184 device_node* node; local 187 &node) != B_OK) 194 init_device_pci(device_node* node, SdhciDevice* context) argument 206 if (gDeviceManager->get_attr_uint16(node, B_DEVICE_VENDOR_ID, 208 || gDeviceManager->get_attr_uint16(node, B_DEVICE_ID, &deviceId, 304 // Device node registere [all...] |