HomeSort by relevance Sort by last modified time
    Searched defs:mnt (Results 1 - 10 of 10) sorted by null

  /external/fio/
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)
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)
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
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);
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);
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/e2fsprogs/lib/ext2fs/
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->mnt_dir)
    [all...]
  /external/f2fs-tools/lib/
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/src/
android.c 1386 const char *mnt = SELINUXMNT; local
    [all...]
  /external/qemu/distrib/libselinux/src/
android.c 1348 const char *mnt = SELINUXMNT; local
    [all...]
  /external/e2fsprogs/misc/
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->mnt_dir, len)
    [all...]
  /external/compiler-rt/lib/msan/tests/
msan_test.cc 1990 struct mntent *mnt = getmntent(fp); local
2005 struct mntent *mnt = getmntent_r(fp, &mntbuf, buf, sizeof(buf)); local
    [all...]

Completed in 184 milliseconds