Lines Matching defs:attribute
39 * devattr() Get the value of a attribute for a specific device
81 * attr The device's attribute to be looked for
85 * attribute <attr> for the device <device>, or (char *) NULL if none
94 * EINVAL The device does not have that attribute defined
101 char *attribute) /* The attribute to extract */
108 int found; /* TRUE if attribute found */
117 /* Search the record for the specified attribute */
121 if (strcmp(attribute, DTAB_ALIAS) == 0) {
127 else if (strcmp(attribute, DTAB_CDEVICE) == 0) {
133 else if (strcmp(attribute, DTAB_BDEVICE) == 0) {
139 else if (strcmp(attribute, DTAB_PATHNAME) == 0) {
153 if (strcmp(p->attr, attribute) == 0) {
161 * If the attribute was found, copy it into malloc()ed space.