Home
last modified time | relevance | path

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

12

/freebsd/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
370 int errcode, mcount; in pt_section_map_share() local
379 mcount = ++section->mcount; in pt_section_map_share()
385 if (mcount <= 0) in pt_section_map_share()
393 int errcode, mcount; in pt_section_unmap() local
403 mcount = --section->mcount; in pt_section_unmap()
409 if (mcount < 0) in pt_section_unmap()
489 *size = section->mcount ? section->size + section->bcsize : 0ull; in pt_section_memsize()
614 ptu_int_eq(cfix->section[idx]->mcount, 0); in cfix_fini()
H A Dptunit-image.c281 uint16_t mcount; in ifix_unmap() local
286 mcount = section->mcount; in ifix_unmap()
287 if (!mcount) in ifix_unmap()
293 mcount = --section->mcount; in ifix_unmap()
294 if (!mcount) in ifix_unmap()
338 uint16_t mcount; in pt_section_map() local
343 mcount = section->mcount++; in pt_section_map()
344 if (mcount) in pt_section_map()
474 ptu_int_eq(section.mcount, 0); in fini()
2184 ptu_int_eq(ifix->section[sec].mcount, 0); in ifix_fini()
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_section.c214 mcount = section->mcount; in pt_section_put()
564 uint16_t mcount; in pt_section_map_share() local
574 mcount = section->mcount; in pt_section_map_share()
575 if (!mcount) { in pt_section_map_share()
580 mcount += 1; in pt_section_map_share()
581 if (!mcount) { in pt_section_map_share()
586 section->mcount = mcount; in pt_section_map_share()
603 mcount = section->mcount; in pt_section_unmap()
606 if (!mcount) in pt_section_unmap()
609 section->mcount = mcount -= 1; in pt_section_unmap()
[all …]
/freebsd/lib/libc/gmon/
H A DMakefile.inc5 SRCS+= gmon.c mcount.c
14 mcount.po: mcount.o
15 cp mcount.o mcount.po
/freebsd/contrib/processor-trace/libipt/src/posix/
H A Dpt_section_posix.c164 uint16_t mcount; in pt_sec_posix_map_success() local
170 mcount = section->mcount + 1; in pt_sec_posix_map_success()
171 if (!mcount) { in pt_sec_posix_map_success()
176 section->mcount = mcount; in pt_sec_posix_map_success()
211 if (section->mcount) in pt_section_map()
/freebsd/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/sys/riscv/include/
H A Dprofile.h44 #define _MCOUNT_DECL void mcount
64 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
70 #define _MCOUNT_DECL void mcount
/freebsd/contrib/less/
H A Dpattern.c367 int mcount = pcre_exec(pattern, NULL, line, line_len, in match_pattern1() local
369 matched = (mcount > 0); in match_pattern1()
371 if (ecount > mcount) ecount = mcount; in match_pattern1()
390 int mcount = pcre2_match(pattern, (PCRE2_SPTR)line, line_len, in match_pattern1() local
392 matched = (mcount > 0); in match_pattern1()
398 if (ecount > mcount) ecount = mcount; in match_pattern1()
/freebsd/sys/i386/include/
H A Dprofile.h45 mcount() \
84 void mcount(void) __asm(".mcount");
H A Dasm.h83 call PIC_PLT(HIDENAME(mcount)); \
93 call PIC_PLT(HIDENAME(mcount)); \
/freebsd/sys/amd64/include/
H A Dprofile.h83 mcount() \
114 void mcount(void) __asm(".mcount");
H A Dasm.h73 call PIC_PLT(HIDENAME(mcount)); \
83 call PIC_PLT(HIDENAME(mcount)); \
/freebsd/sys/arm/include/
H A Dprofile.h45 #define _MCOUNT_DECL void mcount
115 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd/contrib/ncurses/progs/
H A Dcapconvert169 mcount=`echo $master | wc -l`
170 case $mcount in
/freebsd/crypto/openssl/crypto/
H A Dmem.c85 void CRYPTO_get_alloc_counts(int *mcount, int *rcount, int *fcount) in CRYPTO_get_alloc_counts() argument
87 if (mcount != NULL) in CRYPTO_get_alloc_counts()
88 *mcount = LOAD(malloc_count); in CRYPTO_get_alloc_counts()
/freebsd/usr.bin/mail/
H A Dquit.c65 int mcount, p, modify, autohold, anystat, holdbit, nohold; in quit() local
194 mcount = c; in quit()
278 if (mcount == 1) in quit()
281 printf("Saved %d messages in mbox\n", mcount); in quit()
/freebsd/usr.bin/grep/
H A Dutil.c252 if (mflag && mcount <= 0) { in procmatches()
273 mcount -= 1; in procmatches()
274 if (mcount <= 0) in procmatches()
336 mcount = mlimit; in procfile()
367 if (mflag && mcount <= 0) { in procfile()
H A Dgrep.c96 long long mcount; /* count for -m */ variable
503 mlimit = mcount = strtoll(optarg, &ep, 10);
504 if (((errno == ERANGE) && (mcount == LLONG_MAX)) ||
505 ((errno == EINVAL) && (mcount == 0)))
/freebsd/sys/arm64/include/
H A Dprofile.h88 mcount(uintfptr_t frompc)
/freebsd/lib/libc/aarch64/
H A DSymbol.map7 .mcount;
/freebsd/lib/libc/i386/
H A DSymbol.map7 .mcount;
/freebsd/lib/libc/amd64/
H A DSymbol.map7 .mcount;
/freebsd/sys/net80211/
H A Dieee80211_freebsd.h155 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
160 (ifq)->ifq_len += (mcount); \
162 #define IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
164 _IF_PREPEND_LIST(ifq, mhead, mtail, mcount); \

12