HomeSort by relevance Sort by last modified time
    Searched refs:sect_size (Results 1 - 7 of 7) sorted by null

  /system/core/libdiskconfig/
config_mbr.c 56 kb_to_lba(uint32_t len_kb, uint32_t sect_size)
62 lba = (lba + (uint64_t)sect_size - 1) & ~((uint64_t)sect_size - 1);
63 lba /= (uint64_t)sect_size;
104 len_lba += ((uint64_t)dinfo->sect_size - 1);
105 len_lba &= ~((uint64_t)dinfo->sect_size - 1);
106 len_lba /= (uint64_t)dinfo->sect_size;
155 item->offset = ((loff_t)(*lba)) * dinfo->sect_size;
163 len = kb_to_lba(pinfo->len_kb, dinfo->sect_size);
174 (uint32_t)(((uint64_t)len * (uint64_t)dinfo->sect_size) /
    [all...]
diskconfig.c 195 dinfo->sect_size = strtol(tmp, NULL, 0);
196 if (!dinfo->sect_size) {
306 if (!sect_sz || sect_sz != dinfo->sect_size) {
318 dinfo->num_lba = (uint32_t)(disk_size / (uint64_t)dinfo->sect_size);
320 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
323 if (!dinfo->sect_size) {
328 disk_size = (uint64_t)dinfo->num_lba * (uint64_t)dinfo->sect_size;
330 dinfo->num_lba = (uint32_t)(stat.st_size / dinfo->sect_size);
339 ALOGV("Device/file %s: size=%llu bytes, num_lba=%u, sect_size=%d",
340 dinfo->device, disk_size, dinfo->num_lba, dinfo->sect_size);
    [all...]
  /bootable/diskinstaller/editdisklbl/
editdisklbl.c 159 ((uint64_t)pinfo->len_kb * 1024) / (*dinfo)->sect_size;
191 loff_t offs = part_file_map[cnt].pinfo->start_lba * dinfo->sect_size;
  /system/core/include/diskconfig/
diskconfig.h 92 int sect_size; /* expected sector size in bytes. MUST BE POWER OF 2 */ member in struct:disk_info
  /external/valgrind/main/coregrind/m_debuginfo/
readmacho.c 598 /*OUT*/Word *sect_size)
617 if (sect_size) *sect_size = sects[s].size;
625 if (sect_size) *sect_size = 0;
    [all...]
  /bootable/diskinstaller/
installer.c 234 offset = pinfo->start_lba * dinfo->sect_size;
  /system/vold/
Volume.cpp 619 dinfo.sect_size = 512;

Completed in 1031 milliseconds