Lines Matching refs:dlm_lock
47 struct dlm_lock *lock, int flags);
48 static void dlm_init_lock(struct dlm_lock *newlock, int type,
51 static void dlm_lock_detach_lockres(struct dlm_lock *lock);
56 sizeof(struct dlm_lock), in dlm_init_lock_cache()
76 struct dlm_lock *lock) in dlm_can_grant_new_lock()
78 struct dlm_lock *tmplock; in dlm_can_grant_new_lock()
105 struct dlm_lock *lock, int flags) in dlmlock_master()
184 struct dlm_lock *lock) in dlm_revert_pending_lock()
201 struct dlm_lock *lock, int flags) in dlmlock_remote()
287 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
326 void dlm_lock_get(struct dlm_lock *lock) in dlm_lock_get()
331 void dlm_lock_put(struct dlm_lock *lock) in dlm_lock_put()
338 struct dlm_lock *lock; in dlm_lock_release()
340 lock = container_of(kref, struct dlm_lock, lock_refs); in dlm_lock_release()
358 void dlm_lock_attach_lockres(struct dlm_lock *lock, in dlm_lock_attach_lockres()
366 static void dlm_lock_detach_lockres(struct dlm_lock *lock) in dlm_lock_detach_lockres()
378 static void dlm_init_lock(struct dlm_lock *newlock, int type, in dlm_init_lock()
407 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie, in dlm_new_lock()
410 struct dlm_lock *lock; in dlm_new_lock()
448 struct dlm_lock *newlock = NULL; in dlm_create_lock_handler()
549 struct dlm_lock *lock = NULL; in dlmlock()