Searched refs:node (Results 51 - 75 of 965) sorted by relevance

1234567891011>>

/haiku/src/add-ons/kernel/file_systems/ramfs/
H A DEntry.cpp14 Entry::Entry(const char *name, Node *node, Directory *parent) argument
21 if (node)
22 Link(node);
41 Entry::Link(Node *node) argument
43 if (node == NULL)
45 if (node == fNode)
48 // We first link to the new node and then unlink the old one.
50 status_t error = node->Link(this);
52 fNode = node;
H A DSizeIndex.cpp19 SizeIndexPrimaryKey(Node *node, off_t size) argument
20 : node(node), size(size) {}
21 SizeIndexPrimaryKey(Node *node) argument
22 : node(node), size(node->GetSize()) {}
24 : node(NULL), size(size) {}
26 Node *node; member in class:SizeIndexPrimaryKey
51 if (a.node !
146 Changed(Node *node, off_t oldSize) argument
178 NodeAdded(Node *node) argument
186 NodeRemoved(Node *node) argument
[all...]
H A DLastModifiedIndex.cpp20 LastModifiedIndexPrimaryKey(Node *node, time_t modified) argument
21 : node(node), modified(modified) {}
22 LastModifiedIndexPrimaryKey(Node *node) argument
23 : node(node), modified(node->GetMTime()) {}
25 : node(NULL), modified(modified) {}
27 Node *node; member in class:LastModifiedIndexPrimaryKey
52 if (a.node !
148 Changed(Node *node, time_t oldModified) argument
179 NodeAdded(Node *node) argument
187 NodeRemoved(Node *node) argument
[all...]
/haiku/headers/private/kernel/util/
H A DAVLTreeMap.h19 //! Automatic node strategy (works like STL containers do)
28 inline void Free(Node* node)
29 inline const Key GetKey(const Node* node) const
30 inline Value& GetValue(Node* node) const
31 inline AVLTreeNode* GetAVLTreeNode(Node* node) const
32 inline Node* GetNode(AVLTreeNode* node) const
68 Node* Previous(Node* node) const;
69 Node* Next(Node* node) const;
74 inline Iterator GetIterator(Node* node);
75 inline ConstIterator GetIterator(Node* node) cons
334 GetIterator(Node* node) argument
428 AVLTreeNode* node = fTree.Remove(&key); local
440 Remove(Node* node) argument
453 CompareKeyNode(const void* key, const AVLTreeNode* node) argument
482 _Free(Node* node) argument
545 _FreeTree(AVLTreeNode* node) argument
620 Free(Node* node) argument
[all...]
H A DAVLTreeBase.h32 const AVLTreeNode* node) = 0;
50 AVLTreeNode* LeftMost(AVLTreeNode* node) const;
52 AVLTreeNode* RightMost(AVLTreeNode* node) const;
54 AVLTreeNode* Previous(AVLTreeNode* node) const;
55 AVLTreeNode* Next(AVLTreeNode* node) const;
58 inline AVLTreeIterator GetIterator(AVLTreeNode* node) const;
87 int _BalanceInsertLeft(AVLTreeNode** node);
88 int _BalanceInsertRight(AVLTreeNode** node);
92 int _BalanceRemoveLeft(AVLTreeNode** node);
93 int _BalanceRemoveRight(AVLTreeNode** node);
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRPCServer.cpp357 ServerNode* node = _Find(address); local
358 if (node != NULL) {
359 node->fRefCount++;
360 *_server = node->fServer;
365 node = new(std::nothrow) ServerNode;
366 if (node == NULL)
369 node->fID = address;
374 delete node;
378 node->fServer = new Server(conn, &node
410 ServerNode* node = _Find(server->ID()); local
426 ServerNode* node = fRoot; local
441 _Delete(ServerNode* node) argument
504 _Insert(ServerNode* node) argument
[all...]
/haiku/src/apps/cortex/RouteApp/
H A DNodeSetIOContext.cpp59 media_node_id node,
62 if(node == media_node::null.node)
68 if((*it).second == node) {
75 " found matching node with key '%s'!\n",
76 node, key, (*it).first.String()));
83 m_nodes.push_back(node_entry(key, node));
87 m_nodes.push_back(node_entry(buffer, node));
94 media_node_id node) {
98 if((*it).second == node) {
58 addNode( media_node_id node, const char* key) argument
93 removeNode( media_node_id node) argument
138 getKeyFor( media_node_id node, const char** outKey) const argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/
H A DVolume.h47 virtual status_t GetVNodeType(void* node, int* type);
51 virtual status_t GetVNodeName(void* node, char* buffer,
54 void** node, int* type, uint32* flags,
56 virtual status_t WriteVNode(void* node, bool reenter);
57 virtual status_t RemoveVNode(void* node, bool reenter);
60 virtual status_t DoIO(void* node, void* cookie,
62 virtual status_t CancelIO(void* node, void* cookie,
73 virtual status_t IOCtl(void* node, void* cookie,
75 virtual status_t SetFlags(void* node, void* cookie,
77 virtual status_t Select(void* node, voi
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/package/
H A DPackageDirectory.h23 void AddChild(PackageNode* node);
24 void RemoveChild(PackageNode* node);
27 inline PackageNode* NextChild(PackageNode* node) const;
48 PackageDirectory::NextChild(PackageNode* node) const
50 return fChildren.GetNext(node);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dkernel_interface.cpp236 reiserfs_read_vnode(fs_volume *fs, ino_t vnid, fs_vnode *node, int *_type, argument
249 node->private_node = foundNode;
250 node->ops = &gReiserFSVnodeOps;
272 VNode *node = (VNode*)_node->private_node; local
274 if (node != volume->GetRootVNode())
275 delete node;
291 VNode *node = (VNode*)_node->private_node; local
292 FUNCTION(("node: (%" B_PRIdINO ": %" B_PRIu32 ", %" B_PRIu32 ")\n",
293 node->GetID(), node
309 VNode *node = (VNode*)_node->private_node; local
330 VNode *node = (VNode*)_node->private_node; local
359 VNode *node = (VNode*)_node->private_node; local
390 VNode *node = (VNode*)_node->private_node; local
403 VNode *node = (VNode*)_node->private_node; local
420 VNode *node = (VNode*)_node->private_node; local
480 VNode *node = (VNode*)_node->private_node; local
521 VNode *node = (VNode*)_node->private_node; local
534 VNode *node = (VNode*)_node->private_node; local
550 VNode *node = (VNode*)_node->private_node; local
648 VNode *node = (VNode*)_node->private_node; local
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/client/
H A DVirtualVolume.h39 Node** node);
40 virtual status_t WriteVNode(Node* node, char reenter);
41 virtual status_t RemoveVNode(Node* node, char reenter);
44 virtual status_t FSync(Node* node);
45 virtual status_t ReadStat(Node* node, struct stat* st);
46 virtual status_t WriteStat(Node* node, struct stat *st,
48 virtual status_t Access(Node* node, int mode);
54 virtual status_t Open(Node* node, int openMode,
56 virtual status_t Close(Node* node, void* cookie);
57 virtual status_t FreeCookie(Node* node, voi
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A DBeOSKernelVolume.cpp149 BeOSKernelVolume::GetVNodeType(void* node, int* type) argument
152 // The volume is mounted. We can stat() the node to get its type.
154 status_t error = ReadStat(node, &st);
161 // cookie yet and cannot use calls into the FS to get the node type.
162 // Just assume the node is a directory. That definitely is the case for
163 // the root node and shouldn't do harm for the index directory or
179 BeOSKernelVolume::ReadVNode(ino_t vnid, bool reenter, void** node, int* type, argument
185 // get the node
187 node);
191 // stat it -- we need to get the node typ
208 WriteVNode(void* node, bool reenter) argument
217 RemoveVNode(void* node, bool reenter) argument
230 IOCtl(void* node, void* cookie, uint32 command, void* buffer, size_t size) argument
241 SetFlags(void* node, void* cookie, int flags) argument
250 Select(void* node, void* cookie, uint8 event, selectsync* sync) argument
262 Deselect(void* node, void* cookie, uint8 event, selectsync* sync) argument
272 FSync(void* node) argument
281 ReadSymlink(void* node, char* buffer, size_t bufferSize, size_t* bytesRead) argument
303 Link(void* dir, const char* name, void* node) argument
331 Access(void* node, int mode) argument
340 ReadStat(void* node, struct stat* st) argument
352 WriteStat(void* node, const struct stat *st, uint32 mask) argument
380 Open(void* node, int openMode, void** cookie) argument
389 Close(void* node, void* cookie) argument
398 FreeCookie(void* node, void* cookie) argument
407 Read(void* node, void* cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument
418 Write(void* node, void* cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument
453 OpenDir(void* node, void** cookie) argument
462 CloseDir(void* node, void* cookie) argument
471 FreeDirCookie(void* node, void* cookie) argument
480 ReadDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
495 RewindDir(void* node, void* cookie) argument
508 OpenAttrDir(void* node, void** cookie) argument
517 CloseAttrDir(void* node, void* cookie) argument
526 FreeAttrDirCookie(void* node, void* cookie) argument
535 ReadAttrDir(void* node, void* cookie, void* buffer, size_t bufferSize, uint32 count, uint32* countRead) argument
550 RewindAttrDir(void* node, void* cookie) argument
563 CreateAttr(void* node, const char* name, uint32 type, int openMode, void** cookie) argument
571 OpenAttr(void* node, const char* name, int openMode, void** cookie) argument
579 CloseAttr(void* node, void* cookie) argument
586 FreeAttrCookie(void* node, void* _cookie) argument
601 ReadAttr(void* node, void* _cookie, off_t pos, void* buffer, size_t bufferSize, size_t* bytesRead) argument
621 WriteAttr(void* node, void* _cookie, off_t pos, const void* buffer, size_t bufferSize, size_t* bytesWritten) argument
641 ReadAttrStat(void* node, void* _cookie, struct stat *st) argument
678 RemoveAttr(void* node, const char* name) argument
835 _OpenAttr(void* node, const char* name, uint32 type, int openMode, bool create, void** _cookie) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/packagefs/indices/
H A DLastModifiedIndex.cpp27 LastModifiedIndexPrimaryKey(Node* node, time_t modified) argument
29 node(node),
34 LastModifiedIndexPrimaryKey(Node* node) argument
36 node(node),
37 modified(node->ModifiedTime().tv_sec)
43 node(NULL),
48 Node* node; member in class:LastModifiedIndexPrimaryKey
78 if (a.node !
118 GetNodeValue(Node* node, void* buffer, size_t* _keyLength) argument
185 NodeAdded(Node* node) argument
192 NodeRemoved(Node* node) argument
199 NodeChanged(Node* node, uint32 statFields, const OldNodeAttributes& oldAttributes) argument
287 NodeChanged(Node* node, uint32 statFields, const OldNodeAttributes& oldAttributes) argument
[all...]
H A DSizeIndex.cpp27 SizeIndexPrimaryKey(Node* node, off_t size) argument
29 node(node),
34 SizeIndexPrimaryKey(Node* node) argument
36 node(node),
37 size(node->FileSize())
43 node(NULL),
48 Node* node; member in class:SizeIndexPrimaryKey
78 if (a.node !
117 GetNodeValue(Node* node, void* buffer, size_t* _keyLength) argument
184 NodeAdded(Node* node) argument
191 NodeRemoved(Node* node) argument
198 NodeChanged(Node* node, uint32 statFields, const OldNodeAttributes& oldAttributes) argument
285 NodeChanged(Node* node, uint32 statFields, const OldNodeAttributes& oldAttributes) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.h45 virtual status_t GetVNodeName(void* node, char* buffer,
48 void** node, int* type, uint32* flags,
50 virtual status_t WriteVNode(void* node, bool reenter);
51 virtual status_t RemoveVNode(void* node, bool reenter);
54 virtual status_t DoIO(void* node, void* cookie,
58 virtual status_t SetFlags(void* node, void* cookie,
61 virtual status_t FSync(void* node);
63 virtual status_t ReadSymlink(void* node, char* buffer,
69 void* node);
74 virtual status_t Access(void* node, in
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.h51 status_t GetVNode(ino_t vnid, void** node);
54 status_t NewVNode(ino_t vnid, void* node,
56 status_t PublishVNode(ino_t vnid, void* node,
97 status_t GetVNodeName(void* node, char* buffer,
100 void** node, fs_vnode_ops** _ops, int* type,
102 status_t WriteVNode(void* node, bool reenter);
103 status_t RemoveVNode(void* node, bool reenter);
106 status_t DoIO(void* node, void* cookie,
108 status_t CancelIO(void* node, void* cookie,
112 status_t IOCtl(void* node, voi
[all...]
/haiku/src/add-ons/kernel/file_systems/btrfs/
H A DExtentAllocator.cpp110 CachedExtent* node = FindClosest(lowerBound, false); local
113 uint64 flags = node->flags & (~BTRFS_EXTENT_FLAG_ALLOCATED);
114 if (lowerBound < node->offset) {
115 hole = CachedExtent::Create(lowerBound, node->offset - lowerBound,
123 while ((next = Next(node)) != NULL && next->End() < upperBound) {
124 if (node->End() == next->offset) {
125 node = next;
129 hole = CachedExtent::Create(node->End(), next->offset - node->End(),
134 node
149 _RemoveExtent(CachedExtent* node) argument
160 _AddAllocatedExtent(CachedExtent* node) argument
221 _AddFreeExtent(CachedExtent* node) argument
285 _CombineFreeExtent(CachedExtent* node) argument
339 _Delete(CachedExtent* node) argument
[all...]
/haiku/headers/private/media/
H A DMediaRosterEx.h42 status_t SaveNodeConfiguration(BMediaNode* node);
52 status_t ReleaseNodeAll(const media_node& node);
54 status_t SetNodeCreator(media_node_id node, team_id creator);
56 status_t RegisterNode(BMediaNode* node, media_addon_id addonid,
69 status_t SetNode(node_type type, const media_node* node,
73 status_t GetAllOutputs(const media_node& node,
76 status_t GetAllOutputs(BBufferProducer* node,
79 status_t GetAllInputs(const media_node& node,
82 status_t GetAllInputs(BBufferConsumer* node,
85 status_t PublishOutputs(const media_node& node,
[all...]
H A DNotifications.h25 and the notification belongs to the watched node.
27 In addition, anyone watching a specific node will also receive
40 B_MEDIA_PARAMETER_CHANGED N "node", "parameter"
42 B_MEDIA_WEB_CHANGED N "node"
43 B_MEDIA_DEFAULT_CHANGED "default", "node" -- handled by
45 B_MEDIA_NEW_PARAMETER_VALUE N "node", "parameter", "when", "value"
46 B_MEDIA_NODE_STOPPED N "node", "when"
55 status_t Register(const BMessenger& notifyHandler, const media_node& node,
59 status_t Unregister(const BMessenger& notifyHandler, const media_node& node,
63 status_t ReportError(const media_node& node, BMediaNod
[all...]
/haiku/src/system/boot/platform/riscv/
H A Dfdt.cpp55 GetReg(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, size_t idx, argument
59 const uint8* prop = (const uint8*)fdt_getprop(fdt, node, "reg", &propSize);
84 GetInterrupt(const void* fdt, int node) argument
86 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "interrupts-extended", NULL)) {
89 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "interrupts", NULL)) {
98 HandleFdt(const void* fdt, int node, uint32 addressCells, uint32 sizeCells, argument
99 uint32 interruptCells /* from parent node */)
103 const char* name = fdt_get_name(fdt, node, NULL);
105 if (uint32* prop = (uint32*)fdt_getprop(fdt, node, "timebase-frequency", NULL))
109 const char* device_type = (const char*)fdt_getprop(fdt, node,
197 int node = -1; local
[all...]
/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DVideoMixerAddOn.cpp85 VideoMixerNode *node = new VideoMixerNode(info, config, this); local
86 if (node == NULL) {
90 *out_error = node->InitCheck();
92 return node;
100 VideoMixerNode *node = dynamic_cast<VideoMixerNode *>(your_node); local
101 if (node == NULL) {
105 return node->GetConfigurationFor(into_message);
/haiku/src/add-ons/kernel/file_systems/packagefs/nodes/
H A DDirectory.h13 Node* node; member in struct:DirectoryIterator
17 node(NULL)
41 void AddChild(Node* node);
42 void RemoveChild(Node* node);
46 inline Node* NextChild(Node* node) const;
68 Directory::NextChild(Node* node) const
70 return fChildList.GetNext(node);
/haiku/src/kits/media/experimental/
H A DMediaClientDefs.cpp17 return node.node;
67 input.node = client.node;
80 output.node = client.node;
92 return client.node;
/haiku/src/servers/media/
H A DNotificationManager.cpp81 const media_node *node; local
89 msg->FindData("node", B_RAW_TYPE, reinterpret_cast<const void **>(&node),
95 n.node = *node;
99 TRACE("NotificationManager::RequestNotifications node %ld, team %ld, "
100 "what %#lx\n",node->node, team, what);
117 const media_node *node; local
125 msg->FindData("node", B_RAW_TYP
178 const media_node *node; local
[all...]
/haiku/src/system/kernel/arch/m68k/
H A Darch_system_info.cpp26 arch_fill_topology_node(cpu_topology_node_info* node, int32 cpu) argument
28 switch (node->type) {
30 node->data.root.platform = B_CPU_M68K;
34 node->data.package.vendor = B_CPU_VENDOR_MOTOROLA;
35 node->data.package.cache_line_size = CACHE_LINE_SIZE;
39 node->data.core.model = sCPURevision;
40 node->data.core.default_frequency = sCPUClockFrequency;

Completed in 123 milliseconds

1234567891011>>