Searched defs:aliases (Results 1 - 25 of 41) sorted by relevance

12

/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_cmn_printer.c49 * printer_create(char *name, char **aliases, char *source,
54 * char **aliases
55 * - aliases for printer
66 ns_printer_create(char *name, char **aliases, char *source, argument
73 printer->aliases = (char **)aliases;
108 (list_locate((void **)printer->aliases,
151 list_iterate((void **)printer->aliases,
H A Dnss_convert.c91 if ((printer->aliases != NULL) && (printer->aliases[0] != NULL)) {
92 char **alias = printer->aliases;
143 **aliases = NULL, local
160 aliases = (char **)list_append(
161 (void **)aliases,
164 name, aliases, ns, NULL);
186 aliases = (char **)list_append(
187 (void **)aliases,
H A Dns_bsd_addr.c432 char **aliases = NULL; local
460 for (aliases = (*printers)->aliases;
461 (aliases != NULL) && (*aliases != NULL); aliases++)
472 addr->printer = strdup(*aliases);
474 addr->pname = strdup(*aliases);
H A Dns.h147 char **aliases; /* aliases for printer */ member in struct:ns_printer
/illumos-gate/usr/src/lib/libzfs_jni/common/
H A Dlibzfs_jni_diskmgt.h58 char **aliases; member in struct:dmgt_disk
H A Dlibzfs_jni_disk.c50 int naliases = zjni_count_elements((void **)dp->aliases);
51 jobjectArray aliases = zjni_c_string_array_to_java( local
52 env, dp->aliases, naliases);
53 if (aliases != NULL) {
71 constructor, dp->size, nameUTF, aliases, slices,
H A Dlibzfs_jni_diskmgt.c118 /* Get aliases */
119 dp->aliases = get_disk_aliases(disk, dp->name, error);
168 dm_descriptor_t *aliases; local
171 aliases = dm_get_associated_descriptors(disk, DM_ALIAS, error);
172 if (*error || aliases == NULL) {
174 handle_error("could not get aliases for disk %s", name);
179 /* Count aliases */
180 for (j = 0; aliases[j] != NULL; j++)
190 for (j = 0; *error == 0 && aliases[j] != NULL; j++) {
192 dm_descriptor_t alias = aliases[
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Dhandles.c46 EFI_HANDLE *aliases, int count)
57 if (aliases != NULL)
58 entry[idx].alias = aliases[unit];
45 efi_register_handles(struct devsw *sw, EFI_HANDLE *handles, EFI_HANDLE *aliases, int count) argument
H A Defipart.c84 EFI_HANDLE *hin, *hout, *aliases, handle; local
107 aliases = hout + nin;
110 bzero(aliases, nin * sizeof(EFI_HANDLE));
159 aliases[nout] = hin[n];
170 err = efi_register_handles(&efipart_dev, hout, aliases, nout);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dalias.c65 for (ap = dp->p.disk->aliases; ap != NULL; ap = ap->next) {
123 descriptor_t **aliases; local
127 aliases = cache_get_descriptors(DM_ALIAS, errp);
132 for (i = 0; aliases[i]; i++) {
133 if (libdiskmgt_str_eq(name, aliases[i]->name)) {
134 alias = aliases[i];
137 cache_free_descriptor(aliases[i]);
140 free(aliases);
166 /* There are no stat types defined for aliases */
181 ap = dp->aliases;
[all...]
H A Ddisks_private.h102 alias_t *aliases; member in struct:disk
/illumos-gate/usr/src/lib/libresolv2/common/irs/
H A Dgetnetent.c53 char * aliases[1]; member in struct:pvt
296 pvt->netent.n_aliases = pvt->aliases;
297 pvt->aliases[0] = NULL;
H A Dlcl_nw.c91 char * aliases[MAXALIASES]; member in struct:pvt
292 q = pvt->net.n_aliases = pvt->aliases;
300 if (q < &pvt->aliases[MAXALIASES - 1])
H A Dgethostent.c63 char * aliases[1]; member in struct:pvt
313 char *aliases[1]; local
319 he.h_aliases = aliases;
916 /* copy aliases */
1054 pvt->host.h_aliases = pvt->aliases;
1055 pvt->aliases[0] = NULL;
/illumos-gate/usr/src/cmd/modload/
H A Dupdate_drv.c96 char *aliases = NULL; local
136 aliases = optarg;
137 if (check_space_within_quote(aliases) == ERROR) {
139 aliases);
310 * existing driver aliases be trimmed from
317 aliases, &aliases2);
324 * if the list of aliases to be added is
332 * path-oriented aliases we are adding exist
443 * verify that the aliases to be deleted exist
449 rval = aliases_exist(aliases);
[all...]
H A Dadd_drv.c97 char *aliases = NULL; local
151 aliases = optarg;
152 if (check_space_within_quote(aliases) == ERROR) {
154 aliases);
268 if (aliases != NULL)
269 if ((aliases_unique(aliases)) == ERROR)
403 if (update_driver_aliases(driver_name, aliases) == ERROR) {
451 if (config_driver(driver_name, major_num, aliases, classes,
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ipaddr.c184 addhost(int family, const void *ipaddr, const char *name, char **aliases) argument
239 if (aliases) {
241 aliases[ind] != NULL;
244 aliases[ind]);
254 if (aliases) {
256 aliases[ind] != NULL;
259 aliases[ind]);
/illumos-gate/usr/src/uts/common/sys/
H A Dkiconv.h98 char **aliases; member in struct:kiconv_mod_info
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c630 * aliases to add to the list of locked devices
873 * "key" is no longer active. It returns a list aliases of the devices
880 * returns those aliases to the caller. If it fails, it allocates
891 * A pointer to malloc()ed space containing pointers to the aliases
892 * of the reserved devices. The aliases are in malloc()ed space also.
908 char **rr; /* Ptr to item in aliases */
909 char **aliases; /* List of aliases allocated */ local
924 if (aliases = malloc((ndevs+1)*sizeof (char **))) {
927 rr = aliases;
[all...]
H A Dgetdev.c135 * makealiaslist() Builds a list of aliases from the list of
138 * devices aliases
214 char **aliases; /* List of constraining devices */ local
215 char **returnlist; /* List of ptrs to aliases to return */
225 /* Make sure the exclude/include list is all aliases */
226 aliases = makealiaslist(devices);
227 if (devices && !aliases)
247 if (entry = oktoaddtolist(entry, devices, aliases, options)) {
265 freealiaslist(aliases);
271 * char *oktoaddtolist(devtabentry, devices, aliases, option
291 oktoaddtolist( char *devtabentry, char **devices, char **aliases, int options) argument
674 char **aliases; /* List being returned */ local
[all...]
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/server/
H A DNS.c255 char **aliases; /* aliases for printer */ member in struct:ns_printer
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dstk.c72 char **aliases; /* address aliases */ member in struct:frame
73 int nalias; /* number of aliases */
250 fp->aliases = 0;
355 if(loc==fp->aliases[n])
532 fp->aliases = (char**)fp->end;
533 fp->aliases[nn-1] = dp + roundof(sizeof(struct frame),STK_ALIGN);
/illumos-gate/usr/src/lib/nsswitch/dns/common/
H A Ddns_common.c284 * Verify name matches an alias in the provided aliases list.
286 * Within DNS there should be only one canonical name, aliases should
296 * NSS_SUCCESS indicates that the name is listed in the collected aliases.
409 char aliases[NS_MAXMSG]; /* set of aliases */ local
441 ap = apc = (char *)aliases;
639 (alen == 0 || name_is_alias(aliases, ans)
666 * A canonical name may have several aliases but an
721 /* append IP host aliases to results */
723 /* ip <SP> hostname [<SP>][aliases] */
[all...]
/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_validate.c678 char *aliases = get_device_aliases_string(slice); local
679 if (aliases[0] != NULL) {
683 "(aliases: %s).\n"),
684 name, aliases);
736 char *aliases = local
740 if (aliases[0] != NULL) {
744 "It has these aliases: %s\n"),
745 name, aliases);
1843 /* include aliases in the error */
1844 char *aliases local
1976 dlist_t *aliases = NULL; local
[all...]
/illumos-gate/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c341 * Add or remove an alias from a property list of aliases:
343 * pname: property name containing a space separated list of aliases
354 char *aliases[TTYMUX_MAX_LINKS]; local
390 aliases[cnt++] = tok;
396 sm_dbg('I', ("%d aliases\n", cnt));
414 aliases[cnt++] = alias;
420 sm_dbg('I', ("%d aliases (len %d)\n", cnt, len));
427 ASSERT(strlen(nval) + strlen(aliases[i]) + 1 <= len);
428 sm_dbg('I', ("alias %s\n", aliases[i]));
429 (void) strcat(nval, aliases[
[all...]

Completed in 129 milliseconds

12