Searched refs:mcount (Results 1 - 24 of 24) sorted by path

/freebsd-11-stable/contrib/gdb/gdb/
H A Dminsyms.c708 On entry, the table resides between msymbol[0] and msymbol[mcount].
741 compact_minimal_symbols (struct minimal_symbol *msymbol, int mcount,
747 if (mcount > 0)
750 while (copyfrom < msymbol + mcount - 1)
767 mcount = copyto - msymbol;
769 return (mcount);
831 int mcount;
862 mcount = objfile->minimal_symbol_count;
867 for (bindex = 0; bindex < msym_bunch_index; bindex++, mcount++)
869 msymbols[mcount]
740 compact_minimal_symbols(struct minimal_symbol *msymbol, int mcount, struct objfile *objfile) argument
830 int mcount; local
[all...]
/freebsd-11-stable/contrib/ncurses/progs/
H A Dcapconvert168 mcount=`echo $master | wc -l`
169 case $mcount in
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_wwv.c1399 static int mcount; /* longest run end time */ local
1475 mcount = scount;
1511 mcount = scount;
1517 mcount = scount;
1544 up->freq += (dtemp / 2.) / ((mcount - zcount) *
1575 up->avgint, maxrun, mcount - zcount, dtemp,
1589 zcount = mcount;
/freebsd-11-stable/lib/libc/
H A DMakefile158 KSRCS= bcmp.c ffs.c ffsl.c fls.c flsl.c mcount.c strcat.c strchr.c \
/freebsd-11-stable/lib/libc/gmon/
H A DMakefile.inc7 SRCS+= gmon.c mcount.c
15 # mcount cannot be compiled with profiling
16 mcount.po: mcount.o
17 cp mcount.o mcount.po
/freebsd-11-stable/sys/amd64/include/
H A Dasm.h66 call PIC_PLT(HIDENAME(mcount)); \
71 call PIC_PLT(HIDENAME(mcount)); \
H A Dprofile.h53 #define _MCOUNT_DECL void mcount
119 .globl .mcount \n\
120 .type .mcount,@function \n\
121 .mcount: \n\
140 .size .mcount, . - .mcount");
150 mcount() \
154 * Find the return address for mcount, \
155 * and the return address for mcount's caller. \
157 * selfpc = pc pushed by call to mcount \
[all...]
/freebsd-11-stable/sys/arm/include/
H A Dprofile.h47 #define _MCOUNT_DECL void mcount
52 * Cannot implement mcount in C as GCC will trash the ip register when it
68 * Preserve registers that are trashed during mcount \
72 * find the return address for mcount, \
73 * and the return address for mcount's caller. \
79 * selfpc = pc pushed by mcount call \
83 * Call the real mcount code \
85 __asm__("bl mcount"); \
87 * Restore registers that were trashed during mcount \
116 * splhigh() and splx() are heavyweight, and call mcount()
[all...]
/freebsd-11-stable/sys/arm64/include/
H A Dprofile.h47 #define _MCOUNT_DECL void mcount
67 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
73 #define _MCOUNT_DECL void mcount
/freebsd-11-stable/sys/dev/snc/
H A Ddp83932.c658 int mcount = 0; local
665 camentry (sc, mcount, IF_LLADDR(sc->sc_ifp));
666 mcount++;
676 if (mcount == MAXCAM) {
682 camentry(sc, mcount,
684 mcount++;
/freebsd-11-stable/sys/fs/nandfs/
H A Dnandfs_alloc.c94 uint32_t *mask, i, mcount, msize; local
150 mcount = mdt->entries_per_group / msize;
151 for (i = 0; i < mcount; i++) {
/freebsd-11-stable/sys/i386/include/
H A Dasm.h80 call PIC_PLT(HIDENAME(mcount)); \
85 call PIC_PLT(HIDENAME(mcount)); \
H A Dprofile.h53 #define _MCOUNT_DECL void mcount
116 mcount() \
128 * Find the return address for mcount, \
129 * and the return address for mcount's caller. \
131 * selfpc = pc pushed by call to mcount \
135 * frompc = pc pushed by call to mcount's caller. \
161 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
169 void mcount(void) __asm(".mcount");
/freebsd-11-stable/sys/kern/
H A Dsubr_prof.c122 np.mcount_count = &KCOUNT(&np, PC_TO_I(&np, mcount));
189 p->mcount_count = &KCOUNT(p, PC_TO_I(p, mcount));
247 printf("cputime %d, empty_loop %d, nullfunc_loop_profiled %d, mcount %d, mexitcount %d\n",
260 * MC1: mcount() is called
261 * MC2: cputime() (called from mcount()) latches the timer
262 * MC3: mcount() completes
303 "Profiling overheads: mcount: %d+%d, %d+%d; mexitcount: %d+%d, %d+%d nsec\n",
313 "Profiling overheads: mcount: %d+%d, %d+%d; mexitcount: %d+%d, %d+%d cycles\n",
/freebsd-11-stable/sys/riscv/include/
H A Dprofile.h47 #define _MCOUNT_DECL void mcount
67 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
73 #define _MCOUNT_DECL void mcount
/freebsd-11-stable/sys/sparc64/include/
H A Dprofile.h48 #define _MCOUNT_DECL void mcount
68 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
84 * Find the return address for mcount, \
85 * and the return address for mcount's caller. \
87 * selfpc = pc pushed by call to mcount \
91 * frompc = pc pushed by call to mcount's caller. \
/freebsd-11-stable/sys/sparc64/sparc64/
H A Dsupport.S938 SET(mcount, %o3, %o2)
/freebsd-11-stable/usr.bin/mail/
H A Dquit.c71 int mcount, p, modify, autohold, anystat, holdbit, nohold; local
200 mcount = c;
284 if (mcount == 1)
287 printf("Saved %d messages in mbox\n", mcount);
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap.c2648 size_t mcount; local
2651 methods = eap_peer_get_methods(&mcount);
2655 buf = os_malloc(mcount * sizeof(struct eap_method_type));
/freebsd-11-stable/sys/mips/include/
H A Dprofile.h80 * functions on the MIPS, and we do not want to invoke mcount
139 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
160 void mcount(void) __asm(".mcount");
162 void mcount(void) __asm("mcount");
/freebsd-11-stable/sys/net80211/
H A Dieee80211_freebsd.h139 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \
144 (ifq)->ifq_len += (mcount); \
146 #define IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \
148 _IF_PREPEND_LIST(ifq, mhead, mtail, mcount); \
/freebsd-11-stable/usr.bin/grep/
H A Dgrep.c124 long long mcount; /* count for -m */ variable
556 mlimit = mcount = strtoll(optarg, &ep, 10);
557 if (((errno == ERANGE) && (mcount == LLONG_MAX)) ||
558 ((errno == EINVAL) && (mcount == 0)))
H A Dgrep.h141 extern long long mcount;
H A Dutil.c267 mcount -= 1;
268 if (mcount <= 0)
330 mcount = mlimit;

Completed in 509 milliseconds