Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ocfs2/dlm/
Ddlmlock.c47 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()
[all …]
Ddlmcommon.h340 struct dlm_lock struct
819 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie,
821 void dlm_lock_get(struct dlm_lock *lock);
822 void dlm_lock_put(struct dlm_lock *lock);
824 void dlm_lock_attach_lockres(struct dlm_lock *lock,
835 struct dlm_lock *lock);
837 struct dlm_lock *lock);
842 struct dlm_lock *lock);
844 struct dlm_lock *lock);
908 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
[all …]
Ddlmast.c37 struct dlm_lock *lock);
38 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
49 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
76 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
131 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
142 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
168 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
179 struct dlm_lock *lock) in dlm_update_lvb()
209 struct dlm_lock *lock) in dlm_do_local_ast()
227 struct dlm_lock *lock) in dlm_do_remote_ast()
[all …]
Ddlmunlock.c45 struct dlm_lock *lock,
50 struct dlm_lock *lock,
56 struct dlm_lock *lock,
85 struct dlm_lock *lock, in dlmunlock_common()
268 struct dlm_lock *lock) in dlm_commit_pending_unlock()
276 struct dlm_lock *lock) in dlm_commit_pending_cancel()
285 struct dlm_lock *lock, in dlmunlock_master()
295 struct dlm_lock *lock, in dlmunlock_remote()
311 struct dlm_lock *lock, in dlm_send_remote_unlock_request()
397 struct dlm_lock *lock = NULL; in dlm_unlock_lock_handler()
[all …]
Ddlmconvert.c45 struct dlm_lock *lock, int flags,
50 struct dlm_lock *lock, int flags, int type);
63 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
106 struct dlm_lock *lock, int flags, in __dlmconvert_master()
111 struct dlm_lock *tmplock=NULL; in __dlmconvert_master()
236 struct dlm_lock *lock) in dlm_revert_pending_convert()
253 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
357 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
437 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler()
438 struct dlm_lock *tmp_lock; in dlm_convert_lock_handler()
Ddlmconvert.h15 struct dlm_lock *lock, int flags, int type);
18 struct dlm_lock *lock, int flags, int type);
Ddlmapi.h15 struct dlm_lock;
99 struct dlm_lock *lockid;
190 void dlm_print_one_lock(struct dlm_lock *lockid);
Ddlmthread.c347 struct dlm_lock *lock, *target; in dlm_shuffle_lists()
368 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
439 target = list_entry(res->blocked.next, struct dlm_lock, list); in dlm_shuffle_lists()
576 struct dlm_lock *lock; in dlm_flush_asts()
583 struct dlm_lock, ast_list); in dlm_flush_asts()
627 struct dlm_lock, bast_list); in dlm_flush_asts()
Ddlmdebug.c59 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock()
84 struct dlm_lock *lock; in __dlm_print_one_lock_resource()
118 void dlm_print_one_lock(struct dlm_lock *lockid) in dlm_print_one_lock()
464 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
490 struct dlm_lock *lock; in dump_lockres()
Ddlmrecovery.c1048 struct dlm_lock *lock; in dlm_move_reco_locks_to_list()
1180 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration()
1216 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1243 struct dlm_lock dummy; in dlm_add_dummy_lock()
1276 struct dlm_lock *lock; in dlm_send_one_lockres()
1803 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data()
1807 struct dlm_lock *lock; in dlm_process_recovery_data()
1846 struct dlm_lock, list); in dlm_process_recovery_data()
2058 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list()
2207 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
[all …]
Ddlmmaster.c2490 struct dlm_lock *lock; in dlm_is_lockres_migratable()
2795 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2932 struct dlm_lock *lock, *next; in dlm_remove_nonlocal_locks()
2986 struct dlm_lock *lock; in dlm_pick_migration_target()
/Linux-v5.4/fs/dlm/
Dmain.c92 EXPORT_SYMBOL_GPL(dlm_lock);
Dlock.c3410 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() function
/Linux-v5.4/include/linux/
Ddlm.h133 int dlm_lock(dlm_lockspace_t *lockspace,
/Linux-v5.4/fs/ocfs2/
Dstackglue.h165 int (*dlm_lock)(struct ocfs2_cluster_connection *conn, member
Dstack_user.c694 ret = dlm_lock(conn->cc_lockspace, mode, &lksb->lksb_fsdlm, in user_dlm_lock()
851 error = dlm_lock(conn->cc_lockspace, mode, lksb, flags, in sync_lock()
1086 .dlm_lock = user_dlm_lock,
Dstack_o2cb.c413 .dlm_lock = o2cb_dlm_lock,
Dstackglue.c244 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock()
/Linux-v5.4/fs/gfs2/
Dlock_dlm.c275 return dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname, in gdlm_lock()
527 error = dlm_lock(ls->ls_dlm, mode, lksb, flags, in sync_lock()
/Linux-v5.4/drivers/md/
Dmd-cluster.c128 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync()
154 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync_interruptible()