/external/fio/ |
cgroup.h | 14 char **mnt) 20 static inline void cgroup_shutdown(struct thread_data *td, char **mnt)
|
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/genext2fs/ |
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/dev | [all...] |
/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/linux-tools-perf/perf-3.12.0/tools/perf/util/ |
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);
|
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);
|
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/ |
spo_test.sh | 3 MNT=/mnt/f2fs 18 umount /mnt/* 30 mount -t f2fs -o disable_roll_forward $DEV $MNT || exit 31 umount $MNT 37 mount -t f2fs $DEV $MNT || exit 38 umount $MNT 42 mount -t f2fs $DEV $MNT || exit 47 time rm -rf $MNT/* || exit 56 $F2FS_DIR/stress_test/fsstress/fsstress -z -f link=0 -f mkdir=3 -f mknod=3 -f rmdir=2 -f symlink=3 -f truncate=4 -f write=10 -f creat=10 -f unlink=5 -f rename=5 -f fsync=10 -p 10 -n 10000 -l 0 -d $MNT [all...] |
/external/libselinux/src/ |
init.c | 105 void set_selinuxmnt(const char *mnt) 107 selinux_mnt = strdup(mnt);
|
android.c | 1386 const char *mnt = SELINUXMNT; local [all...] |
/external/e2fsprogs/misc/ |
util.c | 280 void print_check_message(int mnt, unsigned int check) 282 if (mnt < 0) 283 mnt = 0; 284 if (!mnt && !check) 290 mnt, ((double) check) / (3600 * 24));
|
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/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;
|
/device/asus/fugu/ |
init.fugu.rc | 29 mkdir /mnt/shell/emulated 0700 shell shell 33 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 44 symlink /storage/emulated/legacy /mnt/sdcard 46 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 269 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/external/libselinux/include/selinux/ |
selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/device/asus/deb/ |
init.deb.rc | 27 mkdir /mnt/shell/emulated 0700 shell shell 31 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 36 symlink /storage/emulated/legacy /mnt/sdcard 38 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 428 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/device/asus/flo/ |
init.flo.rc | 27 mkdir /mnt/shell/emulated 0700 shell shell 31 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 36 symlink /storage/emulated/legacy /mnt/sdcard 38 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 440 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/device/lge/hammerhead/ |
init.hammerhead.rc | 27 mkdir /mnt/shell/emulated 0700 shell shell 35 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 40 symlink /storage/emulated/legacy /mnt/sdcard 42 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 415 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/device/lge/mako/ |
init.mako.rc | 27 mkdir /mnt/shell/emulated 0700 shell shell 35 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 40 symlink /storage/emulated/legacy /mnt/sdcard 42 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 380 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/device/moto/shamu/ |
init.shamu.rc | 29 mkdir /mnt/shell/emulated 0700 shell shell 38 export EMULATED_STORAGE_SOURCE /mnt/shell/emulated 43 symlink /storage/emulated/legacy /mnt/sdcard 45 symlink /mnt/shell/emulated/0 /storage/emulated/legacy 257 # we will remap this as /mnt/sdcard with the sdcard fuse tool 503 service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emulated
|
/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...] |