Lines Matching refs:Root

562 static int createFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root,
574 aParms[0].setUInt32(Root);
590 static int readFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root,
597 aParms[0].setUInt32(Root);
610 static int writeFile(VBOXHGCMSVCFNTABLE *psvcTable, SHFLROOT Root,
617 aParms[0].setUInt32(Root);
716 SHFLROOT Root;
722 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
725 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ, NULL,
735 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
746 SHFLROOT Root;
752 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
755 rc = createFile(&svcTable, Root, "test/dir",
766 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
778 SHFLROOT Root;
787 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
790 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
794 rc = readFile(&svcTable, Root, Handle, 0, strlen(pcszReadData) + 1,
802 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
813 SHFLROOT Root;
822 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
825 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
828 rc = writeFile(&svcTable, Root, Handle, 0, cbToWrite, &cbWritten,
836 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
847 SHFLROOT Root;
853 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
856 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
859 rc = flushFile(&svcTable, Root, Handle);
863 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
874 SHFLROOT Root;
882 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
885 rc = createFile(&svcTable, Root, "test/dir",
888 rc = listDir(&svcTable, Root, Handle, 0, sizeof (SHFLDIRINFO), NULL,
895 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
907 SHFLROOT Root;
915 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
918 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
923 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_FILE, sizeof(Info),
932 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_SET | SHFL_INFO_FILE,
937 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
948 SHFLROOT Root;
956 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
959 rc = createFile(&svcTable, Root, "test/dir",
964 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_FILE, sizeof(Info),
974 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_SET | SHFL_INFO_FILE,
981 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
992 SHFLROOT Root;
1000 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
1003 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
1008 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_FILE, sizeof(Info),
1018 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_SET | SHFL_INFO_FILE,
1025 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
1036 SHFLROOT Root;
1044 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
1047 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
1052 rc = sfInformation(&svcTable, Root, Handle, SHFL_INFO_SET | SHFL_INFO_SIZE,
1059 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");
1070 SHFLROOT Root;
1078 Root = initWithWritableMapping(hTest, &svcTable, &svcHelpers,
1081 rc = createFile(&svcTable, Root, "/test/file", SHFL_CF_ACCESS_READ,
1084 rc = lockFile(&svcTable, Root, Handle, offLock, cbLock, SHFL_LOCK_SHARED);
1096 rc = lockFile(&svcTable, Root, Handle, offLock, cbLock, SHFL_LOCK_CANCEL);
1107 unmapAndRemoveMapping(hTest, &svcTable, Root, "testname");