/freebsd/tests/sys/fs/fusefs/ |
H A D | default_permissions.cc | 150 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode, in expect_lookup() function in DefaultPermissions 153 FuseTest::expect_lookup(relpath, ino, mode, 0, 1, attr_valid, uid, gid); in expect_lookup() 280 expect_lookup(RELPATH, ino, S_IFREG | 0644, UINT64_MAX); in TEST_F() 294 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0); in TEST_F() 314 expect_lookup(RELPATH, ino, S_IFREG | 0644, UINT64_MAX); in TEST_F() 335 expect_lookup(RELPATH, ino, S_IFREG | mode, UINT64_MAX, uid); in TEST_F() 366 expect_lookup(RELPATH, ino, S_IFREG | oldmode, UINT64_MAX, uid); in TEST_F() 395 expect_lookup(RELPATH, ino, S_IFREG | mode, UINT64_MAX, geteuid()); in TEST_F() 423 expect_lookup(RELPATH, ino, S_IFREG | oldmode, UINT64_MAX, uid, gid); in TEST_F() 457 expect_lookup(RELPATH, ino, S_IFREG | mode, UINT64_MAX, uid, gid); in TEST_F() [all …]
|
H A D | unlink.cc | 41 void expect_lookup(const char *relpath, uint64_t ino, int times, int nlink=1) 73 expect_lookup(RELPATH0, ino, 1, 2); in TEST_F() 74 expect_lookup(RELPATH1, ino, 1, 2); in TEST_F() 103 expect_lookup(RELPATH, ino, 1, 2); in TEST_F() 137 expect_lookup(RELPATH, ino, 1); in TEST_F() 153 expect_lookup(RELPATH, ino, 2, 2); in TEST_F() 172 expect_lookup(RELPATH0, ino, 1, 2); in TEST_F() 181 expect_lookup(RELPATH1, ino, 1, 1); in TEST_F() 202 expect_lookup(RELPATH, ino, 1); in TEST_F() 221 expect_lookup(RELPATH in TEST_F() 42 void expect_lookup(const char *relpath, uint64_t ino, int times, int nlink=1) expect_lookup() function in Unlink [all...] |
H A D | xattr.cc | 176 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 196 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2); in TEST_F() 229 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 246 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 270 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 295 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 318 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2); in TEST_F() 338 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 363 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 459 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() [all …]
|
H A D | opendir.cc | 45 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in Opendir 47 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup() 89 expect_lookup(RELPATH, ino); in TEST_F() 112 expect_lookup(RELPATH, ino); in TEST_F() 126 expect_lookup(RELPATH, ino); in TEST_F() 146 expect_lookup(RELPATH, ino); in TEST_F() 164 expect_lookup(RELPATH, ino); in TEST_F() 186 FuseTest::expect_lookup(RELPATH, ino, S_IFDIR | 0755, 0, 2); in TEST_F()
|
H A D | access.cc | 52 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in Access 54 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, 1); in expect_lookup() 98 expect_lookup(RELPATH, ino); in TEST_F() 154 expect_lookup(RELPATH, ino); in TEST_F() 174 FuseTest::expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2); in TEST_F() 188 expect_lookup(RELPATH, ino); in TEST_F() 212 expect_lookup(RELPATH, ino); in TEST_F() 230 expect_lookup(RELPATH, ino); in TEST_F() 252 expect_lookup(RELPATH, ino); in TEST_F() 296 expect_lookup(RELPATH, ino); in TEST_F()
|
H A D | fsyncdir.cc | 71 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in FsyncDir 73 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup() 96 expect_lookup(RELPATH, ino); in TEST_F() 119 expect_lookup(RELPATH, ino); in TEST_F() 143 expect_lookup(RELPATH, ino); in TEST_F() 164 expect_lookup(RELPATH, ino); in TEST_F() 186 expect_lookup(RELPATH, ino); in TEST_F()
|
H A D | flush.cc | 59 void expect_lookup(const char *relpath, uint64_t ino, int times) in expect_lookup() function in Flush 61 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, times); in expect_lookup() 97 expect_lookup(RELPATH, ino, 2); in TEST_F() 127 expect_lookup(RELPATH, ino, 1); in TEST_F() 152 expect_lookup(RELPATH0, ino0, 1); in TEST_F() 158 expect_lookup(RELPATH1, ino1, 1); in TEST_F() 181 expect_lookup(RELPATH, ino, 1); in TEST_F() 205 expect_lookup(RELPATH, ino, 2); in TEST_F()
|
H A D | release.cc | 44 void expect_lookup(const char *relpath, uint64_t ino, int times) in expect_lookup() function in Release 46 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, times); in expect_lookup() 82 expect_lookup(RELPATH, ino, 1); in TEST_F() 112 expect_lookup(RELPATH, ino, 1); in TEST_F() 134 expect_lookup(RELPATH, ino, 1); in TEST_F() 157 expect_lookup(RELPATH, ino, 2); in TEST_F() 180 expect_lookup(RELPATH, ino, 1); in TEST_F() 201 expect_lookup(RELPATH, ino, 1); in TEST_F()
|
H A D | releasedir.cc | 44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in ReleaseDir 46 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup() 58 expect_lookup(RELPATH, ino); in TEST_F() 90 expect_lookup(RELPATH, ino); in TEST_F() 108 expect_lookup(RELPATH, ino); in TEST_F()
|
H A D | fsync.cc | 72 void expect_lookup(const char *relpath, uint64_t ino, int times = 1) in expect_lookup() function in Fsync 74 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, 0, times); in expect_lookup() 104 expect_lookup(RELPATH, ino); in TEST_F() 137 expect_lookup(RELPATH, ino); in TEST_F() 173 expect_lookup(RELPATH, ino); in TEST_F() 201 expect_lookup(RELPATH, ino); in TEST_F() 226 expect_lookup(RELPATH, ino); in TEST_F() 248 expect_lookup(RELPATH, ino); in TEST_F() 271 expect_lookup(RELPATH, ino, 2); in TEST_F()
|
H A D | locks.cc | 48 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size = 0) in expect_lookup() function in Fallback 50 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, size, 1); in expect_lookup() 141 expect_lookup(RELPATH, ino); in TEST_F() 162 expect_lookup(RELPATH, ino); in TEST_F() 180 expect_lookup(RELPATH, ino); in TEST_F() 199 expect_lookup(RELPATH, ino); in TEST_F() 222 expect_lookup(RELPATH, ino); in TEST_F() 250 expect_lookup(RELPATH, ino); in TEST_F() 311 expect_lookup(RELPATH, ino); in TEST_F() 368 expect_lookup(RELPATH, ino, 1024); in TEST_F() [all …]
|
H A D | write.cc | 67 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size) in expect_lookup() function in Write 69 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, size, 1); in expect_lookup() 126 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size) in expect_lookup() function in Write_7_8 246 expect_lookup(RELPATH, ino, 0); in TEST_F() 287 expect_lookup(RELPATH, ino, initial_offset); in TEST_F() 317 expect_lookup(RELPATH, ino, oldsize); in TEST_F() 347 expect_lookup(RELPATH, ino, initial_offset); in TEST_F() 370 expect_lookup(RELPATH, ino, bufsize); in TEST_F() 414 expect_lookup(RELPATH, ino, 0); in TEST_F() 439 expect_lookup(RELPATH, ino, 0); in TEST_F() [all …]
|
H A D | readdir.cc | 44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in Readdir 46 FuseTest::expect_lookup(relpath, ino, S_IFDIR | 0755, 0, 1); in expect_lookup() 57 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in Readdir_7_8 77 expect_lookup(RELPATH, ino); in TEST_F() 126 expect_lookup(RELPATH, ino); in TEST_F() 162 expect_lookup(RELPATH, ino); in TEST_F() 202 expect_lookup(RELPATH, ino); in TEST_F() 255 FuseTest::expect_lookup(RELPATH, ino, S_IFDIR | 0755, 0, 2); in TEST_F() 300 expect_lookup(RELPATH, ino); in TEST_F() 339 expect_lookup(RELPATH, ino); in TEST_F() [all …]
|
H A D | lseek.cc | 64 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 97 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 165 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 199 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 229 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 260 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 295 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 326 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 353 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 388 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() [all …]
|
H A D | read.cc | 54 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size) in expect_lookup() function in Read 56 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, size, 1); in expect_lookup() 75 void expect_lookup(const char *relpath, uint64_t ino, uint64_t size) in expect_lookup() function in Read_7_8 176 expect_lookup(RELPATH, ino, bufsize); in TEST_F() 212 expect_lookup(RELPATH, ino, 131072); in TEST_F() 295 expect_lookup(RELPATH, ino, fsize); in TEST_F() 366 expect_lookup(RELPATH, ino, bufsize); in TEST_F() 400 expect_lookup(RELPATH, ino, bufsize); in TEST_F() 437 expect_lookup(RELPATH, ino, bufsize); in TEST_F() 487 expect_lookup(RELPATH, ino, bufsize); in TEST_F() [all …]
|
H A D | rename.cc | 65 expect_lookup(RELSRC, src_ino, S_IFDIR | 0755, 0, 2); in TEST_F() 105 expect_lookup(RELSRC, ino, S_IFREG | 0644, 0, 1); in TEST_F() 139 expect_lookup(RELSRC, ino, S_IFREG | 0644, 0, 1); in TEST_F() 161 expect_lookup(RELDST, ino, S_IFREG | 0644, 0, 1); in TEST_F() 176 expect_lookup(RELB, b_ino, S_IFREG | 0644, 0, 2); in TEST_F() 194 expect_lookup(RELSRC, ino, S_IFREG | 0644, 0, 1); in TEST_F() 229 expect_lookup(RELSRC, ino, S_IFDIR | 0755, 0, 1); in TEST_F() 314 expect_lookup(RELSRC, ino, S_IFREG | 0644, 0, 1); in TEST_F() 315 expect_lookup(RELDST, dst_ino, S_IFREG | 0644, 0, 1); in TEST_F()
|
H A D | copy_file_range.cc | 165 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1); in TEST_F() 166 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1); in TEST_F() 215 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1); in TEST_F() 216 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1); in TEST_F() 295 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, start1 + len, 1); in TEST_F() 296 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1); in TEST_F() 350 expect_lookup(RELPATH, ino, S_IFREG | mode, fsize, 1); in TEST_F() 413 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1); in TEST_F() 414 expect_lookup(RELPATH2, ino2, S_IFREG | 0644, fsize2, 1); in TEST_F() 460 expect_lookup(RELPATH1, ino1, S_IFREG | 0644, fsize1, 1); in TEST_F() [all …]
|
H A D | rmdir.cc | 43 void expect_lookup(const char *relpath, uint64_t ino, int times=1) in expect_lookup() function in Rmdir 84 expect_lookup(RELPATH, ino); in TEST_F() 121 expect_lookup(RELPATH, ino); in TEST_F() 136 expect_lookup(RELPATH, ino, 2); in TEST_F() 155 expect_lookup(RELPATH, ino); in TEST_F()
|
H A D | readlink.cc | 44 void expect_lookup(const char *relpath, uint64_t ino) in expect_lookup() function in Readlink 46 FuseTest::expect_lookup(relpath, ino, S_IFLNK | 0777, 0, 1); in expect_lookup() 75 expect_lookup(RELPATH, ino); in TEST_F() 129 expect_lookup(RELPATH, ino); in TEST_F() 149 expect_lookup(RELPATH, ino); in TEST_F()
|
H A D | fallocate.cc | 192 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 232 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 279 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 328 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1, 0); in TEST_F() 376 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 417 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 445 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 479 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() 515 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_P() 567 expect_lookup(RELPATH, ino, S_IFREG | 0644, fsize, 1); in TEST_F() [all …]
|
H A D | notify.cc | 64 void expect_lookup(uint64_t parent, const char *relpath, uint64_t ino, in expect_lookup() function in Notify 188 expect_lookup(FUSE_ROOT_ID, RELPATH, ino0, 0, seq); in TEST_F() 189 expect_lookup(FUSE_ROOT_ID, RELPATH, ino1, 0, seq); in TEST_F() 238 expect_lookup(dir_ino, FNAME, ino0, 0, seq); in TEST_F() 239 expect_lookup(dir_ino, FNAME, ino1, 0, seq); in TEST_F() 272 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, 0, seq); in TEST_F() 341 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, size0, seq); in TEST_F() 423 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, size1, seq); in TEST_F() 460 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, 0, seq); in TEST_F() 503 expect_lookup(FUSE_ROOT_ID, RELPATH, ino, 0, seq); in TEST_F()
|
H A D | open.cc | 54 FuseTest::expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in test_ok() 111 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 140 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 1); in TEST_F() 168 expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2); in TEST_F() 287 FuseTest::expect_lookup(RELPATH, ino, S_IFREG | 0644, 0, 2); in TEST_F()
|
H A D | default_permissions_privileged.cc | 91 void expect_lookup(const char *relpath, uint64_t ino, mode_t mode, in expect_lookup() function in DefaultPermissionsPrivileged 94 FuseTest::expect_lookup(relpath, ino, mode, 0, 1, attr_valid, uid, gid); in expect_lookup() 110 expect_lookup(RELPATH, ino, S_IFREG | oldmode, UINT64_MAX, geteuid()); in TEST_F()
|
H A D | bmap.cc | 69 void expect_lookup(const char *relpath, uint64_t ino, off_t size) in expect_lookup() function in Bmap 71 FuseTest::expect_lookup(relpath, ino, S_IFREG | 0644, size, 1, in expect_lookup() 94 expect_lookup(RELPATH, 42, filesize); in TEST_F() 135 expect_lookup(RELPATH, 42, filesize); in TEST_F() 205 FuseTest::expect_lookup(RELPATH, ino, mode, filesize, 1, 0); in TEST_P()
|
H A D | cache.cc | 101 void expect_lookup(const char *relpath, uint64_t ino, in expect_lookup() function in Cache 163 expect_lookup(RELPATH, ino, osize, entry_valid, attr_valid); in TEST_P() 182 expect_lookup(RELPATH, ino, nsize, entry_valid, attr_valid); in TEST_P()
|