Lines Matching refs:device

122 struct	device cur;
123 struct device *curp = 0;
136 struct device *huhcon(const char *dev);
137 void check_nexus(struct device *dev, int num);
138 void check_slot(struct device *dev, int num);
142 struct device *dconnect(const char *dev, int num);
352 yyerror("extraneous root device specification");
370 yyerror("extraneous dump device specification");
389 yyerror("extraneous arg device specification");
707 yyerror("device requires controller card");
731 yyerror("bad device spec");
807 * add a device to the list of devices
810 newdev(struct device *dp)
812 register struct device *np;
814 np = (struct device *) malloc(sizeof *np);
861 * Add a swap device to the system's configuration
886 * If first swap device for this system,
899 * find the pointer to connect to the given device and number.
900 * returns 0 if no such device and prints an error message
902 struct device *
905 register struct device *dp;
928 struct device *
931 register struct device *dp, *dcp;
932 struct device rdev; /* only used if dp is NULL */
951 * Now see if there is already a wildcard entry for this device
976 * unspecific device.
987 init_dev(struct device *dp)
1011 check_nexus(struct device *dev, int num)
1083 check_slot(struct device *dev, int num)
1130 yyerror("no root device specified");
1135 * device. If root specified to be other than on 'a'
1160 yyerror("root device specified with generic swap");
1162 yyerror("arg device specified with generic swap");
1164 yyerror("dump device specified with generic swap");
1168 * Default argument device and check for oddball arrangements.
1173 yyerror("Warning, arg device different than primary swap");
1175 * Default dump device and warn if place is not a
1176 * swap area or the argument device partition.
1186 (void) sprintf(buf, "Warning, orphaned dump device, %s",
1194 * are present in the device specifications.
1239 "config: swap device %s not configured", fl->f_fn);
1246 * Has a device already been checked
1264 fprintf(stderr, "config: %s: %s device not configured\n",
1269 * Look for the device in the list of