Searched refs:len_kb (Results 1 – 4 of 4) sorted by relevance
56 kb_to_lba(uint32_t len_kb, uint32_t sect_size) in kb_to_lba() argument60 lba = (uint64_t)len_kb * 1024; in kb_to_lba()101 if (pinfo->len_kb != (uint32_t)-1) { in mk_pri_pentry()103 len_lba = ((uint64_t)pinfo->len_kb * 1024); in mk_pri_pentry()162 if (pinfo->len_kb != (uint32_t)-1) in mk_ext_pentry()163 len = kb_to_lba(pinfo->len_kb, dinfo->sect_size); in mk_ext_pentry()173 pinfo->len_kb = in mk_ext_pentry()195 if (pnext->len_kb != (uint32_t)-1) in mk_ext_pentry()196 next_len_lba = 1 + kb_to_lba(pnext->len_kb, dinfo->sect_size); in mk_ext_pentry()245 else if (pinfo->len_kb != (uint32_t)-1) { in config_mbr()[all …]
129 pinfo->len_kb = (uint32_t) len; in load_partitions()131 pinfo->len_kb = 0; in load_partitions()350 if (part->len_kb != (uint32_t)-1) { in validate()351 total_size += part->len_kb * 1024; in validate()352 } else if (part->len_kb == 0) { in validate()492 if (part->len_kb == (uint32_t)-1) in dump_disk_config()495 printf("\t\tlen = %uKB\n", part->len_kb); in dump_disk_config()
85 uint32_t len_kb; /* in 1K-bytes */ member
629 pinfo->len_kb = -1; in initializeMbr()