Lines Matching defs:type
116 uint8_t type;
129 bsd_parse_type(const char *type, uint8_t *fstype)
136 if (type[0] == '!') {
137 lt = strtol(type + 1, &endp, 0);
138 if (type[1] == '\0' || *endp != '\0' || lt <= 0 || lt >= 256)
146 if (strcasecmp(type, alias) == 0) {
147 *fstype = bsd_alias_match[i].type;
479 int type;
482 type = entry->part.p_fstype;
483 if (type == FS_NANDFS)
485 if (type == FS_SWAP)
487 if (type == FS_BSDFFS)
489 if (type == FS_VINUM)
491 if (type == FS_ZFS)
493 snprintf(buf, bufsz, "!%d", type);