Home
last modified time | relevance | path

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

/freebsd/sys/cddl/dev/kinst/
H A Dtrampoline.c39 #define KINST_TRAMPS_PER_CHUNK (KINST_TRAMPCHUNK_SIZE / KINST_TRAMP_SIZE) macro
45 BITSET_DEFINE(, KINST_TRAMPS_PER_CHUNK) free;
114 BIT_FILL(KINST_TRAMPS_PER_CHUNK, &chunk->free); in kinst_trampchunk_alloc()
145 if ((off = BIT_FFS(KINST_TRAMPS_PER_CHUNK, &chunk->free)) == 0) in kinst_trampoline_alloc_locked()
176 BIT_CLR(KINST_TRAMPS_PER_CHUNK, off, &chunk->free); in kinst_trampoline_alloc_locked()
204 for (off = 0; off < KINST_TRAMPS_PER_CHUNK; off++) { in kinst_trampoline_dealloc_locked()
207 BIT_SET(KINST_TRAMPS_PER_CHUNK, off, in kinst_trampoline_dealloc_locked()
210 BIT_ISFULLSET(KINST_TRAMPS_PER_CHUNK, in kinst_trampoline_dealloc_locked()