Searched refs:MAX_SWAP_VNODES (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dswap.h162 #define MAX_SWAP_VNODES_LOG2 11 /* log2(MAX_SWAP_VNODES) */
163 #define MAX_SWAP_VNODES (1U << MAX_SWAP_VNODES_LOG2) /* max # swap vnodes */ macro
164 #define AN_VPMASK (MAX_SWAP_VNODES - 1) /* vp index mask */
/illumos-gate/usr/src/uts/common/fs/swapfs/
H A Dswap_subr.c175 swap_vnodes = kmem_zalloc(MAX_SWAP_VNODES * sizeof (struct vnode *),
253 for (i = 0; i < MAX_SWAP_VNODES; i++) {

Completed in 69 milliseconds