Home
last modified time | relevance | path

Searched refs:mnt (Results 1 – 25 of 33) sorted by relevance

12

/external/fio/
Dcgroup.c25 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 …]
Dcgroup.h14 char **mnt) in cgroup_setup() argument
20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt) in cgroup_shutdown() argument
/external/genext2fs/
Dtest-mount.sh12 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/
Dismounted.c83 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/
Dcpumap.c210 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()
Dutil.c256 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()
Dcgroup.c60 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/
Dinit6 cp -a /mnt /home || { echo "cp: $?"; exit 1; }
7 cd /home/mnt || exit $?
Dinit23 umount /mnt # optional
/external/e2fsprogs/misc/
Dutil.c280 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()
De4defrag.c269 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/
Dinit.c105 void set_selinuxmnt(const char *mnt) in set_selinuxmnt() argument
107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
Dandroid.c1348 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/
Dinit.c105 void set_selinuxmnt(const char *mnt) in set_selinuxmnt() argument
107 selinux_mnt = strdup(mnt); in set_selinuxmnt()
Dandroid.c1386 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/
Dspo_test.sh3 MNT=/mnt/f2fs
18 umount /mnt/*
/external/f2fs-tools/lib/
Dlibf2fs.c369 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/
Ddir-listing-ls-32.expected29 mnt
Ddir-listing-ls-326 drwxrwxr-x 1 500 244 16 Jan 1 00:0 mnt
/external/fio/examples/
Dfusion-aw-sync.fio10 filename=/mnt/fs/file
/external/libselinux/include/selinux/
Dselinux.h286 void set_selinuxmnt(const char *mnt);
/external/qemu/distrib/libselinux/include/selinux/
Dselinux.h286 void set_selinuxmnt(const char *mnt);
/external/sepolicy/
Dfile.te117 # /mnt/asec
119 # Elements of asec files (/mnt/asec) that are world readable
Dfile_contexts251 /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/
DREADME49 copying in /mnt/init fails (segv?)

12