Lines Matching refs:get_nr_sects
155 static unsigned get_nr_sects(const struct partition *p);
556 get_nr_sects(const struct partition *p)
855 get_start_sect(p) || get_nr_sects(p));
982 for (i = 0; i < 4; i++, p++) if (get_nr_sects(p)) {
1024 if (!get_nr_sects(pe->part_table)
1571 set_nr_sects(p, get_nr_sects(q));
1618 if (!sys && !LABEL_IS_SGI && !LABEL_IS_SUN && !get_nr_sects(p)) {
1725 linear2chs(get_start_sect(p) + get_nr_sects(p) - 1, &lec, &leh, &les);
1958 psects = get_nr_sects(p);
2012 get_start_sect(p), get_nr_sects(p), p->sys_ind);
2035 last[i] = first[i] + get_nr_sects(p) - 1;
2114 get_nr_sects(pex->part_table) - 1;
2165 get_nr_sects(q) - 1;
2169 limit = get_start_sect(q) + get_nr_sects(q) - 1;
2451 if (!p->sys_ind || !get_nr_sects(p) || IS_EXTENDED(p->sys_ind)) {
2456 new = read_int(first, first, first + get_nr_sects(p) - 1, first,
2459 if (new != get_nr_sects(p)) {
2460 first = get_nr_sects(p) + get_start_sect(p) - new;