Lines Matching defs:sys
20 #include <sys/stat.h>
495 void list_types(struct systypes *sys)
500 for (i = 0; sys[i].name; i++);
509 sys[next].type, _(sys[next].name));
741 #include <sys/utsname.h>
1061 read_hex(struct systypes *sys)
1069 list_types(sys);
1375 int i, sys, origsys;
1390 origsys = sys = get_sysid(i);
1394 if (!sys && !sgi_label && !sun_label && !get_nr_sects(p))
1397 sys = read_hex (get_sys_types());
1399 if (!sys && !sgi_label && !sun_label) {
1408 if (IS_EXTENDED (sys) != IS_EXTENDED (p->sys_ind)) {
1416 if (sys < 256) {
1417 if (sun_label && i == 2 && sys != WHOLE_DISK)
1422 if (sgi_label && ((i == 10 && sys != ENTIRE_DISK)
1423 || (i == 8 && sys != 0)))
1428 if (sys == origsys)
1431 sun_change_sysid(i, sys);
1434 sgi_change_sysid(i, sys);
1436 p->sys_ind = sys;
1438 "to %x (%s)\n"), i + 1, sys,
1439 (temp = partition_type(sys)) ? temp :
1443 is_dos_partition(sys))
1909 add_partition(int n, int sys) {
2017 set_partition(n, 0, start, stop, sys);
2021 if (IS_EXTENDED (sys)) {