Home
last modified time | relevance | path

Searched refs:cname (Results 1 – 25 of 138) sorted by relevance

123456

/titanic_41/usr/src/cmd/sgs/ldd/common/
H A Dldd.c160 char *str, *cname = argv[0]; in main() local
206 cname); in main()
257 (void) fprintf(stderr, MSG_INTL(MSG_ARG_USAGE), cname); in main()
332 (void) fprintf(stderr, MSG_INTL(MSG_ELF_LIBELF), cname, in main()
352 (void) fprintf(stderr, MSG_INTL(MSG_SYS_OPEN), cname, in main()
366 cname, fname); in main()
371 cname, fname); in main()
375 if (elf_check(nfile, fname, cname, elf, fflag) != NULL) in main()
382 if (aout_check(nfile, fname, cname, var, fflag) != NULL) in main()
395 elf_check(int nfile, char *fname, char *cname, Elf *elf, int fflag) in elf_check() argument
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c81 process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key,
119 exported(const FN_ref_t *ref, const char *cname, FN_status_t *status);
128 addr_from_ref(const FN_ref_t *ref, const char *cname, addrtype_t *typep,
135 str_from_addr(const char *cname, const FN_ref_addr_t *addr, char str[],
199 is_user_relative(const char *cname);
206 equiv_name(FN_ctx_t *, const char *cname, FN_status_t *);
216 char cname[COMPNAMESZ]; in getmapent_fn() local
253 strcpy(cname, key); in getmapent_fn()
255 sprintf(cname, "%s/%s", map + FNPREFIXLEN + 1, key); in getmapent_fn()
272 if (is_user_relative(cname)) { in getmapent_fn()
[all …]
/titanic_41/usr/src/cmd/lvm/util/
H A Dmetaroot.c48 static char *cname = NULL; /* take default */ variable
63 &cname, META_DBCONF,
148 submirnamep->cname)); in validate_mirror_root()
204 "Concat %s has more than 1 slice\n"), strnp->cname); in validate_stripe_root()
211 "Stripe %s has more than 1 slice\n"), strnp->cname); in validate_stripe_root()
218 if (strcmp(slicenp->cname, cp->compnamep->cname) == 0) in validate_stripe_root()
223 slicenp->cname, strnp->cname); in validate_stripe_root()
228 "Component %s is not a stripe\n"), cp->compnamep->cname); in validate_stripe_root()
271 devnp->cname, rootnp->cname); in validate_root_device()
281 devnp->cname, rootnp->cname); in validate_root_device()
[all …]
H A Dmetaclear.c265 char *cname; in main() local
280 cname = Strdup(argv[0]); in main()
287 cname = meta_name_getname(&sp, in main()
289 if (cname == NULL) { in main()
296 cname, options, pflag, ep) != 0) { in main()
299 Free(cname); in main()
319 cname = meta_name_getname(&sp, in main()
321 if (cname == NULL) { in main()
328 if (clear_name(&sp, cname, in main()
332 Free(cname); in main()
[all …]
H A Dmetastat.c163 char *cname = NULL; in print_setstat() local
170 cname = meta_name_getname(spp, fname, META_DEVICE, ep); in print_setstat()
171 if (cname == NULL) in print_setstat()
173 Free(cname); in print_setstat()
451 char *cname = NULL; in main() local
454 cname = meta_name_getname(&sp, uname, META_DEVICE, ep); in main()
455 if (cname == NULL) { in main()
466 np = metaname(&sp, cname, META_DEVICE, ep); in main()
476 if (print_name(&sp, cname, &nlistp, NULL, stdout, in main()
483 Free(cname); in main()
[all …]
H A Dmetainit.c150 char *cname = NULL; in init_entries() local
152 cname = meta_name_getname(spp, uname, META_DEVICE, ep); in init_entries()
153 if (cname == NULL) { in init_entries()
159 linep->argv, cname, options, ep); in init_entries()
160 Free(cname); in init_entries()
235 char *cname = linep->cname; in init_all() local
244 if ((p = strrchr(cname, '/')) == NULL) { in init_all()
247 len = p - cname; in init_all()
250 (strncmp(cname, (*spp)->setname, len) == 0)) { in init_all()
324 char *cname = NULL; in init_name() local
[all …]
/titanic_41/usr/src/lib/libbsm/common/
H A Daudit_krb5kdc.c62 char *cname, /* client principal name */ in common_audit() argument
95 AUD_NULL_STR(cname)); in common_audit()
116 char *cname, /* client principal name */ in audit_krb5kdc_as_req() argument
120 common_audit(AUE_krb5kdc_as_req, r_addr, r_port, l_port, cname, in audit_krb5kdc_as_req()
129 char *cname, /* client principal name */ in audit_krb5kdc_tgs_req() argument
133 common_audit(AUE_krb5kdc_tgs_req, r_addr, r_port, l_port, cname, in audit_krb5kdc_tgs_req()
142 char *cname, /* client principal name */ in audit_krb5kdc_tgs_req_2ndtktmm() argument
146 cname, sname, 1); in audit_krb5kdc_tgs_req_2ndtktmm()
154 char *cname, /* client principal name */ in audit_krb5kdc_tgs_req_alt_tgt() argument
159 cname, sname, sorf); in audit_krb5kdc_tgs_req_alt_tgt()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_check.c175 np->dev, np->cname); in meta_check_swapped()
177 rval = meta_check_overlap(snp->cname, np, 0, -1, in meta_check_swapped()
181 np->cname, NULL, snp->cname); in meta_check_swapped()
223 if (strcmp(dnp->cname, snp->drivenamep->cname) == 0) { in meta_check_driveswapped()
225 dnp->cname); in meta_check_driveswapped()
263 np->dev, np->cname); in meta_check_dump()
265 rval = meta_check_overlap(dump_np->cname, np, 0, -1, in meta_check_dump()
269 np->cname, NULL, dump_np->cname); in meta_check_dump()
329 np->dev, mountp, np->cname); in meta_check_mounted()
331 rval = meta_check_overlap(mnp->cname, np, 0, -1, in meta_check_mounted()
[all …]
H A Dmeta_devstamp.c53 return (mdsyserror(ep, errno, np->cname)); in getdevstamp()
56 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1) { in getdevstamp()
93 return (mdsyserror(ep, errno, np->cname)); in setdevstamp()
95 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1) { in setdevstamp()
105 if (meta_setvtoc(fd, np->cname, &vtocbuf, ep) == -1) { in setdevstamp()
113 if (meta_getvtoc(fd, np->cname, &vtocbuf, &partno, ep) == -1) { in setdevstamp()
122 np->cname)); in setdevstamp()
H A Dmeta_name.c307 char *cname; in meta_canonicalize() local
320 cname = tname; in meta_canonicalize()
325 cname = Malloc(cname_len); in meta_canonicalize()
327 cname, cname_len, "%s/%s", sname, tname); in meta_canonicalize()
334 return (cname); in meta_canonicalize()
349 char *cname; in meta_canonicalize_check_set() local
371 cname = tname; in meta_canonicalize_check_set()
376 cname = Malloc(cname_len); in meta_canonicalize_check_set()
378 cname, cname_len, "%s/%s", sname, tname); in meta_canonicalize_check_set()
385 return (cname); in meta_canonicalize_check_set()
[all …]
H A Dmeta_tab.c59 if (linep->cname != NULL) in meta_tab_free()
60 Free(linep->cname); in meta_tab_free()
234 linep->cname = meta_canonicalize(NULL, linep->argv[0]); in parse_tab()
236 if (linep->cname == NULL) { in parse_tab()
333 char *cname = meta_canonicalize(sp, name); in meta_tab_find() local
337 if (cname == NULL) in meta_tab_find()
345 (strcmp(linep->cname, cname) == 0)) { in meta_tab_find()
346 Free(cname); in meta_tab_find()
350 Free(cname); in meta_tab_find()
H A Dmeta_sp.c588 if (meta_check_overlap(msp->compnamep->cname, in meta_sp_get_by_component()
791 spnlp->namep->cname, np->cname); in meta_check_insp()
826 if ((rval = strcmp(e1->ext_namep->cname, e2->ext_namep->cname)) != 0) in meta_sp_cmp_by_nameseq()
1121 meta_sp_debug("%5s", ext->ext_namep->cname); in meta_sp_list_dump()
1994 if (fprintf(fp, "%s -p", msp->common.namep->cname) == EOF) in meta_sp_short_print()
2124 msp->common.namep->cname) == EOF) in meta_sp_report()
2129 msp->compnamep->cname) == EOF) in meta_sp_report()
2174 len = strlen(msp->compnamep->cname); in meta_sp_report()
2225 len, msp->compnamep->cname, in meta_sp_report()
2468 ext->ext_namep->cname); in meta_sp_update_wm_common()
[all …]
H A Dmeta_mirror.c111 mirnp->cname); in meta_get_mirror_common()
164 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, mirnp->cname) != 0) { in meta_get_mirror_common()
234 if (meta_check_overlap(mirnp->cname, np, slblk, nblks, in in_mirror()
380 if (strcmp(rootnp->cname, cp->compnamep->cname) in meta_check_primary_mirror()
383 rootnp->dev, "/", rootnp->cname); in meta_check_primary_mirror()
443 meta_getminor(np->dev), np->cname)); in meta_check_submirror()
633 if (fprintf(fp, "%s -m", mirrorp->common.namep->cname) == EOF) in mirror_print()
767 mirrorp->common.namep->cname); in sm_state_to_action()
787 mirrorp->common.namep->cname, in sm_state_to_action()
788 compnamep->cname, in sm_state_to_action()
[all …]
H A Dmeta_trans.c70 return (mdsyserror(ep, ENODEV, oldnp->cname)); in meta_trans_replace()
101 transnp->cname, oldnp->cname, newnp->cname); in meta_trans_replace()
172 meta_getminor(transnp->dev), transnp->cname); in meta_get_trans_common()
217 transp->lognamep->cname); in meta_get_trans_common()
286 (meta_check_overlap(transnp->cname, np, slblk, nblks, in in_trans()
307 if (meta_check_overlap(transnp->cname, np, slblk, in in_trans()
407 meta_getminor(np->dev), np->cname)); in meta_check_master()
467 meta_getminor(np->dev), np->cname)); in meta_check_log()
489 if (fprintf(fp, "%s -t", transp->common.namep->cname) == EOF) in trans_print()
507 if (fprintf(fp, " %s", transp->masternamep->cname) == EOF) in trans_print()
[all …]
H A Dmeta_stripe.c77 return (mdsyserror(ep, ENODEV, oldnp->cname)); in meta_stripe_replace()
93 (void) mdsyserror(ep, ENOSPC, newnp->cname); in meta_stripe_replace()
139 stripenp->cname, oldnp->cname, newnp->cname); in meta_stripe_replace()
225 meta_getminor(stripenp->dev), stripenp->cname); in meta_get_stripe_common()
308 cp->hsnamep->cname); in meta_get_stripe_common()
318 cp->hsnamep->cname); in meta_get_stripe_common()
338 cp->compnamep->cname); in meta_get_stripe_common()
348 cp->compnamep->cname); in meta_get_stripe_common()
436 if (meta_check_overlap(stripenp->cname, np, in in_stripe()
513 np->cname)); in meta_check_component()
[all …]
H A Dmeta_raid.c115 raidnp->cname); in meta_get_raid_common()
196 mdrcp->hsnamep->cname); in meta_get_raid_common()
203 mdrcp->hsnamep->cname); in meta_get_raid_common()
220 if (metaioctl(MD_IOCGETSYNC, &ri, &ri.mde, raidnp->cname) != 0) { in meta_get_raid_common()
294 if (meta_check_overlap(raidnp->cname, np, slblk, nblks, in in_raid()
408 if (fprintf(fp, "%s -r", raidp->common.namep->cname) == EOF) in raid_print()
554 "metaclear -f %s", raidnp->cname); in raid_state_to_action()
569 raidnp->cname, colnp->cname, in raid_state_to_action()
584 raidnp->cname, colnp->cname, in raid_state_to_action()
653 char *cname = colp->colnamep->cname; in display_raid_device_info() local
[all …]
H A Dmeta_patch_root.c44 char *cname, /* mddb.cf file name */ in meta_patch_rootdev() argument
65 if (cname == NULL) in meta_patch_rootdev()
66 cname = META_DBCONF; in meta_patch_rootdev()
76 rootnp->cname)); in meta_patch_rootdev()
94 if (meta_systemfile_append_mddb(cname, dbname, dbtname, dbtfp, doit, in meta_patch_rootdev()
/titanic_41/usr/src/lib/nsswitch/ldap/common/
H A Dgetservent.c52 char *cname; /* canonical name, don't free it */ member
75 _nss_services_cookie_new(ns_ldap_result_t *result, int index, char *cname) { in _nss_services_cookie_new() argument
89 cookie->cname = cname; in _nss_services_cookie_new()
115 char **ipport, *cname = NULL, *protoval = NULL; in _nss_ldap_services2str() local
128 cname = cookie->cname; in _nss_ldap_services2str()
163 if (cname == NULL) { in _nss_ldap_services2str()
164 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_services2str()
165 if (cname == NULL || (len = strlen(cname)) < 1) { in _nss_ldap_services2str()
173 (len = strlen(cname)) < 1) { in _nss_ldap_services2str()
178 len = snprintf(buffer, buflen, "%s %s/", cname, ipport[0]); in _nss_ldap_services2str()
[all …]
H A Dgetnetent.c67 char **network, *cname = NULL; in _nss_ldap_networks2str() local
94 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_networks2str()
104 if (cname == NULL) in _nss_ldap_networks2str()
106 cname = names->attrvalue[0]; in _nss_ldap_networks2str()
107 if (cname == NULL || (len = strlen(cname)) < 1) { in _nss_ldap_networks2str()
117 len = snprintf(buffer, buflen, "%s %s", cname, network[0]); in _nss_ldap_networks2str()
126 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_networks2str()
H A Dgetprotoent.c139 char *cname = NULL; in _nss_ldap_protocols2str() local
166 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_protocols2str()
167 if (cname == NULL || (len = strlen(cname)) < 1) { in _nss_ldap_protocols2str()
177 len = snprintf(buffer, buflen, "%s %s", cname, number[0]); in _nss_ldap_protocols2str()
182 alias = get_alias(cname); in _nss_ldap_protocols2str()
193 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_protocols2str()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/
H A Dksslcfg.c107 char *cname; in create_instance_name() local
121 if ((cname = strdup(ANY_ADDR)) == NULL) in create_instance_name()
165 if ((ptr = cname = strdup(hp->h_name)) == NULL) { in create_instance_name()
191 KSSL_DEBUG("Cannonical host name =%s\n", cname); in create_instance_name()
193 len = strlen(prefix) + strlen(cname) + 10; in create_instance_name()
199 (void) snprintf(instance_name, len, "%s%s-%d", prefix, cname, port); in create_instance_name()
207 free(cname); in create_instance_name()
215 free(cname); in create_instance_name()
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp_net_utils.c358 char storebuf[SLP_NETDB_BUFSZ], addrbuf[INET6_ADDRSTRLEN], *cname; in slp_gethostbyaddr() local
364 cname = slp_ntop(addrbuf, INET6_ADDRSTRLEN, (const void *) addr); in slp_gethostbyaddr()
365 if (cname && !(cname = strdup(cname))) { in slp_gethostbyaddr()
372 return (cname); in slp_gethostbyaddr()
384 return (cname); in slp_gethostbyaddr()
388 return (cname); /* IP address */ in slp_gethostbyaddr()
392 free(cname); in slp_gethostbyaddr()
393 if (!(cname = strdup(name->h_name))) { in slp_gethostbyaddr()
398 return (cname); in slp_gethostbyaddr()
/titanic_41/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c148 static const char *cname; variable
182 (void) fprintf(stderr, MSG_INTL(MSG_SYS_MALLOC), cname, file, in pvs_aplist_append()
230 (void) fprintf(stderr, MSG_INTL(MSG_SYS_MALLOC), cname, in add_match_record()
239 cname, MSG_INTL(MSG_STR_MATCH_RECORD), in add_match_record()
316 (void) fprintf(stderr, MSG_INTL(MSG_USAGE_BRIEF), cname); in add_match_record()
490 (void) fprintf(stderr, MSG_INTL(MSG_VER_UNREDSYMS), cname, in sym_local()
572 (void) fprintf(stderr, MSG_INTL(MSG_VER_HIGHREV), cname, file, in gvers_need()
724 (void) fprintf(stderr, MSG_INTL(MSG_SYS_MALLOC), cname, in gvers_desc()
822 (void) fprintf(stderr, MSG_INTL(MSG_VER_HIGHREV), cname, file, in gvers_def()
1029 cname = argv[0]; in main()
[all …]
/titanic_41/usr/src/lib/libzpool/common/
H A Dutil.c123 char *cname, *tname; in show_vdev_stats() local
125 if (nvlist_lookup_string(cnv, ZPOOL_CONFIG_PATH, &cname) && in show_vdev_stats()
126 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats()
127 cname = "<unknown>"; in show_vdev_stats()
128 tname = calloc(1, strlen(cname) + 2); in show_vdev_stats()
129 (void) strcpy(tname, cname); in show_vdev_stats()
/titanic_41/usr/src/cmd/krb5/krb5kdc/
H A Ddo_tgs_req.c57 const krb5_fulladdr *from, char *cname);
86 char *cname = 0, *sname = 0, *tmp = 0; in process_tgs_req() local
133 &cname))) { in process_tgs_req()
138 limit_string(cname); in process_tgs_req()
190 from, cname); in process_tgs_req()
539 cname ? cname : "<unknown client>", in process_tgs_req()
549 cname ? cname : "<unknown client>", in process_tgs_req()
588 0, cname, sname); in process_tgs_req()
593 cname ? cname : "<unknown client>", in process_tgs_req()
704 cname ? cname : "<unknown client>", in process_tgs_req()
[all …]

123456