Lines Matching refs:is
37 * documentation is hereby granted, provided that both the copyright
59 * is included in support of clause 2.2 (b) of the Apple Public License,
105 * is_growing marks when the table is in the process of growing.
106 * When the table is growing, it can't be freed or grown by another
118 boolean_t is_active; /* is the space alive? */
119 boolean_t is_growing; /* is the space growing? */
137 #define is_free(is) zfree(ipc_space_zone, (is))
148 #define is_fast_space(is) ((is)->is_fast)
150 #define is_ref_lock_init(is) mutex_init(&(is)->is_ref_lock_data, 0)
152 #define ipc_space_reference_macro(is) \
154 mutex_lock(&(is)->is_ref_lock_data); \
155 assert((is)->is_references > 0); \
156 (is)->is_references++; \
157 mutex_unlock(&(is)->is_ref_lock_data); \
160 #define ipc_space_release_macro(is) \
164 mutex_lock(&(is)->is_ref_lock_data); \
165 assert((is)->is_references > 0); \
166 _refs = --(is)->is_references; \
167 mutex_unlock(&(is)->is_ref_lock_data); \
170 is_free(is); \
173 #define is_lock_init(is) mutex_init(&(is)->is_lock_data, 0)
175 #define is_read_lock(is) mutex_lock(&(is)->is_lock_data)
176 #define is_read_unlock(is) mutex_unlock(&(is)->is_lock_data)
177 #define is_read_sleep(is) thread_sleep_mutex((event_t)(is), \
178 &(is)->is_lock_data, \
181 #define is_write_lock(is) mutex_lock(&(is)->is_lock_data)
182 #define is_write_lock_try(is) mutex_try(&(is)->is_lock_data)
183 #define is_write_unlock(is) mutex_unlock(&(is)->is_lock_data)
184 #define is_write_sleep(is) thread_sleep_mutex((event_t)(is), \
185 &(is)->is_lock_data, \
188 #define is_reference(is) ipc_space_reference(is)
189 #define is_release(is) ipc_space_release(is)
191 #define is_write_to_read_lock(is)