Lines Matching defs:type
49 int type;
148 *devtype = dt->type;
152 printf("Unknown device type '%s'\n", devstr);
160 device_typename(int type)
165 if (device_types[i].type == type)
172 * Parse a device string into type, unit, slice and partition numbers. A
173 * returned value of -1 for type indicates a search should be done for the
176 * given type.
190 * For valid type names, see the device_types array, above.
195 get_load_device(int *type, int *unit, int *slice, int *partition)
201 *type = -1;
213 p = get_device_type(devstr, type);
219 if ((*type == -1) || (*p == '\0')) {
225 *type = -1;
240 *type = -1;
252 if (!(*type & DEV_TYP_STOR)) {
253 *type = -1;
262 *type = -1;
276 *type = -1;
296 *type = -1;
354 /* Try each disk of given type in succession until one works. */
380 printf(" Requested disk type/unit not found\n");