/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
H A D | cgroup_fj_common.sh | 72 if [ -e "$mount_point/cpus" ]; then 73 ROD cat "$mount_point/cpus" \> "$path/cpus" 74 ROD cat "$mount_point/mems" \> "$path/mems" 76 ROD cat "$mount_point/cpuset.cpus" \> "$path/cpuset.cpus" 77 ROD cat "$mount_point/cpuset.mems" \> "$path/cpuset.mems" 96 mount_point=`grep -w $subsystem /proc/mounts | cut -f 2 | cut -d " " -f2` 98 if [ -z "$mount_point" ]; then 100 mount_point="/dev/cgroup" 101 tst_resm TINFO "Subsystem $subsystem is not mounted, mounting it at $mount_point" 102 ROD mkdir $mount_point [all...] |
H A D | cgroup_fj_stress.sh | 130 start_path="$mount_point/ltp"
|
H A D | cgroup_fj_function.sh | 195 start_path="$mount_point/ltp"
|
/external/autotest/server/site_tests/network_DiskFull/ |
H A D | hog_disk.sh | 14 local mount_point="$1" 21 df -P "$mount_point" | 22 awk '($6 == "'"$mount_point"'") { printf "%.0f", $2*1024; exit }' 29 mount_point="$1" 38 temp_file=$(mktemp --tmpdir="$mount_point" hog_disk.XXXXXXXXXX)
|
H A D | network_DiskFull.py | 36 def get_free_kilobytes(self, mount_point): 38 Get the size of free space on the filesystem mounted at |mount_point|, 45 output = self._client.run('df -P %s' % mount_point).stdout 50 if df_mount_point != mount_point: 52 (mount_point, df_mount_point)) 56 def wait_until_full(self, mount_point, max_free_kilobytes): 58 Wait until |mount_point| has no more than |max_free_kilobytes| free. 60 @param mount_point The path at which the filesystem is mounted. 66 if (self.get_free_kilobytes(mount_point) <= max_free_kilobytes):
|
/external/autotest/client/tests/wb_kupdate/ |
H A D | wb_kupdate.py | 9 def _check_parameters(self, mount_point, write_size, file_count, 14 @param mount_point: the path to the desired mount_point. 17 @param old_cleanup: removes previous mount_point if it exists and is 20 # Check mount_point. 21 if not os.path.exists(mount_point): 22 logging.info('%s does not exist. Creating directory.', mount_point) 23 elif not os.path.ismount(mount_point) and old_cleanup: 24 logging.info('Removing previous mount_point directory') 25 os.rmdir(mount_point) [all...] |
/external/ltp/testcases/kernel/controllers/cpuacct/ |
H A D | cpuacct.sh | 70 mount_point=`grep -w cpuacct /proc/mounts | cut -f 2 | cut -d " " -f2` 71 tst_res TINFO "cpuacct: $mount_point" 72 if [ "$mount_point" = "" ]; then 74 mount_point=/dev/cgroup 77 testpath=$mount_point/ltp_$TST_ID 80 ROD mkdir -p $mount_point 81 ROD mount -t cgroup -o cpuacct none $mount_point 105 umount $mount_point 106 rmdir $mount_point
|
/external/ltp/testcases/kernel/controllers/pids/ |
H A D | pids.sh | 63 umount $mount_point 64 rmdir $mount_point 75 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2` 77 if [ "$mount_point" = "" ]; then 79 mount_point=/dev/cgroup 82 testpath=$mount_point/ltp_$TCID 85 ROD mkdir -p $mount_point 86 ROD mount -t cgroup -o pids none $mount_point
|
/external/squashfs-tools/squashfs-tools/ |
H A D | android.h | 24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
|
H A D | android.c | 36 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { argument 37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); 42 strcpy(*mounted_path, mount_point);
|
H A D | xattr.c | 108 extern char *mount_point; 702 if (mount_point) { 704 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path);
|
H A D | mksquashfs.c | 91 char *mount_point = NULL; variable 899 char * mount_point, FILE *block_map_file) { 914 fprintf(block_map_file, "/%s", mount_point); 1012 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); 1052 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); 3181 if (mount_point) { 3185 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); 5946 mount_point = argv[i]; 6137 } else if (mount_point) { 898 write_block_map_entry(char *sub_path, unsigned long long start_block, unsigned long long total_size, char * mount_point, FILE *block_map_file) argument
|
/external/linux-kselftest/tools/testing/selftests/pstore/ |
H A D | pstore_post_reboot_tests | 22 mount_point=`echo ${mount_info} | cut -d' ' -f2 | head -n1` 27 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1` 35 cd ${mount_point}
|
/external/autotest/server/cros/ |
H A D | factory_install_test.py | 163 mount_point = os.path.join(self.tmpdir, 165 if not os.path.exists(mount_point): 166 os.makedirs(mount_point) 171 offset, size, image, mount_point)) 172 self.cleanup_tasks.append(lambda: self._umount_partition(mount_point)) 173 return mount_point 175 def _umount_partition(self, mount_point): 182 if os.path.exists(mount_point): 183 utils.run("sudo umount -d %s" % mount_point) 184 os.rmdir(mount_point) [all...] |
/external/toolchain-utils/ |
H A D | tc_enter_chroot.py | 172 mount_point = MountPoint(tc_dir, full_mounted_tc_root + '/' + last_dir, 174 mount_points.append(mount_point) 187 mount_point = MountPoint(third_party_dir, ('%s/%s' % ( 190 mount_points.append(mount_point) 208 mount_point = MountPoint(version_dir, full_mounted_tc_root + '/' + last_dir, 210 mount_points.append(mount_point) 212 for mount_point in mount_points: 213 retv = mount_point.DoMount() 280 mount_point = MountPoint(external_dir, chroot_dir + '/' + mount_dir, 282 mount_points.append(mount_point) [all...] |
/external/devlib/devlib/module/ |
H A D | cgroups.py | 51 self.mount_point = None 59 self.mount_point = [ 60 fs.mount_point 66 self.mount_point = target.path.join(mount_root, self.mount_name) 68 .format(self.mount_point), as_root=True) 72 self.mount_point), 83 self.kind, self.mount_point, self._noprefix) 110 .format(self.target.busybox, self.mount_point), 114 cg = cg.replace(self.mount_point + '/', '/') 115 cg = cg.replace(self.mount_point, '/') [all...] |
/external/f2fs-tools/fsck/ |
H A D | sload.c | 206 const char *mount_point, 216 ret = f2fs_find_path(sbi, (char *)mount_point, &mnt_ino); 218 ERR_MSG("Failed to get mount point %s\n", mount_point); 222 ret = build_directory(sbi, from_dir, mount_point, target_out_dir, 234 if (selabel_lookup(sehnd, &secontext, mount_point, S_IFDIR) < 0) 236 mount_point); 239 mount_point, secontext, F2FS_ROOT_INO(sbi)); 205 f2fs_sload(struct f2fs_sb_info *sbi, const char *from_dir, const char *mount_point, const char *target_out_dir, struct selabel_handle *sehnd) argument
|
H A D | main.c | 363 c.mount_point = (char *)optarg; 561 if (!c.mount_point) 562 c.mount_point = "/"; 564 return f2fs_sload(sbi, c.from_dir, c.mount_point, NULL, NULL);
|
/external/vboot_reference/scripts/image_signing/ |
H A D | make_dev_ssd.sh | 75 local mount_point="$(make_temp_dir)" 78 mount_image_partition "$image" 12 "$mount_point" || return $FLAGS_FALSE 79 config_file="$mount_point/efi/boot/grub.cfg" 82 config_file="$mount_point/syslinux/default.cfg" 85 sudo umount "$mount_point"
|
/external/autotest/client/site_tests/hardware_UsbBasicFileOperations/ |
H A D | hardware_UsbBasicFileOperations.py | 20 mount_point = storage['mountpoint'] 26 dir=mount_point)
|
/external/autotest/client/cros/ |
H A D | cryptohome.py | 335 def __get_mount_info(mount_point, allow_fail=False): 342 'grep %s %s' % (mount_point, cryptohomed_path), 348 % os.path.dirname(str(mount_point))) 360 return [__get_mount_info(mount_point=user_path(user), 362 __get_mount_info(mount_point=system_path(user),
|
/external/devlib/devlib/ |
H A D | target.py | 1133 if self.executables_directory.rstrip('/').startswith(entry.mount_point): 1136 entry = sorted(matched, key=lambda x: len(x.mount_point))[-1] 1139 entry.mount_point), 1171 FstabEntry = namedtuple('FstabEntry', ['device', 'mount_point', 'fs_type', 'options', 'dump_freq', 'pass_num'])
|
/external/e2fsprogs/misc/ |
H A D | e4defrag.c | 204 * @mount_point: the mount point. 207 static int get_mount_point(const char *devname, char *mount_point, argument 242 strncpy(mount_point, mnt->mnt_dir,
|
/external/f2fs-tools/include/ |
H A D | f2fs_fs.h | 310 char *mount_point; member in struct:f2fs_configuration
|