/external/fio/ |
D | cgroup.c | 25 struct mntent *mnt, dummy; in find_cgroup_mnt() local 35 while ((mnt = getmntent_r(f, &dummy, buf, sizeof(buf))) != NULL) { in find_cgroup_mnt() 36 if (!strcmp(mnt->mnt_type, "cgroup") && in find_cgroup_mnt() 37 strstr(mnt->mnt_opts, "blkio")) in find_cgroup_mnt() 41 if (mnt) in find_cgroup_mnt() 42 mntpoint = smalloc_strdup(mnt->mnt_dir); in find_cgroup_mnt() 100 static char *get_cgroup_root(struct thread_data *td, char *mnt) in get_cgroup_root() argument 105 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.cgroup); in get_cgroup_root() 107 sprintf(str, "%s%s%s", mnt, FIO_OS_PATH_SEPARATOR, td->o.name); in get_cgroup_root() 142 static int cgroup_del_pid(struct thread_data *td, char *mnt) in cgroup_del_pid() argument [all …]
|
D | cgroup.h | 14 char **mnt) in cgroup_setup() argument 20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt) in cgroup_shutdown() argument
|
/external/genext2fs/ |
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 ]) || \ 60 mkdir -p mnt 61 mount -t ext2 -o ro,loop ext2.img mnt || fail 62 [ -d mnt/dev ] || fail 69 ls -aln mnt/dev | \
|
/external/e2fsprogs/lib/ext2fs/ |
D | ismounted.c | 83 struct mntent *mnt; in check_mntent_file() local 111 while ((mnt = getmntent (f)) != NULL) { in check_mntent_file() 112 if (mnt->mnt_fsname[0] != '/') in check_mntent_file() 114 if (strcmp(file, mnt->mnt_fsname) == 0) in check_mntent_file() 116 if (stat(mnt->mnt_fsname, &st_buf) == 0) { in check_mntent_file() 121 if (check_loop_mounted(mnt->mnt_fsname, in check_mntent_file() 134 if (mnt == 0) { in check_mntent_file() 161 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() [all …]
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
D | cpumap.c | 210 const char *mnt; in cpu_map__get_socket() local 219 mnt = sysfs_find_mountpoint(); in cpu_map__get_socket() 220 if (!mnt) in cpu_map__get_socket() 225 mnt, cpu); in cpu_map__get_socket() 273 const char *mnt; in cpu_map__get_core() local 282 mnt = sysfs_find_mountpoint(); in cpu_map__get_core() 283 if (!mnt) in cpu_map__get_core() 288 mnt, cpu); in cpu_map__get_core()
|
D | util.c | 256 const char *mnt; in perf_debugfs_mount() local 258 mnt = debugfs_mount(mountpoint); in perf_debugfs_mount() 259 if (!mnt) in perf_debugfs_mount() 262 set_tracing_events_path(mnt); in perf_debugfs_mount() 264 return mnt; in perf_debugfs_mount()
|
D | cgroup.c | 60 char mnt[PATH_MAX + 1]; in open_cgroup() local 64 if (cgroupfs_find_mountpoint(mnt, PATH_MAX + 1)) in open_cgroup() 67 snprintf(path, PATH_MAX, "%s/%s", mnt, name); in open_cgroup()
|
/external/strace/qemu_multiarch_testing/hdc.dir/ |
D | init | 6 cp -a /mnt /home || { echo "cp: $?"; exit 1; } 7 cd /home/mnt || exit $?
|
D | init2 | 3 umount /mnt # optional
|
/external/e2fsprogs/misc/ |
D | util.c | 280 void print_check_message(int mnt, unsigned int check) in print_check_message() argument 282 if (mnt < 0) in print_check_message() 283 mnt = 0; in print_check_message() 284 if (!mnt && !check) in print_check_message() 290 mnt, ((double) check) / (3600 * 24)); in print_check_message()
|
D | e4defrag.c | 269 struct mntent *mnt = NULL; in get_mount_point() local 284 while ((mnt = getmntent(fp)) != NULL) { in get_mount_point() 291 if (stat64(mnt->mnt_fsname, &ms) < 0) in get_mount_point() 297 if (strcmp(mnt->mnt_type, FS_EXT4) == 0) { in get_mount_point() 298 strncpy(mount_point, mnt->mnt_dir, in get_mount_point() 324 struct mntent *mnt = NULL; in is_ext4() local 351 while ((mnt = getmntent(fp)) != NULL) { in is_ext4() 352 if (mnt->mnt_fsname[0] != '/') in is_ext4() 354 len = strlen(mnt->mnt_dir); in is_ext4() 355 ret = memcmp(file_path, mnt->mnt_dir, len); in is_ext4() [all …]
|
/external/qemu/distrib/libselinux/src/ |
D | init.c | 105 void set_selinuxmnt(const char *mnt) in set_selinuxmnt() argument 107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
|
D | android.c | 1348 const char *mnt = SELINUXMNT; in selinux_android_load_policy() local 1350 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); in selinux_android_load_policy() 1358 mnt = OLDSELINUXMNT; in selinux_android_load_policy() 1359 rc = mkdir(mnt, 0755); in selinux_android_load_policy() 1365 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); in selinux_android_load_policy() 1373 set_selinuxmnt(mnt); in selinux_android_load_policy()
|
/external/libselinux/src/ |
D | init.c | 105 void set_selinuxmnt(const char *mnt) in set_selinuxmnt() argument 107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
|
D | android.c | 1386 const char *mnt = SELINUXMNT; in selinux_android_load_policy() local 1388 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); in selinux_android_load_policy() 1396 mnt = OLDSELINUXMNT; in selinux_android_load_policy() 1397 rc = mkdir(mnt, 0755); in selinux_android_load_policy() 1403 rc = mount(SELINUXFS, mnt, SELINUXFS, 0, NULL); in selinux_android_load_policy() 1411 set_selinuxmnt(mnt); in selinux_android_load_policy()
|
/external/f2fs-tools/scripts/ |
D | spo_test.sh | 3 MNT=/mnt/f2fs 18 umount /mnt/*
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 369 struct mntent *mnt = NULL; in is_mounted() local 375 while ((mnt = getmntent(file)) != NULL) { in is_mounted() 376 if (!strcmp(device, mnt->mnt_fsname)) in is_mounted() 380 return mnt ? 1 : 0; in is_mounted()
|
/external/chromium_org/net/data/ftp/ |
D | dir-listing-ls-32.expected | 29 mnt
|
D | dir-listing-ls-32 | 6 drwxrwxr-x 1 500 244 16 Jan 1 00:0 mnt
|
/external/fio/examples/ |
D | fusion-aw-sync.fio | 10 filename=/mnt/fs/file
|
/external/libselinux/include/selinux/ |
D | selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/external/qemu/distrib/libselinux/include/selinux/ |
D | selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/external/sepolicy/ |
D | file.te | 117 # /mnt/asec 119 # Elements of asec files (/mnt/asec) that are world readable
|
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/strace/qemu_multiarch_testing/ |
D | README | 49 copying in /mnt/init fails (segv?)
|