Searched refs:alias (Results 1 - 25 of 128) sorted by relevance

123456

/illumos-gate/usr/src/cmd/lp/lib/lp/
H A Dcharset.c49 register char *alias; local
63 alias = strchr(*list, '=');
64 if (alias && STREQU(alias+1, item))
/illumos-gate/usr/src/lib/libpkg/common/
H A Ddevtype.c42 devtype(char *alias, struct pkgdev *devp) argument
46 devp->name = alias;
52 /* see if alias represents an existing file */
53 if (alias[0] == '/') {
54 if (!isdir(alias)) {
60 /* see if alias represents a mountable device (e.g., a floppy) */
61 if ((devp->mount = devattr(alias, "mountpt")) != NULL &&
63 devp->bdevice = devattr(alias, "bdevice");
77 devp->cdevice = devattr(alias, "cdevice");
80 if (name = devattr(alias, "capacit
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dyp_getalias.c67 * Setup alias file, check /var/yp filesystem type
110 * Match key to alias
120 char *alias; local
140 alias = strtok(NULL, " \t\n");
141 if (longname == NULL || alias == NULL) {
145 if ((int)strlen(alias) > (maxlen)) {
146 strncpy(key_alias, alias, (maxlen));
149 strcpy(key_alias, alias);
154 /* alias not found */
160 * Match alias t
170 char *alias; local
[all...]
/illumos-gate/usr/src/lib/libvolmgt/common/
H A Dvolmgt.c581 struct alias { struct
582 char *alias; member in struct:alias
589 static struct alias device_aliases[] = {
615 struct alias *s;
619 for (s = device_aliases; s->alias != NULL; s++) {
620 if (strcmp(start, s->alias) == 0) {
/illumos-gate/usr/src/boot/sys/i386/include/
H A Dasm.h94 * WEAK_REFERENCE(): create a weak reference alias from sym.
100 #define WEAK_REFERENCE(sym, alias) \
101 .weak CNAME(alias); \
102 .equ CNAME(alias),CNAME(sym)
105 * STRONG_ALIAS: create a strong alias.
107 #define STRONG_ALIAS(alias,sym) \
108 .globl alias; \
109 alias = sym
/illumos-gate/usr/src/cmd/svr4pkg/pkgadm/
H A Dremovecert.c62 char *alias = NULL; local
76 alias = optarg;
95 if (alias == NULL) {
174 alias);
175 if (delete_cert_and_keys(err, keystore, alias) != 0) {
177 log_msg(LOG_MSG_ERR, MSG_NO_REMOVECERT, alias);
187 log_msg(LOG_MSG_ERR, MSG_NO_REMOVECERT, alias);
191 log_msg(LOG_MSG_INFO, MSG_REMOVED, alias);
/illumos-gate/usr/src/lib/libnsl/nis/gen/
H A Dnis_sec_mechs.c265 if (mp->alias)
266 free(mp->alias);
346 * An alias field of "des" (case not sig) will override any settings
374 const int al_offset = 4; /* mech alias */
404 /* mechanism alias */
405 m->alias = NIS_SEC_CF_NA_CMP(*(flds + al_offset)) ? NULL
424 /* mech alias */
460 * mechname/alias/keylen/algotype combo. Else return FALSE.
480 if (!mp->alias && !tp->alias)
707 __nis_mechname2alias(const char *mechname, char *alias, size_t bufsize) argument
839 __nis_keyalg2mechalias( keylen_t keylen, algtype_t algtype, char *alias, size_t alias_len) argument
901 char alias[MECH_MAXALIASNAME+1] = {0}; local
[all...]
/illumos-gate/usr/src/lib/libnsl/include/rpcsvc/
H A Dnis_dhext.h77 char *alias; member in struct:__anon3663
90 * Except if the alias is equal to NIS_SEC_CF_DES_ALIAS,
98 #define AUTH_DES_COMPAT_CHK(mp) ((mp)->alias && \
100 (mp)->alias,\
114 VALID_ALIAS((mp)->alias))
117 #define MECH_PK_TECH(mp) (((mp)->alias)[0] == 'd' && ((mp)->alias)[1] == 'h')
120 #define MECH_MAXALIASNAME 32 /* Mechanism max size of mech alias name */
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_discovery.h80 * functions that set/get a descriptor's multipath alias name(s).
83 extern int set_alias(dm_descriptor_t desc, char *alias);
/illumos-gate/usr/src/cmd/sgs/rtld/sparcv9/
H A Dboot.s99 ! +8: alias start (frame exists) XX64 what's this for?
/illumos-gate/usr/src/boot/sys/amd64/include/
H A Dasm.h81 * WEAK_REFERENCE(): create a weak reference alias from sym.
86 #define WEAK_REFERENCE(sym, alias) \
87 .weak CNAME(alias); \
88 .equ CNAME(alias),CNAME(sym)
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c35 EFI_HANDLE alias; member in struct:entry
58 entry[idx].alias = aliases[unit];
60 entry[idx].alias = NULL;
88 if (entry[idx].handle != h && entry[idx].alias != h)
112 entry[idx].alias = NULL;
/illumos-gate/usr/src/cmd/device_remap/
H A Ddevice_remap.pl388 my ($md, @nodes, $nodeid, @aliases, $alias);
401 # foreach ioalias node, replace any 'alias' paths
404 # complicating this is that the alias paths can be
408 # it by length so we always fix the longer alias
421 foreach $alias (@aliases) {
422 next if ($alias eq $current);
425 $newpath{$alias} = $current;
426 $slash = index($alias, '/', 1);
428 $root = $alias;
430 $root = substr($alias,
[all...]
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_getalias.c43 * 1 = alias not found;
109 __getldapaliasbyname(char *alias, int *retval) argument
123 if (!alias || !*alias) {
138 if (snprintf(filter, sizeof (filter), ALIAS_FILTER, alias, alias) < 0) {
146 alias, alias) < 0) {
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dalias.c62 /* Find the alias for this descriptor */
66 if (libdiskmgt_str_eq(dp->name, ap->alias)) {
67 /* we found the alias for this descriptor */
97 /* get the status for this alias */
125 descriptor_t *alias = NULL; local
134 alias = aliases[i];
142 if (alias == NULL) {
146 return (alias);
183 if (ap->alias != NULL) {
184 cache_load_desc(DM_ALIAS, dp, ap->alias, NUL
[all...]
/illumos-gate/usr/src/lib/libadm/common/
H A Dgetdev.c217 char *entry; /* Pointer to alias in record */
259 * - Free the alias list
279 * it returns the device name (not the alias).
282 * devtabentry The device alias that may or may not belong in the
294 char **aliases, /* List of alias of those devices */
656 * a device couldn't be found, that alias will be "". There
675 char *alias; /* Alias of current device */ local
688 /* Get space for the alias list */
691 /* Build the alias list */
695 /* Get the device's alias an
777 char *alias; /* Alias of device found */ local
[all...]
H A Ddevreserv.c73 * 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
507 appendlk( int key, char *alias) argument
736 char *alias; /* Alias of "device" */ local
802 char *alias; /* Device's alias (from devattr()) */ local
911 char *alias; /* Alias of dev to reserve */ local
[all...]
H A Ddevtab.c47 * _validalias() Is a value a valid alias?
605 * int _validalias(alias)
606 * char *alias
608 * Determine if <alias> is a valid alias. Returns TRUE if it is
609 * a valid alias, FALSE otherwise.
612 * alias Value to check out
615 * TRUE if <alias> is a valid alias, FALSE otherwise.
619 _validalias(char *alias) /* Alia argument
[all...]
H A Ddevattr.c120 /* Did they ask for the device alias? */
122 val = (record->alias != NULL) ? record->alias : "";
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c63 resolve_name(char *alias) argument
68 if (strlen(alias) == 0)
71 if (strncmp(alias, dev, strlen(dev)) == 0) {
76 if (realpath(alias, tmp) != NULL) {
84 return (s_strdup(alias));
414 add_busy_rsrc_to_list(char *alias, pid_t pid, int state, int seq_num, argument
435 if ((errno = nvlist_add_string(info->info, RCM_RSRCNAME, alias)) ||
514 rsrc_client_alloc(char *alias, char *modname, pid_t pid, uint_t flag) argument
519 assert((alias != NULL) && (modname != NULL));
522 alias, modnam
1189 rsrc_node_add_user(rsrc_node_t *node, char *alias, char *modname, pid_t pid, uint_t flag) argument
1894 call_getinfo(struct rcm_mod_ops *ops, rcm_handle_t *hdl, char *alias, id_t pid, uint_t flag, char **info, char **error, nvlist_t *client_props, rcm_info_t **infop) argument
[all...]
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeylogin.c356 char *alias; local
364 if (VALID_ALIAS(mechlist[i]->alias))
365 alias = mechlist[i]->alias;
367 alias = "";
375 fullname, alias);
383 fullname, alias);
393 fullname, alias);
400 write_rootkey(secret, mechlist[i]->alias,
/illumos-gate/usr/src/common/net/wanboot/
H A Dp12auxutl.c143 if (cert->aux != NULL && cert->aux->alias != NULL &&
144 cert->aux->alias->type == V_ASN1_UTF8STRING) {
145 str = utf82ascstr(cert->aux->alias);
192 if (cert->aux != NULL && cert->aux->alias != NULL &&
193 cert->aux->alias->type == V_ASN1_UTF8STRING) {
194 str = utf82ascstr(cert->aux->alias);
/illumos-gate/usr/src/cmd/make/bin/
H A Dfiles.cc215 Name alias; local
218 * To avoid recursive search through VPATH when exists(alias) is called
235 alias = GETNAME(file_name, FIND_LENGTH);
236 if (exists(alias) != file_doesnt_exist) {
238 target->stat.mode = alias->stat.mode;
239 target->stat.size = alias->stat.size;
240 target->stat.is_dir = alias->stat.is_dir;
241 target->stat.time = alias->stat.time;
243 body.vpath_alias.alias = alias;
[all...]
/illumos-gate/usr/src/lib/nsswitch/ldap/common/
H A Dgetprotoent.c51 char *alias; member in struct:protocol_alias
80 * So it needs to replicate the canonical name as an alias of upper case.
92 * form as much as possible. If the alias can't be found in the aliases table,
93 * it assumes the alias is all upper case.
104 return (ip_aliases[i].alias);
140 char *buffer = NULL, **number, *alias; local
182 alias = get_alias(cname);
183 len = snprintf(buffer, buflen, " %s", alias);
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_convert.c92 char **alias = printer->aliases; local
94 while (*alias != NULL) {
96 (void) strncat_escaped(buf, *alias++, buflen,

Completed in 107 milliseconds

123456