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

/darwin-on-arm/xnu/osfmk/i386/
H A Dmcount.s33 Entry(mcount)
34 pushl %ebp // setup mcount's frame
62 movl (%ebp),%eax // frame pointer of mcount's caller
63 movl 4(%eax),%eax // mcount's caller's return address
64 pushl 4(%ebp) // push selfpc parameter for mcount()
65 pushl %eax // push frompc parameter for mcount()
66 call _mcount // call the C mcount
73 movl %ebp,%esp // tear down mcount's frame
H A Dhibernate_i386.c64 uint32_t mcount, msize, i; local
72 mcount = args->MemoryMapSize / msize;
75 for (i = 0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize))
H A Di386_vm_init.c182 unsigned int mcount; local
333 mcount = args->MemoryMapSize / msize;
338 for (i = 0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
563 for (i=0; i<mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
H A Dasm.h172 #define MCOUNT ; call mcount;
/darwin-on-arm/xnu/osfmk/x86_64/
H A Dmcount.s33 Entry(mcount)
34 pushq %rbp // setup mcount's frame
62 movq (%rbp),%rax // frame pointer of mcount's caller
69 movq 8(%rax),%rdi // mcount's caller's return address
70 movq 8(%rbp),%rsi // push selfpc parameter for mcount()
72 call _mcount // call the C mcount
85 movq %rbp,%rsp // tear down mcount's frame
/darwin-on-arm/xnu/bsd/sys/
H A Dgmon.h243 void mcount(uintptr_t, uintptr_t);
/darwin-on-arm/xnu/osfmk/i386/AT386/
H A Dmodel_dep.c505 unsigned int msize, mcount; local
509 mcount = args->MemoryMapSize / msize;
523 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
573 unsigned int msize, mcount; local
588 mcount = args->MemoryMapSize / msize;
590 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
611 mcount = (unsigned int )(map_size / msize);
613 for (i=0; i < mcount; i++, mptr = (EfiMemoryRange *)(((vm_offset_t)mptr) + msize)) {
/darwin-on-arm/xnu/bsd/miscfs/fifofs/
H A Dfifo_vnops.c571 int mcount; local
572 int err = sock_ioctl(vp->v_fifoinfo->fi_readsock, FIONREAD, (void*)&mcount);
574 *count = mcount;
/darwin-on-arm/xnu/EXTERNAL_HEADERS/architecture/i386/
H A Dasm_help.h66 call mcount ;\
/darwin-on-arm/xnu/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...]
/darwin-on-arm/xnu/bsd/kern/
H A Dsubr_prof.c227 * mcount() called with interrupts disabled.
230 mcount( function
336 printf("mcount: tos overflow\n");
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_serv.c1178 int mlen, mcount; local
1261 for (mcount=0, m=nmreq->nmc_mcur; m; m = mbuf_next(m))
1263 mcount++;
1264 MALLOC(uio_bufp, char *, UIO_SIZEOF(mcount), M_TEMP, M_WAITOK);
1266 auio = uio_createwithbuffer(mcount, off, UIO_SYSSPACE, UIO_WRITE, uio_bufp, UIO_SIZEOF(mcount));

Completed in 107 milliseconds