Home
last modified time | relevance | path

Searched refs:mnt_dir (Results 1 – 24 of 24) sorted by relevance

/third_party/libfuse/test/
Dtest_examples.py44 def invoke_directly(mnt_dir, name, options): argument
46 '-f', mnt_dir, '-o', ','.join(options) ]
53 def invoke_mount_fuse(mnt_dir, name, options): argument
55 name, mnt_dir, '-o', ','.join(options) ]
57 def invoke_mount_fuse_drop_privileges(mnt_dir, name, options): argument
61 return invoke_mount_fuse(mnt_dir, name, options + ('drop_privileges',))
91 mnt_dir = str(tmpdir)
93 cmdline_builder(mnt_dir, name, options),
96 wait_for_mount(mount_process, mnt_dir)
97 assert os.listdir(mnt_dir) == [ 'hello' ]
[all …]
Dtest_ctests.py31 mnt_dir = str(tmpdir)
33 mnt_dir ]
52 mnt_dir = str(tmpdir)
55 '-f', '--update-interval=1', mnt_dir ]
61 wait_for_mount(mount_process, mnt_dir)
62 filename = pjoin(mnt_dir, 'current_time')
73 cleanup(mount_process, mnt_dir)
76 umount(mount_process, mnt_dir)
82 mnt_dir = str(tmpdir)
85 '-f', '--update-interval=1', mnt_dir ]
[all …]
Dutil.py37 def wait_for_mount(mount_process, mnt_dir, argument
41 if test_fn(mnt_dir):
49 def cleanup(mount_process, mnt_dir): argument
53 cmd = [ 'umount', '-f', mnt_dir ]
56 '-z', '-u', mnt_dir]
65 def umount(mount_process, mnt_dir): argument
68 cmdline = [ 'umount', mnt_dir ]
77 '-z', '-u', mnt_dir ]
80 assert not os.path.ismount(mnt_dir)
/third_party/ltp/lib/
Dtst_cgroup.c69 struct cgroup_dir mnt_dir; member
357 const char *const mnt_dir, in cgroup_root_scan() argument
367 const int mnt_dfd = SAFE_OPEN(mnt_dir, O_PATH | O_DIRECTORY); in cgroup_root_scan()
411 "Check '%s' and '%s'", root->mnt_path, mnt_dir); in cgroup_root_scan()
423 strcpy(root->mnt_path, mnt_dir); in cgroup_root_scan()
424 root->mnt_dir.dir_root = root; in cgroup_root_scan()
425 root->mnt_dir.dir_name = root->mnt_path; in cgroup_root_scan()
426 root->mnt_dir.dir_fd = mnt_dfd; in cgroup_root_scan()
461 cgroup_root_scan(mnt->mnt_type, mnt->mnt_dir, mnt->mnt_opts); in tst_cgroup_scan()
472 roots[0].mnt_dir.we_created_it = 1; in cgroup_mount_v2()
[all …]
Dtst_path_has_mnt_flags.c62 prefix_len = strlen(mnt->mnt_dir); in tst_path_has_mnt_flags_()
64 if (strncmp(path, mnt->mnt_dir, prefix_len) == 0 in tst_path_has_mnt_flags_()
/third_party/musl/src/misc/
Dmntent.c53 mnt->mnt_dir = linebuf+n[2]; in getmntent_r()
70 mnt->mnt_fsname, mnt->mnt_dir, mnt->mnt_type, mnt->mnt_opts, in addmntent()
/third_party/toybox/lib/
Dportability.c164 strlen(me->mnt_dir) + strlen(me->mnt_type) + strlen(me->mnt_opts) + 4); in xgetmountlist()
170 stat(me->mnt_dir, &(mt->stat)); in xgetmountlist()
171 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
176 mt->device = stpcpy(mt->dir, me->mnt_dir)+1; in xgetmountlist()
/third_party/musl/ndk_musl_include/
Dmntent.h25 char *mnt_dir; member
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
Dmntent.h24 char *mnt_dir; member
/third_party/musl/porting/liteos_m/kernel/include/
Dmntent.h25 char *mnt_dir; member
/third_party/musl/porting/uniproton/kernel/include/
Dmntent.h25 char *mnt_dir; member
/third_party/musl/include/
Dmntent.h25 char *mnt_dir; member
/third_party/ltp/testcases/open_posix_testsuite/include/
Dnoatime.h66 prefix = strpref(path, mnt->mnt_dir); in mounted_noatime()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c94 prefix_len = strlen(mnt->mnt_dir); in dev_block_size_by_path()
97 !strncmp(path, mnt->mnt_dir, prefix_len)) { in dev_block_size_by_path()
/third_party/toybox/toys/pending/
Dfsck.c97 temp->mountpt = xstrdup(f_info->mnt_dir); in create_db()
402 mt.mnt_dir = ""; in fsck_main()
/third_party/libfuse/util/
Dfusermount.c90 unescape(entp->mnt_dir); in GETMNTENT()
208 if (!found && strcmp(entp->mnt_dir, mnt) == 0 && in may_unmount()
323 if (entp->mnt_dir[0] == '/' && in check_is_mount_child()
324 strcmp(entp->mnt_dir + 1, last) == 0 && in check_is_mount_child()
/third_party/e2fsprogs/
D0005-resize2fs-resize2fs-disk-hardlinks-will-be-error.patch49 + if (stat(mnt->mnt_dir, &dir_st_buf) != 0)
/third_party/libffi/src/
Dclosures.c649 || access (mnt.mnt_dir, W_OK)) in open_temp_exec_file_mnt()
652 fd = open_temp_exec_file_dir (mnt.mnt_dir); in open_temp_exec_file_mnt()
/third_party/f2fs-tools/tools/
Df2fscrypt.c670 access(mnt->mnt_dir, R_OK)) in get_default_salts()
672 parse_salt(mnt->mnt_dir, PARSE_FLAGS_NOTSUPP_OK); in get_default_salts()
/third_party/libfuse/
Dmeson.build173 if (0 == strcmp(entp->mnt_dir, dir_space_tab))
/third_party/ntfs-3g/libntfs-3g/
Dvolume.c1526 if (!strcmp(mnt->mnt_dir, "/")) in ntfs_mntent_check()
/third_party/rust/crates/libc/src/unix/linux_like/linux/
Dmod.rs452 pub mnt_dir: *mut ::c_char,
/third_party/libabigail/tests/data/test-annotate/
Dtest15-pr18892.so.abi22867 <!-- char* __sanitizer::__sanitizer_mntent::mnt_dir -->
22868 …<var-decl name='mnt_dir' type-id='type-id-28' visibility='default' filepath='../../.././libsanitiz…
/third_party/libabigail/tests/data/test-read-dwarf/
Dtest15-pr18892.so.abi12926 …<var-decl name='mnt_dir' type-id='type-id-28' visibility='default' filepath='../../.././libsanitiz…