Home
last modified time | relevance | path

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

/openbsd/usr.bin/ctfconv/
H A Dpool.c48 pp->pr_size = size; in pool_init()
64 p = xreallocarray(NULL, pp->pr_nmemb, pp->pr_size); in pool_get()
68 p += pp->pr_size; in pool_get()
H A Dpool.h29 size_t pr_size; /* size of an item */ member
/openbsd/regress/sys/net/rtable/
H A Dkern_compat.h51 size_t pr_size; member
54 #define pool_init(a, b, c, d, e, f, g) do { (a)->pr_size = (b); } while (0)
56 #define pool_get(pp, flags) malloc((pp)->pr_size, 0, 0)
/openbsd/sys/kern/
H A Dsubr_pool.c417 pp->pr_size = size; in pool_init()
439 space -= pp->pr_itemsperpage * pp->pr_size; in pool_init()
458 if (phpool.pr_size == 0) { in pool_init()
620 memset(v, 0, pp->pr_size); in pool_get()
926 KASSERT(pp->pr_size >= sizeof(*pi)); in pool_p_alloc()
976 addr += pp->pr_size; in pool_p_alloc()
1315 PRWORD(ovflw, " %*u", 4, 1, pp->pr_size); in db_show_all_pools()
1439 cp += pp->pr_size; in pool_walk()
1457 cp += pp->pr_size; in pool_walk()
1514 pi.pr_size = pp->pr_size; in sysctl_dopool()
[all …]
H A Dsubr_prof.c298 upp->pr_size = SCARG(uap, size); in sys_profil()
348 if (pc < prof->pr_off || PC_TO_INDEX(pc, prof) >= prof->pr_size) in addupc_intr()
377 (i = PC_TO_INDEX(pc, prof)) >= prof->pr_size) in addupc_task()
H A Dsubr_extent.c65 size_t pr_size; member
68 #define pool_init(a, b, c, d, e, f, g) do { (a)->pr_size = (b); } while (0)
69 #define pool_get(pp, flags) malloc((pp)->pr_size, 0, 0)
H A Duipc_mbuf.c366 if (pktlen <= pp->pr_size) in m_clpool()
399 MEXTADD(m, buf, pp->pr_size, M_EXTWR, MEXTFREE_POOL, pp); in m_clget()
/openbsd/sys/sys/
H A Dpool.h50 unsigned int pr_size; /* size of a pool item */ member
166 unsigned int pr_size; /* Size of item */ member
H A Dproc.h245 size_t pr_size; /* buffer size */ member
/openbsd/usr.bin/systat/
H A Dpool.c265 if (p1->pool.pr_size < p2->pool.pr_size) in sort_psize_callback()
267 if (p1->pool.pr_size > p2->pool.pr_size) in sort_psize_callback()
410 print_fld_uint(FLD_POOL_SIZE, p->pool.pr_size); in showpool()
H A Dmbufs.c180 ifr[mclpool_count].ifr_size = pool.pr_size; in initmembufs()
400 print_fld_size(FLD_MB_MSIZE, mbpool.pr_size); in showmbuf()
/openbsd/usr.bin/vmstat/
H A Dvmstat.c941 PRWORD(ovflw, " %*u", 5, 1, pp->pr_size); in print_pool()
1006 inuse += (pool.pr_nget - pool.pr_nput) * pool.pr_size; in dopool_sysctl()
1046 pi.pr_size = pp->pr_size; in dopool_kvm()
1065 inuse += (pi.pr_nget - pi.pr_nput) * pi.pr_size; in dopool_kvm()
/openbsd/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_solaris.cpp51 segment->end = (uptr)(xmapentry->pr_vaddr + xmapentry->pr_size); in Next()
/openbsd/usr.bin/netstat/
H A Dmbuf.c195 mclpools[i].pr_size); in mbpr()
/openbsd/gnu/usr.bin/binutils/gdb/
H A Dsolib-aix5.c232 if (prmap->pr_size == 0) in build_so_list_from_mapfile()
292 sop->lm_info->mapping[mapidx].size = prmap->pr_size; in build_so_list_from_mapfile()
H A Dprocfs.c870 ret->pr_size = (pi->num_syscalls + (8 * sizeof (uint64_t) - 1)) in sysset_t_alloc()
2900 pwatch->pr_size = len; in proc_set_watchpoint()
5477 if (map->pr_vaddr == 0 && map->pr_size == 0) in solib_mappings_callback()
5553 map->pr_size, in find_memory_regions_callback()
5762 (unsigned long) map->pr_vaddr + map->pr_size - 1, in info_mappings_callback()
5763 map->pr_size, in info_mappings_callback()
/openbsd/sys/dev/cardbus/
H A Dcardslot.c100 if (cardsloteventpool.pr_size == 0) { in cardslotattach()
/openbsd/sys/net/
H A Dif_etherbridge.c93 if (eb_entry_pool.pr_size == 0) { in etherbridge_init()
H A Dif_bpe.c148 if (bpe_endpoint_pool.pr_size == 0) { in bpe_clone_create()
H A Dppp_tty.c173 if (ppp_pkts.pr_size == 0) { in pppopen()
H A Dif_vxlan.c237 if (vxlan_endpoint_pool.pr_size == 0) { in vxlan_clone_create()
H A Dif_veb.c280 if (veb_rule_pool.pr_size == 0) { in veb_clone_create()
H A Dif_pfsync.c371 if (pfsync_deferrals_pool.pr_size == 0) { in pfsync_clone_create()
H A Dif_gre.c758 if (nvgre_endpoint_pool.pr_size == 0) { in nvgre_clone_create()
/openbsd/gnu/usr.bin/gcc/gcc/
H A DChangeLog.35637 * config/ia64/ia64.c (ia64_compute_frame_size): Don't include pr_size