Home
last modified time | relevance | path

Searched refs:ucount (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-msec_cache.c38 uint16_t ucount; in pt_section_get() local
43 ucount = section->ucount + 1; in pt_section_get()
44 if (!ucount) in pt_section_get()
47 section->ucount = ucount; in pt_section_get()
53 uint16_t ucount; in pt_section_put() local
58 ucount = section->ucount; in pt_section_put()
59 if (!ucount) in pt_section_put()
62 section->ucount = ucount - 1; in pt_section_put()
68 uint16_t ucount, mcount; in pt_section_map() local
73 ucount = section->ucount; in pt_section_map()
[all …]
H A Dptunit-image_section_cache.c56 int ucount; member
110 section->ucount = 1; in pt_mk_section()
213 int errcode, ucount; in pt_section_get() local
222 ucount = ++section->ucount; in pt_section_get()
228 if (!ucount) in pt_section_get()
236 int errcode, ucount; in pt_section_put() local
245 ucount = --section->ucount; in pt_section_put()
251 if (!ucount) { in pt_section_put()
265 int errcode, ucount, acount; in pt_section_attach() local
274 ucount = section->ucount; in pt_section_attach()
[all …]
H A Dptunit-section.c375 sfix->section->ucount = UINT16_MAX; in get_overflow()
380 sfix->section->ucount = 1; in get_overflow()
547 sfix->section->ucount += 2; in attach_detach()
561 sfix->section->ucount -= 2; in attach_detach()
578 sfix->section->ucount += 2; in attach_bad_iscache()
589 sfix->section->ucount -= 2; in attach_bad_iscache()
H A Dptunit-image.c228 section->ucount += 1; in pt_section_get()
235 uint16_t ucount; in pt_section_put() local
244 ucount = section->ucount; in pt_section_put()
245 if (!ucount) { in pt_section_put()
251 ucount = --section->ucount; in pt_section_put()
252 if (!ucount) { in pt_section_put()
473 ptu_int_eq(section.ucount, 0); in fini()
2183 ptu_int_eq(ifix->section[sec].ucount, 0); in ifix_fini()
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_section.c92 section->ucount = 1; in pt_mk_section()
181 uint16_t ucount; in pt_section_get() local
191 ucount = section->ucount + 1; in pt_section_get()
192 if (!ucount) { in pt_section_get()
197 section->ucount = ucount; in pt_section_get()
204 uint16_t ucount, mcount; in pt_section_put() local
215 ucount = section->ucount; in pt_section_put()
216 if (ucount > 1) { in pt_section_put()
217 section->ucount = ucount - 1; in pt_section_put()
225 if (!ucount || mcount) in pt_section_put()
[all …]
/freebsd/lib/libsecureboot/openpgp/
H A Dopgp_sig.c116 int ucount = 0;
165 ucount = octets2i(ptr, 2);
167 while (ucount > 0) {
169 ucount -= n;
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_section.h143 uint16_t ucount; member
/freebsd/usr.bin/systat/
H A Dvmstat.c133 static int ucount(void);
444 putint(ucount(), STATROW, STATCOL, 5); in showkre()
595 ucount(void) in ucount() function
/freebsd/sys/kern/
H A Dvfs_syscalls.c4030 ssize_t resid, ucount; in freebsd11_kern_getdirentries() local
4045 ucount = 0; in freebsd11_kern_getdirentries()
4048 ucount < count && dp < edp; ) { in freebsd11_kern_getdirentries()
4077 MPASS(ucount + dstdp.d_reclen <= count); in freebsd11_kern_getdirentries()
4080 error = copyout(&dstdp, ubuf + ucount, dstdp.d_reclen); in freebsd11_kern_getdirentries()
4084 ucount += dstdp.d_reclen; in freebsd11_kern_getdirentries()
4090 td->td_retval[0] = ucount; in freebsd11_kern_getdirentries()