Lines Matching refs:vti
217 VnodeToInode* vti = new VnodeToInode(inode->ID(), fs); in nfs4_mount() local
218 if (vti == NULL) { in nfs4_mount()
225 vti->Replace(inode); in nfs4_mount()
226 result = publish_vnode(volume, inode->ID(), vti, &gNFSv4VnodeOps, in nfs4_mount()
296 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(dir->private_node); in nfs4_lookup() local
299 *_id = vti->ID(); in nfs4_lookup()
304 VnodeToInodeLocker locker(vti); in nfs4_lookup()
306 Inode* inode = vti->Get(); in nfs4_lookup()
310 TRACE("volume = %p, dir = %" B_PRIi64 ", name = %s\n", volume, vti->ID(), in nfs4_lookup()
337 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_put_vnode() local
338 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_put_vnode()
340 delete vti; in nfs4_put_vnode()
349 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_remove_vnode() local
350 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_remove_vnode()
352 if (fs->Root() == vti->GetPointer()) in nfs4_remove_vnode()
355 ASSERT(vti->GetPointer() == NULL); in nfs4_remove_vnode()
356 delete vti; in nfs4_remove_vnode()
366 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read_pages() local
368 ", count = %lu, numBytes = %lu\n", _volume, vti->ID(), _cookie, pos, in nfs4_read_pages()
371 VnodeToInodeLocker _(vti); in nfs4_read_pages()
372 Inode* inode = vti->Get(); in nfs4_read_pages()
410 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_write_pages() local
412 ", count = %lu, numBytes = %lu\n", _volume, vti->ID(), _cookie, pos, in nfs4_write_pages()
415 VnodeToInodeLocker _(vti); in nfs4_write_pages()
416 Inode* inode = vti->Get(); in nfs4_write_pages()
450 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_io() local
452 vti->ID(), cookie); in nfs4_io()
454 VnodeToInodeLocker _(vti); in nfs4_io()
455 Inode* inode = vti->Get(); in nfs4_io()
499 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_fsync() local
500 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_fsync()
502 VnodeToInodeLocker _(vti); in nfs4_fsync()
503 Inode* inode = vti->Get(); in nfs4_fsync()
515 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(link->private_node); in nfs4_read_symlink() local
516 TRACE("volume = %p, link = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_read_symlink()
518 VnodeToInodeLocker _(vti); in nfs4_read_symlink()
519 Inode* inode = vti->Get(); in nfs4_read_symlink()
531 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(dir->private_node); in nfs4_create_symlink() local
533 volume, vti->ID(), name, path, mode); in nfs4_create_symlink()
535 VnodeToInodeLocker _(vti); in nfs4_create_symlink()
536 Inode* inode = vti->Get(); in nfs4_create_symlink()
545 result = get_vnode(volume, id, reinterpret_cast<void**>(&vti)); in nfs4_create_symlink()
548 vti->Clear(); in nfs4_create_symlink()
559 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_link() local
562 "\n", volume, dirVti->ID(), name, vti->ID()); in nfs4_link()
570 VnodeToInodeLocker _(vti); in nfs4_link()
571 Inode* inode = vti->Get(); in nfs4_link()
582 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(dir->private_node); in nfs4_unlink() local
584 VnodeToInodeLocker locker(vti); in nfs4_unlink()
585 Inode* inode = vti->Get(); in nfs4_unlink()
589 TRACE("volume = %p, dir = %" B_PRIi64 ", name = %s\n", volume, vti->ID(), in nfs4_unlink()
600 result = get_vnode(volume, id, reinterpret_cast<void**>(&vti)); in nfs4_unlink()
603 if (vti->Unlink(inode->fInfo.fNames, name)) in nfs4_unlink()
643 VnodeToInode* vti; in nfs4_rename() local
649 result = get_vnode(volume, oldID, reinterpret_cast<void**>(&vti)); in nfs4_rename()
651 if (vti->Unlink(toInode->fInfo.fNames, toName)) in nfs4_rename()
659 result = get_vnode(volume, id, reinterpret_cast<void**>(&vti)); in nfs4_rename()
661 Inode* child = vti->Get(); in nfs4_rename()
680 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_access() local
681 TRACE("volume = %p, vnode = %" B_PRIi64 ", mode = %d\n", volume, vti->ID(), in nfs4_access()
684 VnodeToInodeLocker _(vti); in nfs4_access()
685 Inode* inode = vti->Get(); in nfs4_access()
696 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read_stat() local
697 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_read_stat()
699 VnodeToInodeLocker _(vti); in nfs4_read_stat()
700 Inode* inode = vti->Get(); in nfs4_read_stat()
715 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_write_stat() local
717 volume, vti->ID(), statMask); in nfs4_write_stat()
719 VnodeToInodeLocker _(vti); in nfs4_write_stat()
720 Inode* inode = vti->Get(); in nfs4_write_stat()
733 VnodeToInode* vti; in get_new_vnode() local
743 vti = *_vti; in get_new_vnode()
745 if (vti->Get() == NULL) { in get_new_vnode()
752 vti->Replace(inode); in get_new_vnode()
772 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(dir->private_node); in nfs4_create() local
774 " perms = %d\n", volume, vti->ID(), name, openMode, perms); in nfs4_create()
776 VnodeToInodeLocker _(vti); in nfs4_create()
777 Inode* inode = vti->Get(); in nfs4_create()
791 result = get_new_vnode(volume, *_newVnodeID, &vti); in nfs4_create()
797 VnodeToInodeLocker _child(vti); in nfs4_create()
798 Inode* child = vti->Get(); in nfs4_create()
827 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_open() local
829 vti->ID(), openMode); in nfs4_open()
831 VnodeToInodeLocker _(vti); in nfs4_open()
832 Inode* inode = vti->Get(); in nfs4_open()
860 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_close() local
863 vti->ID(), _cookie); in nfs4_close()
865 VnodeToInodeLocker _(vti); in nfs4_close()
866 Inode* inode = vti->Get(); in nfs4_close()
882 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_free_cookie() local
885 vti->ID(), _cookie); in nfs4_free_cookie()
887 VnodeToInodeLocker _(vti); in nfs4_free_cookie()
888 Inode* inode = vti->Get(); in nfs4_free_cookie()
908 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read() local
910 ", length = %lu\n", volume, vti->ID(), _cookie, pos, *length); in nfs4_read()
912 VnodeToInodeLocker _(vti); in nfs4_read()
913 Inode* inode = vti->Get(); in nfs4_read()
933 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_write() local
935 ", length = %lu\n", volume, vti->ID(), _cookie, pos, *length); in nfs4_write()
937 VnodeToInodeLocker _(vti); in nfs4_write()
938 Inode* inode = vti->Get(); in nfs4_write()
958 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(parent->private_node); in nfs4_create_dir() local
959 TRACE("volume = %p, parent = %" B_PRIi64 ", mode = %d\n", volume, vti->ID(), in nfs4_create_dir()
962 VnodeToInodeLocker _(vti); in nfs4_create_dir()
963 Inode* inode = vti->Get(); in nfs4_create_dir()
972 result = get_vnode(volume, id, reinterpret_cast<void**>(&vti)); in nfs4_create_dir()
975 vti->Clear(); in nfs4_create_dir()
986 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(parent->private_node); in nfs4_remove_dir() local
987 TRACE("volume = %p, parent = %" B_PRIi64 ", name = %s\n", volume, vti->ID(), in nfs4_remove_dir()
990 VnodeToInodeLocker _(vti); in nfs4_remove_dir()
991 Inode* inode = vti->Get(); in nfs4_remove_dir()
1002 result = get_vnode(volume, id, reinterpret_cast<void**>(&vti)); in nfs4_remove_dir()
1005 if (vti->Unlink(inode->fInfo.fNames, name)) in nfs4_remove_dir()
1025 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_open_dir() local
1026 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_open_dir()
1028 VnodeToInodeLocker _(vti); in nfs4_open_dir()
1029 Inode* inode = vti->Get(); in nfs4_open_dir()
1070 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read_dir() local
1071 TRACE("volume = %p, vnode = %" B_PRIi64 ", cookie = %p\n", volume, vti->ID(), in nfs4_read_dir()
1074 VnodeToInodeLocker _(vti); in nfs4_read_dir()
1075 Inode* inode = vti->Get(); in nfs4_read_dir()
1110 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_open_attr_dir() local
1111 TRACE("volume = %p, vnode = %" B_PRIi64 "\n", volume, vti->ID()); in nfs4_open_attr_dir()
1113 VnodeToInodeLocker _(vti); in nfs4_open_attr_dir()
1114 Inode* inode = vti->Get(); in nfs4_open_attr_dir()
1159 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_create_attr() local
1161 VnodeToInodeLocker _(vti); in nfs4_create_attr()
1162 Inode* inode = vti->Get(); in nfs4_create_attr()
1184 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_open_attr() local
1186 VnodeToInodeLocker _(vti); in nfs4_open_attr()
1187 Inode* inode = vti->Get(); in nfs4_open_attr()
1216 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_free_attr_cookie() local
1218 VnodeToInodeLocker _(vti); in nfs4_free_attr_cookie()
1219 Inode* inode = vti->Get(); in nfs4_free_attr_cookie()
1235 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read_attr() local
1239 VnodeToInodeLocker _(vti); in nfs4_read_attr()
1240 Inode* inode = vti->Get(); in nfs4_read_attr()
1252 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_write_attr() local
1255 VnodeToInodeLocker _(vti); in nfs4_write_attr()
1256 Inode* inode = vti->Get(); in nfs4_write_attr()
1268 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_read_attr_stat() local
1271 VnodeToInodeLocker _(vti); in nfs4_read_attr_stat()
1272 Inode* inode = vti->Get(); in nfs4_read_attr_stat()
1284 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_write_attr_stat() local
1287 VnodeToInodeLocker _(vti); in nfs4_write_attr_stat()
1288 Inode* inode = vti->Get(); in nfs4_write_attr_stat()
1300 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(toVnode->private_node); in nfs4_rename_attr() local
1301 VnodeToInodeLocker to(vti); in nfs4_rename_attr()
1302 Inode* toInode = vti->Get(); in nfs4_rename_attr()
1306 vti = reinterpret_cast<VnodeToInode*>(fromVnode->private_node); in nfs4_rename_attr()
1307 VnodeToInodeLocker from(vti); in nfs4_rename_attr()
1308 Inode* fromInode = vti->Get(); in nfs4_rename_attr()
1319 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_remove_attr() local
1321 VnodeToInodeLocker _(vti); in nfs4_remove_attr()
1322 Inode* inode = vti->Get(); in nfs4_remove_attr()
1334 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_test_lock() local
1337 volume, vti->ID(), _cookie, lock); in nfs4_test_lock()
1339 VnodeToInodeLocker _(vti); in nfs4_test_lock()
1340 Inode* inode = vti->Get(); in nfs4_test_lock()
1352 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_acquire_lock() local
1355 volume, vti->ID(), _cookie, lock); in nfs4_acquire_lock()
1358 VnodeToInodeLocker _(vti); in nfs4_acquire_lock()
1359 Inode* inode = vti->Get(); in nfs4_acquire_lock()
1372 VnodeToInode* vti = reinterpret_cast<VnodeToInode*>(vnode->private_node); in nfs4_release_lock() local
1374 volume, vti->ID(), _cookie, lock); in nfs4_release_lock()
1376 VnodeToInodeLocker _(vti); in nfs4_release_lock()
1377 Inode* inode = vti->Get(); in nfs4_release_lock()