Lines Matching refs:node

30 				void **node);
31 static int netfs_write_vnode(void *ns, void *node, char reenter);
32 static int netfs_remove_vnode(void *ns, void *node, char reenter);
35 //static int netfs_fsync(void *ns, void *node);
36 static int netfs_read_stat(void *ns, void *node, struct stat *st);
37 static int netfs_write_stat(void *ns, void *node, struct stat *st,
39 static int netfs_access(void *ns, void *node, int mode);
44 static int netfs_open(void *ns, void *node, int openMode, void **cookie);
45 static int netfs_close(void *ns, void *node, void *cookie);
46 static int netfs_free_cookie(void *ns, void *node, void *cookie);
47 static int netfs_read(void *ns, void *node, void *cookie, off_t pos,
49 static int netfs_write(void *ns, void *node, void *cookie, off_t pos,
51 static int netfs_ioctl(void *ns, void *node, void *cookie, int cmd,
53 //static int netfs_setflags(void *ns, void *node, void *cookie, int flags);
56 static int netfs_link(void *ns, void *dir, const char *name, void *node);
60 static int netfs_read_link(void *ns, void *node, char *buffer,
68 static int netfs_open_dir(void *ns, void *node, void **cookie);
69 static int netfs_close_dir(void *ns, void *node, void *cookie);
70 static int netfs_free_dir_cookie(void *ns, void *node, void *cookie);
71 static int netfs_read_dir(void *ns, void *node, void *cookie,
73 static int netfs_rewind_dir(void *ns, void *node, void *cookie);
78 static int netfs_open_attrdir(void *ns, void *node, void **cookie);
79 static int netfs_close_attrdir(void *ns, void *node, void *cookie);
80 static int netfs_free_attrdir_cookie(void *ns, void *node, void *cookie);
81 static int netfs_read_attrdir(void *ns, void *node, void *cookie,
83 static int netfs_read_attr(void *ns, void *node, const char *name,
85 static int netfs_rewind_attrdir(void *ns, void *node, void *cookie);
86 static int netfs_write_attr(void *ns, void *node, const char *name,
88 static int netfs_remove_attr(void *ns, void *node, const char *name);
89 static int netfs_rename_attr(void *ns, void *node, const char *oldName,
91 static int netfs_stat_attr(void *ns, void *node, const char *name,
98 static int netfs_free_query_cookie(void *ns, void *node, void *cookie);
316 netfs_read_vnode(void *ns, vnode_id vnid, char reenter, void **node)
323 node);
327 error = volume->ReadVNode(vnid, reenter, (Node**)node);
329 PRINT("netfs_read_vnode() done: (%" B_PRIx32 ", %p)\n", error, *node);
339 Node* node = (Node*)_node;
345 // PRINT(("netfs_write_vnode(%p, %p, %d)\n", ns, node, reenter));
346 status_t error = node->GetVolume()->WriteVNode(node, reenter);
356 Node* node = (Node*)_node;
358 // PRINT(("netfs_remove_vnode(%p, %p, %d)\n", ns, node, reenter));
359 status_t error = node->GetVolume()->RemoveVNode(node, reenter);
374 Node* node = (Node*)_node;
375 PRINT("netfs_fsync(%p, %p)\n", ns, node);
376 status_t error = node->GetVolume()->FSync(node);
388 Node* node = (Node*)_node;
389 PRINT("netfs_read_stat(%p, %p, %p)\n", ns, node, st);
390 status_t error = node->GetVolume()->ReadStat(node, st);
400 Node* node = (Node*)_node;
401 PRINT("netfs_write_stat(%p, %p, %p, %ld)\n", ns, node, st, mask);
402 status_t error = node->GetVolume()->WriteStat(node, st, mask);
412 Node* node = (Node*)_node;
413 PRINT("netfs_access(%p, %p, %d)\n", ns, node, mode);
414 status_t error = node->GetVolume()->Access(node, mode);
443 Node* node = (Node*)_node;
444 PRINT("netfs_open(%p, %p, %d)\n", ns, node, openMode);
445 status_t error = node->GetVolume()->Open(node, openMode, cookie);
455 Node* node = (Node*)_node;
456 PRINT("netfs_close(%p, %p, %p)\n", ns, node, cookie);
457 status_t error = node->GetVolume()->Close(node, cookie);
467 Node* node = (Node*)_node;
468 PRINT("netfs_free_cookie(%p, %p, %p)\n", ns, node, cookie);
469 status_t error = node->GetVolume()->FreeCookie(node, cookie);
480 Node* node = (Node*)_node;
481 PRINT("netfs_read(%p, %p, %p, %" B_PRIdOFF ", %p, %lu)\n", ns, node,
483 status_t error = node->GetVolume()->Read(node, cookie, pos, buffer,
495 Node* node = (Node*)_node;
496 PRINT("netfs_write(%p, %p, %p, %" B_PRIdOFF ", %p, %lu)\n", ns, node,
498 status_t error = node->GetVolume()->Write(node, cookie, pos, buffer,
510 Node* node = (Node*)_node;
511 PRINT("netfs_ioctl(%p, %p, %p, %d, %p, %lu)\n", ns, node, cookie, cmd,
513 status_t error = node->GetVolume()->IOCtl(node, cookie, cmd, buffer,
524 // Node* node = (Node*)_node;
525 // PRINT(("netfs_setflags(%p, %p, %p, %d)\n", ns, node, cookie, flags));
526 // status_t error = node->GetVolume()->SetFlags(node, cookie, flags);
540 Node* node = (Node*)_node;
541 PRINT("netfs_link(%p, %p, `%s', %p)\n", ns, dir, name, node);
542 status_t error = dir->GetVolume()->Link(dir, name, node);
576 Node* node = (Node*)_node;
577 PRINT("netfs_read_link(%p, %p, %p, %lu)\n", ns, node, buffer,
579 status_t error = node->GetVolume()->ReadLink(node, buffer, *bufferSize,
634 Node* node = (Node*)_node;
635 PRINT("netfs_open_dir(%p, %p)\n", ns, node);
636 status_t error = node->GetVolume()->OpenDir(node, cookie);
646 Node* node = (Node*)_node;
647 PRINT("netfs_close_dir(%p, %p, %p)\n", ns, node, cookie);
648 status_t error = node->GetVolume()->CloseDir(node, cookie);
658 Node* node = (Node*)_node;
659 PRINT("netfs_free_dir_cookie(%p, %p, %p)\n", ns, node, cookie);
660 status_t error = node->GetVolume()->FreeDirCookie(node, cookie);
671 Node* node = (Node*)_node;
672 PRINT("netfs_read_dir(%p, %p, %p, %ld, %p, %lu)\n", ns, node, cookie,
675 status_t error = node->GetVolume()->ReadDir(node, cookie, buffer,
705 Node* node = (Node*)_node;
706 PRINT("netfs_rewind_dir(%p, %p, %p)\n", ns, node, cookie);
707 status_t error = node->GetVolume()->RewindDir(node, cookie);
735 Node* node = (Node*)_node;
736 PRINT("netfs_open_attrdir(%p, %p)\n", ns, node);
737 status_t error = node->GetVolume()->OpenAttrDir(node, cookie);
747 Node* node = (Node*)_node;
748 PRINT("netfs_close_attrdir(%p, %p, %p)\n", ns, node, cookie);
749 status_t error = node->GetVolume()->CloseAttrDir(node, cookie);
759 Node* node = (Node*)_node;
760 PRINT("netfs_free_attrdir_cookie(%p, %p, %p)\n", ns, node, cookie);
761 status_t error = node->GetVolume()->FreeAttrDirCookie(node, cookie);
772 Node* node = (Node*)_node;
773 PRINT("netfs_read_attrdir(%p, %p, %p, %ld, %p, %lu)\n", ns, node,
776 status_t error = node->GetVolume()->ReadAttrDir(node, cookie, buffer,
788 Node* node = (Node*)_node;
789 PRINT("netfs_rewind_attrdir(%p, %p, %p)\n", ns, node, cookie);
790 status_t error = node->GetVolume()->RewindAttrDir(node, cookie);
801 Node* node = (Node*)_node;
803 node, name, type, buffer, *bufferSize, pos);
804 status_t error = node->GetVolume()->ReadAttr(node, name, type, pos, buffer,
817 Node* node = (Node*)_node;
819 node, name, type, buffer, *bufferSize, pos);
820 status_t error = node->GetVolume()->WriteAttr(node, name, type, pos, buffer,
832 Node* node = (Node*)_node;
833 PRINT("netfs_remove_attr(%p, %p, `%s')\n", ns, node, name);
834 status_t error = node->GetVolume()->RemoveAttr(node, name);
845 Node* node = (Node*)_node;
846 PRINT("netfs_rename_attr(%p, %p, `%s', `%s')\n", ns, node, oldName,
848 status_t error = node->GetVolume()->RenameAttr(node, oldName, newName);
859 Node* node = (Node*)_node;
860 PRINT("netfs_stat_attr(%p, %p, `%s', %p)\n", ns, node, name,
862 status_t error = node->GetVolume()->StatAttr(node, name, attrInfo);
910 netfs_free_query_cookie(void *ns, void *node, void *cookie)