Searched refs:part_offset (Results 1 – 1 of 1) sorted by relevance
/external/toybox/toys/pending/ |
D | fdisk.c | 91 static struct partition* part_offset(char *secbuf, int i) in part_offset() function 254 partitions[num_parts].part = part_offset(sec_buf, 0); in read_ebr() 267 q = part_offset(sec_buf, 1); in read_ebr() 280 p = part_offset((char*)bufp, i); in physical_HS() 304 pe->part = part_offset(MBRbuf, i); in reset_boot() 525 partitions[i].part = part_offset(MBRbuf, i); in init_members() 608 ext_p = part_offset(partitions[i].sec_buffer, 1); in delete_partition() 609 ext_q = part_offset(partitions[i + 1].sec_buffer, 1); in delete_partition() 620 ext_p = part_offset(partitions[i-1].sec_buffer, 1); in delete_partition() 621 ext_q = part_offset(partitions[i].sec_buffer, 1); in delete_partition() [all …]
|