Home
last modified time | relevance | path

Searched refs:dlm_lock (Results 1 – 18 of 18) sorted by relevance

/fs/ocfs2/dlm/
Ddlmlock.c45 struct dlm_lock *lock, int flags);
46 static void dlm_init_lock(struct dlm_lock *newlock, int type,
49 static void dlm_lock_detach_lockres(struct dlm_lock *lock);
54 sizeof(struct dlm_lock), in dlm_init_lock_cache()
74 struct dlm_lock *lock) in dlm_can_grant_new_lock()
76 struct dlm_lock *tmplock; in dlm_can_grant_new_lock()
103 struct dlm_lock *lock, int flags) in dlmlock_master()
182 struct dlm_lock *lock) in dlm_revert_pending_lock()
199 struct dlm_lock *lock, int flags) in dlmlock_remote()
285 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
[all …]
Ddlmcommon.h335 struct dlm_lock struct
810 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie,
812 void dlm_lock_get(struct dlm_lock *lock);
813 void dlm_lock_put(struct dlm_lock *lock);
815 void dlm_lock_attach_lockres(struct dlm_lock *lock,
826 struct dlm_lock *lock);
828 struct dlm_lock *lock);
833 struct dlm_lock *lock);
835 struct dlm_lock *lock);
899 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
[all …]
Ddlmunlock.c43 struct dlm_lock *lock,
48 struct dlm_lock *lock,
54 struct dlm_lock *lock,
83 struct dlm_lock *lock, in dlmunlock_common()
266 struct dlm_lock *lock) in dlm_commit_pending_unlock()
274 struct dlm_lock *lock) in dlm_commit_pending_cancel()
283 struct dlm_lock *lock, in dlmunlock_master()
293 struct dlm_lock *lock, in dlmunlock_remote()
309 struct dlm_lock *lock, in dlm_send_remote_unlock_request()
395 struct dlm_lock *lock = NULL, *iter; in dlm_unlock_lock_handler()
[all …]
Ddlmast.c35 struct dlm_lock *lock);
36 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
47 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
74 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
129 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
140 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
167 struct dlm_lock *lock) in dlm_update_lvb()
197 struct dlm_lock *lock) in dlm_do_local_ast()
215 struct dlm_lock *lock) in dlm_do_remote_ast()
239 struct dlm_lock *lock, int blocked_type) in dlm_do_local_bast()
[all …]
Ddlmconvert.c43 struct dlm_lock *lock, int flags,
48 struct dlm_lock *lock, int flags, int type);
61 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
104 struct dlm_lock *lock, int flags, in __dlmconvert_master()
109 struct dlm_lock *tmplock=NULL; in __dlmconvert_master()
234 struct dlm_lock *lock) in dlm_revert_pending_convert()
251 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
355 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
435 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler()
436 struct dlm_lock *tmp_lock; in dlm_convert_lock_handler()
Ddlmapi.h13 struct dlm_lock;
97 struct dlm_lock *lockid;
188 void dlm_print_one_lock(struct dlm_lock *lockid);
Ddlmconvert.h13 struct dlm_lock *lock, int flags, int type);
16 struct dlm_lock *lock, int flags, int type);
Ddlmthread.c343 struct dlm_lock *lock, *target; in dlm_shuffle_lists()
364 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
435 target = list_entry(res->blocked.next, struct dlm_lock, list); in dlm_shuffle_lists()
572 struct dlm_lock *lock; in dlm_flush_asts()
579 struct dlm_lock, ast_list); in dlm_flush_asts()
623 struct dlm_lock, bast_list); in dlm_flush_asts()
Ddlmdebug.c57 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock()
82 struct dlm_lock *lock; in __dlm_print_one_lock_resource()
116 void dlm_print_one_lock(struct dlm_lock *lockid) in dlm_print_one_lock()
462 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
488 struct dlm_lock *lock; in dump_lockres()
Ddlmrecovery.c1039 struct dlm_lock *lock; in dlm_move_reco_locks_to_list()
1171 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration()
1207 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1234 struct dlm_lock dummy; in dlm_add_dummy_lock()
1267 struct dlm_lock *lock; in dlm_send_one_lockres()
1794 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data()
1798 struct dlm_lock *lock; in dlm_process_recovery_data()
1837 struct dlm_lock, list); in dlm_process_recovery_data()
2049 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list()
2198 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
[all …]
Ddlmmaster.c2488 struct dlm_lock *lock; in dlm_is_lockres_migratable()
2790 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2927 struct dlm_lock *lock, *next; in dlm_remove_nonlocal_locks()
2981 struct dlm_lock *lock; in dlm_pick_migration_target()
/fs/dlm/
Dmain.c98 EXPORT_SYMBOL_GPL(dlm_lock);
Dlock.c3422 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() function
/fs/ocfs2/
Dstackglue.h163 int (*dlm_lock)(struct ocfs2_cluster_connection *conn, member
Dstack_user.c690 return dlm_lock(conn->cc_lockspace, mode, &lksb->lksb_fsdlm, in user_dlm_lock()
843 error = dlm_lock(conn->cc_lockspace, mode, lksb, flags, in sync_lock()
1078 .dlm_lock = user_dlm_lock,
Dstack_o2cb.c411 .dlm_lock = o2cb_dlm_lock,
Dstackglue.c242 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock()
/fs/gfs2/
Dlock_dlm.c284 error = dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname, in gdlm_lock()
549 error = dlm_lock(ls->ls_dlm, mode, lksb, flags, in sync_lock()