Lines Matching defs:bin
239 /* Find the bin for the given page if it was of size szc */
259 uint_t plw_bin_step; /* next bin: 1 or 2 */
261 uint_t plw_bin0; /* starting bin */
262 uint_t plw_bin_marker; /* bin after initial jump */
263 uint_t plw_bin_split_prev; /* last bin we tried to split */
265 uint_t plw_split_next; /* next bin to split */
272 void page_list_walk_init(uchar_t szc, uint_t flags, uint_t bin,
275 uint_t page_list_walk_next_bin(uchar_t szc, uint_t bin,
317 #define PC_BIN_MUTEX(mnode, bin, flags) ((flags & PG_FREE_LIST) ? \
318 &fpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode] : \
319 &cpc_mutex[(bin) & (NPC_MUTEX - 1)][mnode])
435 * hash as and addr to get a bin.
438 #define AS_2_BIN(as, seg, vp, addr, bin, szc) \
439 bin = (((((uintptr_t)(addr) >> PAGESHIFT) + ((uintptr_t)(as) >> 4)) \
463 * When a bin is empty, and we can't satisfy a color request correctly,
468 * an empty bin, skip a bunch before looking. After the first skip,
469 * then just look one bin at a time so we don't miss our cache on
470 * every look. Be sure to check every bin. Page_create() will panic
474 * and page_get_cachelist(). Since we checked the target bin, skipped
475 * a bunch, then continued one a time, we wind up checking the target bin