Home
last modified time | relevance | path

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

/external/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.c242 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
298 len = strlen(mnt->mnt_dir); in is_ext4()
299 ret = memcmp(file_path, mnt->mnt_dir, len); in is_ext4()
315 strncpy(lost_found_dir, mnt->mnt_dir, PATH_MAX); in is_ext4()
De4crypt.c612 access(mnt->mnt_dir, R_OK)) in get_default_salts()
614 parse_salt(mnt->mnt_dir, PARSE_FLAGS_NOTSUPP_OK); in get_default_salts()
/external/toybox/lib/
Dgetmountlist.c171 strlen(me->mnt_dir) + strlen(me->mnt_type) + strlen(me->mnt_opts) + 4); in xgetmountlist()
177 stat(me->mnt_dir, &(mt->stat)); in xgetmountlist()
178 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
183 mt->device = stpcpy(mt->dir, me->mnt_dir)+1; in xgetmountlist()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c174 if (stat(mnt->mnt_dir, &st_buf) < 0) { in check_mntent_file()
179 mtab_file, mnt->mnt_dir); in check_mntent_file()
188 mtab_file, file, mnt->mnt_dir); in check_mntent_file()
202 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file()
209 if (!strcmp(mnt->mnt_dir, "/")) { in check_mntent_file()
/external/ltp/lib/
Dtst_path_has_mnt_flags.c60 prefix_len = strlen(mnt->mnt_dir); in tst_path_has_mnt_flags()
62 if (strncmp(path, mnt->mnt_dir, prefix_len) == 0 in tst_path_has_mnt_flags()
/external/ltp/testcases/open_posix_testsuite/include/
Dnoatime.h65 prefix = strpref(path, mnt->mnt_dir); in mounted_noatime()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c93 prefix_len = strlen(mnt->mnt_dir); in dev_block_size_by_path()
96 !strncmp(path, mnt->mnt_dir, prefix_len)) { in dev_block_size_by_path()
/external/fio/
Dcgroup.c42 mntpoint = smalloc_strdup(mnt->mnt_dir); in find_cgroup_mnt()
/external/toybox/toys/pending/
Dfsck.c97 temp->mountpt = xstrdup(f_info->mnt_dir); in create_db()
402 mt.mnt_dir = ""; in fsck_main()
/external/syslinux/extlinux/
Dmain.c1053 !stat(mnt->mnt_dir, &dst) && in find_device()
1056 get_default_subvol(mnt->mnt_dir, subvol); in find_device()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h394 char *mnt_dir; member
Dsanitizer_platform_limits_posix.cc1120 CHECK_SIZE_AND_OFFSET(mntent, mnt_dir);
Dsanitizer_common_interceptors.inc3586 if (mnt->mnt_dir)
3587 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt->mnt_dir,
3588 REAL(strlen)(mnt->mnt_dir) + 1);
/external/ppp/pppd/
Dsys-linux.c1434 strlcpy(proc_path, mntent->mnt_dir, sizeof(proc_path)); in path_to_procfs()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2134 ASSERT_NE(0U, strlen(mnt->mnt_dir)); in TEST()
2152 ASSERT_NE(0U, strlen(mnt->mnt_dir)); in TEST()