/osnet-11/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_patch_root.c | 41 char *cname, /* mddb.cf file name */ 62 if (cname == NULL) 63 cname = META_DBCONF; 73 rootnp->cname)); 91 if (meta_systemfile_append_mddb(cname, dbname, dbtname, dbtfp, doit, 37 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 | 335 char *cname, /* mddb.cf file name */ 359 assert(cname != NULL); 365 if ((cfp = fopen(cname, "r")) == NULL) { 366 (void) mdsyserror(ep, errno, cname); 370 if (stat(cname, &statbuf) != 0) { 371 (void) mdsyserror(ep, errno, cname); 375 (void) mderror(ep, MDE_MDDB_FILE, cname); 405 (void) mderror(ep, MDE_MDDB_FILE, cname); 464 (void) mdsyserror(ep, errno, cname); 334 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
|
H A D | meta_hotspares.c | 413 if (fprintf(fp, " %s", hsp->hsnamep->cname) == EOF) 527 len = strlen(hspp->hotspares.hotspares_val[0].hsnamep->cname); 565 hotspares.hotspares_val[hsi].hsnamep->cname)); 599 char *cname = hsp->hsnamep->cname; local 634 len, cname, hs_state, 643 len, cname, hs_state, 1156 return (mdsyserror(ep, ENOSPC, hsnp->cname)); 1304 if (metaioctl(MD_IOCSET_HS, &shs, &shs.mde, hsnp->cname) != 0) 1368 return (mdsyserror(ep, ENODEV, oldnp->cname)); [all...] |
H A D | meta_mn_subr.c | 97 char *cname; local 103 * the set names don't agree then cname will be 106 cname = meta_canonicalize_check_set(spp, name, ep); 107 if (cname == NULL) { 112 Free(cname);
|
H A D | meta_set_hst.c | 116 char *cname, *dname; local 214 &cname, &dname, &mnum, ep)) == -1) { 231 cname, NULL, NULL, ep) == -1) 235 Free(cname); 1987 if (meta_getside_devinfo(sp, np->bname, sideno, &sn->cname, 1994 &sn->cname, &sn->dname, &sn->mnum, ep) == -1)
|
H A D | meta_db.c | 1111 if (strcmp(dnp1->namep->cname, dnp2->namep->cname) == 0) 1113 dnp1->namep->cname)); 1178 char *cname, /* mddb.cf file name */ 1196 if (cname == NULL) 1197 cname = META_DBCONF; 1215 if (meta_systemfile_append_mddb(cname, sname, tsname, tsfp, 1, 0, 0, 1431 np->cname)); 1903 return (mddeverror(ep, MDE_NO_DB, np->dev, np->cname)); 2413 char *cname local 1176 meta_db_patch( char *sname, char *cname, int patch, md_error_t *ep ) argument [all...] |
H A D | meta_mn_handlers.c | 1473 char *cname, *dname; local 1549 d->msg_sideno, &cname, &dname, &mnum, &ep)) == -1) { 1560 Free(cname); 1574 cname, NULL, NULL, &ep) == -1) { 1576 Free(cname); 1582 Free(cname); 1791 ret = metaioctl(MD_IOCSET, &(d->iocset_params), &mde, np->cname);
|
H A D | meta_stripe.c | 77 return (mdsyserror(ep, ENODEV, oldnp->cname)); 93 (void) mdsyserror(ep, ENOSPC, newnp->cname); 139 stripenp->cname, oldnp->cname, newnp->cname); 225 meta_getminor(stripenp->dev), stripenp->cname); 308 cp->hsnamep->cname); 318 cp->hsnamep->cname); 338 cp->compnamep->cname); 348 cp->compnamep->cname); 692 char *cname = cp->compnamep->cname; local 732 char *cname = namep->cname; local 878 char *cname = namep->cname; local [all...] |
/osnet-11/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 | 93 static char cname[AU_CLASS_NAME_MAX]; local 96 e.ac_name = cname; 106 * to also allocate space from the cname and cdesc pointers 187 static char cname[AU_CLASS_NAME_MAX]; local 190 e.ac_name = cname;
|
/osnet-11/usr/src/grub/grub2/grub-core/kern/mips/arc/ |
H A D | init.c | 59 const char *cname = NULL; local 61 cname = type_names[comp->type]; 62 if (!cname) 63 cname = "unknown"; 65 name = grub_xasprintf ("%s/%s%lu", prefix, cname, comp->key); 67 name = grub_xasprintf ("%s%s(%lu)", prefix, cname, comp->key);
|
/osnet-11/usr/src/lib/libzpool/common/ |
H A D | util.c | 123 char *cname, *tname; local 125 if (nvlist_lookup_string(cnv, ZPOOL_CONFIG_PATH, &cname) && 126 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) 127 cname = "<unknown>"; 128 tname = calloc(1, strlen(cname) + 2); 129 (void) strcpy(tname, cname);
|
/osnet-11/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 | 71 char *cname = NULL, *h_name = NULL; local 172 cname = __s_api_get_canonical_name(entry, names, 1); 173 if (cname == NULL || strlen(cname) < 1) { 178 /* Filter cname that's identical to h_name */ 180 h_name = cname; 183 } else if (strcasecmp(cname, h_name) != 0) { 190 if (be->toglue == NULL || DOTTEDSUBDOMAIN(cname)) 191 len = snprintf(buf1, buflen1, " %s", cname); 194 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...] |
/osnet-11/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...] |
H A D | slp_net.c | 280 char addrbuf[INET6_ADDRSTRLEN], *cname; local 282 cname = slp_ntop(addrbuf, INET6_ADDRSTRLEN, 284 cname = cname ? cname : "[invalid addr]"; 289 cname, errcode); 1198 * Adds the cname of the host whose address is in 'sin' to this message's 1213 char **res, *cname, *p, *header; local 1219 if (!(cname = slp_gethostbyaddr((char *)&(sin->sin_addr), 1224 cname, collato [all...] |
/osnet-11/usr/src/grub/grub2/ |
H A D | gentpl.py | 116 def set_canonical_name_suffix(suffix): return "[+ % name `export cname=$(echo %s" + suffix + " | sed -e 's/[^0-9A-Za-z@_]/_/g')` +]" 117 def cname(): return "[+ % name `echo $cname` +]" function 361 r += var_set(cname() + "_SOURCES", platform_sources(platform) + " ## platform sources") 362 r += var_set("nodist_" + cname() + "_SOURCES", platform_nodist_sources(platform) + " ## platform nodist sources") 363 r += var_set(cname() + "_LDADD", platform_ldadd(platform)) 364 r += var_set(cname() + "_CFLAGS", "$(AM_CFLAGS) $(CFLAGS_MODULE) " + platform_cflags(platform)) 365 r += var_set(cname() + "_LDFLAGS", "$(AM_LDFLAGS) $(LDFLAGS_MODULE) " + platform_ldflags(platform)) 366 r += var_set(cname() + "_CPPFLAGS", "$(AM_CPPFLAGS) $(CPPFLAGS_MODULE) " + platform_cppflags(platform)) 367 r += var_set(cname() [all...] |
/osnet-11/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 1080 char *cname = &np->nvname[m]; local 1119 if(*cname!='_' || cname[1]) 1121 cp = strcopy(cp,cname); 1127 while((i+1) < numnodes && (cname=&nodes[i+1]->nvname[m]) && memcmp(cname,&np->nvname[m],n)==0 && cname[n]=='.') 1136 if(strcmp(nq->nvname,cname)==0)
|
/osnet-11/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | ldap_principal2.c | 110 char **values=NULL, *cname=NULL, **subtree=NULL; local 193 st = krb5_ldap_parse_principal_name(values[0], &cname); 196 st = krb5_parse_name(context, cname, &cprinc); 244 if (cname) 245 free(cname);
|
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.h | 115 char *cname; member in struct:__anon906
|