/titanic_50/usr/src/cmd/sgs/ldd/common/ |
H A D | ldd.c | 160 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_50/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 81 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 …]
|
H A D | ns_fnutils.c | 96 FN_composite_name_t *cname; in new_cname() local 105 cname = fn_composite_name_from_string(string); in new_cname() 107 if ((cname == NULL) && verbose) { in new_cname() 110 return (cname); in new_cname()
|
/titanic_50/usr/src/lib/libbsm/common/ |
H A D | audit_krb5kdc.c | 62 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()
|
H A D | audit_class.c | 83 static char cname[AU_CLASS_NAME_MAX]; in getauclassent() local 86 e.ac_name = cname; in getauclassent() 171 static char cname[AU_CLASS_NAME_MAX]; in getauclassnam() local 174 e.ac_name = cname; in getauclassnam()
|
/titanic_50/usr/src/lib/nsswitch/ldap/common/ |
H A D | getservent.c | 52 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 D | getnetent.c | 67 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 D | getprotoent.c | 139 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()
|
H A D | gethostent.c | 73 char *cname = NULL, *h_name = NULL; in _nss_ldap_hosts2str_int() local 174 cname = __s_api_get_canonical_name(entry, names, 1); in _nss_ldap_hosts2str_int() 175 if (cname == NULL || strlen(cname) < 1) { in _nss_ldap_hosts2str_int() 182 h_name = cname; in _nss_ldap_hosts2str_int() 185 } else if (strcasecmp(cname, h_name) != 0) { in _nss_ldap_hosts2str_int() 192 if (be->toglue == NULL || DOTTEDSUBDOMAIN(cname)) in _nss_ldap_hosts2str_int() 193 len = snprintf(buf1, buflen1, " %s", cname); in _nss_ldap_hosts2str_int() 196 len = snprintf(buf1, buflen1, " %s.%s", cname, in _nss_ldap_hosts2str_int() 210 if (strcasecmp(name, cname) != 0 && in _nss_ldap_hosts2str_int()
|
H A D | getrpcent.c | 64 char *cname = NULL; in _nss_ldap_rpc2str() local 92 cname = __s_api_get_canonical_name(result->entry, names, 1); in _nss_ldap_rpc2str() 93 if (cname == NULL || (len = strlen(cname)) < 1) { in _nss_ldap_rpc2str() 103 len = snprintf(buffer, buflen, "%s %s", cname, rpcnumber[0]); in _nss_ldap_rpc2str() 112 if (strcasecmp(names->attrvalue[i], cname) != 0) { in _nss_ldap_rpc2str()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/kssl/ksslcfg/ |
H A D | ksslcfg.c | 107 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_50/usr/src/lib/libslp/clib/ |
H A D | slp_net_utils.c | 358 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()
|
H A D | slp_net.c | 283 char addrbuf[INET6_ADDRSTRLEN], *cname; in slp_uc_udp_send() local 285 cname = slp_ntop(addrbuf, INET6_ADDRSTRLEN, in slp_uc_udp_send() 287 cname = cname ? cname : "[invalid addr]"; in slp_uc_udp_send() 292 cname, errcode); in slp_uc_udp_send() 1217 char **res, *cname, *p, *header; in add2pr_list() local 1223 if (!(cname = slp_gethostbyaddr((char *)&(sin->sin_addr), in add2pr_list() 1228 cname, collator, in add2pr_list() 1230 if (*res != cname) { in add2pr_list() 1234 cname); in add2pr_list() 1235 free(cname); in add2pr_list() [all …]
|
/titanic_50/usr/src/lib/libzpool/common/ |
H A D | util.c | 98 char *cname, *tname; in show_vdev_stats() local 100 if (nvlist_lookup_string(cnv, ZPOOL_CONFIG_PATH, &cname) && in show_vdev_stats() 101 nvlist_lookup_string(cnv, ZPOOL_CONFIG_TYPE, &cname)) in show_vdev_stats() 102 cname = "<unknown>"; in show_vdev_stats() 103 tname = calloc(1, strlen(cname) + 2); in show_vdev_stats() 104 (void) strcpy(tname, cname); in show_vdev_stats()
|
/titanic_50/usr/src/cmd/sgs/pvs/common/ |
H A D | pvs.c | 148 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_50/usr/src/cmd/krb5/krb5kdc/ |
H A D | do_tgs_req.c | 57 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 …]
|
H A D | do_as_req.c | 84 char *cname = 0, *sname = 0; in process_as_req() local 116 if ((errcode = krb5_unparse_name(kdc_context, request->client, &cname))) { in process_as_req() 120 limit_string(cname); in process_as_req() 456 cname, sname, 0); in process_as_req() 464 cname, sname); in process_as_req() 485 0, cname, sname, errcode); in process_as_req() 489 cname ? cname : "<unknown client>", in process_as_req() 521 if (cname) in process_as_req() 522 free(cname); in process_as_req()
|
/titanic_50/usr/src/uts/common/io/ |
H A D | tphci.c | 463 tp_decode_name(char *devnm, char **cname, char **paddr, char **guid) in tp_decode_name() argument 467 i_ddi_parse_name(devnm, cname, paddr, NULL); in tp_decode_name() 468 if ((strcmp(*cname, "tclient") != 0) && in tp_decode_name() 469 (strcmp(*cname, "tphci") != 0) || *paddr == NULL) in tp_decode_name() 485 char *cname, *paddr, *guid, *devnm; in tphci_bus_config() 504 if (tp_decode_name(devnm, &cname, &paddr, &guid) != 0) { in tphci_bus_config() 512 rval = mdi_pi_alloc(parent, cname, guid, paddr, 0, &pip); in tphci_bus_config() 553 char *devnm, *cname, *caddr; in tphci_bus_unconfig() local 558 i_ddi_parse_name(devnm, &cname, &caddr, NULL); in tphci_bus_unconfig() 559 if (strcmp(cname, "tclient") != 0) in tphci_bus_unconfig()
|
H A D | pshot.c | 2533 char *devstr, *cname, *caddr; in pshot_bus_config() local 2567 i_ddi_parse_name(devstr, &cname, &caddr, NULL); in pshot_bus_config() 2576 ASSERT(cname && strlen(cname) > 0); in pshot_bus_config() 2590 devname, cname, caddr); in pshot_bus_config() 2596 if (strcmp(cname, "pshot") == 0) { in pshot_bus_config() 2598 cname, caddr); in pshot_bus_config() 2601 cname, caddr); in pshot_bus_config() 2702 pshot_findchild(dev_info_t *pdip, char *cname, char *caddr) in pshot_findchild() argument 2707 ASSERT(cname != NULL && caddr != NULL); in pshot_findchild() 2712 if (strcmp(cname, ddi_node_name(dip)) != 0) in pshot_findchild() [all …]
|
/titanic_50/usr/src/uts/common/xen/io/ |
H A D | xpvd.c | 856 char *cname = NULL, *caddr = NULL; in i_xpvd_parse_devname() local 859 i_ddi_parse_name(device_name, &cname, &caddr, NULL); in i_xpvd_parse_devname() 861 if ((cname == NULL) || (strlen(cname) == 0) || in i_xpvd_parse_devname() 867 *devclassp = xendev_nodename_to_devclass(cname); in i_xpvd_parse_devname() 912 char *cname = NULL; in xpvd_bus_config() local 943 cname = ddi_major_to_name((major_t)(uintptr_t)arg); in xpvd_bus_config() 944 if (cname != NULL) in xpvd_bus_config() 945 devclass = xendev_nodename_to_devclass(cname); in xpvd_bus_config()
|
/titanic_50/usr/src/uts/common/io/ib/ibnex/ |
H A D | ibnex_hca.c | 440 char *device_name, *cname = NULL, *caddr = NULL; in ibnex_get_cdip_info() local 446 i_ddi_parse_name(device_name, &cname, &caddr, NULL); in ibnex_get_cdip_info() 449 "\tfind_child_dip: cname %s addr %s", cname, caddr); in ibnex_get_cdip_info() 451 if (strncmp(cname, IBNEX_IOC_CNAME, 3) == 0) in ibnex_get_cdip_info() 453 else if (strncmp(cname, IBNEX_IBPORT_CNAME, 3) == 0) in ibnex_get_cdip_info() 475 char *device_name, *caddr, *cname; in ibnex_hca_bus_config_one() local 485 i_ddi_parse_name(device_name, &cname, &caddr, NULL); in ibnex_hca_bus_config_one()
|
/titanic_50/usr/src/cmd/svc/startd/ |
H A D | log.c | 451 char *cname = NULL; in log_transition() local 453 cname = inst->ri_common_name; in log_transition() 454 if (cname == NULL) in log_transition() 455 cname = inst->ri_C_common_name; in log_transition() 463 if (cname) in log_transition() 465 cname); in log_transition()
|
/titanic_50/usr/src/cmd/sgs/rtld/common/ |
H A D | config_elf.c | 66 char *_str, *_cname, *cname; in elf_config_validate() local 70 cname = _cname = (char *)(strtbl + obj->co_name); in elf_config_validate() 74 if ((_str = strrchr(cname, '/')) != NULL) in elf_config_validate() 75 cname = ++_str; in elf_config_validate() 77 if (strcmp(aname, cname)) { in elf_config_validate() 99 DIRSZ(lmp) = cname - _cname - 1; in elf_config_validate()
|
/titanic_50/usr/src/uts/common/fs/portfs/ |
H A D | port_fop.c | 247 char *cname, caller_context_t *ct); 734 char **cname, int *len, int follow) in port_fop_getdvp() argument 768 if (error == 0 && cname != NULL && len != NULL) { in port_fop_getdvp() 771 *cname = kmem_alloc(*len + 1, KM_SLEEP); in port_fop_getdvp() 772 (void) strcpy(*cname, pn.pn_path); in port_fop_getdvp() 774 if (cname != NULL && len != NULL) { in port_fop_getdvp() 775 *cname = NULL; in port_fop_getdvp() 1105 uintptr_t object, int events, void *user, char *cname, int clen, in port_pfp_setup() argument 1139 pfp->pfop_cname = cname; in port_pfp_setup() 1265 char *cname; in port_associate_fop() local [all …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | pshot.h | 235 static int pshot_bus_config_setup_nexus(dev_info_t *, char *cname, char *caddr); 236 static int pshot_bus_config_setup_leaf(dev_info_t *, char *cname, char *caddr); 238 char *devname, char *cname, char *caddr);
|