Searched refs:nsyms (Results 1 - 20 of 20) sorted by relevance

/opensolaris-onvv-gate/usr/src/cmd/lockstat/
H A Dsym.c57 static int nsyms, maxsyms; variable
71 if (nsyms >= maxsyms) {
79 sep = &symbol_table[nsyms++];
92 for (i = 0; i < nsyms; i++, sep++)
161 nsyms = shdr->sh_size / shdr->sh_entsize;
171 lastsym = symtab + nsyms;
172 nsyms = 0;
183 qsort(symbol_table, nsyms, sizeof (syment_t), symcmp);
188 for (i = 0; i < nsyms - 1; i++)
192 qsort(symbol_table, nsyms, sizeo
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/unifdef/common/
H A Dunifdef.c63 char nsyms; variable
120 if (nsyms >= MAXSYMS) {
126 ignore[nsyms] = ignorethis;
127 true[nsyms] = *cp1 == 'D' ? YES : NO;
128 sym[nsyms++] = &cp1[1];
145 if (nsyms == 0) {
385 if (++symind >= nsyms) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/ar/common/
H A Dfile.c477 size_t nsyms = 0; local
645 scn, &nsyms, symlist,
668 if (nsyms == 0) {
690 return (nsyms);
737 writesymtab(const char *filename, int fd, size_t nsyms, ARFILEP *symlist, argument
750 tblsize = (nsyms + 1) * eltsize;
761 dst = is64 ? sputl64(nsyms, dst) : sputl32(nsyms, dst);
763 for (i = 0, j = SYMCHUNK, ptr = symlist; i < nsyms; i++, j--, ptr++) {
984 require64(size_t nsyms, in argument
1029 size_t nsyms; local
1391 search_sym_tab(const char *arname, ARFILE *fptr, Elf *elf, Elf_Scn *scn, size_t *nsyms, ARFILEP **symlist, size_t *num_errs) argument
1569 sizeof_symtbl(size_t nsyms, int found_obj, size_t eltsize) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/sgs/prof/common/
H A Drdelf.c215 size_t i, nsyms, nfuncs; local
270 nsyms = (size_t)(nsyms_pri + nsyms_aux);
271 if ((nsyms_pri + nsyms_aux) != (GElf_Xword)nsyms) {
291 if ((npe = nl = (nltype *) calloc(nsyms, sizeof (nltype))) == NULL) {
293 cmdname, nsyms * sizeof (nltype));
304 for (i = 1; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/lib/libtnfctl/
H A Dtraverse.c283 ulong_t nsyms; local
297 nsyms = shdr->sh_size / shdr->sh_entsize;
302 tnf_long, symbols_found, nsyms);
304 for (i = 0; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/cmd/sgs/gprof/common/
H A Dreadelf.c458 sztype nsyms, i; local
513 nsyms = (sztype)(nsyms_pri + nsyms_aux);
514 if ((nsyms_pri + nsyms_aux) != (GElf_Xword)nsyms)
525 if ((l_nl = l_npe = (nltype *)calloc(nsyms + PRF_SYMCNT,
536 for (i = 1; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nm.c560 size_t nsyms = 0; local
738 (void) callback(&nsyms, &sym, name, &si, object);
741 nsyms = mdb_gelf_symtab_size(mdb.m_prsym);
744 which, type, callback, &nsyms);
747 if (nsyms == 0)
750 syms = symp = mdb_alloc(sizeof (nm_sym_t) * nsyms,
772 qsort(syms, nsyms, sizeof (nm_sym_t), nm_compare_name);
774 qsort(syms, nsyms, sizeof (nm_sym_t), nm_compare_val);
785 for (symp = syms; nsyms-- != 0; symp++) {
/opensolaris-onvv-gate/usr/src/uts/common/os/
H A Dksyms_snapshot.c87 size_t nsyms = symhdr->sh_size / symsize; local
91 for (i = 1; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/uts/common/krtld/
H A Dkobj.c757 mp->nsyms = *((uint_t *)dyn->d_un.d_ptr + 1);
829 mp->symhdr->sh_size = mp->nsyms * mp->symhdr->sh_entsize;
835 mp->chains = kobj_zalloc(mp->nsyms * sizeof (symid_t), KM_WAIT);
863 for (i = 0; i < mp->nsyms; i++) {
931 mp->nsyms = mp->symhdr->sh_size / mp->symhdr->sh_entsize;
936 mp->hashsize = kobj_gethashsize(mp->nsyms);
939 (mp->hashsize + mp->nsyms) * sizeof (symid_t);
941 mp->chains = kobj_zalloc(mp->nsyms * sizeof (symid_t), KM_WAIT);
974 for (i = 0; i < mp->nsyms; i++) {
1489 uint_t nsyms; local
[all...]
/opensolaris-onvv-gate/usr/src/uts/common/sys/
H A Dkobj.h82 unsigned int nsyms; member in struct:module
/opensolaris-onvv-gate/usr/src/uts/common/io/audio/drv/audioemu10k/dsp/
H A Dasm10k.c159 static int nsyms = 0; variable
272 for (i = 0; i < nsyms; i++)
285 if (nsyms >= MAX_SYMBOLS) {
300 sym = &symtab[nsyms++];
827 for (i = 0; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/uts/intel/dtrace/
H A Dfbt.c153 int nsyms = mp->nsyms; local
204 for (i = 1; i < nsyms; i++) {
/opensolaris-onvv-gate/usr/src/uts/intel/amd64/krtld/
H A Dkobj_reloc.c156 if (stndx >= mp->nsyms) {
/opensolaris-onvv-gate/usr/src/uts/intel/ia32/krtld/
H A Dkobj_reloc.c153 if (stndx >= mp->nsyms) {
/opensolaris-onvv-gate/usr/src/uts/sparc/krtld/
H A Dkobj_reloc.c210 if (stndx >= mp->nsyms) {
/opensolaris-onvv-gate/usr/src/uts/sparc/dtrace/
H A Dfbt.c1003 int nsyms = mp->nsyms; local
1089 for (i = 1; i < nsyms; i++) {
1371 i, nsyms);
1424 "in module %s (sym %d of %d)", modname, i, nsyms);
/opensolaris-onvv-gate/usr/src/uts/i86xpv/os/
H A Dxpv_panic.c952 mp->nsyms = mp->symhdr->sh_size / mp->symhdr->sh_entsize;
956 mp->nsyms * sizeof (symid_t) + mp->strhdr->sh_size;
/opensolaris-onvv-gate/usr/src/cmd/sgs/libld/common/
H A Dsections.c1955 Word nsyms = ofl->ofl_globcnt; local
1978 ofl->ofl_hashbkts = findprime(nsyms);
/opensolaris-onvv-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtypegraph.c1013 (*est) += mod.nsyms;
H A Dkmem.c2511 (uintptr_t)mod.symtbl, mod.nsyms * shdr.sh_entsize, "symtab");

Completed in 133 milliseconds