Home
last modified time | relevance | path

Searched refs:psz (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/jemalloc/include/jemalloc/internal/
H A Dsz.h57 sz_psz2ind(size_t psz) { in sz_psz2ind()
58 assert(psz > 0); in sz_psz2ind()
59 if (unlikely(psz > SC_LARGE_MAXCLASS)) { in sz_psz2ind()
62 /* x is the lg of the first base >= psz. */ in sz_psz2ind()
63 pszind_t x = lg_ceil(psz); in sz_psz2ind()
71 * off_to_first_ps_rg is 1 when psz is (PAGE * SC_NGROUP + 1). in sz_psz2ind()
86 * Let's write psz in binary, e.g. 0011 for 0x3, 0111 for 0x7. in sz_pind2sz_compute()
87 * The leftmost bits whose len is lg_base decide the base of psz. in sz_pind2sz_compute()
97 * Why use (psz - 1)? in sz_pind2sz_lookup()
98 * To handle case: psz in sz_pind2sz_lookup()
53 sz_psz2ind(size_t psz) sz_psz2ind() argument
107 sz_psz2u(size_t psz) sz_psz2u() argument
[all...]
H A Dsc.h304 bool psz;
281 bool psz; global() member
/freebsd/lib/libc/gen/
H A Duexterr_format.c139 int nextarg = 1, psz; in uexterr_format_msg() local
144 psz = snprintf(buf, bufsz, f, a); \ in uexterr_format_msg()
145 if (psz > bufsz) \ in uexterr_format_msg()
147 buf += psz; \ in uexterr_format_msg()
148 bufsz -= psz; \ in uexterr_format_msg()
/freebsd/contrib/jemalloc/src/
H A Dsc.c66 sc->psz = (size % (ZU(1) << lg_page) == 0); in size_class()
68 assert(!sc->psz); in size_class()
120 if (sc->psz) { in size_classes()
148 if (sc->psz) { in size_classes()
161 if (sc->psz) { in size_classes()
189 if (sc->psz) { in size_classes()
H A Dsz.c61 if (sc->psz) { in sz_boot()
H A Dextent.c345 size_t psz = extent_size_quantize_floor(size); extents_insert_locked() local
376 size_t psz = extent_size_quantize_floor(size); extents_remove_locked() local
/freebsd/sys/sys/
H A Dselect.h91 __size_t psz = __ssp_bos0(p); in __fdset_idx() local
96 if (psz / sizeof(__fd_mask) < (sidx + 1)) in __fdset_idx()
/freebsd/contrib/mandoc/
H A Dcgi.c64 size_t psz; /* number of available manpaths */ member
494 if (req->psz > 1) { in resp_searchform()
497 for (i = 0; i < (int)req->psz; i++) { in resp_searchform()
531 for (i = 0; i < req->psz; i++) in validate_manpath()
1185 for (i = 0; i < (int)req.psz; i++) in main()
1286 (req->psz + 1) * sizeof(char *)); in parse_manpath_conf()
1299 req->p[req->psz++] = dp; in parse_manpath_conf()
H A Dmandocdb.c1972 render_string(char **public, size_t *psz) in render_string() argument
1988 ssz = *psz; in render_string()
1992 while (scp < src + *psz) { in render_string()
2086 *psz = dsz; in render_string()
2091 while (*psz > 0 && (*public)[*psz - 1] == ' ') in render_string()
2092 --*psz; in render_string()
2094 (*public)[*psz] = '\0'; in render_string()
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DFormattersHelpers.h180 InferiorSizedWord(uint64_t val, size_t psz) : ptr_size(psz) { in InferiorSizedWord()
/freebsd/contrib/one-true-awk/
H A Dlex.c111 static int gettok(char **pbuf, int *psz) /* get next input token */ in gettok() argument
115 int sz = *psz; in gettok()
170 *psz = sz; in gettok()
/freebsd/stand/ficl/
H A Dficl.h319 #define SI_PSZ(si, psz) \ argument
320 {si.cp = psz; si.count = (FICL_COUNT)strlen(psz);}
/freebsd/crypto/krb5/src/windows/leashdll/
H A Dlsh_pwd.c584 POINT pxy, psz; in PasswordProc() local
592 psz.x = r.right - r.left; in PasswordProc()
593 psz.y = r.bottom - r.top; in PasswordProc()
607 psz.x, psz.y, /* width, height */ in PasswordProc()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_cxt.c967 u32 conn_num, total_size, ent_per_page, psz, i; in ecore_cxt_src_t2_alloc() local
987 psz = ILT_PAGE_IN_BYTES(p_src->p_size.val); in ecore_cxt_src_t2_alloc()
988 p_mngr->t2_num_pages = DIV_ROUND_UP(total_size, psz); in ecore_cxt_src_t2_alloc()
1002 u32 size = OSAL_MIN_T(u32, total_size, psz); in ecore_cxt_src_t2_alloc()
1020 ent_per_page = psz / sizeof(struct src_ent); in ecore_cxt_src_t2_alloc()
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c2115 t4_init_ppod_region(struct ppod_region *pr, struct t4_range *r, u_int psz, in t4_init_ppod_region() argument
2125 pr->pr_page_shift[0] = 12 + G_HPZ0(psz); in t4_init_ppod_region()
2126 pr->pr_page_shift[1] = 12 + G_HPZ1(psz); in t4_init_ppod_region()
2127 pr->pr_page_shift[2] = 12 + G_HPZ2(psz); in t4_init_ppod_region()
2128 pr->pr_page_shift[3] = 12 + G_HPZ3(psz); in t4_init_ppod_region()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c1017 uintptr_t psz = sizeof (void *); in dtrace_canload_remains() local
1041 if (DTRACE_INRANGE(addr, sz, &vp->v_path, psz)) { in dtrace_canload_remains()
1043 psz); in dtrace_canload_remains()
1054 if (DTRACE_INRANGE(addr, sz, &vp->v_op, psz)) { in dtrace_canload_remains()
1056 psz); in dtrace_canload_remains()
1062 DTRACE_INRANGE(addr, sz, &op->vnop_name, psz)) { in dtrace_canload_remains()
1064 &op->vnop_name, psz); in dtrace_canload_remains()