/external/autotest/server/site_tests/network_DiskFull/ |
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)
|
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/ |
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...] |
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,
|
/bootable/recovery/mtdutils/ |
mounts.c | 29 const char *mount_point; member in struct:MountedVolume 50 free((char *)volume->mount_point); 94 v->mount_point = strdup(mentry->mnt_dir); 122 find_mounted_volume_by_mount_point(const char *mount_point) 130 if (v->mount_point != NULL) { 131 if (strcmp(v->mount_point, mount_point) == 0) { 147 int ret = umount(volume->mount_point); 158 return mount(volume->device, volume->mount_point, volume->filesystem,
|
mtdutils.h | 32 /* mount_point is like "/system" 35 int mtd_mount_partition(const MtdPartition *partition, const char *mount_point,
|
mounts.h | 31 find_mounted_volume_by_mount_point(const char *mount_point);
|
mtdutils.c | 193 mtd_mount_partition(const MtdPartition *partition, const char *mount_point, 202 rv = mount(devname, mount_point, filesystem, flags, NULL); 205 rv = mount(devname, mount_point, filesystem, flags | MS_RDONLY, 0); 208 devname, mount_point, strerror(errno)); 210 printf("Mount %s on %s read-only\n", devname, mount_point); 219 rv = stat(mount_point, &st); 225 printf("Fixing execute permissions for %s\n", mount_point); 226 rv = chmod(mount_point, new_mode); 229 mount_point, strerror(errno));
|
/bootable/recovery/ |
roots.cpp | 63 printf(" %d %s %s %s %lld\n", i, v->mount_point, v->fs_type, 73 // Mount the volume specified by path at the given mount_point. 74 int ensure_path_mounted_at(const char* path, const char* mount_point) { 92 if (!mount_point) { 93 mount_point = v->mount_point; 97 find_mounted_volume_by_mount_point(mount_point); 103 mkdir(mount_point, 0755); // in case it doesn't already exist 112 v->blk_device, mount_point); 115 return mtd_mount_partition(partition, mount_point, v->fs_type, 0) [all...] |
roots.h | 32 // Similar to ensure_path_mounted, but allows one to specify the mount_point. 33 int ensure_path_mounted_at(const char* path, const char* mount_point);
|
/system/extras/ext4_utils/ |
mkuserimg.sh | 8 mkuserimg.sh [-s] SRC_DIR OUTPUT_FILE EXT_VARIANT MOUNT_POINT SIZE [-j <journal_size>] 32 MOUNT_POINT=$4 95 if [ -z $MOUNT_POINT ]; then 125 MAKE_EXT4FS_CMD="make_ext4fs $ENABLE_SPARSE_IMAGE -T $TIMESTAMP $OPT -l $SIZE $JOURNAL_FLAGS -a $MOUNT_POINT $OUTPUT_FILE $SRC_DIR $PRODUCT_OUT"
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/pyami/installers/ubuntu/ |
ebs.py | 43 mount_point = <directory to mount device, defaults to /ebs> 64 self.run("/usr/sbin/xfs_freeze -f ${mount_point}", exit_on_error = True) 73 self.run("/usr/sbin/xfs_freeze -u ${mount_point}") 110 self.mount_point = boto.config.get('EBS', 'mount_point', '/ebs') 154 mount_point=self.mount_point) 171 if not os.path.isdir(self.mount_point): 174 self.run("mkdir %s" % self.mount_point) 181 if t and t[2] == self.mount_point [all...] |
/system/core/adb/ |
set_verity_enable_state_service.cpp | 47 const char* mount_point, bool enable) 71 WriteFdFmt(fd, "Verity already disabled on %s\n", mount_point); 76 WriteFdFmt(fd, "Verity already enabled on %s\n", mount_point); 87 WriteFdFmt(fd, "Verity %s on %s\n", enable ? "enabled" : "disabled", mount_point); 126 fstab->recs[i].mount_point,
|
/system/extras/squashfs_utils/ |
mksquashfsimage.sh | 8 ${0##*/} SRC_DIR OUTPUT_FILE [-s] [-m MOUNT_POINT] [-d PRODUCT_OUT] [-C FS_CONFIG ] [-c FILE_CONTEXTS] [-B BLOCK_MAP_FILE] [-b BLOCK_SIZE] [-z COMPRESSOR] [-zo COMPRESSOR_OPT] [-a ] 33 MOUNT_POINT= 35 MOUNT_POINT=$2 89 if [ -n "$MOUNT_POINT" ]; then 90 OPT="$OPT -mount-point $MOUNT_POINT"
|
/build/tools/releasetools/ |
build_image.py | 325 and prop_dict["mount_point"] == "system"): 328 prop_dict["mount_point"] = "/" 371 prop_dict["mount_point"]]) 388 build_command.extend(["-L", prop_dict["mount_point"]]) 396 build_command.extend(["-m", prop_dict["mount_point"]]) 422 build_command.append(prop_dict["mount_point"]) 470 mount_point = prop_dict.get("mount_point") 473 mount_point, total_blocks, used_blocks, reserved_blocks, 478 mount_point = prop_dict.get("mount_point" [all...] |
/external/squashfs-tools/squashfs-tools/ |
android.c | 36 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path) { 37 *mounted_path = malloc(strlen(mount_point) + strlen(subpath) + 1); 42 strcpy(*mounted_path, mount_point);
|
android.h | 24 void alloc_mounted_path(const char *mount_point, const char *subpath, char **mounted_path);
|
/system/core/fs_mgr/include/ |
fs_mgr.h | 56 char *mount_point; member in struct:fstab_rec 72 const char *mount_point, int mode, int status); 97 const char *mount_point, const char *fs_type,
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/manage/ |
volume.py | 59 if not params.get('mount_point', None): 60 prop = self.cls.find_property('mount_point') 61 params['mount_point'] = propget.get(prop) 83 mount_point = StringProperty(verbose_name='Mount Point') variable in class:Volume 109 v.mount_point = params.get('mount_point') 148 v.mount_point = self.mount_point 261 if not cmd.isdir(self.mount_point): 264 cmd.run("mkdir %s" % self.mount_point) [all...] |
test_manage.py | 32 status = server.run('ls -al %s' % volume.mount_point)
|
/system/core/fs_mgr/ |
fs_mgr.c | 323 i < fstab->num_entries && !strcmp(fstab->recs[start_idx].mount_point, fstab->recs[i].mount_point); 332 fstab->recs[i].mount_point, i, fstab->recs[i].fs_type, fstab->recs[*attempted_idx].fs_type); 338 fstab->recs[i].mount_point); 340 if (!__mount(fstab->recs[i].blk_device, fstab->recs[i].mount_point, &fstab->recs[i])) { 345 fstab->recs[i].blk_device, fstab->recs[i].mount_point, fstab->recs[i].fs_type, 451 "%s/misc/vold/convert_fde", rec->mount_point); 458 "%s/convert_fbe", rec->mount_point); 469 if (umount(rec->mount_point) == 0) { 473 rec->mount_point, strerror(errno)) [all...] |
fs_mgr_verity.cpp | 647 basename(fstab->mount_point)) >= (int)sizeof(tag)) { 648 ERROR("Metadata tag name too long for %s\n", fstab->mount_point); 695 basename(fstab->mount_point)) >= (int)sizeof(tag)) { 696 ERROR("Metadata tag name too long for %s\n", fstab->mount_point); 796 char *mount_point; local 836 mount_point = basename(fstab->recs[i].mount_point); 837 verity_ioctl_init(io, mount_point, 0); 840 ERROR("Failed to query DM_TABLE_STATUS for %s (%s)\n", mount_point, 847 callback(&fstab->recs[i], mount_point, mode, *status) 876 char *mount_point = basename(fstab->mount_point); local [all...] |
/external/autotest/client/site_tests/security_ChromiumOSLSM/ |
security_ChromiumOSLSM.py | 42 mnt_target = '%s/mount_point' % (test_dir) 46 os.symlink('mount_point', sym_target)
|
/bootable/recovery/updater/ |
install.cpp | 110 // mount(fs_type, partition_type, location, mount_point) 122 char* mount_point; local 128 &location, &mount_point, &mount_options) < 0) { 134 &location, &mount_point) < 0) { 152 if (strlen(mount_point) == 0) { 153 ErrorAbort(state, kArgsParsingFailure, "mount_point argument to %s() can't be empty", 162 selabel_lookup(sehandle, &secontext, mount_point, 0755); 166 mkdir(mount_point, 0755); 184 if (mtd_mount_partition(mtd, mount_point, fs_type, 0 /* rw */) != 0) { 190 result = mount_point; 219 char* mount_point; local 249 char* mount_point; local 311 char* mount_point; local [all...] |
/external/autotest/server/cros/ |
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...] |