HomeSort by relevance Sort by last modified time
    Searched full:disk_size (Results 1 - 10 of 10) sorted by null

  /sdk/emulator/mksdcard/src/source/
mksdcard.c 93 get_sectors_per_cluster( Wide disk_size )
95 Wide disk_MB = disk_size/(1024*1024);
113 get_sectors_per_fat( Wide disk_size, int sectors_per_cluster )
118 disk_size -= RESERVED_SECTORS * BYTES_PER_SECTOR; /* don't count 32 reserved sectors */
119 disk_size /= BYTES_PER_SECTOR; /* disk size in sectors */
122 return (int)( (disk_size + (divider-1)) / divider );
126 boot_sector_init( Bytes boot, Bytes info, Wide disk_size, const char* label )
128 int sectors_per_cluster = get_sectors_per_cluster(disk_size);
129 int sectors_per_fat = get_sectors_per_fat(disk_size, sectors_per_cluster);
130 int sectors_per_disk = (int)(disk_size / BYTES_PER_SECTOR)
236 Wide disk_size; local
    [all...]
  /external/syslinux/com32/hdt/
hdt-cli-disk.c 111 char disk_size[11]; local
124 sectors_to_size((int)d->edd_params.sectors, disk_size);
126 memset(disk_size, 0, sizeof disk_size);
136 d->legacy_sectors_per_track, d->edd_version, disk_size,
199 char disk_size[11]; local
202 sectors_to_size((int)d->edd_params.sectors, disk_size);
204 memset(disk_size, 0, sizeof disk_size);
211 disk_size);
    [all...]
hdt-dump-disks.c 83 char disk_size[11]={0}; local
87 sectors_to_size((int)d->edd_params.sectors, disk_size);
102 add_as("disk->size",disk_size)
  /external/autotest/client/site_tests/hardware_DiskSize/
hardware_DiskSize.py 77 disk_size = utils.get_disk_size(root_dev)
78 if not disk_size:
83 gb = float(disk_size) / (10 ** 9)
  /system/core/libdiskconfig/
diskconfig.c 274 uint64_t disk_size; local
312 if (ioctl(fd, BLKGETSIZE64, &disk_size) < 0) {
317 dinfo->num_lba = (uint32_t)(disk_size / (uint64_t)dinfo->sect_size);
319 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
327 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
330 disk_size = (uint64_t)stat.st_size;
339 dinfo->device, disk_size, dinfo->num_lba, dinfo->sect_size);
372 if (S_ISBLK(stat.st_mode) && total_size > disk_size) {
374 "size (%"PRIu64").", total_size, disk_size);
  /external/ltp/testcases/kernel/fs/fs_di/
fs_di 120 DISK_SIZE=0
146 DISK_SIZE=$OPTARG;;
244 if [ "$DISK_SIZE" != 0 ]; then
247 DISK_SIZE=$(( $DISK_SIZE / 2 ))
248 if [ "$DISK_SIZE" == 0 ]; then
249 DISK_SIZE=1
251 create_datafile $DISK_SIZE $TCtmp/testfile >/dev/null
  /external/cros/system_api/dbus/vm_concierge/
service.proto 171 uint64 disk_size = 3;
  /build/make/tools/releasetools/
add_img_to_target_files 440 disk_size = OPTIONS.info_dict.get("board_bpt_disk_size")
441 if disk_size:
442 cmd.extend(["--disk_size", disk_size])
add_img_to_target_files.py 440 disk_size = OPTIONS.info_dict.get("board_bpt_disk_size")
441 if disk_size:
442 cmd.extend(["--disk_size", disk_size])
  /build/make/core/
Makefile     [all...]

Completed in 388 milliseconds