/external/strace/qemu_multiarch_testing/hdc.dir/ |
H A D | init | 6 cp -a /mnt /home || { echo "cp: $?"; exit 1; } 7 cd /home/mnt || exit $?
|
H A D | init2 | 3 umount /mnt # optional
|
/external/fio/ |
H A D | cgroup.h | 14 char **mnt) 20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt) argument 13 cgroup_setup(struct thread_data *td, struct flist_head *list, char **mnt) argument
|
H A D | cgroup.c | 25 struct mntent *mnt, dummy; local 35 while ((mnt = getmntent_r(f, &dummy, buf, sizeof(buf))) != NULL) { 36 if (!strcmp(mnt->mnt_type, "cgroup") && 37 strstr(mnt->mnt_opts, "blkio")) 41 if (mnt) 42 mntpoint = smalloc_strdup(mnt->mnt_dir); 100 static char *get_cgroup_root(struct thread_data *td, char *mnt) argument 105 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.cgroup); 107 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.name); 142 static int cgroup_del_pid(struct thread_data *td, char *mnt) argument 147 cgroup_setup(struct thread_data *td, struct flist_head *clist, char **mnt) argument 189 cgroup_shutdown(struct thread_data *td, char **mnt) argument [all...] |
/external/genext2fs/ |
H A D | test-mount.sh | 12 umount mnt 2>/dev/null || true 13 rm -rf mnt fout lsout 40 mkdir -p mnt 41 mount -t ext2 -o ro,loop ext2.img mnt || fail 42 if (! [ -f mnt/file.$size ]) || \ 43 [ $size != "`ls -al mnt | grep file.$size | 60 mkdir -p mnt 61 mount -t ext2 -o ro,loop ext2.img mnt || fail 62 [ -d mnt/dev ] || fail 69 ls -aln mnt/de [all...] |
/external/e2fsprogs/lib/ext2fs/ |
H A D | ismounted.c | 83 struct mntent *mnt; local 111 while ((mnt = getmntent (f)) != NULL) { 112 if (mnt->mnt_fsname[0] != '/') 114 if (strcmp(file, mnt->mnt_fsname) == 0) 116 if (stat(mnt->mnt_fsname, &st_buf) == 0) { 121 if (check_loop_mounted(mnt->mnt_fsname, 134 if (mnt == 0) { 161 if (stat(mnt->mnt_dir, &st_buf) < 0) { 166 mtab_file, mnt->mnt_dir); 175 mtab_file, file, mnt [all...] |
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
H A D | cpumap.c | 210 const char *mnt; local 219 mnt = sysfs_find_mountpoint(); 220 if (!mnt) 225 mnt, cpu); 273 const char *mnt; local 282 mnt = sysfs_find_mountpoint(); 283 if (!mnt) 288 mnt, cpu);
|
H A D | cgroup.c | 60 char mnt[PATH_MAX + 1]; local 64 if (cgroupfs_find_mountpoint(mnt, PATH_MAX + 1)) 67 snprintf(path, PATH_MAX, "%s/%s", mnt, name);
|
H A D | util.c | 256 const char *mnt; local 258 mnt = debugfs_mount(mountpoint); 259 if (!mnt) 262 set_tracing_events_path(mnt); 264 return mnt;
|
/external/f2fs-tools/scripts/ |
H A D | spo_test.sh | 3 MNT=/mnt/f2fs 18 umount /mnt/*
|
/external/libselinux/src/ |
H A D | init.c | 105 void set_selinuxmnt(const char *mnt) argument 107 selinux_mnt = strdup(mnt);
|
H A D | android.c | 1386 const char *mnt = SELINUXMNT; local 1388 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 1396 mnt = OLDSELINUXMNT; 1397 rc = mkdir(mnt, 0755); 1403 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 1411 set_selinuxmnt(mnt);
|
/external/qemu/distrib/libselinux/src/ |
H A D | init.c | 105 void set_selinuxmnt(const char *mnt) argument 107 selinux_mnt = strdup(mnt);
|
H A D | android.c | 1348 const char *mnt = SELINUXMNT; local 1350 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 1358 mnt = OLDSELINUXMNT; 1359 rc = mkdir(mnt, 0755); 1365 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); 1373 set_selinuxmnt(mnt);
|
/external/e2fsprogs/misc/ |
H A D | util.c | 280 void print_check_message(int mnt, unsigned int check) argument 282 if (mnt < 0) 283 mnt = 0; 284 if (!mnt && !check) 290 mnt, ((double) check) / (3600 * 24));
|
H A D | e4defrag.c | 269 struct mntent *mnt = NULL; local 284 while ((mnt = getmntent(fp)) != NULL) { 291 if (stat64(mnt->mnt_fsname, &ms) < 0) 297 if (strcmp(mnt->mnt_type, FS_EXT4) == 0) { 298 strncpy(mount_point, mnt->mnt_dir, 324 struct mntent *mnt = NULL; local 351 while ((mnt = getmntent(fp)) != NULL) { 352 if (mnt->mnt_fsname[0] != '/') 354 len = strlen(mnt->mnt_dir); 355 ret = memcmp(file_path, mnt [all...] |
/external/f2fs-tools/lib/ |
H A D | libf2fs.c | 369 struct mntent *mnt = NULL; local 375 while ((mnt = getmntent(file)) != NULL) { 376 if (!strcmp(device, mnt->mnt_fsname)) 380 return mnt ? 1 : 0;
|
/external/libselinux/include/selinux/ |
H A D | selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/external/qemu/distrib/libselinux/include/selinux/ |
H A D | selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/external/sepolicy/ |
H A D | file_contexts | 251 /mnt/asec(/.*)? u:object_r:asec_apk_file:s0 252 /mnt/asec/[^/]+/[^/]+\.zip u:object_r:asec_public_file:s0 253 /mnt/asec/[^/]+/lib(/.*)? u:object_r:asec_public_file:s0
|
/external/compiler-rt/lib/msan/tests/ |
H A D | msan_test.cc | 1990 struct mntent *mnt = getmntent(fp); local 1991 ASSERT_TRUE(mnt != NULL); 1992 ASSERT_NE(0U, strlen(mnt->mnt_fsname)); 1993 ASSERT_NE(0U, strlen(mnt->mnt_dir)); 1994 ASSERT_NE(0U, strlen(mnt->mnt_type)); 1995 ASSERT_NE(0U, strlen(mnt->mnt_opts)); 1996 EXPECT_NOT_POISONED(mnt->mnt_freq); 1997 EXPECT_NOT_POISONED(mnt->mnt_passno); 2005 struct mntent *mnt = getmntent_r(fp, &mntbuf, buf, sizeof(buf)); local 2006 ASSERT_TRUE(mnt ! [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2995 static void write_mntent(void *ctx, __sanitizer_mntent *mnt) { 2996 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt, sizeof(*mnt)); 2997 if (mnt->mnt_fsname) 2998 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt->mnt_fsname, 2999 REAL(strlen)(mnt->mnt_fsname) + 1); 3000 if (mnt->mnt_dir) 3001 COMMON_INTERCEPTOR_WRITE_RANGE(ctx, mnt->mnt_dir, 3002 REAL(strlen)(mnt->mnt_dir) + 1); 3003 if (mnt [all...] |
/external/yaffs2/yaffs2/ |
H A D | yaffs_fs.c | 1755 void *data, struct vfsmount *mnt) 1759 yaffs_internal_read_super_mtd, mnt); 1803 struct vfsmount *mnt) 1806 yaffs2_internal_read_super_mtd, mnt);
|