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

  /system/core/libdiskconfig/
config_mbr.c 56 kb_to_lba(uint32_t len_kb, uint32_t sect_size)
60 lba = (uint64_t)len_kb * 1024;
98 /* need this to be 64 bit in case len_kb is large */
101 if (pinfo->len_kb != (uint32_t)-1) {
103 len_lba = ((uint64_t)pinfo->len_kb * 1024);
162 if (pinfo->len_kb != (uint32_t)-1)
163 len = kb_to_lba(pinfo->len_kb, dinfo->sect_size);
173 pinfo->len_kb =
195 if (pnext->len_kb != (uint32_t)-1)
196 next_len_lba = 1 + kb_to_lba(pnext->len_kb, dinfo->sect_size)
    [all...]
diskconfig.c 129 pinfo->len_kb = (uint32_t) len;
131 pinfo->len_kb = 0;
350 if (part->len_kb != (uint32_t)-1) {
351 total_size += part->len_kb * 1024;
352 } else if (part->len_kb == 0) {
492 if (part->len_kb == (uint32_t)-1)
495 printf("\t\tlen = %uKB\n", part->len_kb);
  /bootable/diskinstaller/editdisklbl/
editdisklbl.c 156 pinfo->len_kb = (uint32_t) ((tmp_stat.st_size + 1023) >> 10);
159 ((uint64_t)pinfo->len_kb * 1024) / (*dinfo)->sect_size;
160 printf("Updated %s length to be %uKB\n", pinfo->name, pinfo->len_kb);
  /system/core/include/diskconfig/
diskconfig.h 84 uint32_t len_kb; /* in 1K-bytes */ member in struct:part_info
  /system/vold/
Volume.cpp 711 pinfo->len_kb = -1;

Completed in 29 milliseconds