Lines Matching defs:alias

94  *	mkdevtabent	Builds a device-table entry from the alias and the
400 * struct devtabent *mkdevtabent(alias, attrlist)
401 * char *alias
405 * alias <alias> using the information in the attribute list <attrlist>.
410 * alias The alias being added to the device table
411 * attrlist The attributes and values for that alias
415 * of the alias. The structure, and all of the data in the structure
420 * EINVAL If "alias" is used as an attribute in an attr=val pair
426 char *alias, /* Alias of entry */
449 if (devtabent->alias = malloc(strlen(alias)+1)) {
451 (void) strcpy(devtabent->alias, alias); /* alias */
477 /* Specifying the alias? If so, ERROR */
704 /* Write the alias ("alias" attribute) */
705 p = strcatesc(p, rec->alias);
747 * int _adddevtabrec(alias, attrval)
748 * char *alias
752 * have the alias <alias> and will have the attributes described in
758 * alias The alias of the device whose description is being
770 char *alias, /* Alias to add to the device table */
778 /* Validate the device alias. Error (EINVAL) if it's not valid */
779 if (!_validalias(alias)) {
791 /* Make sure that the alias isn't already in the table */
794 if (devtabent = _getdevrec(alias)) {
796 /* The alias is already in the table */
802 /* The alias wasn't in the table or there wasn't a table. */
806 /* Build a struct devtabent that describes the new alias */
807 if (devtabent = mkdevtabent(alias, attrval)) {
1012 * device The device (alias, cdevice, bdevice, pathname, or link to one)
1080 * - "alias" may not be undefined
1111 /* Count attributes to remove -- make sure "alias" isn't specified */