Home
last modified time | relevance | path

Searched refs:dlm_status (Results 1 – 9 of 9) sorted by relevance

/fs/ocfs2/dlm/
Ddlmapi.h34 enum dlm_status { enum
83 const char *dlm_errmsg(enum dlm_status err);
85 const char *dlm_errname(enum dlm_status err);
112 enum dlm_status status;
178 typedef void (dlm_astunlockfunc_t)(void *, enum dlm_status);
180 enum dlm_status dlmlock(struct dlm_ctxt *dlm,
190 enum dlm_status dlmunlock(struct dlm_ctxt *dlm,
Ddlmunlock.c58 static enum dlm_status dlm_get_cancel_actions(struct dlm_ctxt *dlm,
63 static enum dlm_status dlm_get_unlock_actions(struct dlm_ctxt *dlm,
69 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm,
98 static enum dlm_status dlmunlock_common(struct dlm_ctxt *dlm, in dlmunlock_common()
105 enum dlm_status status; in dlmunlock_common()
298 static inline enum dlm_status dlmunlock_master(struct dlm_ctxt *dlm, in dlmunlock_master()
308 static inline enum dlm_status dlmunlock_remote(struct dlm_ctxt *dlm, in dlmunlock_remote()
324 static enum dlm_status dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, in dlm_send_remote_unlock_request()
333 enum dlm_status ret; in dlm_send_remote_unlock_request()
413 enum dlm_status status = DLM_NORMAL; in dlm_unlock_lock_handler()
[all …]
Ddlmconvert.c58 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm,
63 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm,
76 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm, in dlmconvert_master()
81 enum dlm_status status; in dlmconvert_master()
119 static enum dlm_status __dlmconvert_master(struct dlm_ctxt *dlm, in __dlmconvert_master()
125 enum dlm_status status = DLM_NORMAL; in __dlmconvert_master()
266 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm, in dlmconvert_remote()
270 enum dlm_status status; in dlmconvert_remote()
370 static enum dlm_status dlm_send_remote_convert_request(struct dlm_ctxt *dlm, in dlm_send_remote_convert_request()
376 enum dlm_status ret; in dlm_send_remote_convert_request()
[all …]
Ddlmlock.c60 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm,
119 static enum dlm_status dlmlock_master(struct dlm_ctxt *dlm, in dlmlock_master()
124 enum dlm_status status = DLM_NORMAL; in dlmlock_master()
215 static enum dlm_status dlmlock_remote(struct dlm_ctxt *dlm, in dlmlock_remote()
219 enum dlm_status status = DLM_DENIED; in dlmlock_remote()
301 static enum dlm_status dlm_send_remote_lock_request(struct dlm_ctxt *dlm, in dlm_send_remote_lock_request()
307 enum dlm_status ret; in dlm_send_remote_lock_request()
466 enum dlm_status status = DLM_NORMAL; in dlm_create_lock_handler()
558 enum dlm_status dlmlock(struct dlm_ctxt *dlm, int mode, in dlmlock()
563 enum dlm_status status; in dlmlock()
Ddlmconvert.h28 enum dlm_status dlmconvert_master(struct dlm_ctxt *dlm,
31 enum dlm_status dlmconvert_remote(struct dlm_ctxt *dlm,
Ddlmcommon.h801 static inline enum dlm_status
804 enum dlm_status status = DLM_NORMAL; in __dlm_lockres_state_to_status()
1105 static inline enum dlm_status dlm_err_to_dlm_status(int err) in dlm_err_to_dlm_status()
1107 enum dlm_status ret; in dlm_err_to_dlm_status()
Ddlmdebug.c229 const char *dlm_errmsg(enum dlm_status err) in dlm_errmsg()
237 const char *dlm_errname(enum dlm_status err) in dlm_errname()
Ddlmrecovery.c90 static void dlm_reco_unlock_ast(void *astdata, enum dlm_status st);
2558 static void dlm_reco_unlock_ast(void *astdata, enum dlm_status st) in dlm_reco_unlock_ast()
2577 enum dlm_status ret; in dlm_pick_recovery_master()
/fs/ocfs2/
Dstack_o2cb.c157 static int dlm_status_to_errno(enum dlm_status status) in dlm_status_to_errno()
178 static void o2dlm_unlock_ast_wrapper(void *astarg, enum dlm_status status) in o2dlm_unlock_ast_wrapper()
207 enum dlm_status status; in o2cb_dlm_lock()
224 enum dlm_status status; in o2cb_dlm_unlock()