Searched refs:bast (Results 1 - 7 of 7) sorted by relevance

/linux-master/include/linux/
H A Ddlm.h104 * astarg: argument passed to lockast and bast functions
105 * bast: function DLM executes when this lock later blocks another request
136 void (*bast) (void *astarg, int mode));
/linux-master/fs/ocfs2/dlm/
H A Ddlmlock.c391 newlock->bast = NULL;
543 void *data, dlm_bastlockfunc_t *bast)
601 /* XXX: for ocfs2 purposes, the ast/bast/astdata/lksb are
607 lock->bast != bast || lock->astdata != data) {
609 mlog(ML_ERROR, "new args: lksb=%p, ast=%p, bast=%p, "
610 "astdata=%p\n", lksb, ast, bast, data);
611 mlog(ML_ERROR, "orig args: lksb=%p, ast=%p, bast=%p, "
613 lock->bast, lock->astdata);
673 lock->bast
540 dlmlock(struct dlm_ctxt *dlm, int mode, struct dlm_lockstatus *lksb, int flags, const char *name, int namelen, dlm_astlockfunc_t *ast, void *data, dlm_bastlockfunc_t *bast) argument
[all...]
H A Ddlmapi.h171 dlm_bastlockfunc_t *bast);
H A Ddlmast.c39 * lock level will obsolete a pending bast.
40 * For example, if dlm_thread queued a bast for an EX lock that
41 * was blocking another EX, but before sending the bast the
42 * lock owner downconverted to NL, the bast is now obsolete.
58 /* old bast already sent, ok */
62 /* EX blocks anything left, any bast still valid */
65 /* NL blocks nothing, no reason to send any bast, cancel it */
104 /* check to see if this ast obsoletes the bast */
117 /* free up the reserved bast that we are cancelling.
119 * ast because *both* an ast and a bast wer
[all...]
H A Ddlmcommon.h346 // ast and bast must be callable while holding a spinlock!
348 dlm_bastlockfunc_t *bast; member in struct:dlm_lock
/linux-master/drivers/md/
H A Dmd-cluster.c26 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/ member in struct:dlm_lock_resource
130 0, sync_ast, res, res->bast);
156 0, sync_ast, res, res->bast);
215 res->bast = bastfn;
/linux-master/fs/dlm/
H A Dlock.c2587 void (*bast)(void *astparam, int mode),
2640 args->bastfn = bast;
3216 void (*bast) (void *astarg, int mode))
3239 error = set_lock_args(mode, lksb, flags, namelen, ast, astarg, bast,

Completed in 257 milliseconds