/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" 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 …]
|
D | cgroup_fj_stress.sh | 130 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 | 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/ |
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/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 | 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)
|
/external/devlib/devlib/module/ |
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/ |
D | sload.c | 206 const char *mount_point, in f2fs_sload() argument 216 ret = f2fs_find_path(sbi, (char *)mount_point, &mnt_ino); in f2fs_sload() 218 ERR_MSG("Failed to get mount point %s\n", mount_point); in f2fs_sload() 222 ret = build_directory(sbi, from_dir, mount_point, target_out_dir, in f2fs_sload() 234 if (selabel_lookup(sehnd, &secontext, mount_point, S_IFDIR) < 0) in f2fs_sload() 236 mount_point); in f2fs_sload() 239 mount_point, secontext, F2FS_ROOT_INO(sbi)); in f2fs_sload()
|
D | main.c | 363 c.mount_point = (char *)optarg; in f2fs_parse_options() 561 if (!c.mount_point) in do_sload() 562 c.mount_point = "/"; in do_sload() 564 return f2fs_sload(sbi, c.from_dir, c.mount_point, NULL, NULL); in do_sload()
|
/external/linux-kselftest/tools/testing/selftests/pstore/ |
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/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()
|
D | mksquashfs.c | 91 char *mount_point = NULL; variable 899 char * mount_point, FILE *block_map_file) { in write_block_map_entry() argument 914 fprintf(block_map_file, "/%s", mount_point); in write_block_map_entry() 1012 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); in create_inode() 1052 write_block_map_entry(sub_path, start_block, total_size, mount_point, block_map_file); in create_inode() 3181 if (mount_point) { in add_dir_entry() 3185 alloc_mounted_path(mount_point, subpathname(dir_ent), &mounted_path); in add_dir_entry() 5946 mount_point = argv[i]; in main() 6137 } else if (mount_point) { in main()
|
/external/autotest/client/cros/ |
D | cryptohome.py | 335 def __get_mount_info(mount_point, allow_fail=False): argument 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/autotest/client/site_tests/hardware_UsbBasicFileOperations/ |
D | hardware_UsbBasicFileOperations.py | 20 mount_point = storage['mountpoint'] 26 dir=mount_point)
|
/external/devlib/devlib/ |
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),
|
/external/e2fsprogs/misc/ |
D | e4defrag.c | 207 static int get_mount_point(const char *devname, char *mount_point, in get_mount_point() argument 242 strncpy(mount_point, mnt->mnt_dir, in get_mount_point()
|
/external/f2fs-tools/include/ |
D | f2fs_fs.h | 310 char *mount_point; member
|