Symbol: pool
common/lib/libprop/prop_object_impl.h
275
struct pool *pp;
common/lib/libprop/prop_object_impl.h
280
struct pool pp; \
dist/pf/sbin/pfctl/pfctl.c
654
pfctl_get_pool(int dev, struct pf_pool *pool, u_int32_t nr,
dist/pf/sbin/pfctl/pfctl.c
671
TAILQ_INIT(&pool->list);
dist/pf/sbin/pfctl/pfctl.c
682
TAILQ_INSERT_TAIL(&pool->list, pa, entries);
dist/pf/sbin/pfctl/pfctl.c
700
pfctl_clear_pool(struct pf_pool *pool)
dist/pf/sbin/pfctl/pfctl.c
704
while ((pa = TAILQ_FIRST(&pool->list)) != NULL) {
dist/pf/sbin/pfctl/pfctl.c
705
TAILQ_REMOVE(&pool->list, pa, entries);
dist/pf/sbin/pfctl/pfctl_parser.c
440
print_pool(struct pf_pool *pool, u_int16_t p1, u_int16_t p2,
dist/pf/sbin/pfctl/pfctl_parser.c
445
if ((TAILQ_FIRST(&pool->list) != NULL) &&
dist/pf/sbin/pfctl/pfctl_parser.c
446
TAILQ_NEXT(TAILQ_FIRST(&pool->list), entries) != NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
448
TAILQ_FOREACH(pooladdr, &pool->list, entries){
dist/pf/sbin/pfctl/pfctl_parser.c
469
else if (TAILQ_NEXT(TAILQ_FIRST(&pool->list), entries) != NULL)
dist/pf/sbin/pfctl/pfctl_parser.c
492
switch (pool->opts & PF_POOL_TYPEMASK) {
dist/pf/sbin/pfctl/pfctl_parser.c
503
pool->key.key32[0], pool->key.key32[1],
dist/pf/sbin/pfctl/pfctl_parser.c
504
pool->key.key32[2], pool->key.key32[3]);
dist/pf/sbin/pfctl/pfctl_parser.c
510
if (pool->opts & PF_POOL_STICKYADDR)
distrib/utils/more/linenum.c
102
static struct linenum pool[NPOOL]; /* The pool itself */
distrib/utils/more/linenum.c
119
for (p = pool; p < &pool[NPOOL-2]; p++)
distrib/utils/more/linenum.c
121
pool[NPOOL-2].next = NULL;
distrib/utils/more/linenum.c
122
freelist = pool;
distrib/utils/more/linenum.c
124
spare = &pool[NPOOL-1];
games/hack/hack.mon.c
581
boolean pool;
games/hack/hack.mon.c
587
pool = (mon->data->mlet == ';');
games/hack/hack.mon.c
600
if ((ntyp == POOL) == pool) {
games/hack/hack.mon.c
660
if (!cnt && pool && nowtyp != POOL) {
games/hack/hack.mon.c
661
pool = FALSE;
regress/sys/kern/allocfree/allocfree.c
114
p = pool_get(&pool, PR_WAITOK);
regress/sys/kern/allocfree/allocfree.c
117
pool_put(&pool, p);
regress/sys/kern/allocfree/allocfree.c
262
pool_init(&pool, sz, 0, 0, 0, "tpool",
regress/sys/kern/allocfree/allocfree.c
267
pool_destroy(&pool);
regress/sys/kern/allocfree/allocfree.c
60
static struct pool pool;
sys/arch/aarch64/include/pmap.h
271
struct pool *pm_pvpool;
sys/arch/alpha/alpha/pmap.c
3395
pmap_pv_page_alloc(struct pool *pp, int flags)
sys/arch/alpha/alpha/pmap.c
3410
pmap_pv_page_free(struct pool *pp, void *v)
sys/arch/alpha/alpha/pmap.c
3654
pmap_l1pt_alloc(struct pool *pp, int flags)
sys/arch/alpha/alpha/pmap.c
3672
pmap_l1pt_free(struct pool *pp, void *v)
sys/arch/alpha/alpha/pmap.c
473
static void *pmap_l1pt_alloc(struct pool *, int);
sys/arch/alpha/alpha/pmap.c
474
static void pmap_l1pt_free(struct pool *, void *);
sys/arch/alpha/alpha/pmap.c
489
static void *pmap_pv_page_alloc(struct pool *, int);
sys/arch/alpha/alpha/pmap.c
490
static void pmap_pv_page_free(struct pool *, void *);
sys/arch/amd64/amd64/machdep.c
1701
struct entpool pool;
sys/arch/amd64/amd64/machdep.c
1707
memset(&pool, 0, sizeof pool);
sys/arch/amd64/amd64/machdep.c
1709
entpool_enter(&pool, &sample, sizeof sample);
sys/arch/amd64/amd64/machdep.c
1765
entpool_enter(&pool, &sample, sizeof sample);
sys/arch/amd64/amd64/machdep.c
1766
entpool_extract(&pool, &randhole, sizeof randhole);
sys/arch/amd64/amd64/machdep.c
1767
entpool_extract(&pool, &randva, sizeof randva);
sys/arch/amd64/amd64/machdep.c
1776
entpool_enter(&pool, &sample, sizeof sample);
sys/arch/amd64/amd64/machdep.c
1777
entpool_extract(&pool, &randhole, sizeof randhole);
sys/arch/amd64/amd64/machdep.c
1778
entpool_extract(&pool, &randva, sizeof randva);
sys/arch/amd64/amd64/machdep.c
1783
explicit_memset(&pool, 0, sizeof pool);
sys/arch/arm/arm32/pmap.c
273
static struct pool pmap_pv_pool;
sys/arch/arm/arm32/pmap.c
274
static void *pmap_bootstrap_pv_page_alloc(struct pool *, int);
sys/arch/arm/arm32/pmap.c
275
static void pmap_bootstrap_pv_page_free(struct pool *, void *);
sys/arch/arm/arm32/pmap.c
6691
pmap_bootstrap_pv_page_alloc(struct pool *pp, int flags)
sys/arch/arm/arm32/pmap.c
6693
extern void *pool_page_alloc(struct pool *, int);
sys/arch/arm/arm32/pmap.c
6716
pmap_bootstrap_pv_page_free(struct pool *pp, void *v)
sys/arch/arm/arm32/pmap.c
6718
extern void pool_page_free(struct pool *, void *);
sys/arch/arm/arm32/pmap.c
6735
pmap_l1tt_alloc(struct pool *pp, int flags)
sys/arch/arm/arm32/pmap.c
6780
pmap_l1tt_free(struct pool *pp, void *v)
sys/arch/arm/arm32/pmap.c
752
static void * pmap_l1tt_alloc(struct pool *, int);
sys/arch/arm/arm32/pmap.c
753
static void pmap_l1tt_free(struct pool *, void *);
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
505
struct hd64461pcmcia_event *pe, *pool;
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
514
pool = sc->sc_event_pool;
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
516
if (!pool[i].__queued) {
sys/arch/hpcsh/dev/hd64461/hd64461pcmcia.c
517
pe = &pool[i];
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
407
struct hd64465pcmcia_event *pe, *pool;
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
416
pool = sc->sc_event_pool;
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
418
if (!pool[i].__queued) {
sys/arch/hpcsh/dev/hd64465/hd64465pcmcia.c
419
pe = &pool[i];
sys/arch/hppa/hppa/machdep.c
268
struct pool hppa_fppl;
sys/arch/hppa/hppa/pmap.c
106
struct pool pmap_pool;
sys/arch/hppa/hppa/pmap.c
107
struct pool pmap_pv_pool;
sys/arch/hppa/hppa/vm_machdep.c
52
extern struct pool hppa_fppl;
sys/arch/m68k/m68k/pmap_68k.c
744
static struct pool pmap_pool;
sys/arch/m68k/m68k/pmap_68k.c
745
static struct pool pmap_pv_pool;
sys/arch/m68k/m68k/pmap_motorola.c
301
struct pool pmap_pmap_pool; /* memory pool for pmap structures */
sys/arch/m68k/m68k/pmap_motorola.c
302
struct pool pmap_pv_pool; /* memory pool for pv entries */
sys/arch/mac68k/include/iopreg.h
138
struct pool pool;
sys/arch/mac68k/mac68k/iop.c
168
pool_init(&iop->pool, sizeof(struct iop_msg), 0, 0, 0, "mac68k_iop1",
sys/arch/mac68k/mac68k/iop.c
176
pool_init(&iop->pool, sizeof(struct iop_msg), 0, 0, 0, "mac68k_iop2",
sys/arch/mac68k/mac68k/iop.c
322
pool_put(&iop->pool, msg);
sys/arch/mac68k/mac68k/iop.c
357
pool_put(&iop->pool, msg);
sys/arch/mac68k/mac68k/iop.c
380
msg = (struct iop_msg *) pool_get(&iop->pool, PR_WAITOK);
sys/arch/mac68k/mac68k/iop.c
420
msg = (struct iop_msg *) pool_get(&iop->pool, PR_WAITOK);
sys/arch/mips/cavium/dev/octeon_pkovar.h
117
octpko_cmd_word1(int i, int back, int pool, int size, paddr_t addr)
sys/arch/mips/cavium/dev/octeon_pkovar.h
122
__SHIFTIN(pool, PKO_CMD_WORD1_POOL) |
sys/arch/or1k/include/pmap.h
45
struct pool *pm_pvpool;
sys/arch/powerpc/ibm4xx/pmap.c
195
static struct pool pv_pool;
sys/arch/powerpc/oea/pmap.c
1528
pmap_pvo_enter(pmap_t pm, struct pool *pl, struct pvo_head *pvo_head,
sys/arch/powerpc/oea/pmap.c
175
#define pmap_pool PMAPNAME(pool)
sys/arch/powerpc/oea/pmap.c
2886
pmap_pool_alloc(struct pool *pp, int flags)
sys/arch/powerpc/oea/pmap.c
2914
pmap_pool_free(struct pool *pp, void *va)
sys/arch/powerpc/oea/pmap.c
342
struct pool pmap_pool; /* pool for pmap structures */
sys/arch/powerpc/oea/pmap.c
343
struct pool pmap_pvo_pool; /* pool for pvo entries */
sys/arch/powerpc/oea/pmap.c
345
static void *pmap_pool_alloc(struct pool *, int);
sys/arch/powerpc/oea/pmap.c
346
static void pmap_pool_free(struct pool *, void *);
sys/arch/powerpc/oea/pmap.c
379
static int pmap_pvo_enter(pmap_t, struct pool *, struct pvo_head *,
sys/arch/sh3/sh3/pmap.c
70
STATIC struct pool __pmap_pmap_pool;
sys/arch/sh3/sh3/pmap.c
82
STATIC void *__pmap_pv_page_alloc(struct pool *, int);
sys/arch/sh3/sh3/pmap.c
83
STATIC void __pmap_pv_page_free(struct pool *, void *);
sys/arch/sh3/sh3/pmap.c
84
STATIC struct pool __pmap_pv_pool;
sys/arch/sh3/sh3/pmap.c
936
__pmap_pv_page_alloc(struct pool *pool, int flags)
sys/arch/sh3/sh3/pmap.c
948
__pmap_pv_page_free(struct pool *pool, void *v)
sys/arch/sparc/sparc/pmap.c
208
static struct pool pv_pool;
sys/arch/sparc/sparc/pmap.c
413
static struct pool L1_pool;
sys/arch/sparc/sparc/pmap.c
414
static struct pool L23_pool;
sys/arch/sparc/sparc/pmap.c
416
static void *pgt_page_alloc(struct pool *, int);
sys/arch/sparc/sparc/pmap.c
417
static void pgt_page_free(struct pool *, void *);
sys/arch/sparc/sparc/pmap.c
429
static struct pool pte_pool;
sys/arch/sparc/sparc/pmap.c
455
static struct pool segmap_pool;
sys/arch/sparc/sparc/pmap.c
907
pgt_page_alloc(struct pool *pp, int flags)
sys/arch/sparc/sparc/pmap.c
952
pgt_page_free(struct pool *pp, void *v)
sys/arch/sparc64/dev/vnet.c
178
struct pool sc_pool;
sys/arch/sun2/sun2/pmap.c
223
struct pool pmap_pmap_pool;
sys/arch/sun3/sun3/pmap.c
230
struct pool pmap_pmap_pool;
sys/arch/sun3/sun3x/pmap.c
282
struct pool pmap_pmap_pool;
sys/arch/usermode/usermode/pmap.c
107
static struct pool pmap_pool;
sys/arch/usermode/usermode/pmap.c
108
static struct pool pmap_pventry_pool;
sys/arch/x86/x86/dbregs.c
41
struct pool x86_dbregspl;
sys/arch/x86/x86/pmap.c
2843
pmap_pdp_alloc(struct pool *pp, int flags)
sys/arch/x86/x86/pmap.c
2853
pmap_pdp_free(struct pool *pp, void *v)
sys/arch/x86/x86/pmap.c
428
static struct pool pmap_pdp_pool;
sys/arch/x86/x86/pmap.c
434
static void *pmap_pdp_alloc(struct pool *, int);
sys/arch/x86/x86/pmap.c
435
static void pmap_pdp_free(struct pool *, void *);
sys/arch/x86/x86/vm_machdep.c
110
extern struct pool x86_dbregspl;
sys/ddb/db_command.c
1293
pool_printit((struct pool *)(uintptr_t) addr, modif, db_printf);
sys/dev/ata/ata.c
92
static struct pool ata_xfer_pool;
sys/dev/cgd.c
668
struct pool *cp;
sys/dev/cgd.c
672
cp = kmem_alloc(sizeof(struct pool), KM_SLEEP);
sys/dev/cgd.c
677
kmem_free(cp, sizeof(struct pool));
sys/dev/cgd.c
706
kmem_free(cw->cw_cpool, sizeof(struct pool));
sys/dev/cgdvar.h
99
struct pool *cw_cpool; /* cgd_xfer contexts */
sys/dev/dm/dm_target_delay.c
302
dp = pool_get(&pool, PR_WAITOK);
sys/dev/dm/dm_target_delay.c
364
pool_put(&pool, dp);
sys/dev/dm/dm_target_delay.c
499
pool_init(&pool, sizeof(struct dm_delay_buf), 0, 0, 0,
sys/dev/dm/dm_target_delay.c
511
pool_destroy(&pool);
sys/dev/dm/dm_target_delay.c
83
static struct pool pool;
sys/dev/dmover/dmover_io.c
130
struct pool dmio_state_pool;
sys/dev/dmover/dmover_io.c
131
struct pool dmio_usrreq_state_pool;
sys/dev/dmover/dmover_session.c
52
struct pool dmover_session_pool;
sys/dev/ic/ncr53c9x.c
154
static struct pool ecb_pool;
sys/dev/ic/wd33c93.c
151
static struct pool wd33c93_pool; /* Adapter Control Blocks */
sys/dev/isa/isadma.c
726
_isa_malloc(struct isa_dma_state *ids, int chan, size_t size, struct malloc_type *pool, int flags)
sys/dev/isa/isadma.c
741
m = malloc(sizeof(*m), pool, flags);
sys/dev/isa/isadma.c
758
_isa_free(void *addr, struct malloc_type *pool)
sys/dev/isa/isadma.c
774
free(m, pool);
sys/dev/pci/if_bnx.c
404
struct pool *bnx_tx_pool = NULL;
sys/dev/pci/if_bwfm_pci.c
161
struct pool sc_flowring_pool;
sys/dev/pci/ixgbe/if_sriov.c
102
hw->mbx.ops[vf->pool].write(hw, &msg, 1, vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
228
vmolr = IXGBE_READ_REG(hw, IXGBE_VMOLR(vf->pool));
sys/dev/pci/ixgbe/if_sriov.c
252
IXGBE_WRITE_REG(hw, IXGBE_VMOLR(vf->pool), vmolr);
sys/dev/pci/ixgbe/if_sriov.c
253
IXGBE_WRITE_REG(hw, IXGBE_VMVIR(vf->pool), vmvir);
sys/dev/pci/ixgbe/if_sriov.c
261
uint32_t vf_index = IXGBE_VF_INDEX(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
328
ixgbe_toggle_txdctl(&sc->hw, IXGBE_VF_INDEX(vf->pool));
sys/dev/pci/ixgbe/if_sriov.c
342
vf_index = IXGBE_VF_INDEX(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
344
vfte |= IXGBE_VF_BIT(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
357
vf_index = IXGBE_VF_INDEX(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
360
vfre |= IXGBE_VF_BIT(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
362
vfre &= ~IXGBE_VF_BIT(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
380
vf->pool, TRUE);
sys/dev/pci/ixgbe/if_sriov.c
393
hw->mbx.ops.write(hw, resp, IXGBE_VF_PERMADDR_MSG_LEN, vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
417
ixgbe_set_rar(&sc->hw, vf->rar_index, vf->ether_addr, vf->pool,
sys/dev/pci/ixgbe/if_sriov.c
438
vmolr = IXGBE_READ_REG(&sc->hw, IXGBE_VMOLR(vf->pool));
sys/dev/pci/ixgbe/if_sriov.c
453
IXGBE_WRITE_REG(&sc->hw, IXGBE_VMOLR(vf->pool), vmolr);
sys/dev/pci/ixgbe/if_sriov.c
480
ixgbe_set_vfta(hw, tag, vf->pool, enable, false);
sys/dev/pci/ixgbe/if_sriov.c
584
hw->mbx.ops.write(hw, resp, IXGBE_VF_GET_QUEUES_RESP_LEN, vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
597
error = hw->mbx.ops[vf->pool].read(hw, msg, IXGBE_VFMAILBOX_SIZE,
sys/dev/pci/ixgbe/if_sriov.c
598
vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
604
sc->ifp->if_xname, msg[0], vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
662
if (hw->mbx.ops[vf->pool].check_for_rst(hw, vf->pool) == 0)
sys/dev/pci/ixgbe/if_sriov.c
665
if (hw->mbx.ops[vf->pool].check_for_msg(hw, vf->pool) == 0)
sys/dev/pci/ixgbe/if_sriov.c
668
if (hw->mbx.ops[vf->pool].check_for_ack(hw, vf->pool) == 0)
sys/dev/pci/ixgbe/if_sriov.c
700
sc->pool = sc->iov_mode - 1;
sys/dev/pci/ixgbe/if_sriov.c
702
if ((num_vfs > sc->pool) || (num_vfs >= IXGBE_64_VM)) {
sys/dev/pci/ixgbe/if_sriov.c
732
sc->pool = 0;
sys/dev/pci/ixgbe/if_sriov.c
751
pf_reg = IXGBE_VF_INDEX(sc->pool);
sys/dev/pci/ixgbe/if_sriov.c
752
IXGBE_WRITE_REG(hw, IXGBE_VFRE(pf_reg), IXGBE_VF_BIT(sc->pool));
sys/dev/pci/ixgbe/if_sriov.c
753
IXGBE_WRITE_REG(hw, IXGBE_VFTE(pf_reg), IXGBE_VF_BIT(sc->pool));
sys/dev/pci/ixgbe/if_sriov.c
785
vf_index = IXGBE_VF_INDEX(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
787
pfmbimr |= IXGBE_VF_BIT(vf->pool);
sys/dev/pci/ixgbe/if_sriov.c
796
vf->ether_addr, vf->pool, TRUE);
sys/dev/pci/ixgbe/if_sriov.c
851
vf_reg = IXGBE_VF_INDEX(sc->pool);
sys/dev/pci/ixgbe/if_sriov.c
852
IXGBE_WRITE_REG(hw, IXGBE_VFRE(vf_reg), IXGBE_VF_BIT(sc->pool));
sys/dev/pci/ixgbe/if_sriov.c
853
IXGBE_WRITE_REG(hw, IXGBE_VFTE(vf_reg), IXGBE_VF_BIT(sc->pool));
sys/dev/pci/ixgbe/if_sriov.c
859
vt_ctl |= (sc->pool << IXGBE_VT_CTL_POOL_SHIFT);
sys/dev/pci/ixgbe/if_sriov.c
89
index = ixgbe_vf_que_index(sc->iov_mode, sc->pool, i);
sys/dev/pci/ixgbe/if_sriov.c
896
vf->pool= vfnum;
sys/dev/pci/ixgbe/ix_txrx.c
2393
txr->me = ixgbe_vf_que_index(sc->iov_mode, sc->pool,
sys/dev/pci/ixgbe/ix_txrx.c
2443
rxr->me = ixgbe_vf_que_index(sc->iov_mode, sc->pool,
sys/dev/pci/ixgbe/ixgbe.c
4084
ixgbe_set_rar(hw, 0, hw->mac.addr, sc->pool, IXGBE_RAH_AV);
sys/dev/pci/ixgbe/ixgbe.c
4089
ixgbe_set_rar(hw, 0, hw->mac.addr, sc->pool, 1);
sys/dev/pci/ixgbe/ixgbe.c
4546
mta[mcnt].vmdq = sc->pool;
sys/dev/pci/ixgbe/ixgbe.h
448
u_int pool;
sys/dev/pci/ixgbe/ixgbe.h
586
int pool;
sys/dev/pci/ixgbe/ixgbe_api.c
1227
unsigned int pool)
sys/dev/pci/ixgbe/ixgbe_api.c
1230
hw->mac.ops.set_source_address_pruning(hw, enable, pool);
sys/dev/pci/ixgbe/ixgbe_x550.c
1222
unsigned int pool)
sys/dev/pci/ixgbe/ixgbe_x550.c
1227
if (pool > 63)
sys/dev/pci/ixgbe/ixgbe_x550.c
1234
pfflp |= (1ULL << pool);
sys/dev/pci/ixgbe/ixgbe_x550.c
1236
pfflp &= ~(1ULL << pool);
sys/dev/pci/ixgbe/ixgbe_x550.h
63
unsigned int pool);
sys/dev/raidframe/rf_netbsd.h
110
extern struct pool rf_alloclist_pool; /* AllocList */
sys/dev/raidframe/rf_netbsd.h
111
void rf_pool_init(RF_Raid_t *, char *, struct pool *, size_t, const char *, size_t, size_t);
sys/dev/raidframe/rf_netbsd.h
60
struct pool asm_hdr; /* Access Stripe Map Header */
sys/dev/raidframe/rf_netbsd.h
61
struct pool asmap; /* Access Stripe Map */
sys/dev/raidframe/rf_netbsd.h
62
struct pool asmhle; /* Access Stripe Map Header List Elements */
sys/dev/raidframe/rf_netbsd.h
63
struct pool bufio; /* Buffer IO Pool */
sys/dev/raidframe/rf_netbsd.h
64
struct pool callbackf; /* Callback function descriptors */
sys/dev/raidframe/rf_netbsd.h
65
struct pool callbackv; /* Callback value descriptors */
sys/dev/raidframe/rf_netbsd.h
66
struct pool dagh; /* DAG headers */
sys/dev/raidframe/rf_netbsd.h
67
struct pool dagnode; /* DAG nodes */
sys/dev/raidframe/rf_netbsd.h
68
struct pool daglist; /* DAG lists */
sys/dev/raidframe/rf_netbsd.h
69
struct pool dagpcache; /* DAG pointer/param cache */
sys/dev/raidframe/rf_netbsd.h
70
struct pool dqd; /* Disk Queue Data */
sys/dev/raidframe/rf_netbsd.h
71
struct pool fss; /* Failed Stripe Structures */
sys/dev/raidframe/rf_netbsd.h
72
struct pool funclist; /* Function Lists */
sys/dev/raidframe/rf_netbsd.h
73
struct pool mcpair; /* Mutex/Cond Pairs */
sys/dev/raidframe/rf_netbsd.h
74
struct pool pda; /* Physical Disk Access structures */
sys/dev/raidframe/rf_netbsd.h
75
struct pool pss; /* Parity Stripe Status */
sys/dev/raidframe/rf_netbsd.h
76
struct pool rad; /* Raid Access Descriptors */
sys/dev/raidframe/rf_netbsd.h
77
struct pool reconbuffer; /* reconstruction buffer (header) pool */
sys/dev/raidframe/rf_netbsd.h
78
struct pool revent; /* reconstruct events */
sys/dev/raidframe/rf_netbsd.h
79
struct pool stripelock; /* StripeLock */
sys/dev/raidframe/rf_netbsd.h
80
struct pool vfple; /* VoidFunctionPtr List Elements */
sys/dev/raidframe/rf_netbsd.h
81
struct pool vple; /* VoidPointer List Elements */
sys/dev/raidframe/rf_netbsdkintf.c
329
struct pool rf_alloclist_pool; /* AllocList */
sys/dev/raidframe/rf_netbsdkintf.c
3729
rf_pool_init(RF_Raid_t *raidPtr, char *w_chan, struct pool *p, size_t size, const char *pool_name,
sys/dev/raidframe/rf_paritylogDiskMgr.c
100
RF_ASSERT(pool->availableBuffers <= pool->totalBuffers);
sys/dev/raidframe/rf_paritylogDiskMgr.c
104
rf_signal_cond2(pool->cond);
sys/dev/raidframe/rf_paritylogDiskMgr.c
105
rf_unlock_mutex2(pool->mutex);
sys/dev/raidframe/rf_paritylogDiskMgr.c
63
AcquireReintBuffer(RF_RegionBufferQueue_t *pool)
sys/dev/raidframe/rf_paritylogDiskMgr.c
70
rf_lock_mutex2(pool->mutex);
sys/dev/raidframe/rf_paritylogDiskMgr.c
71
if (pool->availableBuffers > 0) {
sys/dev/raidframe/rf_paritylogDiskMgr.c
72
bufPtr = pool->buffers[pool->availBuffersIndex];
sys/dev/raidframe/rf_paritylogDiskMgr.c
73
pool->availableBuffers--;
sys/dev/raidframe/rf_paritylogDiskMgr.c
74
pool->availBuffersIndex++;
sys/dev/raidframe/rf_paritylogDiskMgr.c
75
if (pool->availBuffersIndex == pool->totalBuffers)
sys/dev/raidframe/rf_paritylogDiskMgr.c
76
pool->availBuffersIndex = 0;
sys/dev/raidframe/rf_paritylogDiskMgr.c
77
rf_unlock_mutex2(pool->mutex);
sys/dev/raidframe/rf_paritylogDiskMgr.c
81
rf_wait_cond2(pool->cond, pool->mutex);
sys/dev/raidframe/rf_paritylogDiskMgr.c
88
RF_RegionBufferQueue_t * pool,
sys/dev/raidframe/rf_paritylogDiskMgr.c
94
rf_lock_mutex2(pool->mutex);
sys/dev/raidframe/rf_paritylogDiskMgr.c
95
pool->availableBuffers++;
sys/dev/raidframe/rf_paritylogDiskMgr.c
96
pool->buffers[pool->emptyBuffersIndex] = bufPtr;
sys/dev/raidframe/rf_paritylogDiskMgr.c
97
pool->emptyBuffersIndex++;
sys/dev/raidframe/rf_paritylogDiskMgr.c
98
if (pool->emptyBuffersIndex == pool->totalBuffers)
sys/dev/raidframe/rf_paritylogDiskMgr.c
99
pool->emptyBuffersIndex = 0;
sys/dev/raidframe/rf_reconmap.h
65
struct pool elem_pool; /* pool of RF_ReconMapListElem_t's */
sys/dev/raidframe/rf_reconstruct.h
188
extern struct pool rf_reconbuffer_pool;
sys/dev/scsipi/scsipi_base.c
122
static struct pool scsipi_xfer_pool;
sys/dev/vndvar.h
124
struct pool sc_vxpool; /* vndxfer pool */
sys/dev/vndvar.h
125
struct pool sc_vbpool; /* vndbuf pool */
sys/dist/pf/net/pf.c
149
struct pool pf_src_tree_pl, pf_rule_pl, pf_pooladdr_pl;
sys/dist/pf/net/pf.c
150
struct pool pf_state_pl, pf_state_key_pl;
sys/dist/pf/net/pf.c
151
struct pool pf_altq_pl;
sys/dist/pf/net/pf.c
257
extern struct pool pfr_ktable_pl;
sys/dist/pf/net/pf.c
258
extern struct pool pfr_kentry_pl;
sys/dist/pf/net/pf_if.c
69
struct pool pfi_addr_pl;
sys/dist/pf/net/pf_ioctl.c
1256
struct pf_pool *pool = NULL;
sys/dist/pf/net/pf_ioctl.c
2438
pool = pf_get_pool(pp->anchor, pp->ticket, pp->r_action,
sys/dist/pf/net/pf_ioctl.c
2440
if (pool == NULL) {
sys/dist/pf/net/pf_ioctl.c
2444
TAILQ_FOREACH(pa, &pool->list, entries)
sys/dist/pf/net/pf_ioctl.c
2453
pool = pf_get_pool(pp->anchor, pp->ticket, pp->r_action,
sys/dist/pf/net/pf_ioctl.c
2455
if (pool == NULL) {
sys/dist/pf/net/pf_ioctl.c
2459
pa = TAILQ_FIRST(&pool->list);
sys/dist/pf/net/pf_ioctl.c
2497
pool = pf_get_pool(pca->anchor, pca->ticket, pca->r_action,
sys/dist/pf/net/pf_ioctl.c
2499
if (pool == NULL) {
sys/dist/pf/net/pf_ioctl.c
2545
oldpa = TAILQ_FIRST(&pool->list);
sys/dist/pf/net/pf_ioctl.c
2547
oldpa = TAILQ_LAST(&pool->list, pf_palist);
sys/dist/pf/net/pf_ioctl.c
2551
oldpa = TAILQ_FIRST(&pool->list);
sys/dist/pf/net/pf_ioctl.c
2563
TAILQ_REMOVE(&pool->list, oldpa, entries);
sys/dist/pf/net/pf_ioctl.c
2570
TAILQ_INSERT_TAIL(&pool->list, newpa, entries);
sys/dist/pf/net/pf_ioctl.c
2575
TAILQ_INSERT_AFTER(&pool->list, oldpa,
sys/dist/pf/net/pf_ioctl.c
2579
pool->cur = TAILQ_FIRST(&pool->list);
sys/dist/pf/net/pf_ioctl.c
2580
PF_ACPY(&pool->counter, &pool->cur->addr.v.a.addr,
sys/dist/pf/net/pf_norm.c
140
struct pool pf_frent_pl, pf_frag_pl, pf_cache_pl, pf_cent_pl;
sys/dist/pf/net/pf_norm.c
141
struct pool pf_state_scrub_pl;
sys/dist/pf/net/pf_osfp.c
53
typedef struct pool pool_t;
sys/dist/pf/net/pf_osfp.c
65
# define pool_get(pool, flags) malloc(*(pool))
sys/dist/pf/net/pf_osfp.c
66
# define pool_put(pool, item) free(item)
sys/dist/pf/net/pf_osfp.c
67
# define pool_init(pool, size, a, ao, f, m, p) (*(pool)) = (size)
sys/dist/pf/net/pf_table.c
136
struct pool pfr_ktable_pl;
sys/dist/pf/net/pf_table.c
137
struct pool pfr_kentry_pl;
sys/dist/pf/net/pf_table.c
138
struct pool pfr_kentry_pl2;
sys/dist/pf/net/pfvar.h
1604
extern struct pool pf_src_tree_pl, pf_rule_pl;
sys/dist/pf/net/pfvar.h
1605
extern struct pool pf_state_pl, pf_state_key_pl, pf_altq_pl,
sys/dist/pf/net/pfvar.h
1607
extern struct pool pf_state_scrub_pl;
sys/dist/pf/net/pfvar.h
1758
extern struct pool pf_frent_pl, pf_frag_pl;
sys/fs/adosfs/adosfs.h
153
extern struct pool adosfs_node_pool;
sys/fs/adosfs/advfsops.c
71
struct pool adosfs_node_pool;
sys/fs/autofs/autofs.c
111
struct pool autofs_request_pool;
sys/fs/autofs/autofs.c
112
struct pool autofs_node_pool;
sys/fs/autofs/autofs.h
70
extern struct pool autofs_request_pool;
sys/fs/autofs/autofs.h
71
extern struct pool autofs_node_pool;
sys/fs/cd9660/cd9660_extern.h
99
extern struct pool cd9660_node_pool;
sys/fs/cd9660/cd9660_node.c
60
struct pool cd9660_node_pool;
sys/fs/efs/efs_subr.c
45
struct pool efs_inode_pool;
sys/fs/efs/efs_subr.h
22
extern struct pool efs_inode_pool;
sys/fs/filecorefs/filecore_extern.h
104
extern struct pool filecore_node_pool;
sys/fs/filecorefs/filecore_node.c
90
struct pool filecore_node_pool;
sys/fs/hfs/hfs.h
157
extern struct pool hfs_node_pool;
sys/fs/hfs/hfs_vfsops.c
141
struct pool hfs_node_pool;
sys/fs/msdosfs/msdosfs_denode.c
114
static struct pool fh_pool;
sys/fs/msdosfs/msdosfs_denode.c
74
struct pool msdosfs_denode_pool;
sys/fs/nfs/common/nfs_fha.c
234
SVCPOOL *pool;
sys/fs/nfs/common/nfs_fha.c
238
pool = *softc->pool;
sys/fs/nfs/common/nfs_fha.c
298
SVCPOOL *pool;
sys/fs/nfs/common/nfs_fha.c
302
pool = *softc->pool;
sys/fs/nfs/common/nfs_fha.c
478
SVCPOOL *pool;
sys/fs/nfs/common/nfs_fha.c
482
pool = NULL;
sys/fs/nfs/common/nfs_fha.c
484
if (!*softc->pool) {
sys/fs/nfs/common/nfs_fha.c
488
pool = *softc->pool;
sys/fs/nfs/common/nfs_fha.h
106
SVCPOOL **pool;
sys/fs/nfs/nlm/nlm_prot_impl.c
1432
nlm_register_services(SVCPOOL *pool, int addr_count, char **addrs)
sys/fs/nfs/nlm/nlm_prot_impl.c
1492
xprts[j] = svc_tp_create(pool, dispatchers[i],
sys/fs/nfs/nlm/nlm_prot_impl.c
1535
SVCPOOL *pool = NULL;
sys/fs/nfs/nlm/nlm_prot_impl.c
1622
pool = svcpool_create("NLM", NULL);
sys/fs/nfs/nlm/nlm_prot_impl.c
1624
error = nlm_register_services(pool, addr_count, addrs);
sys/fs/nfs/nlm/nlm_prot_impl.c
1656
svc_run(pool);
sys/fs/nfs/nlm/nlm_prot_impl.c
1664
if (pool)
sys/fs/nfs/nlm/nlm_prot_impl.c
1665
svcpool_destroy(pool);
sys/fs/nfs/server/nfs_fha_new.c
90
softc->pool = &nfsrvd_pool;
sys/fs/nilfs/nilfs.h
104
extern struct pool nilfs_node_pool;
sys/fs/nilfs/nilfs_vfsops.c
79
struct pool nilfs_node_pool;
sys/fs/puffs/puffs_node.c
50
struct pool puffs_pnpool;
sys/fs/puffs/puffs_node.c
51
struct pool puffs_vapool;
sys/fs/puffs/puffs_sys.h
55
extern struct pool puffs_pnpool;
sys/fs/puffs/puffs_sys.h
56
extern struct pool puffs_vapool;
sys/fs/sysvbfs/sysvbfs_vfsops.c
64
struct pool sysvbfs_node_pool;
sys/fs/sysvbfs/sysvbfs_vnops.c
699
extern struct pool sysvbfs_node_pool;
sys/fs/tmpfs/tmpfs_mem.c
48
extern struct pool tmpfs_dirent_pool;
sys/fs/tmpfs/tmpfs_mem.c
49
extern struct pool tmpfs_node_pool;
sys/fs/tmpfs/tmpfs_vfsops.c
64
struct pool tmpfs_dirent_pool;
sys/fs/tmpfs/tmpfs_vfsops.c
65
struct pool tmpfs_node_pool;
sys/fs/udf/udf.h
219
extern struct pool udf_node_pool;
sys/fs/udf/udf_strat_direct.c
422
memset(&priv->desc_pool, 0, sizeof(struct pool));
sys/fs/udf/udf_strat_direct.c
83
struct pool desc_pool; /* node descriptors */
sys/fs/udf/udf_strat_rmw.c
1374
ecclinepool_page_alloc(struct pool *pp, int flags)
sys/fs/udf/udf_strat_rmw.c
1383
ecclinepool_page_free(struct pool *pp, void *v)
sys/fs/udf/udf_strat_rmw.c
140
struct pool eccline_pool;
sys/fs/udf/udf_strat_rmw.c
141
struct pool ecclineblob_pool;
sys/fs/udf/udf_strat_sequential.c
82
struct pool desc_pool; /* node descriptors */
sys/fs/udf/udf_vfsops.c
80
struct pool udf_node_pool;
sys/fs/v7fs/v7fs_vfsops.c
70
struct pool v7fs_node_pool;
sys/fs/v7fs/v7fs_vnops.c
1055
extern struct pool v7fs_node_pool;
sys/kern/kern_entropy.c
1198
struct entpool pool;
sys/kern/kern_entropy.c
1207
memset(&pool, 0, sizeof pool);
sys/kern/kern_entropy.c
1208
ticket = xc_broadcast(0, &entropy_consolidate_xc, &pool, NULL);
sys/kern/kern_entropy.c
1221
entpool_extract(&pool, buf, sizeof buf);
sys/kern/kern_entropy.c
1222
entpool_enter(&E->pool, buf, sizeof buf);
sys/kern/kern_entropy.c
1223
explicit_memset(&pool, 0, sizeof pool);
sys/kern/kern_entropy.c
1258
struct entpool *pool = vpool;
sys/kern/kern_entropy.c
1288
entpool_enter(pool, buf, sizeof buf);
sys/kern/kern_entropy.c
1292
entpool_enter(pool, extra, sizeof extra);
sys/kern/kern_entropy.c
1606
entpool_extract(&E->pool, buf, len);
sys/kern/kern_entropy.c
184
struct entpool pool; /* global pool for extraction */
sys/kern/kern_entropy.c
773
entpool_enter(&E->pool, buf, sizeof buf);
sys/kern/kern_entropy.c
882
entpool_enter(&E->pool, buf, len);
sys/kern/kern_exec.c
289
static struct pool exec_pool;
sys/kern/kern_exec.c
292
exec_pool_alloc(struct pool *pp, int flags)
sys/kern/kern_exec.c
300
exec_pool_free(struct pool *pp, void *addr)
sys/kern/kern_pmf.c
110
static struct pool pew_pl;
sys/kern/kern_sig.c
139
static void sigacts_poolpage_free(struct pool *, void *);
sys/kern/kern_sig.c
140
static void *sigacts_poolpage_alloc(struct pool *, int);
sys/kern/kern_sig.c
236
sigacts_poolpage_alloc(struct pool *pp, int flags)
sys/kern/kern_sig.c
251
sigacts_poolpage_free(struct pool *pp, void *v)
sys/kern/kern_threadpool.c
1000
threadpool_hold(pool);
sys/kern/kern_threadpool.c
1001
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1006
thread->tpt_pool = pool;
sys/kern/kern_threadpool.c
1012
if (pool->tp_pri < PRI_KERNEL)
sys/kern/kern_threadpool.c
1014
threadnamesuffix(suffix, sizeof(suffix), pool->tp_cpu,
sys/kern/kern_threadpool.c
1015
pool->tp_pri);
sys/kern/kern_threadpool.c
1016
error = kthread_create(pool->tp_pri, ktflags,
sys/kern/kern_threadpool.c
1017
pool->tp_cpu, &threadpool_thread, thread, &lwp,
sys/kern/kern_threadpool.c
1020
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
1023
threadpool_rele(pool);
sys/kern/kern_threadpool.c
1026
&pool->tp_lock);
sys/kern/kern_threadpool.c
1034
TAILQ_INSERT_TAIL(&pool->tp_idle_threads, thread,
sys/kern/kern_threadpool.c
1043
struct threadpool_job *const job = TAILQ_FIRST(&pool->tp_jobs);
sys/kern/kern_threadpool.c
1050
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1055
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
1056
TAILQ_REMOVE(&pool->tp_jobs, job, job_entry);
sys/kern/kern_threadpool.c
1058
TAILQ_EMPTY(&pool->tp_idle_threads))) {
sys/kern/kern_threadpool.c
1064
dispatcher__race, pool, job);
sys/kern/kern_threadpool.c
1065
TAILQ_INSERT_HEAD(&pool->tp_jobs, job,
sys/kern/kern_threadpool.c
1073
TAILQ_FIRST(&pool->tp_idle_threads);
sys/kern/kern_threadpool.c
1078
TAILQ_REMOVE(&pool->tp_idle_threads, thread,
sys/kern/kern_threadpool.c
1084
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1089
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
1091
threadpool_rele(pool);
sys/kern/kern_threadpool.c
1092
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1094
SDT_PROBE1(sdt, kernel, threadpool, dispatcher__exit, pool);
sys/kern/kern_threadpool.c
1105
struct threadpool *const pool = thread->tpt_pool;
sys/kern/kern_threadpool.c
1107
KASSERT((pool->tp_cpu == NULL) || (pool->tp_cpu == curcpu()));
sys/kern/kern_threadpool.c
1108
KASSERT((pool->tp_cpu == NULL) || (curlwp->l_pflag & LP_BOUND));
sys/kern/kern_threadpool.c
1111
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
1113
cv_wait(&thread->tpt_cv, &pool->tp_lock);
sys/kern/kern_threadpool.c
1115
SDT_PROBE1(sdt, kernel, threadpool, thread__start, pool);
sys/kern/kern_threadpool.c
1121
if (ISSET(pool->tp_flags, THREADPOOL_DYING)) {
sys/kern/kern_threadpool.c
1123
thread__dying, pool);
sys/kern/kern_threadpool.c
1126
if (cv_timedwait(&thread->tpt_cv, &pool->tp_lock,
sys/kern/kern_threadpool.c
1131
TAILQ_REMOVE(&pool->tp_idle_threads, thread,
sys/kern/kern_threadpool.c
1146
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1148
SDT_PROBE2(sdt, kernel, threadpool, thread__job, pool, job);
sys/kern/kern_threadpool.c
1163
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
1166
TAILQ_INSERT_TAIL(&pool->tp_idle_threads, thread, tpt_entry);
sys/kern/kern_threadpool.c
1168
threadpool_rele(pool);
sys/kern/kern_threadpool.c
1169
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
1171
SDT_PROBE1(sdt, kernel, threadpool, thread__exit, pool);
sys/kern/kern_threadpool.c
380
threadpool_create(struct threadpool *const pool, struct cpu_info *ci,
sys/kern/kern_threadpool.c
392
mutex_init(&pool->tp_lock, MUTEX_DEFAULT, IPL_VM);
sys/kern/kern_threadpool.c
394
TAILQ_INIT(&pool->tp_jobs);
sys/kern/kern_threadpool.c
395
TAILQ_INIT(&pool->tp_idle_threads);
sys/kern/kern_threadpool.c
396
pool->tp_refcnt = 1; /* dispatcher's reference */
sys/kern/kern_threadpool.c
397
pool->tp_flags = 0;
sys/kern/kern_threadpool.c
398
pool->tp_cpu = ci;
sys/kern/kern_threadpool.c
399
pool->tp_pri = pri;
sys/kern/kern_threadpool.c
401
pool->tp_dispatcher.tpt_lwp = NULL;
sys/kern/kern_threadpool.c
402
pool->tp_dispatcher.tpt_pool = pool;
sys/kern/kern_threadpool.c
403
pool->tp_dispatcher.tpt_job = NULL;
sys/kern/kern_threadpool.c
404
cv_init(&pool->tp_dispatcher.tpt_cv, "pooldisp");
sys/kern/kern_threadpool.c
412
&pool->tp_dispatcher, &lwp, "pooldisp%s", suffix);
sys/kern/kern_threadpool.c
416
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
417
pool->tp_dispatcher.tpt_lwp = lwp;
sys/kern/kern_threadpool.c
418
cv_broadcast(&pool->tp_dispatcher.tpt_cv);
sys/kern/kern_threadpool.c
419
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
421
SDT_PROBE3(sdt, kernel, threadpool, create__success, ci, pri, pool);
sys/kern/kern_threadpool.c
425
KASSERT(pool->tp_dispatcher.tpt_job == NULL);
sys/kern/kern_threadpool.c
426
KASSERT(pool->tp_dispatcher.tpt_pool == pool);
sys/kern/kern_threadpool.c
427
KASSERT(pool->tp_flags == 0);
sys/kern/kern_threadpool.c
428
KASSERT(pool->tp_refcnt == 0);
sys/kern/kern_threadpool.c
429
KASSERT(TAILQ_EMPTY(&pool->tp_idle_threads));
sys/kern/kern_threadpool.c
430
KASSERT(TAILQ_EMPTY(&pool->tp_jobs));
sys/kern/kern_threadpool.c
431
KASSERT(!cv_has_waiters(&pool->tp_dispatcher.tpt_cv));
sys/kern/kern_threadpool.c
432
cv_destroy(&pool->tp_dispatcher.tpt_cv);
sys/kern/kern_threadpool.c
433
mutex_destroy(&pool->tp_lock);
sys/kern/kern_threadpool.c
441
threadpool_destroy(struct threadpool *pool)
sys/kern/kern_threadpool.c
445
SDT_PROBE1(sdt, kernel, threadpool, destroy, pool);
sys/kern/kern_threadpool.c
448
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
449
KASSERT(TAILQ_EMPTY(&pool->tp_jobs));
sys/kern/kern_threadpool.c
450
pool->tp_flags |= THREADPOOL_DYING;
sys/kern/kern_threadpool.c
451
cv_broadcast(&pool->tp_dispatcher.tpt_cv);
sys/kern/kern_threadpool.c
452
TAILQ_FOREACH(thread, &pool->tp_idle_threads, tpt_entry)
sys/kern/kern_threadpool.c
454
while (0 < pool->tp_refcnt) {
sys/kern/kern_threadpool.c
456
pool, pool->tp_refcnt);
sys/kern/kern_threadpool.c
457
cv_wait(&pool->tp_dispatcher.tpt_cv, &pool->tp_lock);
sys/kern/kern_threadpool.c
459
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
461
KASSERT(pool->tp_dispatcher.tpt_job == NULL);
sys/kern/kern_threadpool.c
462
KASSERT(pool->tp_dispatcher.tpt_pool == pool);
sys/kern/kern_threadpool.c
463
KASSERT(pool->tp_flags == THREADPOOL_DYING);
sys/kern/kern_threadpool.c
464
KASSERT(pool->tp_refcnt == 0);
sys/kern/kern_threadpool.c
465
KASSERT(TAILQ_EMPTY(&pool->tp_idle_threads));
sys/kern/kern_threadpool.c
466
KASSERT(TAILQ_EMPTY(&pool->tp_jobs));
sys/kern/kern_threadpool.c
467
KASSERT(!cv_has_waiters(&pool->tp_dispatcher.tpt_cv));
sys/kern/kern_threadpool.c
468
cv_destroy(&pool->tp_dispatcher.tpt_cv);
sys/kern/kern_threadpool.c
469
mutex_destroy(&pool->tp_lock);
sys/kern/kern_threadpool.c
473
threadpool_hold(struct threadpool *pool)
sys/kern/kern_threadpool.c
476
KASSERT(mutex_owned(&pool->tp_lock));
sys/kern/kern_threadpool.c
477
pool->tp_refcnt++;
sys/kern/kern_threadpool.c
478
KASSERT(pool->tp_refcnt != 0);
sys/kern/kern_threadpool.c
482
threadpool_rele(struct threadpool *pool)
sys/kern/kern_threadpool.c
485
KASSERT(mutex_owned(&pool->tp_lock));
sys/kern/kern_threadpool.c
486
KASSERT(0 < pool->tp_refcnt);
sys/kern/kern_threadpool.c
487
if (--pool->tp_refcnt == 0)
sys/kern/kern_threadpool.c
488
cv_broadcast(&pool->tp_dispatcher.tpt_cv);
sys/kern/kern_threadpool.c
542
threadpool_put(struct threadpool *pool, pri_t pri)
sys/kern/kern_threadpool.c
545
container_of(pool, struct threadpool_unbound, tpu_pool);
sys/kern/kern_threadpool.c
550
SDT_PROBE2(sdt, kernel, threadpool, put, pool, pri);
sys/kern/kern_threadpool.c
556
SDT_PROBE2(sdt, kernel, threadpool, put__destroy, pool, pri);
sys/kern/kern_threadpool.c
645
struct threadpool **poolp, *pool;
sys/kern/kern_threadpool.c
648
pool = *poolp;
sys/kern/kern_threadpool.c
651
return pool;
sys/kern/kern_threadpool.c
658
struct threadpool **poolp, *pool;
sys/kern/kern_threadpool.c
668
pool = *poolp;
sys/kern/kern_threadpool.c
671
return pool;
sys/kern/kern_threadpool.c
851
threadpool_schedule_job(struct threadpool *pool, struct threadpool_job *job)
sys/kern/kern_threadpool.c
856
SDT_PROBE2(sdt, kernel, threadpool, schedule__job, pool, job);
sys/kern/kern_threadpool.c
866
pool, job);
sys/kern/kern_threadpool.c
873
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
874
if (__predict_false(TAILQ_EMPTY(&pool->tp_idle_threads))) {
sys/kern/kern_threadpool.c
877
pool, job);
sys/kern/kern_threadpool.c
878
job->job_thread = &pool->tp_dispatcher;
sys/kern/kern_threadpool.c
879
TAILQ_INSERT_TAIL(&pool->tp_jobs, job, job_entry);
sys/kern/kern_threadpool.c
882
job->job_thread = TAILQ_FIRST(&pool->tp_idle_threads);
sys/kern/kern_threadpool.c
884
pool, job, job->job_thread->tpt_lwp);
sys/kern/kern_threadpool.c
885
TAILQ_REMOVE(&pool->tp_idle_threads, job->job_thread,
sys/kern/kern_threadpool.c
893
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
897
threadpool_cancel_job_async(struct threadpool *pool, struct threadpool_job *job)
sys/kern/kern_threadpool.c
926
} else if (job->job_thread == &pool->tp_dispatcher) {
sys/kern/kern_threadpool.c
929
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
930
TAILQ_REMOVE(&pool->tp_jobs, job, job_entry);
sys/kern/kern_threadpool.c
931
mutex_spin_exit(&pool->tp_lock);
sys/kern/kern_threadpool.c
941
threadpool_cancel_job(struct threadpool *pool, struct threadpool_job *job)
sys/kern/kern_threadpool.c
953
if (threadpool_cancel_job_async(pool, job))
sys/kern/kern_threadpool.c
967
struct threadpool *const pool = dispatcher->tpt_pool;
sys/kern/kern_threadpool.c
973
KASSERT((pool->tp_cpu == NULL) || (pool->tp_cpu == curcpu()));
sys/kern/kern_threadpool.c
974
KASSERT((pool->tp_cpu == NULL) || (curlwp->l_pflag & LP_BOUND));
sys/kern/kern_threadpool.c
977
mutex_spin_enter(&pool->tp_lock);
sys/kern/kern_threadpool.c
979
cv_wait(&dispatcher->tpt_cv, &pool->tp_lock);
sys/kern/kern_threadpool.c
981
SDT_PROBE1(sdt, kernel, threadpool, dispatcher__start, pool);
sys/kern/kern_threadpool.c
985
while (TAILQ_EMPTY(&pool->tp_jobs)) {
sys/kern/kern_threadpool.c
986
if (ISSET(pool->tp_flags, THREADPOOL_DYING)) {
sys/kern/kern_threadpool.c
988
dispatcher__dying, pool);
sys/kern/kern_threadpool.c
991
cv_wait(&dispatcher->tpt_cv, &pool->tp_lock);
sys/kern/kern_threadpool.c
993
if (__predict_false(TAILQ_EMPTY(&pool->tp_jobs)))
sys/kern/kern_threadpool.c
997
if (TAILQ_EMPTY(&pool->tp_idle_threads)) {
sys/kern/kern_threadpool.c
999
pool);
sys/kern/subr_extent.c
105
static struct pool expool;
sys/kern/subr_extent.c
85
pool_get(pool, flags) kmem_alloc((pool)->pr_size,0)
sys/kern/subr_extent.c
87
pool_put(pool, rp) kmem_free(rp,0)
sys/kern/subr_pool.c
1024
pool_destroy(struct pool *pp)
sys/kern/subr_pool.c
105
static void pool_redzone_init(struct pool *, size_t);
sys/kern/subr_pool.c
106
static void pool_redzone_fill(struct pool *, void *);
sys/kern/subr_pool.c
107
static void pool_redzone_check(struct pool *, void *);
sys/kern/subr_pool.c
1072
pool_set_drain_hook(struct pool *pp, void (*fn)(void *, int), void *arg)
sys/kern/subr_pool.c
1083
pool_alloc_item_header(struct pool *pp, void *storage, int flags)
sys/kern/subr_pool.c
1099
pool_get(struct pool *pp, int flags)
sys/kern/subr_pool.c
117
static inline void pool_get_kmsan(struct pool *, void *);
sys/kern/subr_pool.c
118
static inline void pool_put_kmsan(struct pool *, void *);
sys/kern/subr_pool.c
1280
pool_do_put(struct pool *pp, void *v, struct pool_pagelist *pq)
sys/kern/subr_pool.c
129
static void pool_quarantine_init(struct pool *);
sys/kern/subr_pool.c
130
static void pool_quarantine_flush(struct pool *);
sys/kern/subr_pool.c
131
static bool pool_put_quarantine(struct pool *, void *,
sys/kern/subr_pool.c
1372
pool_put(struct pool *pp, void *v)
sys/kern/subr_pool.c
1396
pool_grow(struct pool *pp, int flags)
sys/kern/subr_pool.c
1463
pool_prime(struct pool *pp, int n)
sys/kern/subr_pool.c
1481
pool_prime_page(struct pool *pp, void *storage, struct pool_item_header *ph)
sys/kern/subr_pool.c
1568
pool_catchup(struct pool *pp)
sys/kern/subr_pool.c
1584
pool_update_curpage(struct pool *pp)
sys/kern/subr_pool.c
1596
pool_setlowat(struct pool *pp, int n)
sys/kern/subr_pool.c
1615
pool_sethiwat(struct pool *pp, int n)
sys/kern/subr_pool.c
1626
pool_sethardlimit(struct pool *pp, int n, const char *warnmess, int ratecap)
sys/kern/subr_pool.c
1643
pool_nget(struct pool *pp)
sys/kern/subr_pool.c
1650
pool_nput(struct pool *pp)
sys/kern/subr_pool.c
1662
pool_reclaim(struct pool *pp)
sys/kern/subr_pool.c
169
void *pool_page_alloc(struct pool *, int);
sys/kern/subr_pool.c
170
void pool_page_free(struct pool *, void *);
sys/kern/subr_pool.c
172
static void *pool_page_alloc_meta(struct pool *, int);
sys/kern/subr_pool.c
173
static void pool_page_free_meta(struct pool *, void *);
sys/kern/subr_pool.c
1751
pool_drain(struct pool **ppp)
sys/kern/subr_pool.c
1754
struct pool *pp;
sys/kern/subr_pool.c
1810
struct pool *pp;
sys/kern/subr_pool.c
1832
struct pool *pp;
sys/kern/subr_pool.c
1840
pool_printit(struct pool *pp, const char *modif, void (*pr)(const char *, ...))
sys/kern/subr_pool.c
1852
pool_print_pagelist(struct pool *pp, struct pool_pagelist *pl,
sys/kern/subr_pool.c
1875
pool_print1(struct pool *pp, const char *modif, void (*pr)(const char *, ...))
sys/kern/subr_pool.c
2005
pool_chk_page(struct pool *pp, const char *label, struct pool_item_header *ph)
sys/kern/subr_pool.c
2063
pool_chk(struct pool *pp, const char *label)
sys/kern/subr_pool.c
2131
struct pool *pp;
sys/kern/subr_pool.c
2220
struct pool *pp = &pc->pc_pool;
sys/kern/subr_pool.c
263
static struct pool *drainpp;
sys/kern/subr_pool.c
2970
pool_allocator_alloc(struct pool *pp, int flags)
sys/kern/subr_pool.c
2980
pool_allocator_free(struct pool *pp, void *v)
sys/kern/subr_pool.c
2998
pool_page_alloc(struct pool *pp, int flags)
sys/kern/subr_pool.c
3011
pool_page_free(struct pool *pp, void *v)
sys/kern/subr_pool.c
3018
pool_page_alloc_meta(struct pool *pp, int flags)
sys/kern/subr_pool.c
3031
pool_page_free_meta(struct pool *pp, void *v)
sys/kern/subr_pool.c
3039
pool_get_kmsan(struct pool *pp, void *p)
sys/kern/subr_pool.c
3046
pool_put_kmsan(struct pool *pp, void *p)
sys/kern/subr_pool.c
3069
pool_quarantine_init(struct pool *pp)
sys/kern/subr_pool.c
3076
pool_quarantine_flush(struct pool *pp)
sys/kern/subr_pool.c
3096
pool_put_quarantine(struct pool *pp, void *v, struct pool_pagelist *pq)
sys/kern/subr_pool.c
3146
pool_redzone_init(struct pool *pp, size_t requested_size)
sys/kern/subr_pool.c
3197
pool_redzone_fill(struct pool *pp, void *p)
sys/kern/subr_pool.c
3228
pool_redzone_check(struct pool *pp, void *p)
sys/kern/subr_pool.c
3281
pool_in_page(struct pool *pp, struct pool_item_header *ph, uintptr_t addr)
sys/kern/subr_pool.c
3289
pool_in_item(struct pool *pp, void *item, uintptr_t addr)
sys/kern/subr_pool.c
3296
pool_in_cg(struct pool *pp, struct pool_cache_group *pcg, uintptr_t addr)
sys/kern/subr_pool.c
3312
pool_allocated(struct pool *pp, struct pool_item_header *ph, uintptr_t addr)
sys/kern/subr_pool.c
3337
struct pool *pp;
sys/kern/subr_pool.c
3424
struct pool *pp;
sys/kern/subr_pool.c
364
static struct pool pcg_normal_pool;
sys/kern/subr_pool.c
365
static struct pool pcg_large_pool;
sys/kern/subr_pool.c
366
static struct pool cache_pool;
sys/kern/subr_pool.c
367
static struct pool cache_cpu_pool;
sys/kern/subr_pool.c
391
static int pool_catchup(struct pool *);
sys/kern/subr_pool.c
392
static void pool_prime_page(struct pool *, void *,
sys/kern/subr_pool.c
394
static void pool_update_curpage(struct pool *);
sys/kern/subr_pool.c
396
static int pool_grow(struct pool *, int);
sys/kern/subr_pool.c
397
static void *pool_allocator_alloc(struct pool *, int);
sys/kern/subr_pool.c
398
static void pool_allocator_free(struct pool *, void *);
sys/kern/subr_pool.c
400
static void pool_print_pagelist(struct pool *, struct pool_pagelist *,
sys/kern/subr_pool.c
402
static void pool_print1(struct pool *, const char *,
sys/kern/subr_pool.c
405
static int pool_chk_page(struct pool *, const char *,
sys/kern/subr_pool.c
411
pr_item_bitmap_index(const struct pool *pp, const struct pool_item_header *ph,
sys/kern/subr_pool.c
429
pr_item_bitmap_put(const struct pool *pp, struct pool_item_header *ph,
sys/kern/subr_pool.c
444
pr_item_bitmap_get(const struct pool *pp, struct pool_item_header *ph)
sys/kern/subr_pool.c
471
pr_item_bitmap_init(const struct pool *pp, struct pool_item_header *ph)
sys/kern/subr_pool.c
485
pr_item_linkedlist_put(const struct pool *pp, struct pool_item_header *ph,
sys/kern/subr_pool.c
508
pr_item_linkedlist_get(struct pool *pp, struct pool_item_header *ph)
sys/kern/subr_pool.c
539
pr_phinpage_check(struct pool *pp, struct pool_item_header *ph, void *page,
sys/kern/subr_pool.c
560
struct pool *pp;
sys/kern/subr_pool.c
592
pr_find_pagehead_noalign(struct pool *pp, void *v)
sys/kern/subr_pool.c
613
pr_find_pagehead(struct pool *pp, void *v)
sys/kern/subr_pool.c
637
pr_pagelist_free(struct pool *pp, struct pool_pagelist *pq)
sys/kern/subr_pool.c
653
pr_rmpage(struct pool *pp, struct pool_item_header *ph,
sys/kern/subr_pool.c
743
pool_init_is_phinpage(const struct pool *pp)
sys/kern/subr_pool.c
774
pool_init_is_usebmap(const struct pool *pp)
sys/kern/subr_pool.c
810
pool_init(struct pool *pp, size_t size, u_int align, u_int ioff, int flags,
sys/kern/subr_pool.c
813
struct pool *pp1;
sys/kern/subr_pool.c
83
TAILQ_HEAD(, pool) pool_head = TAILQ_HEAD_INITIALIZER(pool_head);
sys/kern/subr_pool.c
87
static struct pool phpool[PHPOOL_MAX];
sys/kern/subr_vmem.c
220
static struct pool vmem_btag_pool;
sys/kern/subr_vmem.c
229
pool_page_alloc_vmem_meta(struct pool *pp, int flags)
sys/kern/subr_vmem.c
242
pool_page_free_vmem_meta(struct pool *pp, void *v)
sys/kern/subr_vmem.c
613
qc_poolpage_alloc(struct pool *pool, int prflags)
sys/kern/subr_vmem.c
615
qcache_t *qc = QC_POOL_TO_QCACHE(pool);
sys/kern/subr_vmem.c
619
if (vmem_alloc(vm, pool->pr_alloc->pa_pagesz,
sys/kern/subr_vmem.c
626
qc_poolpage_free(struct pool *pool, void *addr)
sys/kern/subr_vmem.c
628
qcache_t *qc = QC_POOL_TO_QCACHE(pool);
sys/kern/subr_vmem.c
631
vmem_free(vm, (vmem_addr_t)addr, pool->pr_alloc->pa_pagesz);
sys/kern/sys_aio.c
119
static struct pool aio_job_pool;
sys/kern/sys_aio.c
120
static struct pool aio_lio_pool;
sys/kern/vfs_bio.c
216
static void *bufpool_page_alloc(struct pool *, int);
sys/kern/vfs_bio.c
217
static void bufpool_page_free(struct pool *, void *);
sys/kern/vfs_bio.c
279
static struct pool bmempools[NMEMPOOLS];
sys/kern/vfs_bio.c
287
bufpool_page_alloc(struct pool *pp, int flags)
sys/kern/vfs_bio.c
297
bufpool_page_free(struct pool *pp, void *v)
sys/kern/vfs_bio.c
508
struct pool *pp = &bmempools[i];
sys/kern/vfs_dirhash.c
78
static struct pool dirhash_pool;
sys/kern/vfs_dirhash.c
79
static struct pool dirhash_entry_pool;
sys/kern/vfs_wapbl.c
274
static struct pool wapbl_entry_pool;
sys/kern/vfs_wapbl.c
275
static struct pool wapbl_dealloc_pool;
sys/kern/vfs_wapbl.c
279
static struct pool wapbl_ino_pool;
sys/lib/libkern/entpool.c
415
struct entpool pool, *P = &pool;
sys/net/if_bridge.c
235
static struct pool bridge_rtnode_pool;
sys/net/if_llatbl.c
70
static struct pool llentry_pool;
sys/net/route.c
159
static struct pool rtentry_pool;
sys/net/route.c
160
static struct pool rttimer_pool;
sys/netbt/l2cap.h
360
extern struct pool l2cap_pdu_pool;
sys/netbt/l2cap.h
361
extern struct pool l2cap_req_pool;
sys/netbt/l2cap_misc.c
52
struct pool l2cap_req_pool, l2cap_pdu_pool;
sys/netbt/rfcomm_session.c
98
static struct pool rfcomm_credit_pool;
sys/netcan/can_pcb.c
63
struct pool canpcb_pool;
sys/netinet/dccp_usrreq.c
146
struct pool dccpcb_pool;
sys/netinet/igmp.c
87
static struct pool igmp_rti_pool __cacheline_aligned;
sys/netinet/in.c
183
static struct pool inmulti_pool;
sys/netinet/ip_flow.c
71
static struct pool ipflow_pool;
sys/netinet/sctp_pcb.h
166
struct pool ipi_zone_ep;
sys/netinet/sctp_pcb.h
167
struct pool ipi_zone_asoc;
sys/netinet/sctp_pcb.h
168
struct pool ipi_zone_laddr;
sys/netinet/sctp_pcb.h
169
struct pool ipi_zone_net;
sys/netinet/sctp_pcb.h
170
struct pool ipi_zone_chunk;
sys/netinet/sctp_pcb.h
171
struct pool ipi_zone_sockq;
sys/netinet/sctp_pcb.h
172
struct pool ipi_zone_hash;
sys/netinet/tcp_input.c
416
static struct pool tcpipqent_pool;
sys/netinet/tcp_sack.c
158
static struct pool sackhole_pool;
sys/netinet/tcp_subr.c
235
static struct pool tcpcb_pool;
sys/netinet/tcp_syncache.c
261
static struct pool syn_cache_pool;
sys/netinet/wqinput.c
73
struct pool wqi_work_pool;
sys/netinet6/ip6_flow.c
83
static struct pool ip6flow_pool;
sys/nfs/nfs_node.c
63
struct pool nfs_node_pool;
sys/nfs/nfs_node.c
64
struct pool nfs_vattr_pool;
sys/nfs/nfs_socket.c
1271
static struct pool nfs_srvdesc_pool;
sys/nfs/nfs_srvcache.c
71
struct pool nfs_reqcache_pool;
sys/opencrypto/cryptodev.c
144
static struct pool fcrpl;
sys/opencrypto/cryptodev.c
145
static struct pool csepl;
sys/rump/librump/rumpkern/vm.c
1182
struct pool *pp, *pp_first;
sys/sys/pool.h
100
TAILQ_HEAD(, pool) pa_list; /* list of pools using this allocator */
sys/sys/pool.h
116
TAILQ_ENTRY(pool)
sys/sys/pool.h
125
struct pool *pr_phpool; /* Pool item header pool */
sys/sys/pool.h
143
TAILQ_ENTRY(pool) pr_alloc_list;/* link on allocator's pool list */
sys/sys/pool.h
258
struct pool pc_pool;
sys/sys/pool.h
263
struct pool *pc_pcgpool; /* Pool of cache groups */
sys/sys/pool.h
305
void pool_init(struct pool *, size_t, u_int, u_int,
sys/sys/pool.h
307
void pool_destroy(struct pool *);
sys/sys/pool.h
309
void pool_set_drain_hook(struct pool *,
sys/sys/pool.h
312
void *pool_get(struct pool *, int);
sys/sys/pool.h
313
void pool_put(struct pool *, void *);
sys/sys/pool.h
314
int pool_reclaim(struct pool *);
sys/sys/pool.h
316
void pool_prime(struct pool *, int);
sys/sys/pool.h
317
void pool_setlowat(struct pool *, int);
sys/sys/pool.h
318
void pool_sethiwat(struct pool *, int);
sys/sys/pool.h
319
void pool_sethardlimit(struct pool *, int, const char *, int);
sys/sys/pool.h
320
bool pool_drain(struct pool **);
sys/sys/pool.h
324
unsigned int pool_nget(struct pool *);
sys/sys/pool.h
325
unsigned int pool_nput(struct pool *);
sys/sys/pool.h
330
void pool_printit(struct pool *, const char *,
sys/sys/pool.h
334
int pool_chk(struct pool *, const char *);
sys/sys/pool.h
91
struct pool;
sys/sys/pool.h
94
void *(*pa_alloc)(struct pool *, int);
sys/sys/pool.h
95
void (*pa_free)(struct pool *, void *);
sys/sys/signalvar.h
204
extern struct pool ksiginfo_pool;
sys/sys/sleeptab.h
135
extern struct pool turnstile_pool;
sys/sys/vmem_impl.h
81
#define QC_POOL_TO_QCACHE(pool) ((qcache_t *)(pool->pr_qcache))
sys/ufs/chfs/chfs.h
128
extern struct pool chfs_inode_pool;
sys/ufs/chfs/chfs_pool.c
112
chfs_pool_page_free(struct pool *pp, void *v)
sys/ufs/chfs/chfs_pool.c
47
void * chfs_pool_page_alloc(struct pool *, int);
sys/ufs/chfs/chfs_pool.c
48
void chfs_pool_page_free(struct pool *, void *);
sys/ufs/chfs/chfs_pool.c
79
pool_destroy((struct pool *)chpp);
sys/ufs/chfs/chfs_pool.c
85
chfs_pool_page_alloc(struct pool *pp, int flags)
sys/ufs/chfs/chfs_pool.h
40
struct pool chp_pool;
sys/ufs/chfs/chfs_pool.h
68
#define CHFS_POOL_GET(chpp, flags) pool_get((struct pool *)(chpp), flags)
sys/ufs/chfs/chfs_pool.h
69
#define CHFS_POOL_PUT(chpp, v) pool_put((struct pool *)(chpp), v)
sys/ufs/chfs/chfs_vfsops.c
103
struct pool chfs_inode_pool;
sys/ufs/ext2fs/ext2fs_extern.h
84
extern struct pool ext2fs_inode_pool; /* memory pool for inodes */
sys/ufs/ext2fs/ext2fs_extern.h
85
extern struct pool ext2fs_dinode_pool; /* memory pool for dinodes */
sys/ufs/ext2fs/ext2fs_vfsops.c
267
struct pool ext2fs_inode_pool;
sys/ufs/lfs/lfs.h
1091
struct pool lfs_clpool; /* Pool for struct lfs_cluster */
sys/ufs/lfs/lfs.h
1092
struct pool lfs_bpppool; /* Pool for bpp */
sys/ufs/lfs/lfs.h
1093
struct pool lfs_segpool; /* Pool for struct segment */
sys/ufs/lfs/lfs_extern.h
120
extern struct pool lfs_inode_pool; /* memory pool for inodes */
sys/ufs/lfs/lfs_extern.h
121
extern struct pool lfs_dinode_pool; /* memory pool for dinodes */
sys/ufs/lfs/lfs_extern.h
122
extern struct pool lfs_inoext_pool; /* memory pool for inode extension */
sys/ufs/lfs/lfs_extern.h
123
extern struct pool lfs_lbnentry_pool; /* memory pool for balloc accounting */
sys/ufs/lfs/lfs_vfsops.c
409
struct pool lfs_inode_pool;
sys/ufs/lfs/lfs_vfsops.c
410
struct pool lfs_dinode_pool;
sys/ufs/lfs/lfs_vfsops.c
411
struct pool lfs_inoext_pool;
sys/ufs/lfs/lfs_vfsops.c
412
struct pool lfs_lbnentry_pool;
sys/uvm/pmap/pmap.c
2529
pmap_pv_page_alloc(struct pool *pp, int flags)
sys/uvm/pmap/pmap.c
2544
pmap_pv_page_free(struct pool *pp, void *v)
sys/uvm/pmap/pmap.c
281
struct pool pmap_pmap_pool;
sys/uvm/pmap/pmap.c
282
struct pool pmap_pv_pool;
sys/uvm/pmap/pmap.c
309
void *pmap_pv_page_alloc(struct pool *, int);
sys/uvm/pmap/pmap.c
310
void pmap_pv_page_free(struct pool *, void *);
sys/uvm/pmap/pmap.h
279
extern struct pool pmap_pmap_pool;
sys/uvm/pmap/pmap.h
280
extern struct pool pmap_pv_pool;
sys/uvm/uvm_aobj.c
130
static struct pool uao_swhash_elt_pool __cacheline_aligned;
sys/uvm/uvm_glue.c
252
uarea_poolpage_alloc(struct pool *pp, int flags)
sys/uvm/uvm_glue.c
286
uarea_poolpage_free(struct pool *pp, void *addr)
sys/uvm/uvm_glue.c
315
uarea_system_poolpage_alloc(struct pool *pp, int flags)
sys/uvm/uvm_glue.c
328
uarea_system_poolpage_free(struct pool *pp, void *addr)
sys/uvm/uvm_pdaemon.c
1017
struct pool *firstpool, *curpool;
tests/kernel/threadpool_tester/threadpool_tester.c
103
__func__, val, opool == pool ? "match" : "NO MATCH"));
tests/kernel/threadpool_tester/threadpool_tester.c
104
KASSERT(opool == pool);
tests/kernel/threadpool_tester/threadpool_tester.c
105
threadpool_put(pool, val);
tests/kernel/threadpool_tester/threadpool_tester.c
119
struct threadpool *pool;
tests/kernel/threadpool_tester/threadpool_tester.c
137
pool = ctx->ctx_unbound[pri_to_idx(val)];
tests/kernel/threadpool_tester/threadpool_tester.c
141
if (pool == NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
147
threadpool_put(pool, val);
tests/kernel/threadpool_tester/threadpool_tester.c
158
struct threadpool *pool;
tests/kernel/threadpool_tester/threadpool_tester.c
175
pool = ctx->ctx_unbound[pri_to_idx(val)];
tests/kernel/threadpool_tester/threadpool_tester.c
176
if (pool == NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
183
threadpool_schedule_job(pool, &ctx->ctx_job);
tests/kernel/threadpool_tester/threadpool_tester.c
284
struct threadpool *pool;
tests/kernel/threadpool_tester/threadpool_tester.c
309
pool = threadpool_percpu_ref(pcpu);
tests/kernel/threadpool_tester/threadpool_tester.c
310
KASSERT(pool != NULL);
tests/kernel/threadpool_tester/threadpool_tester.c
312
threadpool_schedule_job(pool, &ctx->ctx_job);
tests/kernel/threadpool_tester/threadpool_tester.c
450
struct threadpool *pool =
tests/kernel/threadpool_tester/threadpool_tester.c
461
if (pool != NULL) {
tests/kernel/threadpool_tester/threadpool_tester.c
462
threadpool_cancel_job(pool, &tester_ctx.ctx_job);
tests/kernel/threadpool_tester/threadpool_tester.c
463
threadpool_put(pool, pri);
tests/kernel/threadpool_tester/threadpool_tester.c
467
pool = threadpool_percpu_ref(pcpu);
tests/kernel/threadpool_tester/threadpool_tester.c
468
threadpool_cancel_job(pool, &tester_ctx.ctx_job);
tests/kernel/threadpool_tester/threadpool_tester.c
70
struct threadpool *pool, *opool = NULL;
tests/kernel/threadpool_tester/threadpool_tester.c
86
error = threadpool_get(&pool, val);
tests/kernel/threadpool_tester/threadpool_tester.c
95
ctx->ctx_unbound[pri_to_idx(val)] = pool;
tests/modules/threadpool_tester/threadpool_tester.c
103
__func__, val, opool == pool ? "match" : "NO MATCH"));
tests/modules/threadpool_tester/threadpool_tester.c
104
KASSERT(opool == pool);
tests/modules/threadpool_tester/threadpool_tester.c
105
threadpool_put(pool, val);
tests/modules/threadpool_tester/threadpool_tester.c
119
struct threadpool *pool;
tests/modules/threadpool_tester/threadpool_tester.c
137
pool = ctx->ctx_unbound[pri_to_idx(val)];
tests/modules/threadpool_tester/threadpool_tester.c
141
if (pool == NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
147
threadpool_put(pool, val);
tests/modules/threadpool_tester/threadpool_tester.c
158
struct threadpool *pool;
tests/modules/threadpool_tester/threadpool_tester.c
175
pool = ctx->ctx_unbound[pri_to_idx(val)];
tests/modules/threadpool_tester/threadpool_tester.c
176
if (pool == NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
183
threadpool_schedule_job(pool, &ctx->ctx_job);
tests/modules/threadpool_tester/threadpool_tester.c
284
struct threadpool *pool;
tests/modules/threadpool_tester/threadpool_tester.c
309
pool = threadpool_percpu_ref(pcpu);
tests/modules/threadpool_tester/threadpool_tester.c
310
KASSERT(pool != NULL);
tests/modules/threadpool_tester/threadpool_tester.c
312
threadpool_schedule_job(pool, &ctx->ctx_job);
tests/modules/threadpool_tester/threadpool_tester.c
450
struct threadpool *pool =
tests/modules/threadpool_tester/threadpool_tester.c
461
if (pool != NULL) {
tests/modules/threadpool_tester/threadpool_tester.c
462
threadpool_cancel_job(pool, &tester_ctx.ctx_job);
tests/modules/threadpool_tester/threadpool_tester.c
463
threadpool_put(pool, pri);
tests/modules/threadpool_tester/threadpool_tester.c
467
pool = threadpool_percpu_ref(pcpu);
tests/modules/threadpool_tester/threadpool_tester.c
468
threadpool_cancel_job(pool, &tester_ctx.ctx_job);
tests/modules/threadpool_tester/threadpool_tester.c
70
struct threadpool *pool, *opool = NULL;
tests/modules/threadpool_tester/threadpool_tester.c
86
error = threadpool_get(&pool, val);
tests/modules/threadpool_tester/threadpool_tester.c
95
ctx->ctx_unbound[pri_to_idx(val)] = pool;
tests/rump/kernspace/alloc.c
49
static struct pool pp1, pp2;
tests/rump/kernspace/threadpool.c
158
struct threadpool *pool;
tests/rump/kernspace/threadpool.c
161
error = threadpool_get(&pool, PRI_NONE);
tests/rump/kernspace/threadpool.c
168
threadpool_schedule_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
176
threadpool_put(pool, PRI_NONE);
tests/rump/kernspace/threadpool.c
184
struct threadpool *pool;
tests/rump/kernspace/threadpool.c
190
pool = threadpool_percpu_ref(pcpu);
tests/rump/kernspace/threadpool.c
196
threadpool_schedule_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
211
struct threadpool *pool;
tests/rump/kernspace/threadpool.c
215
error = threadpool_get(&pool, PRI_NONE);
tests/rump/kernspace/threadpool.c
221
threadpool_schedule_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
227
rv = threadpool_cancel_job_async(pool, &data.job);
tests/rump/kernspace/threadpool.c
234
threadpool_cancel_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
240
threadpool_put(pool, PRI_NONE);
tests/rump/kernspace/threadpool.c
247
struct threadpool *pool;
tests/rump/kernspace/threadpool.c
250
error = threadpool_get(&pool, PRI_NONE);
tests/rump/kernspace/threadpool.c
257
threadpool_schedule_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
270
threadpool_cancel_job(pool, &data.job);
tests/rump/kernspace/threadpool.c
287
threadpool_put(pool, PRI_NONE);
usr.bin/netstat/mbuf.c
62
struct pool mbpool, mclpool;
usr.bin/vmstat/vmstat.c
1610
TAILQ_HEAD(,pool) pool_head;
usr.bin/vmstat/vmstat.c
1611
struct pool pool, *pp = &pool;
usr.bin/vmstat/vmstat.c
1810
TAILQ_HEAD(,pool) pool_head;
usr.bin/vmstat/vmstat.c
1811
struct pool pool, *pp = &pool;
usr.bin/vmstat/vmstat.c
907
struct pool pool, *pp = &pool;
usr.bin/vmstat/vmstat.c
909
TAILQ_HEAD(,pool) pool_head;
usr.bin/xlint/lint1/mem1.c
172
mpool_add(memory_pool *pool, struct memory_pool_item item)
usr.bin/xlint/lint1/mem1.c
175
if (pool->len >= pool->cap) {
usr.bin/xlint/lint1/mem1.c
176
pool->cap = 2 * pool->len + 16;
usr.bin/xlint/lint1/mem1.c
177
pool->items = xrealloc(pool->items,
usr.bin/xlint/lint1/mem1.c
178
sizeof(*pool->items) * pool->cap);
usr.bin/xlint/lint1/mem1.c
180
pool->items[pool->len++] = item;
usr.bin/xlint/lint1/mem1.c
211
mpool_free(memory_pool *pool)
usr.bin/xlint/lint1/mem1.c
215
for (size_t i = pool->len; i-- > 0; )
usr.bin/xlint/lint1/mem1.c
216
debug_memory_pool_item(pool->items + i);
usr.bin/xlint/lint1/mem1.c
219
for (size_t i = pool->len; i-- > 0;) {
usr.bin/xlint/lint1/mem1.c
222
set(pool->items[i].p, 'Z', pool->items[i].size);
usr.bin/xlint/lint1/mem1.c
224
free(pool->items[i].p);
usr.bin/xlint/lint1/mem1.c
226
pool->len = 0;
usr.bin/xlint/lint1/mem1.c
231
mpool_zero_alloc(memory_pool *pool, size_t size, const char *descr)
usr.bin/xlint/lint1/mem1.c
233
mpool_zero_alloc(memory_pool *pool, size_t size)
usr.bin/xlint/lint1/mem1.c
240
mpool_add(pool, (struct memory_pool_item){ mem, size, descr });
usr.bin/xlint/lint1/mem1.c
242
mpool_add(pool, (struct memory_pool_item){ mem });