Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/dlm/
Ddlmlock.c62 struct dlm_lock *lock, int flags);
63 static void dlm_init_lock(struct dlm_lock *newlock, int type,
66 static void dlm_lock_detach_lockres(struct dlm_lock *lock);
71 sizeof(struct dlm_lock), in dlm_init_lock_cache()
91 struct dlm_lock *lock) in dlm_can_grant_new_lock()
93 struct dlm_lock *tmplock; in dlm_can_grant_new_lock()
120 struct dlm_lock *lock, int flags) in dlmlock_master()
199 struct dlm_lock *lock) in dlm_revert_pending_lock()
216 struct dlm_lock *lock, int flags) in dlmlock_remote()
302 struct dlm_lock *lock, int flags) in dlm_send_remote_lock_request()
[all …]
Ddlmcommon.h356 struct dlm_lock struct
831 struct dlm_lock * dlm_new_lock(int type, u8 node, u64 cookie,
833 void dlm_lock_get(struct dlm_lock *lock);
834 void dlm_lock_put(struct dlm_lock *lock);
836 void dlm_lock_attach_lockres(struct dlm_lock *lock,
847 struct dlm_lock *lock);
849 struct dlm_lock *lock);
854 struct dlm_lock *lock);
856 struct dlm_lock *lock);
920 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
[all …]
Ddlmast.c52 struct dlm_lock *lock);
53 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock);
64 static int dlm_should_cancel_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_should_cancel_bast()
91 void __dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_ast()
146 void dlm_queue_ast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_ast()
157 void __dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in __dlm_queue_bast()
183 void dlm_queue_bast(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_queue_bast()
194 struct dlm_lock *lock) in dlm_update_lvb()
224 struct dlm_lock *lock) in dlm_do_local_ast()
242 struct dlm_lock *lock) in dlm_do_remote_ast()
[all …]
Ddlmunlock.c60 struct dlm_lock *lock,
65 struct dlm_lock *lock,
71 struct dlm_lock *lock,
100 struct dlm_lock *lock, in dlmunlock_common()
283 struct dlm_lock *lock) in dlm_commit_pending_unlock()
291 struct dlm_lock *lock) in dlm_commit_pending_cancel()
300 struct dlm_lock *lock, in dlmunlock_master()
310 struct dlm_lock *lock, in dlmunlock_remote()
326 struct dlm_lock *lock, in dlm_send_remote_unlock_request()
412 struct dlm_lock *lock = NULL; in dlm_unlock_lock_handler()
[all …]
Ddlmconvert.h30 struct dlm_lock *lock, int flags, int type);
33 struct dlm_lock *lock, int flags, int type);
Ddlmconvert.c60 struct dlm_lock *lock, int flags,
65 struct dlm_lock *lock, int flags, int type);
78 struct dlm_lock *lock, int flags, int type) in dlmconvert_master()
121 struct dlm_lock *lock, int flags, in __dlmconvert_master()
126 struct dlm_lock *tmplock=NULL; in __dlmconvert_master()
251 struct dlm_lock *lock) in dlm_revert_pending_convert()
268 struct dlm_lock *lock, int flags, int type) in dlmconvert_remote()
372 struct dlm_lock *lock, int flags, int type) in dlm_send_remote_convert_request()
452 struct dlm_lock *lock = NULL; in dlm_convert_lock_handler()
453 struct dlm_lock *tmp_lock; in dlm_convert_lock_handler()
Ddlmapi.h30 struct dlm_lock;
114 struct dlm_lock *lockid;
205 void dlm_print_one_lock(struct dlm_lock *lockid);
Ddlmthread.c362 struct dlm_lock *lock, *target; in dlm_shuffle_lists()
383 target = list_entry(res->converting.next, struct dlm_lock, list); in dlm_shuffle_lists()
454 target = list_entry(res->blocked.next, struct dlm_lock, list); in dlm_shuffle_lists()
591 struct dlm_lock *lock; in dlm_flush_asts()
598 struct dlm_lock, ast_list); in dlm_flush_asts()
642 struct dlm_lock, bast_list); in dlm_flush_asts()
Ddlmdebug.c74 static void __dlm_print_lock(struct dlm_lock *lock) in __dlm_print_lock()
99 struct dlm_lock *lock; in __dlm_print_one_lock_resource()
133 void dlm_print_one_lock(struct dlm_lock *lockid) in dlm_print_one_lock()
479 static int dump_lock(struct dlm_lock *lock, int list_type, char *buf, int len) in dump_lock()
505 struct dlm_lock *lock; in dump_lockres()
Ddlmrecovery.c1063 struct dlm_lock *lock; in dlm_move_reco_locks_to_list()
1197 static void dlm_prepare_lvb_for_migration(struct dlm_lock *lock, in dlm_prepare_lvb_for_migration()
1233 static int dlm_add_lock_to_array(struct dlm_lock *lock, in dlm_add_lock_to_array()
1260 struct dlm_lock dummy; in dlm_add_dummy_lock()
1293 struct dlm_lock *lock; in dlm_send_one_lockres()
1820 struct dlm_lock *newlock = NULL; in dlm_process_recovery_data()
1824 struct dlm_lock *lock; in dlm_process_recovery_data()
1863 struct dlm_lock, list); in dlm_process_recovery_data()
2075 struct dlm_lock *lock, *next; in dlm_move_lockres_to_recovery_list()
2224 static inline int dlm_lvb_needs_invalidation(struct dlm_lock *lock, int local) in dlm_lvb_needs_invalidation()
[all …]
Ddlmmaster.c2505 struct dlm_lock *lock; in dlm_is_lockres_migratable()
2810 int dlm_lock_basts_flushed(struct dlm_ctxt *dlm, struct dlm_lock *lock) in dlm_lock_basts_flushed()
2947 struct dlm_lock *lock, *next; in dlm_remove_nonlocal_locks()
3001 struct dlm_lock *lock; in dlm_pick_migration_target()
/linux-4.19.296/include/linux/
Ddlm.h135 int dlm_lock(dlm_lockspace_t *lockspace,
/linux-4.19.296/fs/dlm/
Dmain.c97 EXPORT_SYMBOL_GPL(dlm_lock);
Dlock.c3415 int dlm_lock(dlm_lockspace_t *lockspace, in dlm_lock() function
/linux-4.19.296/fs/ocfs2/
Dstackglue.h173 int (*dlm_lock)(struct ocfs2_cluster_connection *conn, member
Dstack_user.c702 ret = dlm_lock(conn->cc_lockspace, mode, &lksb->lksb_fsdlm, in user_dlm_lock()
859 error = dlm_lock(conn->cc_lockspace, mode, lksb, flags, in sync_lock()
1094 .dlm_lock = user_dlm_lock,
Dstack_o2cb.c421 .dlm_lock = o2cb_dlm_lock,
Dstackglue.c252 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock()
/linux-4.19.296/fs/gfs2/
Dlock_dlm.c278 return dlm_lock(ls->ls_dlm, req, &gl->gl_lksb, lkf, strname, in gdlm_lock()
531 error = dlm_lock(ls->ls_dlm, mode, lksb, flags, in sync_lock()