/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 393 newlock->bast = NULL; in dlm_init_lock() 545 void *data, dlm_bastlockfunc_t *bast) in dlmlock() 603 /* XXX: for ocfs2 purposes, the ast/bast/astdata/lksb are in dlmlock() 609 lock->bast != bast || lock->astdata != data) { in dlmlock() 611 mlog(ML_ERROR, "new args: lksb=%p, ast=%p, bast=%p, " in dlmlock() 612 "astdata=%p\n", lksb, ast, bast, data); in dlmlock() 613 mlog(ML_ERROR, "orig args: lksb=%p, ast=%p, bast=%p, " in dlmlock() 615 lock->bast, lock->astdata); in dlmlock() 675 lock->bast in dlmlock() 542 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) dlmlock() argument [all...] |
H A D | dlmapi.h | 173 dlm_bastlockfunc_t *bast);
|
H A D | dlmast.c | 41 * lock level will obsolete a pending bast. 42 * For example, if dlm_thread queued a bast for an EX lock that 43 * was blocking another EX, but before sending the bast the 44 * lock owner downconverted to NL, the bast is now obsolete. 60 /* old bast already sent, ok */ in dlm_should_cancel_bast() 64 /* EX blocks anything left, any bast still valid */ in dlm_should_cancel_bast() 67 /* NL blocks nothing, no reason to send any bast, cancel it */ in dlm_should_cancel_bast() 106 /* check to see if this ast obsoletes the bast */ in __dlm_queue_ast() 119 /* free up the reserved bast that we are cancelling. in __dlm_queue_ast() 121 * ast because *both* an ast and a bast wer in __dlm_queue_ast() [all...] |
H A D | dlmcommon.h | 351 // ast and bast must be callable while holding a spinlock! 353 dlm_bastlockfunc_t *bast; member
|
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 391 newlock->bast = NULL; in dlm_init_lock() 543 void *data, dlm_bastlockfunc_t *bast) in dlmlock() 601 /* XXX: for ocfs2 purposes, the ast/bast/astdata/lksb are in dlmlock() 607 lock->bast != bast || lock->astdata != data) { in dlmlock() 609 mlog(ML_ERROR, "new args: lksb=%p, ast=%p, bast=%p, " in dlmlock() 610 "astdata=%p\n", lksb, ast, bast, data); in dlmlock() 611 mlog(ML_ERROR, "orig args: lksb=%p, ast=%p, bast=%p, " in dlmlock() 613 lock->bast, lock->astdata); in dlmlock() 673 lock->bast in dlmlock() 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) dlmlock() argument [all...] |
H A D | dlmapi.h | 171 dlm_bastlockfunc_t *bast);
|
H A D | dlmast.c | 39 * 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 */ in dlm_should_cancel_bast() 62 /* EX blocks anything left, any bast still valid */ in dlm_should_cancel_bast() 65 /* NL blocks nothing, no reason to send any bast, cancel it */ in dlm_should_cancel_bast() 104 /* check to see if this ast obsoletes the bast */ in __dlm_queue_ast() 117 /* free up the reserved bast that we are cancelling. in __dlm_queue_ast() 119 * ast because *both* an ast and a bast wer in __dlm_queue_ast() [all...] |
H A D | dlmcommon.h | 346 // ast and bast must be callable while holding a spinlock! 348 dlm_bastlockfunc_t *bast; member
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dlm.h | 61 * direct bast/cast callbacks. 110 * astarg: argument passed to lockast and bast functions 111 * bast: function DLM executes when this lock later blocks another request 142 void (*bast) (void *astarg, int mode));
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dlm.h | 104 * 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));
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | md-cluster.c | 26 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/ member 130 0, sync_ast, res, res->bast); in dlm_lock_sync() 156 0, sync_ast, res, res->bast); in dlm_lock_sync_interruptible() 215 res->bast = bastfn; in lockres_init()
|
/kernel/linux/linux-6.6/drivers/md/ |
H A D | md-cluster.c | 26 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/ member 130 0, sync_ast, res, res->bast); in dlm_lock_sync() 156 0, sync_ast, res, res->bast); in dlm_lock_sync_interruptible() 215 res->bast = bastfn; in lockres_init()
|
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | lock.c | 2813 void (*bast) (void *astparam, int mode), in set_lock_args() 2866 args->bastfn = bast; in set_lock_args() 3422 void (*bast) (void *astarg, int mode)) in dlm_lock() 3444 astarg, bast, &args); in dlm_lock()
|
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | lock.c | 2584 void (*bast)(void *astparam, int mode), in set_lock_args() 2637 args->bastfn = bast; in set_lock_args() 3213 void (*bast) (void *astarg, int mode)) in dlm_lock() 3236 error = set_lock_args(mode, lksb, flags, namelen, ast, astarg, bast, in dlm_lock()
|