Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 – 25 of 59) sorted by relevance

123

/third_party/libfuse/lib/
Dmount.c263 void fuse_kern_unmount(const char *mountpoint, int fd) in fuse_kern_unmount() argument
290 fuse_mnt_umount("fuse", mountpoint, mountpoint, 1); in fuse_kern_unmount()
294 res = umount2(mountpoint, 2); in fuse_kern_unmount()
304 "--", mountpoint, NULL }; in fuse_kern_unmount()
312 static int setup_auto_unmount(const char *mountpoint, int quiet) in setup_auto_unmount() argument
317 if (!mountpoint) { in setup_auto_unmount()
352 argv[a++] = mountpoint; in setup_auto_unmount()
371 static int fuse_mount_fusermount(const char *mountpoint, struct mount_opts *mo, in fuse_mount_fusermount() argument
378 if (!mountpoint) { in fuse_mount_fusermount()
416 argv[a++] = mountpoint; in fuse_mount_fusermount()
[all …]
Dhelper.c153 if (!opts->mountpoint) { in fuse_helper_opt_proc()
155 return fuse_opt_add_opt(&opts->mountpoint, arg); in fuse_helper_opt_proc()
158 char mountpoint[PATH_MAX] = ""; in fuse_helper_opt_proc() local
159 if (realpath(arg, mountpoint) == NULL) { in fuse_helper_opt_proc()
165 return fuse_opt_add_opt(&opts->mountpoint, mountpoint); in fuse_helper_opt_proc()
338 !opts.mountpoint) { in fuse_main_real()
351 if (fuse_mount(fuse,opts.mountpoint) != 0) { in fuse_main_real()
392 free(opts.mountpoint); in fuse_main_real()
461 int fuse_open_channel(const char *mountpoint, const char* options) in fuse_open_channel() argument
473 fd = fuse_kern_mount(mountpoint, opts); in fuse_open_channel()
Dmount_bsd.c130 void fuse_kern_unmount(const char *mountpoint, int fd) in fuse_kern_unmount() argument
133 unmount(mountpoint, MNT_FORCE); in fuse_kern_unmount()
151 static int fuse_mount_core(const char *mountpoint, const char *opts) in fuse_mount_core() argument
188 if (getenv("FUSE_NO_MOUNT") || ! mountpoint) in fuse_mount_core()
239 argv[a++] = mountpoint; in fuse_mount_core()
287 int fuse_kern_mount(const char *mountpoint, struct mount_opts *mo) in fuse_kern_mount() argument
294 return fuse_mount_core(mountpoint, mo->kernel_opts); in fuse_kern_mount()
Dfuse_i.h45 char *mountpoint; member
165 void fuse_kern_unmount(const char *mountpoint, int fd);
166 int fuse_kern_mount(const char *mountpoint, struct mount_opts *mo);
Dmount_util.c361 int fuse_mnt_parse_fuse_fd(const char *mountpoint) in fuse_mnt_parse_fuse_fd() argument
366 if (sscanf(mountpoint, "/dev/fd/%u%n", &fd, &len) == 1 && in fuse_mnt_parse_fuse_fd()
367 len == strlen(mountpoint)) { in fuse_mnt_parse_fuse_fd()
Dmount_util.h18 int fuse_mnt_parse_fuse_fd(const char *mountpoint);
/third_party/rust/crates/nix/test/
Dtest_nmount.rs13 let mountpoint = tempdir().unwrap(); in ok() localVariable
21 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap()) in ok()
27 let exists = Path::exists(&mountpoint.path().join("sentry")); in ok()
30 unmount(mountpoint.path(), MntFlags::empty()).unwrap(); in ok()
37 let mountpoint = tempdir().unwrap(); in bad_fstype() localVariable
42 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap()) in bad_fstype()
/third_party/ntfs-3g/libfuse-lite/
Dhelper.c13 struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args) in fuse_mount() argument
30 fd = fuse_kern_mount(mountpoint, args); in fuse_mount()
36 fuse_kern_unmount(mountpoint, fd); in fuse_mount()
41 void fuse_unmount(const char *mountpoint, struct fuse_chan *ch) in fuse_unmount() argument
44 fuse_kern_unmount(mountpoint, fd); in fuse_unmount()
Dmount.c363 void fuse_kern_unmount(const char *mountpoint, int fd) in fuse_kern_unmount() argument
370 if (!mountpoint) in fuse_kern_unmount()
390 fusermount(1, 0, 1, "", mountpoint); in fuse_kern_unmount()
393 fuse_mnt_umount("fuse", mountpoint, 1); in fuse_kern_unmount()
397 res = umount2(mountpoint, 2); in fuse_kern_unmount()
407 { FUSERMOUNT_PROG, "-u", "-q", "-z", "--", mountpoint, NULL }; in fuse_kern_unmount()
418 static int fuse_mount_fusermount(const char *mountpoint, const char *opts, in fuse_mount_fusermount() argument
425 if (!mountpoint) { in fuse_mount_fusermount()
461 argv[a++] = mountpoint; in fuse_mount_fusermount()
610 int fuse_kern_mount(const char *mountpoint, struct fuse_args *args) in fuse_kern_mount() argument
[all …]
Dfuse_i.h24 void fuse_kern_unmount(const char *mountpoint, int fd);
25 int fuse_kern_mount(const char *mountpoint, struct fuse_args *args);
/third_party/libfuse/example/
Dprintcap.c95 char *mountpoint; in main() local
98 mountpoint = strdup("/tmp/fuse_printcap_XXXXXX"); in main()
99 if(mkdtemp(mountpoint) == NULL) { in main()
115 if (fuse_session_mount(se, mountpoint) != 0) in main()
126 rmdir(mountpoint); in main()
127 free(mountpoint); in main()
Dnull.c125 if (!opts.mountpoint) { in main()
130 if (stat(opts.mountpoint, &stbuf) == -1) { in main()
132 opts.mountpoint, strerror(errno)); in main()
133 free(opts.mountpoint); in main()
136 free(opts.mountpoint); in main()
Dinvalidate_path.c238 } else if (!opts.mountpoint) { in main()
250 if (fuse_mount(fuse,opts.mountpoint) != 0) { in main()
289 free(opts.mountpoint); in main()
Dhello_ll.c238 if(opts.mountpoint == NULL) { in main()
253 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
273 free(opts.mountpoint); in main()
Dnotify_inval_entry.c343 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
376 free(opts.mountpoint); in main()
/third_party/libwebsockets/lwsws/
Detc-lwsws-conf.d-localhost-EXAMPLE13 "mountpoint": "/",
21 "mountpoint": "/server-status",
25 "mountpoint": "/testcgi",
29 "mountpoint": "/formtest",
/third_party/libfuse/util/
Dmount.fuse.c118 static int prepare_fuse_fd(const char *mountpoint, const char* subtype, in prepare_fuse_fd() argument
128 fuse_fd = fuse_open_channel(mountpoint, options_copy); in prepare_fuse_fd()
241 const char *mountpoint; in main() local
280 mountpoint = argv[2]; in main()
421 fuse_fd = prepare_fuse_fd(mountpoint, type, options); in main()
424 mountpoint = dev_fd_mountpoint; in main()
435 add_arg(&command, mountpoint); in main()
/third_party/ntfs-3g/include/fuse-lite/
Dfuse_common.h165 struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args);
173 void fuse_unmount(const char *mountpoint, struct fuse_chan *ch);
197 int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint,
/third_party/libfuse/test/
Dtest_setattr.c134 static void test_fs(char *mountpoint) { in test_fs() argument
139 mountpoint) > 0); in test_fs()
164 assert(fuse_session_mount(se, fuse_opts.mountpoint) == 0); in main()
170 test_fs(fuse_opts.mountpoint); in main()
Dtest_write_cache.c202 static void test_fs(char *mountpoint) { in test_fs() argument
216 mountpoint) > 0); in test_fs()
258 assert(fuse_session_mount(se, fuse_opts.mountpoint) == 0); in main()
264 test_fs(fuse_opts.mountpoint); in main()
265 free(fuse_opts.mountpoint); in main()
/third_party/libwebsockets/READMEs/
DREADME.lwsws.md66 "mountpoint": "/",
118 "mountpoint": "/",
122 "mountpoint": "/testserver",
142 "mountpoint": "/",
150 "mountpoint": "/",
293 be auto-served if it matches the mountpoint.
297 …- file:// serve the uri using the remainder of the url past the mountpoint based on the origin di…
299 Eg, with this mountpoint
302 "mountpoint": "/",
309 …- ^http:// or ^https:// these cause any url matching the mountpoint to issue a redirect to the or…
[all …]
/third_party/toybox/scripts/
Dmkroot.sh72 mountpoint -q proc || mount -t proc proc proc
73 mountpoint -q sys || mount -t sysfs sys sys
74 if ! mountpoint -q dev
78 mountpoint -q dev/pts || mount -t devpts dev/pts dev/pts
/third_party/libwebsockets/plugins/deaddrop/
DREADME.md50 "mountpoint": "/tools/share",
55 "mountpoint": "/tools/share/upload",
59 "mountpoint": "/tools/share/get",
/third_party/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf646 attribute mountpoint;
847 type default_t, file_type, mountpoint;
850 type file_t, file_type, mountpoint;
851 type home_root_t, file_type, mountpoint;
853 type mnt_t, file_type, mountpoint;
858 type root_t, file_type, mountpoint;
859 type src_t, file_type, mountpoint;
861 type tmp_t, mountpoint; #, polydir
862 type usr_t, file_type, mountpoint;
863 type var_t, file_type, mountpoint;
[all …]
/third_party/NuttX/include/nuttx/fs/
Dfile.h67 typedef int (*foreach_mountpoint_t)(const char *mountpoint,

123