Lines Matching refs:vs
446 #define VSCLSIZE(vs) (1U << (vs)->vs_clshift)
519 #define CLMAP_SHIFT(clm,vs) \
520 (clm)->cl_bmap.clb_map >>= (VSCLSIZE(vs) - (clm)->cl_numpages)
521 #define CLMAP_SHIFTALLOC(clm,vs) \
522 (clm)->cl_alloc.clb_map >>= (VSCLSIZE(vs) - (clm)->cl_numpages)
526 struct vstruct *vs;
535 #define VS_LOCK_INIT(vs) hw_lock_init(&(vs)->vs_lock)
536 #define VS_TRY_LOCK(vs) (VS_LOCK(vs),TRUE)
537 #define VS_LOCK(vs) hw_lock_lock(&(vs)->vs_lock)
538 #define VS_UNLOCK(vs) hw_lock_unlock(&(vs)->vs_lock)
540 #define VS_MAP_LOCK_INIT(vs) lck_mtx_init(&(vs)->vs_map_lock, &default_pager_lck_grp, &default_pager_lck_attr)
541 #define VS_MAP_LOCK_DESTROY(vs) lck_mtx_destroy(&(vs)->vs_map_lock, &default_pager_lck_grp)
542 #define VS_MAP_LOCK(vs) lck_mtx_lock(&(vs)->vs_map_lock)
543 #define VS_MAP_TRY_LOCK(vs) lck_mtx_try_lock(&(vs)->vs_map_lock)
544 #define VS_MAP_UNLOCK(vs) lck_mtx_unlock(&(vs)->vs_map_lock)
607 #define vs_lock(vs)
608 #define vs_unlock(vs)
609 #define vs_start_read(vs)
610 #define vs_wait_for_readers(vs)
611 #define vs_finish_read(vs)
612 #define vs_start_write(vs)
613 #define vs_wait_for_writers(vs)
614 #define vs_wait_for_sync_writers(vs)
615 #define vs_finish_write(vs)
661 __private_extern__ void vstruct_list_insert(vstruct_t vs);
662 __private_extern__ void vstruct_list_delete(vstruct_t vs);