Lines Matching refs:size
85 unsigned long size = nr_sects > 2 ? 2 : nr_sects; in riscix_partition() local
90 put_partition(state, slot++, first_sect, size); in riscix_partition()
131 unsigned long size = nr_sects > 2 ? 2 : nr_sects; in linux_partition() local
135 put_partition(state, slot++, first_sect, size); in linux_partition()
305 __le32 size; member
371 for (slot = 1, p = (const struct ics_part *)data; p->size; p++) { in adfspart_check_ICS()
373 s32 size = le32_to_cpu(p->size); /* yes, it's signed. */ in adfspart_check_ICS() local
383 if (size < 0) { in adfspart_check_ICS()
384 size = -size; in adfspart_check_ICS()
392 if (size > 1 && adfspart_check_ICSLinux(state, start)) { in adfspart_check_ICS()
394 size -= 1; in adfspart_check_ICS()
398 if (size) in adfspart_check_ICS()
399 put_partition(state, slot++, start, size); in adfspart_check_ICS()
413 __le32 size; member
467 u32 size = le32_to_cpu(p->size); in adfspart_check_POWERTEC() local
469 if (size) in adfspart_check_POWERTEC()
470 put_partition(state, slot++, start, size); in adfspart_check_POWERTEC()
541 sector_t size; in adfspart_check_EESOX() local
543 size = get_capacity(state->disk); in adfspart_check_EESOX()
544 put_partition(state, slot++, start, size - start); in adfspart_check_EESOX()