Home
last modified time | relevance | path

Searched refs:vfs (Results 1 – 25 of 177) sorted by relevance

12345678

/netbsd-src/sys/kern/
H A Dvfs_init.c105 SDT_PROVIDER_DEFINE(vfs);
119 struct vfs_list_head vfs_list = /* vfs list */
156 SYSCTL_DESCR("Non-specific vfs related information"), in sysctl_vfs_setup()
461 vfs_delref(struct vfsops *vfs) in vfs_delref()
465 vfs->vfs_refcount--; in vfs_delref()
473 vfs_attach(struct vfsops *vfs) in vfs_attach()
484 if (strcmp(vfs->vfs_name, v->vfs_name) == 0) { in vfs_attach()
493 vfs_opv_init(vfs->vfs_opv_descs); in vfs_attach()
498 (*vfs->vfs_init)(); in vfs_attach()
503 LIST_INSERT_HEAD(&vfs_list, vfs, vfs_lis in vfs_attach()
459 vfs_delref(struct vfsops * vfs) vfs_delref() argument
471 vfs_attach(struct vfsops * vfs) vfs_attach() argument
516 vfs_detach(struct vfsops * vfs) vfs_detach() argument
563 struct vfsops *vfs; vfs_reinit() local
[all...]
H A Dfiles.kern209 define vfs: kern
210 file kern/vfs_acl.c vfs
211 file kern/vfs_bio.c vfs
212 file kern/vfs_cache.c vfs
213 file kern/vfs_cwd.c vfs
214 file kern/vfs_dirhash.c vfs
215 file kern/vfs_getcwd.c vfs
216 file kern/vfs_hooks.c vfs
217 file kern/vfs_init.c vfs
218 file kern/vfs_lockf.c vfs
[all...]
H A Dvfs_cache.c317 SDT_PROBE_DEFINE1(vfs, namecache, invalidate, done, "struct vnode *");
318 SDT_PROBE_DEFINE1(vfs, namecache, purge, parents, "struct vnode *");
319 SDT_PROBE_DEFINE1(vfs, namecache, purge, children, "struct vnode *");
320 SDT_PROBE_DEFINE2(vfs, namecache, purge, name, "char *", "size_t");
321 SDT_PROBE_DEFINE1(vfs, namecache, purge, vfs, "struct mount *");
322 SDT_PROBE_DEFINE3(vfs, namecache, lookup, hit, "struct vnode *",
324 SDT_PROBE_DEFINE3(vfs, namecache, lookup, miss, "struct vnode *",
326 SDT_PROBE_DEFINE3(vfs, namecache, lookup, toolong, "struct vnode *",
328 SDT_PROBE_DEFINE2(vfs, namecach
[all...]
H A Dvfs_subr.c108 SDT_PROBE_DEFINE3(vfs, syncer, worklist, vnode__add,
112 SDT_PROBE_DEFINE4(vfs, syncer, worklist, vnode__update,
117 SDT_PROBE_DEFINE1(vfs, syncer, worklist, vnode__remove,
120 SDT_PROBE_DEFINE3(vfs, syncer, worklist, mount__add,
124 SDT_PROBE_DEFINE4(vfs, syncer, worklist, mount__update,
129 SDT_PROBE_DEFINE1(vfs, syncer, worklist, mount__remove,
132 SDT_PROBE_DEFINE1(vfs, syncer, sync, start,
134 SDT_PROBE_DEFINE1(vfs, syncer, sync, mount__start,
136 SDT_PROBE_DEFINE2(vfs, syncer, sync, mount__done,
139 SDT_PROBE_DEFINE1(vfs, synce
[all...]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DFileSystemStatCache.h51 get(StringRef Path, llvm::vfs::Status &Status, bool isFile,
52 std::unique_ptr<llvm::vfs::File> *F,
53 FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS);
59 virtual std::error_code getStat(StringRef Path, llvm::vfs::Status &Status,
61 std::unique_ptr<llvm::vfs::File> *F,
62 llvm::vfs::FileSystem &FS) = 0;
71 llvm::StringMap<llvm::vfs::Status, llvm::BumpPtrAllocator> StatCalls;
74 llvm::StringMap<llvm::vfs::Status,
80 std::error_code getStat(StringRef Path, llvm::vfs::Status &Status,
82 std::unique_ptr<llvm::vfs::File> *F,
[all …]
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
118 std::error_code getStatValue(StringRef Path, llvm::vfs::Status &Status,
120 std::unique_ptr<llvm::vfs::File> *F);
135 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
243 llvm::vfs::FileSystem &getVirtualFileSystem() const { return *FS; } in getVirtualFileSystem()
245 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()
294 llvm::vfs::Status &Result);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp19 StringRef Filename, llvm::vfs::FileSystem &FS, bool Minimize) { in createFileEntry()
21 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>> MaybeFile = in createFileEntry()
25 llvm::ErrorOr<llvm::vfs::Status> Stat = (*MaybeFile)->status(); in createFileEntry()
29 llvm::vfs::File &F = **MaybeFile; in createFileEntry()
56 Result.MaybeStat = llvm::vfs::Status(Stat->getName(), Stat->getUniqueID(), in createFileEntry()
95 CachedFileSystemEntry::createDirectoryEntry(llvm::vfs::Status &&Stat) { in createDirectoryEntry()
172 llvm::vfs::FileSystem &FS = getUnderlyingFS(); in getOrCreateFileSystemEntry()
199 llvm::ErrorOr<llvm::vfs::Status>
214 class MinimizedVFSFile final : public llvm::vfs::File {
217 llvm::vfs::Status Stat) in MinimizedVFSFile()
[all …]
/netbsd-src/tests/fs/ffs/
H A Dt_quotalimit.sh82 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s2k/4…
94 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -$q -h ${id}
97 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -$q /mnt
129 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s2k/4…
141 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -$q -h ${id}
144 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -$q /mnt
176 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s2m/4…
188 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -$q -h ${id}
191 … env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -$q /mnt
223 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s2m/4…
[all …]
H A Dt_setquota.sh78 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s10k/…
83 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v
86 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -${q} /mnt
93 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s10k/…
97 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v
100 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -${q} /mnt
134 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s10k/…
139 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${i…
146 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s10k/…
150 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${i…
[all …]
H A Dt_clearquota.sh70 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -s10k/…
75 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${i…
80 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -$q -c ${i…
88 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v ${i…
H A Dt_getquota.sh69 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v
73 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -${q} /mnt
81 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quota -${q} -v
84 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -${q} /mnt
H A Dt_miscquota.sh87 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -${expect}…
93 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -x -${exp…
125 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt edquota -${expect}…
132 env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt repquota -av
208 …env LD_PRELOAD=/usr/lib/librumphijack.so RUMPHIJACK=vfs=getvfsstat,blanket=/mnt quotarestore -d /m…
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DFileSystemStatCache.cpp34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status, in get()
35 bool isFile, std::unique_ptr<llvm::vfs::File> *F, in get()
37 llvm::vfs::FileSystem &FS) { in get()
47 llvm::ErrorOr<llvm::vfs::Status> StatusOrErr = FS.status(Path); in get()
70 llvm::ErrorOr<llvm::vfs::Status> StatusOrErr = (*OwnedFile)->status(); in get()
102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status, in getStat()
104 std::unique_ptr<llvm::vfs::File> *F, in getStat()
105 llvm::vfs::FileSystem &FS) { in getStat()
H A DFileManager.cpp52 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) in FileManager()
58 this->FS = llvm::vfs::getRealFileSystem(); in FileManager()
159 llvm::vfs::Status Status; in getDirectoryRef()
253 std::unique_ptr<llvm::vfs::File> F; in getFileRef()
254 llvm::vfs::Status Status; in getFileRef()
397 llvm::vfs::Status Status; in getVirtualFileRef()
401 Status = llvm::vfs::Status( in getVirtualFileRef()
443 llvm::vfs::Status Status; in getBypassFile()
555 FileManager::getStatValue(StringRef Path, llvm::vfs::Status &Status, in getStatValue()
556 bool isFile, std::unique_ptr<llvm::vfs::File> *F) { in getStatValue()
[all …]
H A DProfileList.cpp28 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
33 llvm::vfs::FileSystem &VFS);
47 llvm::vfs::FileSystem &VFS, in create()
57 llvm::vfs::FileSystem &VFS) { in createOrDie()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h37 CachedFileSystemEntry() : MaybeStat(llvm::vfs::Status()) {} in CachedFileSystemEntry()
50 llvm::vfs::FileSystem &FS,
54 static CachedFileSystemEntry createDirectoryEntry(llvm::vfs::Status &&Stat);
72 llvm::ErrorOr<llvm::vfs::Status> getStatus() const { in getStatus()
96 llvm::ErrorOr<llvm::vfs::Status> MaybeStat;
143 class DependencyScanningWorkerFilesystem : public llvm::vfs::ProxyFileSystem {
147 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS, in DependencyScanningWorkerFilesystem()
152 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override;
153 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>>
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/
H A DFileCollector.h40 virtual llvm::vfs::directory_iterator
42 IntrusiveRefCntPtr<vfs::FileSystem> FS,
110 static IntrusiveRefCntPtr<vfs::FileSystem>
111 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
127 llvm::vfs::directory_iterator
129 IntrusiveRefCntPtr<vfs::FileSystem> FS,
139 vfs::YAMLVFSWriter VFSWriter;
H A DSpecialCaseList.h65 namespace vfs {
74 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
83 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
110 vfs::FileSystem &VFS, std::string &Error);
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DFileCollector.cpp31 addDirectoryImpl(Dir, vfs::getRealFileSystem(), EC); in addDirectory()
134 llvm::vfs::directory_iterator
136 IntrusiveRefCntPtr<vfs::FileSystem> FS, in addDirectoryImpl()
142 for (; !EC && It != llvm::vfs::directory_iterator(); It.increment(EC)) { in addDirectoryImpl()
255 class FileCollectorFileSystem : public vfs::FileSystem {
257 explicit FileCollectorFileSystem(IntrusiveRefCntPtr<vfs::FileSystem> FS, in FileCollectorFileSystem()
261 llvm::ErrorOr<llvm::vfs::Status> status(const Twine &Path) override { in status()
268 llvm::ErrorOr<std::unique_ptr<llvm::vfs::File>>
276 llvm::vfs::directory_iterator dir_begin(const llvm::Twine &Dir, in dir_begin()
305 IntrusiveRefCntPtr<vfs::FileSystem> FS;
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp78 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver()
184 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs()
206 llvm::IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> OverlayFileSystem( in runToolOnCodeWithArgs()
207 new llvm::vfs::OverlayFileSystem(llvm::vfs::getRealFileSystem())); in runToolOnCodeWithArgs()
208 llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> InMemoryFileSystem( in runToolOnCodeWithArgs()
209 new llvm::vfs::InMemoryFileSystem); in runToolOnCodeWithArgs()
227 llvm::Expected<std::string> getAbsolutePath(llvm::vfs::FileSystem &FS, in getAbsolutePath()
243 return llvm::cantFail(getAbsolutePath(*llvm::vfs::getRealFileSystem(), File)); in getAbsolutePath()
409 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS, in ClangTool()
413 OverlayFileSystem(new llvm::vfs::OverlayFileSystem(std::move(BaseFS))), in ClangTool()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h30 namespace vfs {
85 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
109 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
/netbsd-src/sbin/resize_lfs/
H A Dresize_lfs.c72 struct statvfs vfs; in main() local
98 if (statvfs(fsname, &vfs) < 0) in main()
100 rdevlen = strlen(vfs.f_mntfromname) + 2; in main()
102 if (getdiskrawname(rdev, rdevlen, vfs.f_mntfromname) == NULL) in main()
103 err(1, "Could not convert '%s' to raw name", vfs.f_mntfromname); in main()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp56 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
59 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
62 IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> PCHFS( in createVFSOverlayForPreamblePCH()
63 new llvm::vfs::InMemoryFileSystem()); in createVFSOverlayForPreamblePCH()
65 IntrusiveRefCntPtr<llvm::vfs::OverlayFileSystem> Overlay( in createVFSOverlayForPreamblePCH()
66 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
315 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
498 llvm::vfs::FileSystem &VFS) const { in CanReuse()
526 llvm::vfs::Status Status; in CanReuse()
546 llvm::vfs::Status Status; in CanReuse()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DReproducer.cpp26 Reproducer::Reproducer() : VFS(vfs::getRealFileSystem()) {} in Reproducer()
33 VFS = FileCollector::createCollectorVFS(vfs::getRealFileSystem(), FC); in ReproducerGenerate()
52 vfs::getRealFileSystem()->getBufferForFile(Mapping.str()); in ReproducerUse()
59 VFS = llvm::vfs::getVFSFromYAML(std::move(Buffer.get()), nullptr, Mapping); in ReproducerUse()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DDistro.cpp23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease()
51 static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { in DetectLsbRelease()
97 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro()
199 static Distro::DistroType GetDistro(llvm::vfs::FileSystem &VFS, in GetDistro()
207 const bool onRealFS = (llvm::vfs::getRealFileSystem() == &VFS); in GetDistro()
228 Distro::Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost) in Distro()

12345678