Searched refs:vstruct_list (Results 1 - 4 of 4) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/osfmk/default_pager/
H A Ddp_memory_object.c87 struct vstruct_list_head vstruct_list; variable in typeref:struct:vstruct_list_head
94 queue_enter(&vstruct_list.vsl_queue, vs, vstruct_t, vs_links);
95 vstruct_list.vsl_count++;
104 queue_remove(&vstruct_list.vsl_queue, vs, vstruct_t, vs_links);
105 vstruct_list.vsl_count--;
912 actual = vstruct_list.vsl_count;
946 queue_iterate(&vstruct_list.vsl_queue, entry, vstruct_t, vs_links) {
1056 queue_iterate(&vstruct_list.vsl_queue, entry, vstruct_t,
H A Ddefault_pager_internal.h707 __private_extern__ struct vstruct_list_head vstruct_list;
714 #define VSL_LOCK_INIT() mutex_init(&vstruct_list.vsl_lock, 0)
716 #define VSL_LOCK_INIT() mutex_init(&vstruct_list.vsl_lock)
718 #define VSL_LOCK() mutex_lock(&vstruct_list.vsl_lock)
719 #define VSL_LOCK_TRY() mutex_try(&vstruct_list.vsl_lock)
720 #define VSL_UNLOCK() mutex_unlock(&vstruct_list.vsl_lock)
721 #define VSL_SLEEP(e,i) thread_sleep_mutex((e), &vstruct_list.vsl_lock, (i))
H A Ddefault_pager.c383 queue_init(&vstruct_list.vsl_queue);
384 vstruct_list.vsl_count = 0;
H A Ddp_backing_store.c693 vs_count = vstruct_list.vsl_count;
694 vs = (vstruct_t) queue_first((queue_entry_t)&(vstruct_list.vsl_queue));
695 if(vs == (vstruct_t)&vstruct_list) {
765 if((next_vs != (vstruct_t)&vstruct_list) &&
784 if((vs == next_vs) || (next_vs == (vstruct_t)&vstruct_list))

Completed in 77 milliseconds