Home
last modified time | relevance | path

Searched refs:read_int (Results 1 – 4 of 4) sorted by relevance

/busybox-1.35.0/util-linux/
Dfdisk_sun.c293 g_heads = read_int(1, g_heads, 1024, 0, "Heads"); in create_sunlabel()
294 g_sectors = read_int(1, g_sectors, 1024, 0, "Sectors/track"); in create_sunlabel()
296 g_cylinders = read_int(1, g_cylinders - 2, 65535, 0, "Cylinders"); in create_sunlabel()
298 g_cylinders = read_int(1, 0, 65535, 0, "Cylinders"); in create_sunlabel()
299 sunlabel->nacyl = SUN_SSWAP16(read_int(0, 2, 65535, 0, "Alternate cylinders")); in create_sunlabel()
300 …sunlabel->pcylcount = SUN_SSWAP16(read_int(0, g_cylinders + SUN_SSWAP16(sunlabel->nacyl), 65535, 0… in create_sunlabel()
301 sunlabel->rspeed = SUN_SSWAP16(read_int(1, 5400, 100000, 0, "Rotation speed (rpm)")); in create_sunlabel()
302 sunlabel->ilfact = SUN_SSWAP16(read_int(1, 1, 32, 0, "Interleave factor")); in create_sunlabel()
303 sunlabel->sparecyl = SUN_SSWAP16(read_int(0, 0, g_sectors, 0, "Extra sectors per cylinder")); in create_sunlabel()
497 first = read_int(0, 0, 0, 0, mesg); in add_sun_partition()
[all …]
Dfdisk_sgi.c727 first = read_int(0, 0, last-1, 0, mesg); in sgi_add_partition()
735 first = read_int(scround(first), scround(first), scround(last)-1, in sgi_add_partition()
750 last = read_int(scround(first), scround(last)-1, scround(last)-1, in sgi_add_partition()
Dfdisk.c293 static sector_t read_int(sector_t low, sector_t dflt, sector_t high, sector_t base, const char *mes…
1590 read_int(sector_t low, sector_t dflt, sector_t high, sector_t base, const char *mesg) in read_int() function
1703 i = read_int(1, 0, max, 0, "Partition number") - 1; in get_partition()
2509 start = read_int(cround(saved_start), cround(saved_start), cround(limit), 0, mesg); in add_partition()
2550 stop = read_int(cround(start), cround(limit), cround(limit), cround(start), mesg); in add_partition()
2777 new = read_int(0 /*was:first*/, first, first + nr_sects - 1, first, "New beginning of data"); in move_begin()
2809 read_int(1, g_cylinders, 1048576, 0, in xselect()
2837 user_heads = g_heads = read_int(1, g_heads, 256, 0, "Number of heads"); in xselect()
2862 user_sectors = g_sectors = read_int(1, g_sectors, 63, 0, "Number of sectors"); in xselect()
Dfdisk_osf.c474 begin = read_int(bsd_cround(begin), bsd_cround(begin), bsd_cround(end), in xbsd_new_part()
482 end = read_int(bsd_cround(begin), bsd_cround(end), bsd_cround(end), in xbsd_new_part()