Searched defs:cname (Results 1 - 25 of 79) sorted by relevance

1234

/illumos-gate/usr/src/lib/libc/port/locale/
H A Dcname.h35 static struct cname { struct
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_patch_root.c44 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 Dmeta_tab.c59 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 Dmeta_systemfile.c338 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 Dmeta_init.c363 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 Daudit_krb5kdc.c62 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 Daudit_class.c83 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 Dmetaclear.c265 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 Dmetahs.c243 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 Dmetaroot.c48 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 Dgetnetent.c67 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 Dgetprotoent.c139 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 Dgetrpcent.c64 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 Dgethostent.c73 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 Dgetservent.c52 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 Dksslcfg.c107 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 Dns_fnutils.c96 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 Dslp_net_utils.c358 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 Dlayout_hsp.c809 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 Dmdb_nv.c298 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 Dsdbc_stats.c183 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 Dconfig_elf.c66 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 Dlog.c451 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 Ddo_as_req.c84 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 Ddo_tgs_req.c57 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...]

Completed in 112 milliseconds

1234