/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | cname.h | 35 static struct cname { struct
|
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_patch_root.c | 44 char *cname, /* mddb.cf file name */ 65 if (cname == NULL) 66 cname = META_DBCONF; 76 rootnp->cname)); 94 if (meta_systemfile_append_mddb(cname, dbname, dbtname, dbtfp, doit, 40 meta_patch_rootdev( mdname_t *rootnp, char *sname, char *vname, char *cname, char *dbname, int doit, int verbose, md_error_t *ep ) argument
|
H A D | meta_tab.c | 59 if (linep->cname != NULL) 60 Free(linep->cname); 234 linep->cname = meta_canonicalize(NULL, linep->argv[0]); 235 /* if cname is NULL then the meta/hsp name is invalid */ 236 if (linep->cname == NULL) { 333 char *cname = meta_canonicalize(sp, name); local 337 if (cname == NULL) 345 (strcmp(linep->cname, cname) == 0)) { 346 Free(cname); [all...] |
H A D | meta_systemfile.c | 338 char *cname, /* mddb.cf file name */ 362 assert(cname != NULL); 368 if ((cfp = fopen(cname, "r")) == NULL) { 369 (void) mdsyserror(ep, errno, cname); 373 if (stat(cname, &statbuf) != 0) { 374 (void) mdsyserror(ep, errno, cname); 378 (void) mderror(ep, MDE_MDDB_FILE, cname); 408 (void) mderror(ep, MDE_MDDB_FILE, cname); 467 (void) mdsyserror(ep, errno, cname); 337 meta_systemfile_append_mddb( char *cname, char *sname, char *tname, FILE *tfp, int doit, int verbose, int check, md_error_t *ep ) argument
|
H A D | meta_init.c | 363 char *cname, /* canonical name */ 396 if (is_existing_meta_hsp(*spp, cname)) { 400 if (is_existing_hsp(*spp, cname)) { 401 return (mderror(ep, MDE_NAME_IN_USE, cname)); 359 meta_init_name( mdsetname_t **spp, int argc, char *argv[], char *cname, mdcmdopts_t options, md_error_t *ep ) argument
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | audit_krb5kdc.c | 62 char *cname, /* client principal name */ 95 AUD_NULL_STR(cname)); 116 char *cname, /* client principal name */ 120 common_audit(AUE_krb5kdc_as_req, r_addr, r_port, l_port, cname, 129 char *cname, /* client principal name */ 133 common_audit(AUE_krb5kdc_tgs_req, r_addr, r_port, l_port, cname, 142 char *cname, /* client principal name */ 146 cname, sname, 1); 154 char *cname, /* client principal name */ 159 cname, snam 57 common_audit( au_event_t event, struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname, int sorf) argument 112 audit_krb5kdc_as_req( struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname, int sorf) argument 125 audit_krb5kdc_tgs_req( struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname, int sorf) argument 138 audit_krb5kdc_tgs_req_2ndtktmm( struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname) argument 150 audit_krb5kdc_tgs_req_alt_tgt( struct in_addr *r_addr, in_port_t r_port, in_port_t l_port, char *cname, char *sname, int sorf) argument [all...] |
H A D | audit_class.c | 83 static char cname[AU_CLASS_NAME_MAX]; local 86 e.ac_name = cname; 96 * to also allocate space from the cname and cdesc pointers 171 static char cname[AU_CLASS_NAME_MAX]; local 174 e.ac_name = cname;
|
/illumos-gate/usr/src/cmd/lvm/util/ |
H A D | metaclear.c | 265 char *cname; local 277 * If -p, set cname to the device 280 cname = Strdup(argv[0]); 284 * cname to the full name, 287 cname = meta_name_getname(&sp, 289 if (cname == NULL) { 296 cname, options, pflag, ep) != 0) { 299 Free(cname); 319 cname = meta_name_getname(&sp, 321 if (cname [all...] |
H A D | metahs.c | 243 nlp->namep->cname); 378 (void) mddeverror(ep, MDE_INVAL_HS, oldnp->dev, oldnp->cname); 684 char *cname = NULL; local 686 cname = meta_name_getname(&sp, argv[0], HSP_DEVICE, ep); 687 if (cname == NULL) { 691 Free(cname);
|
H A D | metaroot.c | 48 static char *cname = NULL; /* take default */ variable 58 * the map point to the cname, sname, vname and dbname global variables 63 &cname, META_DBCONF, 148 submirnamep->cname)); 204 "Concat %s has more than 1 slice\n"), strnp->cname); 211 "Stripe %s has more than 1 slice\n"), strnp->cname); 218 if (strcmp(slicenp->cname, cp->compnamep->cname) == 0) 223 slicenp->cname, strnp->cname); [all...] |
/illumos-gate/usr/src/lib/nsswitch/ldap/common/ |
H A D | getnetent.c | 67 char **network, *cname = NULL; local 94 cname = __s_api_get_canonical_name(result->entry, names, 1); 104 if (cname == NULL) 106 cname = names->attrvalue[0]; 107 if (cname == NULL || (len = strlen(cname)) < 1) { 117 len = snprintf(buffer, buflen, "%s %s", cname, network[0]); 126 if (strcasecmp(names->attrvalue[i], cname) != 0) {
|
H A D | getprotoent.c | 139 char *cname = NULL; local 166 cname = __s_api_get_canonical_name(result->entry, names, 1); 167 if (cname == NULL || (len = strlen(cname)) < 1) { 177 len = snprintf(buffer, buflen, "%s %s", cname, number[0]); 182 alias = get_alias(cname); 193 if (strcasecmp(names->attrvalue[i], cname) != 0) {
|
H A D | getrpcent.c | 64 char *cname = NULL; local 92 cname = __s_api_get_canonical_name(result->entry, names, 1); 93 if (cname == NULL || (len = strlen(cname)) < 1) { 103 len = snprintf(buffer, buflen, "%s %s", cname, rpcnumber[0]); 112 if (strcasecmp(names->attrvalue[i], cname) != 0) {
|
H A D | gethostent.c | 73 char *cname = NULL, *h_name = NULL; local 174 cname = __s_api_get_canonical_name(entry, names, 1); 175 if (cname == NULL || strlen(cname) < 1) { 180 /* Filter cname that's identical to h_name */ 182 h_name = cname; 185 } else if (strcasecmp(cname, h_name) != 0) { 192 if (be->toglue == NULL || DOTTEDSUBDOMAIN(cname)) 193 len = snprintf(buf1, buflen1, " %s", cname); 196 len = snprintf(buf1, buflen1, " %s.%s", cname, [all...] |
H A D | getservent.c | 52 char *cname; /* canonical name, don't free it */ member in struct:_nss_services_cookie 75 _nss_services_cookie_new(ns_ldap_result_t *result, int index, char *cname) { argument 89 cookie->cname = cname; 115 char **ipport, *cname = NULL, *protoval = NULL; local 128 cname = cookie->cname; 163 if (cname == NULL) { 164 cname = __s_api_get_canonical_name(result->entry, names, 1); 165 if (cname [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg.c | 107 char *cname; local 121 if ((cname = strdup(ANY_ADDR)) == NULL) 165 if ((ptr = cname = strdup(hp->h_name)) == NULL) { 191 KSSL_DEBUG("Cannonical host name =%s\n", cname); 193 len = strlen(prefix) + strlen(cname) + 10; 199 (void) snprintf(instance_name, len, "%s%s-%d", prefix, cname, port); 207 free(cname); 215 free(cname);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnutils.c | 96 FN_composite_name_t *cname; local 105 cname = fn_composite_name_from_string(string); 107 if ((cname == NULL) && verbose) { 110 return (cname);
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.c | 358 char storebuf[SLP_NETDB_BUFSZ], addrbuf[INET6_ADDRSTRLEN], *cname; local 364 cname = slp_ntop(addrbuf, INET6_ADDRSTRLEN, (const void *) addr); 365 if (cname && !(cname = strdup(cname))) { 372 return (cname); 384 return (cname); 388 return (cname); /* IP address */ 392 free(cname); 393 if (!(cname [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/layout/ |
H A D | layout_hsp.c | 809 char *cname = NULL; local 810 (void) devconfig_get_name(component, &cname); 813 cname, csize); 869 char *cname = NULL; local 870 (void) devconfig_get_name(component, &cname); 873 cname, csize);
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_nv.c | 298 const char *cname = NV_NAME(corpse); local 299 size_t i = nv_hashstring(cname) % nv->nv_hashsz; 304 warn("cannot remove persistent variable '%s'\n", cname); 310 if (strcmp(NV_NAME(v), cname) == 0) { 345 (void *)corpse, cname, (void *)nv, (ulong_t)i);
|
/illumos-gate/usr/src/cmd/avs/dsstat/ |
H A D | sdbc_stats.c | 183 char *kname, *cname, *pname; local 217 cname = kstat_value(cur->cur_set, SDBC_CDKSTAT_VOL_NAME); 219 if (strncmp(pname, cname, NAMED_LEN) != 0)
|
/illumos-gate/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 66 char *_str, *_cname, *cname; local 70 cname = _cname = (char *)(strtbl + obj->co_name); 74 if ((_str = strrchr(cname, '/')) != NULL) 75 cname = ++_str; 77 if (strcmp(aname, cname)) { 99 DIRSZ(lmp) = cname - _cname - 1;
|
/illumos-gate/usr/src/cmd/svc/startd/ |
H A D | log.c | 451 char *cname = NULL; local 453 cname = inst->ri_common_name; 454 if (cname == NULL) 455 cname = inst->ri_C_common_name; 463 if (cname) 465 cname);
|
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_as_req.c | 84 char *cname = 0, *sname = 0; local 116 if ((errcode = krb5_unparse_name(kdc_context, request->client, &cname))) { 120 limit_string(cname); 456 cname, sname, 0); 464 cname, sname); 485 0, cname, sname, errcode); 489 cname ? cname : "<unknown client>", 521 if (cname) 522 free(cname); [all...] |
H A D | do_tgs_req.c | 57 const krb5_fulladdr *from, char *cname); 86 char *cname = 0, *sname = 0, *tmp = 0; local 133 &cname))) { 138 limit_string(cname); 190 from, cname); 539 cname ? cname : "<unknown client>", 549 cname ? cname : "<unknown client>", 588 0, cname, snam 810 find_alternate_tgs(krb5_kdc_req *request, krb5_db_entry *server, krb5_boolean *more, int *nprincs, const krb5_fulladdr *from, char *cname) argument [all...] |