Lines Matching defs:type

1369  *		type 	- ptr to the device type of uname
1378 * value of type is UNKNOWN and it can be successfully
1379 * determined then update type to the correct value.
1383 meta_device_type_t *type, md_error_t *ep)
1398 * the specified uname type, we'll return null.
1401 if (*type == LOGICAL_DEVICE) {
1405 *type = META_DEVICE;
1407 if (*type == META_DEVICE) {
1411 *type = LOGICAL_DEVICE;
1422 * Get device that matches the requested type. If
1423 * a match is found, return immediately. If type is
1434 if (*type == META_DEVICE || *type == UNKNOWN) {
1457 if (*type == META_DEVICE) {
1476 if ((rname != NULL) && (*type == UNKNOWN)) {
1483 if (*type == LOGICAL_DEVICE || *type == UNKNOWN) {
1492 if (*type == LOGICAL_DEVICE) {
1508 * type was given, in which case we simply return NULL or
1516 if (rname_cnt == 0 || *type != UNKNOWN) {
1529 /* grab the type in case it is not ambiguous */
1537 *type = tmp_type;
1559 *type = tmp_type;
1584 * Incorrect code path if type is HSP_DEVICE
1899 dnp->type = MDT_META;
1910 dnp->type = MDT_COMP;
1924 dnp->type = MDT_ACCES;
1940 dnp->type = MDT_UNKNOWN;
1942 dnp->type = MDT_ACCES;
2007 assert(np->drivenamep->type != MDT_FAST_COMP &&
2008 np->drivenamep->type != MDT_FAST_META);
2036 if (np->drivenamep->type != MDT_META) {
2080 assert(np->drivenamep->type != MDT_FAST_META &&
2081 np->drivenamep->type != MDT_FAST_COMP);
2084 assert((np->drivenamep->type == MDT_META) ?
2215 if (dnp->type == MDT_UNKNOWN) {
2218 } else if (dnp->type == MDT_COMP && mdissyserror(ep, ENOENT)) {
2219 dnp->type = MDT_UNKNOWN;
2450 dnp->type = MDT_FAST_META;
2455 dnp->type = MDT_FAST_COMP;
2722 if (dnp->type != MDT_COMP)
2858 if (dnp->type != MDT_COMP)
3027 * type - LOGICAL_DEVICE or META_DEVICE
3049 assert(dnp->type != MDT_FAST_COMP && dnp->type != MDT_FAST_META);
3171 * check for device type
3178 return (np->drivenamep->type == MDT_META ||
3179 np->drivenamep->type == MDT_FAST_META);
3203 assert(dnp->type != MDT_FAST_COMP && dnp->type != MDT_FAST_META);
3205 if ((! metaismeta(np)) && (dnp->type != MDT_COMP)) {
3206 switch (dnp->type) {
3257 meta_device_type_t type,
3268 type, ep)) == NULL) {