Lines Matching refs:size
163 sector_t offs, size, next; in parse_extended() local
171 size = nr_sects(p)*sector_size; in parse_extended()
174 if (offs + size > this_size) in parse_extended()
178 if (next + size > first_sector + first_size) in parse_extended()
182 put_partition(state, state->next, next, size); in parse_extended()
216 sector_t offset, sector_t size, int origin) in parse_solaris_x86() argument
273 sector_t offset, sector_t size, int origin, char *flavour, in parse_bsd() argument
305 if (offset == bsd_start && size == bsd_size) in parse_bsd()
308 if (offset > bsd_start || offset+size < bsd_start+bsd_size) { in parse_bsd()
325 sector_t offset, sector_t size, int origin) in parse_freebsd() argument
328 parse_bsd(state, offset, size, origin, "bsd", BSD_MAXPARTITIONS); in parse_freebsd()
333 sector_t offset, sector_t size, int origin) in parse_netbsd() argument
336 parse_bsd(state, offset, size, origin, "netbsd", BSD_MAXPARTITIONS); in parse_netbsd()
341 sector_t offset, sector_t size, int origin) in parse_openbsd() argument
344 parse_bsd(state, offset, size, origin, "openbsd", in parse_openbsd()
354 sector_t offset, sector_t size, int origin) in parse_unixware() argument
398 sector_t offset, sector_t size, int origin) in parse_minix() argument
532 sector_t size = nr_sects(p)*sector_size; in msdos_partition() local
534 if (!size) in msdos_partition()
545 n = min(size, max(sector_size, n)); in msdos_partition()
549 parse_extended(state, start, size, disksig); in msdos_partition()
553 put_partition(state, slot, start, size); in msdos_partition()