Home
last modified time | relevance | path

Searched refs:nname (Results 1 – 25 of 38) sorted by relevance

12

/titanic_50/usr/src/cmd/ypcmd/
H A Dgetlist.c78 listofnames *nname; local
92 nname = newname(line);
93 if (nname) {
95 nameslist = nname;
96 end = nname;
98 end->nextname = nname;
99 end = nname;
/titanic_50/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c458 Dbg_file_fixname(Lm_list *lml, const char *oname, const char *nname) in Dbg_file_fixname() argument
464 dbg_print(lml, MSG_INTL(MSG_FIL_FIXNAME), oname, nname); in Dbg_file_fixname()
471 char *oname, *nname, *ofile; in Dbg_file_output() local
494 if ((nname = malloc(strlen(prefix) + strlen(ofile) + 1)) != 0) { in Dbg_file_output()
495 (void) strcpy(nname, prefix); in Dbg_file_output()
496 (void) strcat(nname, ofile); in Dbg_file_output()
497 if ((fd = open(nname, O_RDWR | O_CREAT | O_TRUNC, in Dbg_file_output()
502 free(nname); in Dbg_file_output()
586 Dbg_file_deferred(Lm_list *lml, const char *oname, const char *nname) in Dbg_file_deferred() argument
592 dbg_print(lml, MSG_INTL(MSG_FIL_DEFERRED), oname, nname); in Dbg_file_deferred()
[all …]
H A Dsections.c445 Dbg_sec_redirected(Lm_list *lml, Is_desc *isp, const char *nname) in Dbg_sec_redirected() argument
454 dbg_fmt_isec_name(isp, buf, &alloc_mem), nname); in Dbg_sec_redirected()
/titanic_50/usr/src/cmd/sgs/libld/common/
H A Dmachsym.sparc.c58 ld_reg_check_sparc(Sym_desc *sdp, Sym *nsym, const char *nname, Ifl_desc *ifl, in ld_reg_check_sparc() argument
82 ifl->ifl_name, demangle(nname)); in ld_reg_check_sparc()
94 (strcmp(oname, nname) != 0)) { in ld_reg_check_sparc()
98 ifl->ifl_name, demangle(nname)); in ld_reg_check_sparc()
109 demangle(nname), sdp->sd_file->ifl_name, in ld_reg_check_sparc()
114 } else if (strcmp(oname, nname) == 0) { in ld_reg_check_sparc()
/titanic_50/usr/src/uts/intel/dtrace/
H A Dsdt.c124 char *name = sdpd->sdpd_name, *func, *nname; in sdt_provide_module() local
139 nname = kmem_alloc(len = strlen(name) + 1, KM_SLEEP); in sdt_provide_module()
143 nname[i] = '-'; in sdt_provide_module()
146 nname[i] = name[j++]; in sdt_provide_module()
150 nname[i] = '\0'; in sdt_provide_module()
155 sdp->sdp_name = nname; in sdt_provide_module()
168 func, nname)) != DTRACE_IDNONE) { in sdt_provide_module()
177 modname, func, nname, 3, sdp); in sdt_provide_module()
/titanic_50/usr/src/uts/sparc/dtrace/
H A Dsdt.c183 char *name = sdpd->sdpd_name, *func, *nname; in sdt_provide_module() local
198 nname = kmem_alloc(len = strlen(name) + 1, KM_SLEEP); in sdt_provide_module()
202 nname[i] = '-'; in sdt_provide_module()
205 nname[i] = name[j++]; in sdt_provide_module()
209 nname[i] = '\0'; in sdt_provide_module()
215 sdp->sdp_name = nname; in sdt_provide_module()
229 func, nname)) != DTRACE_IDNONE) { in sdt_provide_module()
238 modname, func, nname, 1, sdp); in sdt_provide_module()
/titanic_50/usr/src/cmd/sgs/rtld/common/
H A Daudit.c274 char *nname = oname; in _audit_objsearch() local
282 alp->al_libname, nname, flags, NULL)); in _audit_objsearch()
285 nname = (*alp->al_objsearch)(nname, &(acp->ac_cookie), flags); in _audit_objsearch()
292 if (nname && (nname[0] == '\0')) in _audit_objsearch()
293 nname = NULL; in _audit_objsearch()
294 if ((nname != oname) || strcmp(nname, oname)) in _audit_objsearch()
296 alp->al_libname, oname, flags, nname)); in _audit_objsearch()
298 if ((oname = nname) == NULL) in _audit_objsearch()
308 char *nname = (char *)name; in audit_objsearch() local
312 return (nname); in audit_objsearch()
[all …]
H A Danalyze.c1146 const char *oname = fdp->fd_oname, *nname = fdp->fd_nname; in file_open() local
1147 uint_t hash = sgs_str_hash(nname); in file_open()
1150 if ((nname = stravl_insert(fdp->fd_nname, hash, 0, 0)) == NULL) in file_open()
1152 fdp->fd_nname = nname; in file_open()
1155 DBG_CALL(Dbg_file_config_obj(lml, oname, 0, nname)); in file_open()
1163 if ((err == 0) && (nname[0] == '/')) { in file_open()
1164 if ((nlmp = fpavl_recorded(lml, nname, hash, in file_open()
1169 if (pnavl_recorded(&nfavl, nname, hash, &nfavlwhere)) { in file_open()
1184 if ((err == 0) && ((rtld_stat(nname, &status)) != -1)) { in file_open()
1204 rej->rej_name = nname; in file_open()
[all …]
H A Da.out.c131 const char *nname; in aout_fix_name() local
139 if ((nname = stravl_insert(oname, 0, len, 0)) == NULL) in aout_fix_name()
146 if ((nname = stravl_insert(buffer, 0, len, 0)) == NULL) in aout_fix_name()
153 pdp->pd_pname = nname; in aout_fix_name()
157 DBG_CALL(Dbg_file_fixname(LIST(clmp), nname, oname)); in aout_fix_name()
H A Dcap.c1393 const char *nname = strtabptr + nsym->st_name; in cap_match() local
1401 nname, symndx) == 0) in cap_match()
1411 bname = nname; in cap_match()
/titanic_50/usr/src/lib/libresolv2/common/nameser/
H A Dns_name.c720 ns_name_length(ns_nname_ct nname, size_t namesiz) { in ns_name_length() argument
721 ns_nname_ct orig = nname; in ns_name_length()
724 while (namesiz-- > 0 && (n = *nname++) != 0) { in ns_name_length()
733 nname += n; in ns_name_length()
736 return (nname - orig); in ns_name_length()
789 ns_name_map(ns_nname_ct nname, size_t namelen, ns_namemap_t map, int mapsize) { in ns_name_map() argument
793 n = *nname++; in ns_name_map()
819 l = ns_name_map(nname + n, namelen - n, map, mapsize); in ns_name_map()
830 map[l].base = nname; in ns_name_map()
839 ns_name_labels(ns_nname_ct nname, size_t namesiz) { in ns_name_labels() argument
[all …]
H A Dns_rdata.c229 n = ns_name_eq(rdata, rdlen, nname, NS_MAXNNAME); \
254 const u_char *nname) in ns_rdata_refers() argument
H A Dns_parse.c232 rr->nname, NS_MAXNNAME, &rr->nnamel); in ns_parserr2()
/titanic_50/usr/src/uts/sun4v/io/
H A Dmdeg.c319 mde_str_cookie_t nname; in mdeg_notify_client_reg() local
361 nname = md_find_name(mdp, clnt->nmatch->namep); in mdeg_notify_client_reg()
364 nnodes = md_scan_dag(mdp, startnode, nname, aname, NULL); in mdeg_notify_client_reg()
381 nodechk = md_scan_dag(mdp, startnode, nname, aname, listp); in mdeg_notify_client_reg()
650 mde_str_cookie_t nname; in mdeg_find_start_node() local
658 nname = md_find_name(md, nspec->namep); in mdeg_find_start_node()
661 nnodes = md_scan_dag(md, NULL, nname, aname, NULL); in mdeg_find_start_node()
667 (void) md_scan_dag(md, NULL, nname, aname, nodesp); in mdeg_find_start_node()
/titanic_50/usr/src/cmd/ctfmerge/
H A Dctfmerge.c250 char *nname; in ctfmerge_read_archive() local
263 if (asprintf(&nname, "%s.%s.%d", name, arhdr->ar_name, in ctfmerge_read_archive()
270 ctfmerge_read_archive(nname, fd, aelf, cmh); in ctfmerge_read_archive()
271 free(nname); in ctfmerge_read_archive()
274 ctfmerge_elfopen(nname, aelf, cmh); in ctfmerge_read_archive()
275 free(nname); in ctfmerge_read_archive()
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/
H A Dndd.c248 char *pname, *pvalp, nname[512]; in do_ipadm_getset() local
274 if (ipadm_legacy2new_propname(pname, nname, sizeof (nname), in do_ipadm_getset()
279 pname = nname; in do_ipadm_getset()
/titanic_50/usr/src/lib/nsswitch/nis/common/
H A Dgetnetgrent.c719 nss_innetgr_argc nname = argp->argc; local
730 while (nname > 1) {
733 if (nname > NNAME_THRESHOLD) {
745 --nname;
/titanic_50/usr/src/cmd/sgs/gprof/common/
H A Dlookup.c42 size_t low = 0, middle, high = module->nname - 1; in nllookup()
H A Darcs.c645 for (i = 0; i < mi->nname; i++) in doarcs()
688 for (i = 0; i < mi->nname; i++) in doarcs()
H A Dgprof.h206 sztype nname; /* number of funcs in this module */ member
H A Dgprof.c165 sztype nname = modules.nname; in asgnsamples() local
188 for (j = (j ? j - 1 : 0); j < nname; j++) { in asgnsamples()
1899 for (i = 0; i < modules.nname; i++) { /* Print each symbol */ in main()
/titanic_50/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c796 char *dname, *nname, *ipath, *opath; in validate_reservation() local
815 nname = ddi_node_name(*dip); in validate_reservation()
818 if (ipath != NULL && strstr(ipath, nname) != 0) in validate_reservation()
820 if (opath != NULL && strstr(opath, nname) != 0) in validate_reservation()
/titanic_50/usr/src/head/arpa/
H A Dnameser.h184 ns_nname nname; member
195 #define ns_rr_nname(rr) ((const ns_nname_t)(rr).nname)
/titanic_50/usr/src/lib/libipadm/common/
H A Dipadm_prop.c1843 ipadm_legacy2new_propname(const char *oname, char *nname, uint_t nnamelen, in ipadm_legacy2new_propname() argument
1902 (void) snprintf(nname, nnamelen, "%s", str); in ipadm_legacy2new_propname()
1912 ipadm_new2legacy_propname(const char *oname, char *nname, in ipadm_new2legacy_propname() argument
1942 (void) strlcpy(nname, ionmp->iom_oname, in ipadm_new2legacy_propname()
1955 (void) snprintf(nname, nnamelen, "%s%s", prefix, oname); in ipadm_new2legacy_propname()
/titanic_50/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_persist.c1271 char nname[IPMGMT_STRSIZE], tmpstr[IPMGMT_STRSIZE]; in ipmgmt_db_upgrade() local
1309 if (ipadm_legacy2new_propname(pname, nname, sizeof (nname), in ipmgmt_db_upgrade()
1325 (void) snprintf(tmpstr, sizeof (tmpstr), "_%s", nname); in ipmgmt_db_upgrade()

12