Home
last modified time | relevance | path

Searched refs:mountpoint (Results 1 - 25 of 40) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/
H A Dcgroup_lib.sh9 # Find mountpoint of the given controller
11 # RETURNS: Prints the mountpoint of the given controller
16 local mountpoint
21 mountpoint=$(echo "$_cgroup_state" | grep -w "^$ctrl" | awk '{ print $4 }')
22 echo "$mountpoint"
34 local mountpoint
40 mountpoint=$(cgroup_get_mountpoint "$ctrl")
42 test_path="$mountpoint/ltp/test-$$"
/third_party/libfuse/lib/
H A 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()
318 fuse_log(FUSE_LOG_ERR, "fuse: missing mountpoint parameter\n"); in setup_auto_unmount()
352 argv[a++] = mountpoint; in setup_auto_unmount()
371 static int fuse_mount_fusermount(const char *mountpoint, struc argument
619 fuse_kern_mount(const char *mountpoint, struct mount_opts *mo) fuse_kern_mount() argument
[all...]
H A 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()
328 printf("usage: %s [options] <mountpoint>\n\n", in fuse_main_real()
338 !opts.mountpoint) { in fuse_main_real()
339 fuse_log(FUSE_LOG_ERR, "error: no mountpoint specified\n"); in fuse_main_real()
351 if (fuse_mount(fuse,opts.mountpoint) ! in fuse_main_real()
461 fuse_open_channel(const char *mountpoint, const char* options) fuse_open_channel() argument
[all...]
H A 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()
H A 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);
H A Dmount_util.c287 fprintf(stderr, "%s: invalid mountpoint '%s'\n", progname, in fuse_mnt_resolve_path()
361 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()
/third_party/ntfs-3g/libfuse-lite/
H A 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()
H A 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()
426 fprintf(stderr, "fuse: missing mountpoint\n"); in fuse_mount_fusermount()
461 argv[a++] = mountpoint; in fuse_mount_fusermount()
610 fuse_kern_mount(const char *mountpoint, struct fuse_args *args) fuse_kern_mount() argument
[all...]
H A 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/rust/crates/nix/test/
H A Dtest_nmount.rs13 let mountpoint = tempdir().unwrap(); in ok()
21 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap()) in ok()
26 // Now check that the sentry is visible through the mountpoint in ok()
27 let exists = Path::exists(&mountpoint.path().join("sentry")); in ok()
29 // Cleanup the mountpoint before asserting in ok()
30 unmount(mountpoint.path(), MntFlags::empty()).unwrap(); in ok()
37 let mountpoint = tempdir().unwrap(); in bad_fstype()
42 .str_opt_owned("fspath", mountpoint.path().to_str().unwrap()) in bad_fstype()
/third_party/libfuse/example/
H A 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()
H A Dnull.c11 * This "filesystem" provides only a single file. The mountpoint
125 if (!opts.mountpoint) { in main()
126 fprintf(stderr, "missing mountpoint parameter\n"); in main()
130 if (stat(opts.mountpoint, &stbuf) == -1) { in main()
131 fprintf(stderr ,"failed to access mountpoint %s: %s\n", in main()
132 opts.mountpoint, strerror(errno)); in main()
133 free(opts.mountpoint); in main()
136 free(opts.mountpoint); in main()
138 fprintf(stderr, "mountpoint is not a regular file\n"); in main()
H A Dinvalidate_path.c204 printf("usage: %s [options] <mountpoint>\n\n", progname); in show_help()
238 } else if (!opts.mountpoint) { in main()
239 fprintf(stderr, "error: no mountpoint specified\n"); in main()
250 if (fuse_mount(fuse,opts.mountpoint) != 0) { in main()
289 free(opts.mountpoint); in main()
H A Dhello_ll.c226 printf("usage: %s [options] <mountpoint>\n\n", argv[0]); in main()
238 if(opts.mountpoint == NULL) { in main()
239 printf("usage: %s [options] <mountpoint>\n", argv[0]); in main()
253 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
273 free(opts.mountpoint); in main()
H A Dnotify_store_retrieve.c342 printf("usage: %s [options] <mountpoint>\n\n", progname); in show_help()
386 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
415 free(opts.mountpoint); in main()
H A Dnotify_inval_entry.c297 printf("usage: %s [options] <mountpoint>\n\n", progname); in show_help()
343 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
376 free(opts.mountpoint); in main()
H A Dnotify_inval_inode.c281 printf("usage: %s [options] <mountpoint>\n\n", progname); in show_help()
328 if (fuse_session_mount(se, opts.mountpoint) != 0) in main()
357 free(opts.mountpoint); in main()
/third_party/libfuse/util/
H A 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/
H A Dfuse_common.h156 * Create a FUSE mountpoint
161 * @param mountpoint the mount point path
165 struct fuse_chan *fuse_mount(const char *mountpoint, struct fuse_args *args);
168 * Umount a FUSE mountpoint
170 * @param mountpoint the mount point path
173 void fuse_unmount(const char *mountpoint, struct fuse_chan *ch);
192 * @param mountpoint the returned mountpoint, should be freed after use
197 int fuse_parse_cmdline(struct fuse_args *args, char **mountpoint,
/third_party/libfuse/test/
H A 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()
H A 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()
/third_party/NuttX/include/nuttx/fs/
H A Dfile.h67 typedef int (*foreach_mountpoint_t)(const char *mountpoint,
H A Dautomount.h90 FAR const char *mountpoint; /* Location to mount the volume */ member
/third_party/rust/crates/nix/src/mount/
H A Dbsd.rs171 /// To mount `target` onto `mountpoint` with `nullfs`:
183 /// let mountpoint = tempdir().unwrap();
190 /// .str_opt_owned("fspath", mountpoint.path().to_str().unwrap())
194 /// unmount(mountpoint.path(), MntFlags::empty()).unwrap();
358 /// let mountpoint = Path::new("/mnt");
360 /// .str_opt_owned("fspath", mountpoint.to_str().unwrap());
428 /// Unmount the file system mounted at `mountpoint`.
435 * `MNT_BYFSID` - `mountpoint` is not a path, but a file system ID
444 pub fn unmount<P>(mountpoint: &P, flags: MntFlags) -> Result<()> in unmount()
448 let res = mountpoint in unmount()
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Drwtest338 (while read fs blks used avail cap mountpoint

Completed in 12 milliseconds

12