Home
last modified time | relevance | path

Searched refs:mcount (Results 1 – 25 of 53) sorted by relevance

123

/freebsd-12.1/contrib/processor-trace/libipt/test/src/
H A Dptunit-section-file.c102 uint16_t mcount; in pt_section_map_success() local
108 mcount = section->mcount + 1; in pt_section_map_success()
109 if (!mcount) { in pt_section_map_success()
114 section->mcount = mcount; in pt_section_map_success()
133 uint16_t mcount; in pt_section_map() local
145 mcount = section->mcount; in pt_section_map()
146 if (mcount) in pt_section_map()
H A Dptunit-msec_cache.c68 uint16_t ucount, mcount; in pt_section_map() local
77 mcount = section->mcount + 1; in pt_section_map()
78 if (!mcount) in pt_section_map()
81 section->mcount = mcount; in pt_section_map()
87 uint16_t ucount, mcount; in pt_section_unmap() local
96 mcount = section->mcount; in pt_section_unmap()
97 if (!mcount) in pt_section_unmap()
100 section->mcount = mcount - 1; in pt_section_unmap()
259 ptu_uint_eq(tfix->section.mcount, 0); in invalidate()
335 ptu_uint_eq(section->mcount, 1); in fill()
[all …]
H A Dptunit-image_section_cache.c62 int mcount; member
368 int errcode, mcount; in pt_section_map_share() local
377 mcount = ++section->mcount; in pt_section_map_share()
383 if (mcount <= 0) in pt_section_map_share()
391 int errcode, mcount; in pt_section_unmap() local
401 mcount = --section->mcount; in pt_section_unmap()
407 if (mcount < 0) in pt_section_unmap()
487 *size = section->mcount ? section->size + section->bcsize : 0ull; in pt_section_memsize()
610 ptu_int_eq(cfix->section[idx]->mcount, 0); in cfix_fini()
H A Dptunit-image.c280 uint16_t mcount; in ifix_unmap() local
285 mcount = section->mcount; in ifix_unmap()
286 if (!mcount) in ifix_unmap()
292 mcount = --section->mcount; in ifix_unmap()
293 if (!mcount) in ifix_unmap()
337 uint16_t mcount; in pt_section_map() local
342 mcount = section->mcount++; in pt_section_map()
343 if (mcount) in pt_section_map()
473 ptu_int_eq(section.mcount, 0); in fini()
2183 ptu_int_eq(ifix->section[sec].mcount, 0); in ifix_fini()
/freebsd-12.1/contrib/processor-trace/libipt/src/
H A Dpt_section.c203 mcount = section->mcount; in pt_section_put()
553 uint16_t mcount; in pt_section_map_share() local
563 mcount = section->mcount; in pt_section_map_share()
564 if (!mcount) { in pt_section_map_share()
569 mcount += 1; in pt_section_map_share()
570 if (!mcount) { in pt_section_map_share()
575 section->mcount = mcount; in pt_section_map_share()
592 mcount = section->mcount; in pt_section_unmap()
595 if (!mcount) in pt_section_unmap()
598 section->mcount = mcount -= 1; in pt_section_unmap()
[all …]
/freebsd-12.1/contrib/gdb/gdb/
H A Dminsyms.c746 if (mcount > 0) in compact_minimal_symbols()
749 while (copyfrom < msymbol + mcount - 1) in compact_minimal_symbols()
766 mcount = copyto - msymbol; in compact_minimal_symbols()
768 return (mcount); in compact_minimal_symbols()
830 int mcount; in install_minimal_symbols() local
861 mcount = objfile->minimal_symbol_count; in install_minimal_symbols()
871 SYMBOL_LINKAGE_NAME (&msymbols[mcount])++; in install_minimal_symbols()
885 mcount = compact_minimal_symbols (msymbols, mcount, objfile); in install_minimal_symbols()
903 MSYMBOL_SIZE (&msymbols[mcount]) = 0; in install_minimal_symbols()
911 objfile->minimal_symbol_count = mcount; in install_minimal_symbols()
[all …]
/freebsd-12.1/lib/libc/gmon/
H A DMakefile.inc7 SRCS+= gmon.c mcount.c
16 mcount.po: mcount.o
17 cp mcount.o mcount.po
/freebsd-12.1/contrib/processor-trace/libipt/src/posix/
H A Dpt_section_posix.c159 uint16_t mcount; in pt_sec_posix_map_success() local
165 mcount = section->mcount + 1; in pt_sec_posix_map_success()
166 if (!mcount) { in pt_sec_posix_map_success()
171 section->mcount = mcount; in pt_sec_posix_map_success()
206 if (section->mcount) in pt_section_map()
/freebsd-12.1/contrib/processor-trace/libipt/src/windows/
H A Dpt_section_windows.c197 uint16_t mcount; in pt_sec_windows_map_success() local
203 mcount = section->mcount + 1; in pt_sec_windows_map_success()
204 if (!mcount) { in pt_sec_windows_map_success()
209 section->mcount = mcount; in pt_sec_windows_map_success()
245 if (section->mcount) in pt_section_map()
/freebsd-12.1/sys/amd64/include/
H A Dprofile.h55 #define _MCOUNT_DECL void mcount
148 mcount() \
185 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
193 void mcount(void) __asm(".mcount");
H A Dasm.h68 call PIC_PLT(HIDENAME(mcount)); \
73 call PIC_PLT(HIDENAME(mcount)); \
/freebsd-12.1/sys/i386/include/
H A Dprofile.h55 #define _MCOUNT_DECL void mcount
127 mcount() \
172 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
180 void mcount(void) __asm(".mcount");
H A Dasm.h82 call PIC_PLT(HIDENAME(mcount)); \
87 call PIC_PLT(HIDENAME(mcount)); \
/freebsd-12.1/sys/riscv/include/
H A Dprofile.h49 #define _MCOUNT_DECL void mcount
69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
75 #define _MCOUNT_DECL void mcount
/freebsd-12.1/sys/arm64/include/
H A Dprofile.h49 #define _MCOUNT_DECL void mcount
69 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
75 #define _MCOUNT_DECL void mcount
/freebsd-12.1/sys/mips/include/
H A Dprofile.h141 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
162 void mcount(void) __asm(".mcount");
164 void mcount(void) __asm("mcount");
/freebsd-12.1/sys/arm/include/
H A Dprofile.h49 #define _MCOUNT_DECL void mcount
126 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12.1/sys/sparc64/include/
H A Dprofile.h50 #define _MCOUNT_DECL void mcount
70 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-12.1/contrib/ncurses/progs/
H A Dcapconvert168 mcount=`echo $master | wc -l`
169 case $mcount in
/freebsd-12.1/crypto/openssl/crypto/
H A Dmem.c98 void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount) in CRYPTO_get_alloc_counts() argument
100 if (mcount != NULL) in CRYPTO_get_alloc_counts()
101 *mcount = tsan_load(&malloc_count); in CRYPTO_get_alloc_counts()
/freebsd-12.1/usr.bin/mail/
H A Dquit.c73 int mcount, p, modify, autohold, anystat, holdbit, nohold; in quit() local
202 mcount = c; in quit()
286 if (mcount == 1) in quit()
289 printf("Saved %d messages in mbox\n", mcount); in quit()
/freebsd-12.1/usr.bin/grep/
H A Dgrep.c107 long long mcount; /* count for -m */ variable
523 mlimit = mcount = strtoll(optarg, &ep, 10);
524 if (((errno == ERANGE) && (mcount == LLONG_MAX)) ||
525 ((errno == EINVAL) && (mcount == 0)))
/freebsd-12.1/sys/fs/nandfs/
H A Dnandfs_alloc.c96 uint32_t *mask, i, mcount, msize; in nandfs_find_free_entry() local
152 mcount = mdt->entries_per_group / msize; in nandfs_find_free_entry()
153 for (i = 0; i < mcount; i++) { in nandfs_find_free_entry()
/freebsd-12.1/sys/net80211/
H A Dieee80211_freebsd.h142 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
147 (ifq)->ifq_len += (mcount); \
149 #define IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
151 _IF_PREPEND_LIST(ifq, mhead, mtail, mcount); \
/freebsd-12.1/lib/libc/i386/
H A DSymbol.map14 .mcount;

123