/external/ltp/testcases/kernel/controllers/cgroup_fj/ |
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" 97 mount_point=`grep -w $subsystem /proc/mounts | grep -w "cgroup" | \ 100 if [ -z "$mount_point" ]; then 102 mount_point="/dev/cgroup" 103 tst_resm TINFO "Subsystem $subsystem is not mounted, mounting it at $mount_point" 104 ROD mkdir $mount_point [all …]
|
D | cgroup_fj_stress.sh | 132 start_path="$mount_point/ltp"
|
D | cgroup_fj_function.sh | 195 start_path="$mount_point/ltp"
|
/external/autotest/client/tests/wb_kupdate/ |
D | wb_kupdate.py | 9 def _check_parameters(self, mount_point, write_size, file_count, argument 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: 25 os.rmdir(mount_point) 29 mount_point) 31 os.makedirs(mount_point) 47 utils.system('umount %s' % self.mount_point, ignore_status=True) 55 os.rmdir(self.mount_point) 72 (self.file_system, self.sparse_file, self.mount_point)) [all …]
|
D | control | 16 mount_point='/export/wb_kupdate' # Absolute path. 30 old_cleanup=False # Remove a previously created mount_point if it 36 mount_point=mount_point,
|
/external/ltp/testcases/kernel/controllers/cpuacct/ |
D | cpuacct.sh | 47 mount_point=`grep -w cpuacct /proc/mounts | cut -f 2 | cut -d " " -f2` 48 tst_res TINFO "cpuacct: $mount_point" 49 if [ "$mount_point" = "" ]; then 51 mount_point=/dev/cgroup 54 testpath=$mount_point/ltp_$TST_ID 57 ROD mkdir -p $mount_point 58 ROD mount -t cgroup -o cpuacct none $mount_point 82 umount $mount_point 83 rmdir $mount_point
|
/external/autotest/server/site_tests/network_DiskFull/ |
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)
|
D | network_DiskFull.py | 36 def get_free_kilobytes(self, mount_point): argument 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): argument 66 if (self.get_free_kilobytes(mount_point) <= max_free_kilobytes):
|
/external/autotest/server/cros/ |
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): argument 182 if os.path.exists(mount_point): 183 utils.run("sudo umount -d %s" % mount_point) 184 os.rmdir(mount_point)
|
/external/toolchain-utils/ |
D | tc_enter_chroot.py | 183 mount_point = MountPoint(tc_dir, full_mounted_tc_root + '/' + last_dir, 185 mount_points.append(mount_point) 197 mount_point = MountPoint( 201 mount_points.append(mount_point) 219 mount_point = MountPoint(version_dir, full_mounted_tc_root + '/' + last_dir, 221 mount_points.append(mount_point) 223 for mount_point in mount_points: 224 retv = mount_point.DoMount() 290 mount_point = MountPoint(external_dir, chroot_dir + '/' + mount_dir, 292 mount_points.append(mount_point)
|
/external/ltp/testcases/kernel/controllers/pids/ |
D | pids.sh | 45 umount $mount_point 46 rmdir $mount_point 57 mount_point=`grep -w pids /proc/mounts | cut -f 2 | cut -d " " -f2` 59 if [ "$mount_point" = "" ]; then 61 mount_point=/dev/cgroup 64 testpath=$mount_point/ltp_pids_$caseno 67 ROD mkdir -p $mount_point 68 ROD mount -t cgroup -o pids none $mount_point
|
/external/autotest/site_utils/lxc/ |
D | zygote.py | 261 if lxc_utils.is_subdir(self.host_path, info.mount_point): 262 logging.debug('mount: %s', info.mount_point) 264 self.host_path, info.mount_point)) 265 elif lxc_utils.is_subdir(self.host_path_ro, info.mount_point): 266 logging.debug('mount_ro: %s', info.mount_point) 268 self.host_path_ro, info.mount_point))
|
D | shared_host_dir.py | 83 if lxc_utils.is_subdir(self.path, info.mount_point): 84 utils.run('sudo umount "%s"' % info.mount_point) 135 host_mount = list(utils.get_mount_info(mount_point=self.path))
|
D | utils.py | 199 def from_existing(cls, host_dir, mount_point): argument 209 spec = (host_dir, os.path.relpath(mount_point, host_dir))
|
/external/linux-kselftest/tools/testing/selftests/pstore/ |
D | pstore_post_reboot_tests | 25 mount_point=`echo ${mount_info} | cut -d' ' -f2 | head -n1` 30 mount_point=`grep pstore /proc/mounts | cut -d' ' -f2 | head -n1` 38 cd ${mount_point}
|
/external/u-boot/test/py/tests/test_fs/ |
D | conftest.py | 193 def mount_fs(fs_type, device, mount_point): argument 211 % (device, mount_point), shell=True) 218 % (mount_opt, device, mount_point), shell=True) 221 check_call('sudo chmod a+rw %s' % mount_point, shell=True) 225 def umount_fs(mount_point): argument 236 call('guestunmount %s' % mount_point, shell=True) 238 call('sudo umount %s' % mount_point, shell=True)
|
/external/f2fs-tools/fsck/ |
D | sload.c | 76 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr() 78 c.mount_point, path); in set_selinux_xattr() 108 if (asprintf(&mnt_path, "%s%s", c.mount_point, de->path) <= 0) { in set_perms_and_caps() 110 c.mount_point, de->path); in set_perms_and_caps() 288 ERR_MSG("Failed to get android file_contexts\n", c.mount_point); in configure_files() 332 ret = set_selinux_xattr(sbi, c.mount_point, in f2fs_sload()
|
/external/vboot_reference/scripts/image_signing/ |
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/squashfs-tools/squashfs-tools/ |
D | android.c | 36 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { in alloc_mounted_path() argument 37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); in alloc_mounted_path() 42 strcpy(*mounted_path, mount_point); in alloc_mounted_path()
|
D | android.h | 24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
|
D | xattr.c | 108 extern char *mount_point; 702 if (mount_point) { in read_xattrs() 704 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); in read_xattrs()
|
/external/u-boot/test/py/tests/ |
D | test_ums.py | 112 mount_point = u_boot_console.config.env['env__mount_points'][0] 122 mounted_test_fn = mount_point + '/' + mount_subdir + test_f.fn
|
/external/autotest/client/site_tests/hardware_UsbBasicFileOperations/ |
D | hardware_UsbBasicFileOperations.py | 20 mount_point = storage['mountpoint'] 26 dir=mount_point)
|
/external/autotest/client/cros/ |
D | cryptohome.py | 384 def __get_mount_info(mount_point, allow_fail=False): argument 391 'grep %s %s' % (mount_point, cryptohomed_path), 397 % os.path.dirname(str(mount_point))) 409 return [__get_mount_info(mount_point=user_path(user), 411 __get_mount_info(mount_point=system_path(user),
|
/external/arm-trusted-firmware/lib/debugfs/ |
D | dev.c | 16 struct mount_point { struct 27 static struct mount_point mount_points[NR_MOUNT_POINTS]; argument 198 struct mount_point *mp; in mount_point_to_channel() 725 struct mount_point *mp; in add_mount_point()
|