Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
Dismounted.c88 char buf[1024], *device = 0, *mnt_dir = 0, *cp; in check_mntent_file() local
105 device = mnt_dir = 0; in check_mntent_file()
114 mnt_dir = parse_word(&cp); in check_mntent_file()
135 if (mnt_dir == 0) { in check_mntent_file()
157 if (stat(mnt_dir, &st_buf) < 0) { in check_mntent_file()
162 mtab_file, mnt_dir); in check_mntent_file()
171 mtab_file, file, mnt_dir); in check_mntent_file()
De4defrag.c298 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
354 len = strlen(mnt->mnt_dir); in is_ext4()
355 ret = memcmp(file_path, mnt->mnt_dir, len); in is_ext4()
371 strncpy(lost_found_dir, mnt->mnt_dir, PATH_MAX); in is_ext4()
/external/toybox/lib/
Dgetmountlist.c152 strlen(me->mnt_dir) + strlen(me->mnt_type) + strlen(me->mnt_opts) + 4); in xgetmountlist()
158 stat(me->mnt_dir, &(mt->stat)); in xgetmountlist()
159 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
164 mt->device = stpcpy(mt->dir, me->mnt_dir)+1; in xgetmountlist()
/external/e2fsprogs/lib/ext2fs/
Dismounted.c161 if (stat(mnt->mnt_dir, &st_buf) < 0) { in check_mntent_file()
166 mtab_file, mnt->mnt_dir); in check_mntent_file()
175 mtab_file, file, mnt->mnt_dir); in check_mntent_file()
189 strncpy(mtpt, mnt->mnt_dir, mtlen); in check_mntent_file()
196 if (!strcmp(mnt->mnt_dir, "/")) { in check_mntent_file()
/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h378 char *mnt_dir; member
Dsanitizer_platform_limits_posix.cc1056 CHECK_SIZE_AND_OFFSET(mntent, mnt_dir);
Dsanitizer_common_interceptors.inc3128 if (mnt->mnt_dir)
3129 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt->mnt_dir,
3130 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.cc2117 ASSERT_NE(0U, strlen(mnt->mnt_dir)); in TEST()
2135 ASSERT_NE(0U, strlen(mnt->mnt_dir)); in TEST()