Lines Matching defs:type

117 #define	DTD_ATTR_IPTYPE		(const xmlChar *) "ip-type"
156 #define DTD_ATTR_TYPE (const xmlChar *) "type"
253 { "ip-type", DTD_ATTR_IPTYPE },
276 { "type", DTD_ATTR_TYPE },
2099 * When the default for ip-type was shared, zonecfg_set_iptype() only
2100 * wrote the ip-type property to the zone configuration if it was set
2101 * to exclusive. It now always writes ip-type explicitly regardless
2102 * of its value. As a result, we can assume that a missing ip-type
2393 char type[FSTYPSZ];
2461 if ((fetchprop(handle, cur, DTD_ATTR_TYPE, type,
2462 sizeof (type)) == Z_OK)) {
2463 if (strcmp(tabptr->zone_fs_type, type) == 0) {
3975 char name[MAXNAMELEN], type[MAXNAMELEN], value[MAXNAMELEN];
3999 if ((fetchprop(handle, cur, DTD_ATTR_TYPE, type,
4000 sizeof (type)) == Z_OK)) {
4001 if (strcmp(tabptr->zone_attr_type, type) == 0) {
4468 return (dgettext(TEXT_DOMAIN, "Wrong document type"));
4500 return (dgettext(TEXT_DOMAIN, "No such resource type"));
4504 return (dgettext(TEXT_DOMAIN, "No such property type"));
6250 * ip-type of the zone these privileges lists apply to.
6251 * It is used to pass ip-type to the callback function,
6252 * priv_lists_cb, which has no way of getting the ip-type.
6263 /* Skip this privilege if ip-type does not match */
7071 zonecfg_valid_fs_type(const char *type)
7076 if (strcmp(type, "proc") == 0 ||
7077 strcmp(type, "mntfs") == 0 ||
7078 strcmp(type, "autofs") == 0 ||
7079 strncmp(type, "nfs", sizeof ("nfs") - 1) == 0)
7083 * aspects of this filesystem type make sense.
9072 * depending on the type of the specified user. It is also
9110 char *type;
9112 type = kva_match(u->attr, USERATTR_TYPE_KW);
9113 if (type != NULL) {
9114 if (strcmp(type, USERATTR_TYPE_NONADMIN_KW) == 0)