Lines Matching defs:alias
73 * with alias name (may be '\0' terminated)
487 * int appendlk(key, alias)
489 * char *alias
495 * alias The device alias being locked
509 char *alias) /* Alias to lock */
516 (void) strcpy(lk.lk_alias, alias);
712 * not locked, it returns the device alias.
714 * A device is not locked if the device's alias does not appear in
721 * alias.
724 * Returns a pointer to the device alias if it's not locked, or
736 char *alias; /* Alias of "device" */
741 /* Get the device's alias */
742 if (alias = devattr(device, DTAB_ALIAS)) {
745 * Look through the device locks to see if this device alias
752 if (strncmp(alias, plk->lk_alias, DTAB_MXALIASLN) == 0)
758 free(alias);
759 alias = NULL;
766 return (alias);
801 char *srchalias; /* Device alias to search table with */
802 char *alias; /* Device's alias (from devattr()) */
814 * Get the device alias. If none can be found, try to free
822 if (alias = devattr(device, DTAB_ALIAS)) srchalias = alias;
837 /* Free the alias string (if any), we don't need it anymore */
838 if (alias) free(alias);
911 char *alias; /* Alias of dev to reserve */
940 * returns that device's alias, it's ours to have
943 if (alias = islocked(*pp)) {
948 *rr++ = alias;
1003 } else noerr = FALSE; /* Malloc() for alias list failed */
1027 * char *device The device (alias, pathname to, etc.) to be freed.