Searched refs:mcount (Results 1 - 11 of 11) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dmcount.s33 Entry(mcount)
34 pushl %ebp // setup mcount's frame
58 movl (%ebp),%eax // frame pointer of mcount's caller
59 movl 4(%eax),%eax // mcount's caller's return address
60 pushl 4(%ebp) // push selfpc parameter for mcount()
61 pushl %eax // push frompc parameter for mcount()
62 call _mcount // call the C mcount
69 movl %ebp,%esp // tear down mcount's frame
H A Dhibernate_i386.c62 uint32_t mcount, msize, i; local
70 mcount = args->MemoryMapSize / msize;
73 for (i = 0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize))
H A Di386_vm_init.c161 unsigned int mcount; local
213 mcount = args->MemoryMapSize / msize;
217 for (i = 0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
363 for (i=0; i<mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
H A Dasm.h164 #define MCOUNT ; call mcount;
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dmcount.s38 * of caller of the function [ from which mcount is called ] as the
40 * mcount disables interrupts prior to call mcount() and restores
42 * To prevent recursive calls to mcount(), a flag, mcountOff, is set
47 .globl mcount
48 mcount: label
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dgmon.h243 void mcount(u_long, u_long);
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/AT386/
H A Dmodel_dep.c471 unsigned int msize, mcount; local
475 mcount = args->MemoryMapSize / msize;
478 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
519 unsigned int msize, mcount; local
534 mcount = args->MemoryMapSize / msize;
536 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
552 mcount = map_size / msize;
554 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h66 call mcount ;\
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/i386/
H A Dprofile-asm.s58 * Do not provide old mcount support under MK or server.
113 * Rewrite old mcount code once again.
202 #define OLD_MCOUNT 0 /* do not compile old code for mcount */
449 * Pointer that the compiler uses to call to the appropriate mcount function.
542 LCL(old_mcount) = LCL(dummy)+8 /* # of old mcount calls */
883 * Dummy mcount routine that just returns.
1343 * some of the kernel/server functions 'know' that mcount has a leading
1348 .globl mcount
1350 ELF_FUNC(mcount)
1354 mcount
1347 mcount: label
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsubr_prof.c197 * mcount() called with interrupts disabled.
200 mcount( function
306 printf("mcount: tos overflow\n");
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/
H A Dnfs_serv.c1152 int mlen, mcount; local
1235 for (mcount=0, m=nmreq->nmc_mcur; m; m = mbuf_next(m))
1237 mcount++;
1238 MALLOC(uio_bufp, char *, UIO_SIZEOF(mcount), M_TEMP, M_WAITOK);
1240 uiop = uio_createwithbuffer(mcount, off, UIO_SYSSPACE, UIO_WRITE, uio_bufp, UIO_SIZEOF(mcount));

Completed in 116 milliseconds