Lines Matching defs:lock

229 #define	SET_LOCK_TO_FIRST_ACTIVE_VP(gp, lock, vp) \  argument
234 #define SET_LOCK_TO_FIRST_SLEEP_VP(gp, lock, vp) \ argument
248 #define IS_INITIAL(lock) ((lock)->l_status == FLK_INITIAL_STATE) argument
249 #define IS_ACTIVE(lock) ((lock)->l_status == FLK_ACTIVE_STATE) argument
250 #define IS_SLEEPING(lock) ((lock)->l_status == FLK_SLEEPING_STATE) argument
251 #define IS_GRANTED(lock) ((lock)->l_status == FLK_GRANTED_STATE) argument
252 #define IS_INTERRUPTED(lock) ((lock)->l_status == FLK_INTERRUPTED_STATE) argument
253 #define IS_CANCELLED(lock) ((lock)->l_status == FLK_CANCELLED_STATE) argument
254 #define IS_DEAD(lock) ((lock)->l_status == FLK_DEAD_STATE) argument
256 #define IS_QUERY_LOCK(lock) ((lock)->l_state & QUERY_LOCK) argument
257 #define IS_RECOMPUTE(lock) ((lock)->l_state & RECOMPUTE_LOCK) argument
258 #define IS_BARRIER(lock) ((lock)->l_state & BARRIER_LOCK) argument
259 #define IS_DELETED(lock) ((lock)->l_state & DELETED_LOCK) argument
260 #define IS_REFERENCED(lock) ((lock)->l_state & REFERENCED_LOCK) argument
261 #define IS_IO_LOCK(lock) ((lock)->l_state & IO_LOCK) argument
262 #define IS_WILLING_TO_SLEEP(lock) \ argument
264 #define IS_LOCKMGR(lock) ((lock)->l_state & LOCKMGR_LOCK) argument
265 #define IS_NLM_UP(lock) ((lock)->l_nlm_state == FLK_NLM_UP) argument
267 #define IS_PXFS(lock) ((lock)->l_state & PXFS_LOCK) argument
278 #define IS_LOCAL(lock) (GETSYSID((lock)->l_flock.l_sysid) == 0) argument
279 #define IS_REMOTE(lock) (! IS_LOCAL(lock)) argument
318 #define NOT_BLOCKED(lock) \ argument
321 #define GRANT_WAKEUP(lock) \ argument
334 #define CANCEL_WAKEUP(lock) \ argument
347 #define INTERRUPT_WAKEUP(lock) \ argument
360 #define REMOVE_SLEEP_QUEUE(lock) \ argument
370 #define NO_DEPENDENTS(lock) \ argument
373 #define GRANT(lock) \ argument
379 #define FIRST_IN(lock) ((lock)->l_edge.edge_in_next) argument
380 #define FIRST_ADJ(lock) ((lock)->l_edge.edge_adj_next) argument
381 #define HEAD(lock) (&(lock)->l_edge) argument
384 #define IN_ADJ_INIT(lock) \ argument
407 #define SET_NLM_STATE(lock, nlm_state) ((lock)->l_nlm_state = nlm_state) argument
408 #define GET_NLM_STATE(lock) ((lock)->l_nlm_state) argument
479 #define PROC_SAME_OWNER(lock, pvertex) \ argument