Home
last modified time | relevance | path

Searched refs:mnt_fsname (Results 1 – 14 of 14) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dismounted.c65 static int check_loop_mounted(const char *mnt_fsname, dev_t mnt_rdev, in check_loop_mounted() argument
73 loop_fd = open(mnt_fsname, O_RDONLY); in check_loop_mounted()
128 if (mnt->mnt_fsname[0] != '/') in check_mntent_file()
130 if (strcmp(file, mnt->mnt_fsname) == 0) in check_mntent_file()
132 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file()
137 if (check_loop_mounted(mnt->mnt_fsname, in check_mntent_file()
/external/fio/lib/
Dmountcheck.c22 if (!mnt->mnt_fsname) in device_is_mounted()
24 if (!strcmp(mnt->mnt_fsname, dev)) { in device_is_mounted()
/external/toybox/lib/
Dgetmountlist.c173 mt = xzalloc(sizeof(struct mtab_list) + strlen(me->mnt_fsname) + in xgetmountlist()
187 mt->opts = stpcpy(mt->device, me->mnt_fsname)+1; in xgetmountlist()
/external/ltp/testcases/open_posix_testsuite/include/
Dnoatime.h62 if (!strcmp(mnt->mnt_fsname, "rootfs")) in mounted_noatime()
/external/ltp/lib/
Dtst_path_has_mnt_flags.c59 if (!strcmp(mnt->mnt_fsname, "rootfs")) in tst_path_has_mnt_flags()
/external/syslinux/extlinux/
Dmain.c1064 !stat(mnt->mnt_fsname, &dst) && in find_device()
1071 !stat(mnt->mnt_fsname, &dst) && in find_device()
1079 !stat(mnt->mnt_fsname, &dst) && in find_device()
1087 if (!strcmp(mnt->mnt_type, "xfs") && !stat(mnt->mnt_fsname, &dst) && in find_device()
1096 if (!strcmp(mnt->mnt_type, "ufs") && !stat(mnt->mnt_fsname, &dst) && in find_device()
1107 devname = strdup(mnt->mnt_fsname); in find_device()
/external/ltp/testcases/kernel/io/ltp-aiodio/
Daiocp.c91 if (mnt->mnt_fsname[0] != '/') in dev_block_size_by_path()
99 strncpy(dev_name, mnt->mnt_fsname, sizeof(dev_name)); in dev_block_size_by_path()
/external/toybox/toys/pending/
Dfsck.c96 temp->device = xstrdup(f_info->mnt_fsname); in create_db()
401 mt.mnt_fsname = dev->data; in fsck_main()
/external/e2fsprogs/misc/
De4defrag.c235 if (stat64(mnt->mnt_fsname, &ms) < 0) in get_mount_point()
296 if (mnt->mnt_fsname[0] != '/') in is_ext4()
316 strncpy(devname, mnt->mnt_fsname, strlen(mnt->mnt_fsname) + 1); in is_ext4()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.h393 char *mnt_fsname; member
Dsanitizer_platform_limits_posix.cc1119 CHECK_SIZE_AND_OFFSET(mntent, mnt_fsname);
Dsanitizer_common_interceptors.inc3583 if (mnt->mnt_fsname)
3584 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt->mnt_fsname,
3585 REAL(strlen)(mnt->mnt_fsname) + 1);
/external/f2fs-tools/lib/
Dlibf2fs.c644 if (!strcmp(device, mnt->mnt_fsname)) { in is_mounted()
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc2133 ASSERT_NE(0U, strlen(mnt->mnt_fsname)); in TEST()
2151 ASSERT_NE(0U, strlen(mnt->mnt_fsname)); in TEST()