Home
last modified time | relevance | path

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

/third_party/e2fsprogs/misc/
Dismounted.c89 char buf[1024], *device = 0, *mnt_dir = 0, *cp; in check_mntent_file() local
106 device = mnt_dir = 0; in check_mntent_file()
115 mnt_dir = parse_word(&cp); in check_mntent_file()
136 if (mnt_dir == 0) { in check_mntent_file()
158 if (stat(mnt_dir, &st_buf) < 0) { in check_mntent_file()
163 mtab_file, mnt_dir); in check_mntent_file()
172 mtab_file, file, mnt_dir); in check_mntent_file()
De4defrag.c244 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
300 len = strlen(mnt->mnt_dir); in is_ext4()
301 ret = memcmp(file_path, mnt->mnt_dir, len); in is_ext4()
317 strncpy(lost_found_dir, mnt->mnt_dir, PATH_MAX); in is_ext4()
De4crypt.c622 access(mnt->mnt_dir, R_OK)) in get_default_salts()
624 parse_salt(mnt->mnt_dir, PARSE_FLAGS_NOTSUPP_OK); in get_default_salts()
/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/e2fsprogs/lib/ext2fs/
Dismounted.c132 if (stat(mnt->mnt_dir, &st_buf) != 0) in check_mntent_file()
138 mtab_file, file, mnt->mnt_dir); in check_mntent_file()
191 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file()
198 if (!strcmp(mnt->mnt_dir, "/")) { in check_mntent_file()
/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/include/
Dmntent.h25 char *mnt_dir; member
/third_party/musl/porting/uniproton/kernel/include/
Dmntent.h25 char *mnt_dir; member
/third_party/musl/porting/liteos_m/kernel/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/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/glib/gio/
Dgunixmounts.c628 mntent->mnt_dir, in _g_get_unix_mounts()
1132 if ((strcmp (mntent->mnt_dir, "ignore") == 0) || in _g_get_unix_mount_points()
1133 (strcmp (mntent->mnt_dir, "swap") == 0) || in _g_get_unix_mount_points()
1134 (strcmp (mntent->mnt_dir, "none") == 0)) in _g_get_unix_mount_points()
1169 mntent->mnt_dir, in _g_get_unix_mount_points()
/third_party/f2fs-tools/tools/
Df2fscrypt.c658 access(mnt->mnt_dir, R_OK)) in get_default_salts()
660 parse_salt(mnt->mnt_dir, PARSE_FLAGS_NOTSUPP_OK); in get_default_salts()
/third_party/ntfs-3g/libntfs-3g/
Dvolume.c1526 if (!strcmp(mnt->mnt_dir, "/")) in ntfs_mntent_check()