Searched refs:node (Results 76 - 100 of 965) sorted by relevance

1234567891011>>

/haiku/src/kits/tracker/
H A DPendingNodeMonitorCache.cpp41 // after this much the pending node monitor gets discarded as
45 PendingNodeMonitorEntry::PendingNodeMonitorEntry(const node_ref* node, argument
50 fNode(*node)
63 PendingNodeMonitorEntry::Match(const node_ref* node) const
65 return fNode == *node;
92 PRINT(("adding pending node monitor\n"));
95 node_ref node; local
96 if (message->FindInt32("device", &node.device) != B_OK
97 || message->FindInt64("node", (int64*)&node
[all...]
H A DFSClipboard.cpp50 static void MakeNodeFromName(node_ref* node, char* name);
51 static inline void MakeRefName(char* refName, const node_ref* node);
52 static inline void MakeModeName(char* modeName, const node_ref* node);
66 MakeNodeFromName(node_ref* node, char* name) argument
70 node->node = strtoll(nodeString + 1, (char**)NULL, 10);
71 node->device = atoi(name + 1);
77 MakeRefName(char* refName, const node_ref* node) argument
79 sprintf(refName, "r%" B_PRIdDEV "_%" B_PRIdINO, node->device, node
84 MakeModeName(char* modeName, const node_ref* node) argument
233 const node_ref* node = model->NodeRef(); local
556 const node_ref* node = model->NodeRef(); local
682 AddNode(const node_ref* node) argument
690 RemoveNode(node_ref* node, bool removeFromClipboard) argument
738 node_ref node; local
751 UpdateNode(node_ref* node, entry_ref* ref) argument
867 node_ref node; local
889 node_ref node; local
[all...]
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Ddevice.cpp23 periph_compose_device_name(device_node *node, const char *prefix) argument
29 if (gDeviceManager->get_attr_uint8(node, SCSI_BUS_PATH_ID_ITEM, &pathID, true) != B_OK
30 || gDeviceManager->get_attr_uint8(node, SCSI_DEVICE_TARGET_ID_ITEM, &targetID, true) != B_OK
31 || gDeviceManager->get_attr_uint8(node, SCSI_DEVICE_TARGET_LUN_ITEM, &targetLUN, true) != B_OK)
36 if (gDeviceManager->get_attr_uint32(node, "ide/channel_id", &channel, true) == B_OK
37 && gDeviceManager->get_attr_uint8(node, SCSI_DEVICE_TYPE_ITEM, &type, true) == B_OK) {
58 scsi_device_interface *scsi, device_node *node,
76 device->node = node;
56 periph_register_device(periph_device_cookie periph_device, scsi_periph_callbacks *callbacks, scsi_device scsi_device, scsi_device_interface *scsi, device_node *node, bool removable, int preferredCcbSize, scsi_periph_device *driver) argument
/haiku/src/kits/debugger/value/type_handlers/
H A DBListTypeHandler.cpp46 ValueNode* node = new(std::nothrow) BListValueNode(nodeChild,
49 if (node == NULL)
52 _node = node;
/haiku/src/system/boot/platform/efi/arch/riscv64/
H A Darch_dtb.cpp30 arch_handle_fdt(const void* fdt, int node) argument
32 const char* deviceType = (const char*)fdt_getprop(fdt, node,
35 const char* name = fdt_get_name(fdt, node, NULL);
37 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "boot-hartid", NULL))
40 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "timebase-frequency", NULL))
47 if (!(fdt_getprop(fdt, node, "mmu-type", NULL) != NULL))
54 info->id = fdt32_to_cpu(*(uint32*)fdt_getprop(fdt, node,
59 int subNode = fdt_subnode_offset(fdt, node, "interrupt-controller");
69 const char* compatible = (const char*)fdt_getprop(fdt, node,
76 dtb_get_reg(fdt, node,
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DVolume.cpp126 Volume::GetVNode(vnode_id vnid, Node** node) argument
128 return get_vnode(fVolumeManager->GetID(), vnid, (void**)node);
140 Volume::NewVNode(vnode_id vnid, Node* node) argument
142 status_t error = new_vnode(fVolumeManager->GetID(), vnid, node);
144 node->SetKnownToVFS(true);
236 Volume::WriteVNode(Node* node, char reenter) argument
243 Volume::RemoveVNode(Node* node, char reenter) argument
254 Volume::FSync(Node* node) argument
261 Volume::ReadStat(Node* node, struct stat* st) argument
268 Volume::WriteStat(Node* node, struc argument
275 Access(Node* node, int mode) argument
294 Open(Node* node, int openMode, void** cookie) argument
301 Close(Node* node, void* cookie) argument
308 FreeCookie(Node* node, void* cookie) argument
315 Read(Node* node, void* cookie, off_t pos, void* _buffer, size_t bufferSize, size_t* _bytesRead) argument
323 Write(Node* node, void* cookie, off_t pos, const void* _buffer, size_t bufferSize, size_t* bytesWritten) argument
331 IOCtl(Node* node, void* cookie, int cmd, void* buffer, size_t bufferSize) argument
339 SetFlags(Node* node, void* cookie, int flags) argument
350 Link(Node* dir, const char* name, Node* node) argument
371 ReadLink(Node* node, char* buffer, size_t bufferSize, size_t* bytesRead) argument
405 OpenDir(Node* node, void** _cookie) argument
412 CloseDir(Node* node, void* cookie) argument
419 FreeDirCookie(Node* node, void* _cookie) argument
426 ReadDir(Node* node, void* _cookie, struct dirent* buffer, size_t bufferSize, int32 count, int32* countRead) argument
434 RewindDir(Node* node, void* _cookie) argument
453 OpenAttrDir(Node* node, void** _cookie) argument
460 CloseAttrDir(Node* node, void* cookie) argument
467 FreeAttrDirCookie(Node* node, void* _cookie) argument
474 ReadAttrDir(Node* node, void* _cookie, struct dirent* buffer, size_t bufferSize, int32 count, int32* countRead) argument
482 RewindAttrDir(Node* node, void* _cookie) argument
489 ReadAttr(Node* node, const char* name, int type, off_t pos, void* _buffer, size_t bufferSize, size_t* _bytesRead) argument
497 WriteAttr(Node* node, const char* name, int type, off_t pos, const void* _buffer, size_t bufferSize, size_t* bytesWritten) argument
505 RemoveAttr(Node* node, const char* name) argument
512 RenameAttr(Node* node, const char* oldName, const char* newName) argument
519 StatAttr(Node* node, const char* name, struct attr_info* attrInfo) argument
[all...]
H A DShareVolume.h63 Node** node);
64 virtual status_t WriteVNode(Node* node, char reenter);
65 virtual status_t RemoveVNode(Node* node, char reenter);
68 virtual status_t FSync(Node* node);
69 virtual status_t ReadStat(Node* node, struct stat* st);
70 virtual status_t WriteStat(Node* node, struct stat *st,
72 virtual status_t Access(Node* node, int mode);
78 virtual status_t Open(Node* node, int openMode,
80 virtual status_t Close(Node* node, void* cookie);
81 virtual status_t FreeCookie(Node* node, voi
[all...]
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfile.cpp29 make_mode(nspace *volume, vnode *node) argument
32 if (node->mode & FAT_SUBDIR) {
36 if ((node->mode & FAT_READ_ONLY) != 0)
43 // Sets node.st_time to the current time.
46 _update_last_modified(nspace* vol, vnode* node, bool willWrite) argument
52 time(&(node->st_time));
54 if (willWrite && node->vnid != vol->root_vnode.vnid)
55 result = write_vnode_entry(vol, node);
67 vnode *node = (vnode *)_node->private_node; local
72 status_t result = get_vnode(_vol, node
86 vnode *node = (vnode*)_node->private_node; local
92 write_vnode_entry(nspace *vol, vnode *node) argument
160 vnode *node = (vnode *)_node->private_node; local
187 vnode *node = (vnode*)_node->private_node; local
219 vnode *node = (vnode*)_node->private_node; local
308 vnode* node = (vnode*)_node->private_node; local
364 vnode *node = (vnode *)_node->private_node; local
399 vnode *node = (vnode *)_node->private_node; local
480 vnode *node = (vnode *)_node->private_node; local
499 vnode *node = (vnode *)_node->private_node; local
1038 vnode *node = (vnode *)_node->private_node; local
1217 vnode *node = (vnode *)_node->private_node; local
1259 vnode *node = (vnode *)_node->private_node; local
1304 vnode *node = (vnode *)_node->private_node; local
[all...]
/haiku/src/apps/mail/
H A DPeople.cpp16 PersonName(BNode& node) argument
19 node.ReadAttrString("META:name", &fullName);
26 AddPersonAddresses(BNode& node, BStringList& addresses) argument
29 if (node.ReadAttrString("META:email", &email) != B_OK || email.IsEmpty())
39 if (node.ReadAttrString(attr, &email) != B_OK)
48 AddPersonGroups(BNode& node, BStringList& groups) argument
51 if (node.ReadAttrString("META:group", &groupString) != B_OK
77 BNode node(&ref);
78 if (node.InitCheck() != B_OK)
81 fName = PersonName(node);
122 EntryCreated(QueryList& source, const entry_ref& ref, ino_t node) argument
[all...]
/haiku/headers/os/drivers/
H A Ddevice_manager.h40 /* attribute of a device node */
67 status_t (*rescan_node)(device_node *node);
72 status_t (*unregister_node)(device_node *node);
74 status_t (*get_driver)(device_node *node, driver_module_info **_module,
79 const device_attr *attrs, device_node **node);
80 device_node *(*get_parent_node)(device_node *node);
81 void (*put_node)(device_node *node);
83 status_t (*publish_device)(device_node *node, const char *path,
85 status_t (*unpublish_device)(device_node *node, const char *path);
90 status_t (*get_attr_uint8)(const device_node *node, cons
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_interface.h83 typedef int beos_op_read_vnode(void *ns, ino_t vnid, char r, void **node);
84 typedef int beos_op_write_vnode(void *ns, void *node, char r);
85 typedef int beos_op_remove_vnode(void *ns, void *node, char r);
86 typedef int beos_op_secure_vnode(void *ns, void *node);
91 typedef int beos_op_access(void *ns, void *node, int mode);
98 typedef int beos_op_link(void *ns, void *dir, const char *name, void *node);
105 typedef int beos_op_readlink(void *ns, void *node, char *buf, size_t *bufsize);
107 typedef int beos_op_opendir(void *ns, void *node, void **cookie);
108 typedef int beos_op_closedir(void *ns, void *node, void *cookie);
109 typedef int beos_op_rewinddir(void *ns, void *node, voi
[all...]
/haiku/headers/private/userlandfs/legacy/
H A Dfsproto.h69 typedef int op_read_vnode(void *ns, vnode_id vnid, char r, void **node);
70 typedef int op_write_vnode(void *ns, void *node, char r);
71 typedef int op_remove_vnode(void *ns, void *node, char r);
72 typedef int op_secure_vnode(void *ns, void *node);
77 typedef int op_access(void *ns, void *node, int mode);
84 typedef int op_link(void *ns, void *dir, const char *name, void *node);
91 typedef int op_readlink(void *ns, void *node, char *buf, size_t *bufsize);
93 typedef int op_opendir(void *ns, void *node, void **cookie);
94 typedef int op_closedir(void *ns, void *node, void *cookie);
95 typedef int op_rewinddir(void *ns, void *node, voi
[all...]
/haiku/headers/private/kernel/fs/
H A Dnode_monitor.h20 extern status_t remove_node_listener(dev_t device, ino_t node,
22 extern status_t add_node_listener(dev_t device, ino_t node, uint32 flags,
37 extern status_t _user_start_watching(dev_t device, ino_t node, uint32 flags,
39 extern status_t _user_stop_watching(dev_t device, ino_t node, port_id port,
/haiku/src/tests/system/kernel/device_manager/playground/
H A Ddevice_manager.h40 /* attribute of a device node */
67 status_t (*rescan_node)(device_node *node);
72 status_t (*unregister_node)(device_node *node);
74 status_t (*get_driver)(device_node *node, driver_module_info **_module,
79 const device_attr *attrs, device_node **node);
80 device_node *(*get_parent_node)(device_node *node);
81 void (*put_node)(device_node *node);
83 status_t (*publish_device)(device_node *node, const char *path,
85 status_t (*unpublish_device)(device_node *node, const char *path);
95 status_t (*get_attr_uint8)(const device_node *node, cons
[all...]
/haiku/src/tests/kits/storage/
H A DNodeInfoTest.cpp38 static const char *testType1 = "application/x-vnd.obos.node-info-test1";
39 static const char *testType2 = "application/x-vnd.obos.node-info-test2";
48 = "application/x-vnd.obos.node-info-test-app1";
50 = "application/x-vnd.obos.node-info-test-app2";
131 fApplication = new BApplication("application/x-vnd.obos.node-info-test");
187 // BNodeInfo(BNode *node)
188 // * NULL node => InitCheck() == B_BAD_VALUE
194 // * invalid node => InitCheck() == B_BAD_VALUE
197 BNode node; local
198 BNodeInfo nodeInfo(&node);
225 BNode node; local
251 CheckAttr(BNode &node, const char *name, type_code type, const void *data, int32 dataSize) argument
267 CheckNoAttr(BNode &node, const char *name) argument
284 CheckTypeAttr(BNode &node, const char *data) argument
293 CheckIconAttr(BNode &node, BBitmap *data) argument
316 CheckPreferredAppAttr(BNode &node, const char *data) argument
325 CheckAppHintAttr(BNode &node, const entry_ref *ref) argument
[all...]
/haiku/src/kits/storage/
H A DNodeMonitor.cpp25 // Subscribes a target to watch node changes on a volume.
49 // Subscribes or unsubscribes a target to node and/or mount watching.
51 watch_node(const node_ref* node, uint32 flags, BMessenger target) argument
61 // unsubscribe from node node watching
62 if (node == NULL)
65 return _kern_stop_watching(node->device, node->node, port, token);
79 // node watchin
95 watch_node(const node_ref* node, uint32 flags, const BHandler* handler, const BLooper* looper) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/util/
H A DTwoKeyAVLTree.h205 inline void Free(Node* node) const
207 if (node == NULL)
210 object_cache_delete<Node>(fObjectCache, node, 0);
219 inline Key GetKey(Node* node) const
221 return GetValueKey(node->value);
224 inline Value& GetValue(Node* node) const
226 return node->value;
229 inline AVLTreeNode* GetAVLTreeNode(Node* node) const
231 return node;
234 inline Node* GetNode(AVLTreeNode* node) cons
477 Node* node = _FindFirst(key, NULL); local
496 Node* node = _FindFirst(key, &parent); local
530 Node* node = fTreeMap.RootNode(); local
581 GetIterator(Node* node, Iterator* iterator) argument
626 Remove(Node* node) argument
638 Node* node = fTreeMap.RootNode(); local
[all...]
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DIndirectItem.h37 IndirectItem(LeafNode *node, ItemHeader *header) argument
38 : Item(node, header) {}
/haiku/src/kits/media/
H A DTimeSourceObject.h20 TimeSourceObject(const media_node& node);
29 virtual status_t DeleteHook(BMediaNode* node);
/haiku/src/add-ons/print/drivers/lpstyl/
H A DLpstylEntry.cpp41 PrinterData* InstantiatePrinterData(BNode* node) argument
43 return new LpstylData(node);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DVolume.cpp98 Volume::GetVNodeType(void* node, int* type) argument
106 Volume::GetVNodeName(void* node, char* buffer, size_t bufferSize) argument
108 // stat the node to get its ID
110 status_t error = ReadStat(node, &st);
116 error = Lookup(node, "..", &parentID);
120 // get the parent node handle
148 // found an entry for our node?
166 // put the parent node
174 Volume::ReadVNode(ino_t vnid, bool reenter, void** node, int* type, argument
182 Volume::WriteVNode(void* node, boo argument
189 RemoveVNode(void* node, bool reenter) argument
199 DoIO(void* node, void* cookie, const IORequestInfo& requestInfo) argument
206 CancelIO(void* node, void* cookie, int32 ioRequestID) argument
233 IOCtl(void* node, void* cookie, uint32 command, void *buffer, size_t size) argument
241 SetFlags(void* node, void* cookie, int flags) argument
248 Select(void* node, void* cookie, uint8 event, selectsync* sync) argument
255 Deselect(void* node, void* cookie, uint8 event, selectsync* sync) argument
262 FSync(void* node) argument
269 ReadSymlink(void* node, char* buffer, size_t bufferSize, size_t* bytesRead) argument
285 Link(void* dir, const char* name, void* node) argument
307 Access(void* node, int mode) argument
314 ReadStat(void* node, struct stat* st) argument
321 WriteStat(void* node, const struct stat *st, uint32 mask) argument
340 Open(void* node, int openMode, void** cookie) argument
347 Close(void* node, void* cookie) argument
354 FreeCookie(void* node, void* cookie) argument
361 Read(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument
369 Write(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument
395 OpenDir(void* node, void** cookie) argument
402 CloseDir(void* node, void* cookie) argument
409 FreeDirCookie(void* node, void* cookie) argument
416 ReadDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
424 RewindDir(void* node, void* cookie) argument
435 OpenAttrDir(void* node, void** cookie) argument
442 CloseAttrDir(void* node, void* cookie) argument
449 FreeAttrDirCookie(void* node, void* cookie) argument
456 ReadAttrDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
464 RewindAttrDir(void* node, void* cookie) argument
475 CreateAttr(void* node, const char* name, uint32 type, int openMode, void** cookie) argument
483 OpenAttr(void* node, const char* name, int openMode, void** cookie) argument
491 CloseAttr(void* node, void* cookie) argument
498 FreeAttrCookie(void* node, void* cookie) argument
505 ReadAttr(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument
513 WriteAttr(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument
521 ReadAttrStat(void* node, void* cookie, struct stat *st) argument
528 WriteAttrStat(void* node, void* cookie, const struct stat* st, int statMask) argument
544 RemoveAttr(void* node, const char* name) argument
[all...]
/haiku/headers/private/debugger/value/
H A DValueNodeContainer.h46 void NotifyValueNodeChildrenCreated(ValueNode* node);
47 void NotifyValueNodeChildrenDeleted(ValueNode* node);
48 void NotifyValueNodeValueChanged(ValueNode* node);
69 virtual void ValueNodeChildrenCreated(ValueNode* node);
70 virtual void ValueNodeChildrenDeleted(ValueNode* node);
71 virtual void ValueNodeValueChanged(ValueNode* node);
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DPackageDirectory.cpp31 PackageDirectory::AddChild(PackageNode* node) argument
33 fChildren.Add(node);
34 node->AcquireReference();
39 PackageDirectory::RemoveChild(PackageNode* node) argument
41 fChildren.Remove(node);
42 node->ReleaseReference();
/haiku/src/kits/print/
H A DJobs.cpp64 BNode node(&job);
65 if (node.InitCheck() != B_OK) return;
69 if (node.ReadAttrString(PSRV_SPOOL_ATTR_STATUS, &status) != B_OK) {
99 // Write to status attribute of node
101 BNode node(&fEntry);
102 if (node.InitCheck() == B_OK) {
103 node.WriteAttr(PSRV_SPOOL_ATTR_STATUS, B_STRING_TYPE, 0, status, strlen(status)+1);
115 BNode node(&fEntry);
116 if (node.InitCheck() != B_OK) return false;
118 BNodeInfo info(&node);
183 Find(node_ref* node) argument
191 EntryCreated(node_ref* node, entry_ref* entry) argument
201 EntryRemoved(node_ref* node) argument
211 AttributeChanged(node_ref* node) argument
[all...]
/haiku/headers/private/print/
H A DFolderWatcher.h47 virtual void EntryCreated(node_ref* node, entry_ref* entry) {}; argument
49 virtual void EntryRemoved(node_ref* node) {}; argument
51 virtual void AttributeChanged(node_ref* node) {}; argument
66 bool BuildNodeRef(BMessage* msg, node_ref* node);
73 // start node watching (optionally watch attribute changes)
75 // stop node watching
87 status_t StartAttrWatching(node_ref* node);
88 status_t StopAttrWatching(node_ref* node);

Completed in 117 milliseconds

1234567891011>>