/external/strace/qemu_multiarch_testing/hdc.dir/ |
init | 6 cp -a /mnt /home || { echo "cp: $?"; exit 1; } 7 cd /home/mnt || exit $?
|
init2 | 3 umount /mnt # optional
|
/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...] |
/system/tpm/attestation/server/ |
attestationd.conf | 26 chgrp preserve /mnt/stateful_partition/unencrypted/preserve 27 chmod 775 /mnt/stateful_partition/unencrypted/preserve
|
/external/autotest/server/site_tests/platform_CrashStateful/ |
platform_CrashStateful.py | 39 def _ecrypt_mount(self, edir, mnt): 43 @param mnt: mount point for encrypted file system 52 self._run('mkdir -p %s %s' % (edir, mnt)) 54 (options, edir, mnt)) 57 def _ecrypt_unmount(self, edir, mnt): 61 @param mnt: mount point for encrypted file system 65 self._run('rm -R %s' % mnt) 129 def _crash_ecrptfs(self, edir, mnt, dir): 133 @param mnt - mount point for the encrypted file system 136 self._ecrypt_mount(edir, mnt) [all...] |
/external/selinux/libselinux/src/ |
init.c | 34 static int verify_selinuxmnt(const char *mnt) 40 rc = statfs(mnt, &sfbuf); 45 rc = statvfs(mnt, &vfsbuf); 48 set_selinuxmnt(mnt); 158 void set_selinuxmnt(const char *mnt) 160 selinux_mnt = strdup(mnt);
|
/external/opencv3/samples/android/hello-android/ |
run.sh | 15 adb pull /mnt/sdcard/HelloAndroid.png || return
|
run.cmd | 39 %adb% pull /mnt/sdcard/HelloAndroid.png || GOTO end
45 %adb% shell rm /mnt/sdcard/HelloAndroid.png
|
/external/autotest/server/site_tests/platform_SyncCrash/ |
platform_SyncCrash.py | 83 mnt = self._ECRYPT_MOUNT_POINT 91 self._run('mkdir -p %s %s' % (edir, mnt)) 93 (options, edir, mnt)) 100 mnt = self._ECRYPT_MOUNT_POINT 102 self._run('rm -R %s %s' % (edir, mnt)) 123 @param mnt - mount point for the encrypted file system
|
/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/autotest/client/site_tests/kernel_fs_Punybench/ |
kernel_fs_Punybench.py | 42 def _ecrypt_mount(dir, mnt): 46 @param mnt: mount point for encrypted file system 55 utils.system_output('mkdir -p %s %s' % (dir, mnt)) 57 (options, dir, mnt)) 61 def _ecrypt_unmount(dir, mnt): 65 @param mnt: mount point for encrypted file system 67 utils.system_output('umount ' + mnt) 69 utils.system_output('rm -R ' + mnt) 313 mnt = '/usr/local/ecrypt_mnt' 314 self._ecrypt_mount(dir, mnt) [all...] |
/external/toybox/tests/ |
mount.test | 23 testing "mount $root_fs /mnt" \ 24 "mount $root_fs /mnt >/dev/null 2>&1 && mkdir /mnt/testDir && 25 sleep 1 && umount /mnt && test -e /testDir && rmdir /testDir" "" "" "" 26 testing "mount $tmp_b_fs /mnt" \ 27 "mount $tmp_b_fs /mnt >/dev/null 2>&1 && mkdir /mnt/testDir && 28 sleep 1 && umount /mnt && ! test -e /mnt/testDir" "" "" "" 31 chmod 444 /mnt [all...] |
/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);
|
/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...] |
/system/vold/ |
secdiscard.cpp | 194 struct mntent *mnt; // getmntent returns a thread local, so it's safe. local 195 while ((mnt = getmntent(mnts.get())) != nullptr) { 196 auto l = strlen(mnt->mnt_dir); 200 path.compare(0, l, mnt->mnt_dir) == 0) { 201 result = mnt->mnt_fsname;
|
/external/valgrind/memcheck/tests/solaris/ |
scalar_ioctl.c | 51 struct mnttab mnt; local 54 mnt.mnt_special = (void *) (x0 + 1); 55 mnt.mnt_mountp = (void *) (x0 + 1); 56 mnt.mnt_fstype = (void *) (x0 + 1); 57 mnt.mnt_mntopts = (void *) (x0 + 1); 58 mnt.mnt_time = (void *) (x0 + 1); 60 embuf.mbuf_emp = x0 + (struct extmnttab *) &mnt;
|
/external/iproute2/tc/ |
tc_bpf.c | 290 static int bpf_valid_mntpt(const char *mnt, unsigned long magic) 294 if (statfs(mnt, &st_fs) < 0) 303 char *mnt, int len, 314 strncpy(mnt, *ptr, len - 1); 315 mnt[len - 1] = 0; 316 return mnt; 327 mnt, type) == 2) { 336 return mnt; 350 const char *mnt; local 353 mnt = bpf_find_mntpt("tracefs", TRACEFS_MAGIC, tracefs_mnt 385 static const char *mnt; local [all...] |
/system/extras/tests/ext4/ |
android_emmc_perf_tests.sh | 100 adb shell umount /mnt/sdcard >/dev/null 2>&1 101 adb shell umount /mnt/shell/sdcard0 >/dev/null 2>&1 102 adb shell umount /mnt/shell/emulated >/dev/null 2>&1
|
/system/sepolicy/ |
file_contexts | 25 /mnt u:object_r:tmpfs:s0 320 /mnt/expand(/.*)? u:object_r:mnt_expand_file:s0 321 /mnt/expand/[^/]+(/.*)? u:object_r:system_data_file:s0 322 /mnt/expand/[^/]+/app(/.*)? u:object_r:apk_data_file:s0 323 /mnt/expand/[^/]+/app/[^/]+/oat(/.*)? u:object_r:dalvikcache_data_file:s0 324 /mnt/expand/[^/]+/app/vmdl[^/]+\.tmp(/.*)? u:object_r:apk_tmp_file:s0 325 /mnt/expand/[^/]+/app/vmdl[^/]+\.tmp/oat(/.*)? u:object_r:dalvikcache_data_file:s0 326 /mnt/expand/[^/]+/local/tmp(/.*)? u:object_r:shell_data_file:s0 327 /mnt/expand/[^/]+/media(/.*)? u:object_r:media_rw_data_file:s0 328 /mnt/expand/[^/]+/misc/vold(/.*)? u:object_r:vold_data_file:s [all...] |
/external/f2fs-tools/lib/ |
libf2fs.c | 370 struct mntent *mnt = NULL; local 376 while ((mnt = getmntent(file)) != NULL) { 377 if (!strcmp(device, mnt->mnt_fsname)) 381 return mnt ? 1 : 0;
|
/external/libselinux/include/selinux/ |
selinux.h | 286 void set_selinuxmnt(const char *mnt);
|
/external/squashfs-tools/kernel/fs/squashfs/ |
super.c | 344 struct vfsmount *mnt) 347 mnt);
|