Home
last modified time | relevance | path

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

12

/freebsd-13.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
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-13.1/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-13.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-13.1/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-13.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.h72 call PIC_PLT(HIDENAME(mcount)); \
82 call PIC_PLT(HIDENAME(mcount)); \
/freebsd-13.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.h86 call PIC_PLT(HIDENAME(mcount)); \
96 call PIC_PLT(HIDENAME(mcount)); \
/freebsd-13.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-13.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-13.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-13.1/sys/mips/include/
H A Dprofile.h134 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
155 void mcount(void) __asm(".mcount");
157 void mcount(void) __asm("mcount");
/freebsd-13.1/sys/arm/include/
H A Dprofile.h48 #define _MCOUNT_DECL void mcount
118 void mcount(uintfptr_t frompc, uintfptr_t selfpc);
/freebsd-13.1/contrib/ncurses/progs/
H A Dcapconvert169 mcount=`echo $master | wc -l`
170 case $mcount in
/freebsd-13.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-13.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-13.1/usr.bin/grep/
H A Dutil.c255 if (mflag && mcount <= 0) { in procmatches()
276 mcount -= 1; in procmatches()
277 if (mcount <= 0) in procmatches()
339 mcount = mlimit; in procfile()
370 if (mflag && mcount <= 0) { in procfile()
H A Dgrep.c99 long long mcount; /* count for -m */ variable
506 mlimit = mcount = strtoll(optarg, &ep, 10);
507 if (((errno == ERANGE) && (mcount == LLONG_MAX)) ||
508 ((errno == EINVAL) && (mcount == 0)))
/freebsd-13.1/sys/contrib/openzfs/module/icp/spi/
H A Dkcf_spi.c576 int mcount = desc->pd_mech_list_count; in init_prov_mechs() local
582 sizeof (crypto_mech_info_t) * mcount); in init_prov_mechs()
604 sizeof (crypto_mech_info_t) * (mcount - 1)); in init_prov_mechs()
606 rand_mi = &desc->pd_mechanisms[mcount - 1]; in init_prov_mechs()
615 sizeof (crypto_mech_info_t) * mcount); in init_prov_mechs()
/freebsd-13.1/sys/net80211/
H A Dieee80211_freebsd.h157 #define _IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
162 (ifq)->ifq_len += (mcount); \
164 #define IF_PREPEND_LIST(ifq, mhead, mtail, mcount) do { \ argument
166 _IF_PREPEND_LIST(ifq, mhead, mtail, mcount); \
/freebsd-13.1/lib/libc/amd64/
H A DSymbol.map14 .mcount;
/freebsd-13.1/lib/libc/i386/
H A DSymbol.map14 .mcount;

12