/kernel/linux/linux-5.10/fs/ocfs2/ |
H A D | stackglue.h | 56 * include in the lksb union to make space for a combined dlm_lksb and lvb. 59 struct dlm_lksb lksb; member 83 void (*lp_lock_ast)(struct ocfs2_dlm_lksb *lksb); 84 void (*lp_blocking_ast)(struct ocfs2_dlm_lksb *lksb, int level); 85 void (*lp_unlock_ast)(struct ocfs2_dlm_lksb *lksb, int error); 161 * them to stack->sp_proto. There is no astarg. The lksb will 167 struct ocfs2_dlm_lksb *lksb, 178 * no astarg. The lksb will be passed back to the unlock ast 182 struct ocfs2_dlm_lksb *lksb, 188 * callback pulls out the stack-specific lksb, convert [all...] |
H A D | stack_o2cb.c | 158 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_lock_ast_wrapper() local 160 lksb->lksb_conn->cc_proto->lp_lock_ast(lksb); in o2dlm_lock_ast_wrapper() 165 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_blocking_ast_wrapper() local 167 lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); in o2dlm_blocking_ast_wrapper() 172 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_unlock_ast_wrapper() local 189 lksb->lksb_conn->cc_proto->lp_unlock_ast(lksb, error); in o2dlm_unlock_ast_wrapper() 194 struct ocfs2_dlm_lksb *lksb, in o2cb_dlm_lock() 192 o2cb_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) o2cb_dlm_lock() argument 212 o2cb_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) o2cb_dlm_unlock() argument 226 o2cb_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lock_status() argument 236 o2cb_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lvb_valid() argument 241 o2cb_dlm_lvb(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lvb() argument 246 o2cb_dump_lksb(struct ocfs2_dlm_lksb *lksb) o2cb_dump_lksb() argument [all...] |
H A D | stack_user.c | 655 struct ocfs2_dlm_lksb *lksb = astarg; in fsdlm_lock_ast_wrapper() local 656 int status = lksb->lksb_fsdlm.sb_status; in fsdlm_lock_ast_wrapper() 669 lksb->lksb_conn->cc_proto->lp_unlock_ast(lksb, 0); in fsdlm_lock_ast_wrapper() 671 lksb->lksb_conn->cc_proto->lp_lock_ast(lksb); in fsdlm_lock_ast_wrapper() 676 struct ocfs2_dlm_lksb *lksb = astarg; in fsdlm_blocking_ast_wrapper() local 678 lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); in fsdlm_blocking_ast_wrapper() 683 struct ocfs2_dlm_lksb *lksb, in user_dlm_lock() 681 user_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) user_dlm_lock() argument 701 user_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) user_dlm_unlock() argument 712 user_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) user_dlm_lock_status() argument 717 user_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) user_dlm_lvb_valid() argument 724 user_dlm_lvb(struct ocfs2_dlm_lksb *lksb) user_dlm_lvb() argument 732 user_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb) user_dlm_dump_lksb() argument 821 sync_unlock(struct ocfs2_cluster_connection *conn, struct dlm_lksb *lksb, char *name) sync_unlock() argument 844 sync_lock(struct ocfs2_cluster_connection *conn, int mode, uint32_t flags, struct dlm_lksb *lksb, char *name) sync_lock() argument [all...] |
H A D | stackglue.c | 229 * for the ast and bast functions. They will pass the lksb to the ast 230 * and bast. The caller can wrap the lksb with their own structure to 235 struct ocfs2_dlm_lksb *lksb, in ocfs2_dlm_lock() 240 if (!lksb->lksb_conn) in ocfs2_dlm_lock() 241 lksb->lksb_conn = conn; in ocfs2_dlm_lock() 243 BUG_ON(lksb->lksb_conn != conn); in ocfs2_dlm_lock() 244 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock() 250 struct ocfs2_dlm_lksb *lksb, in ocfs2_dlm_unlock() 253 BUG_ON(lksb->lksb_conn == NULL); in ocfs2_dlm_unlock() 255 return active_stack->sp_ops->dlm_unlock(conn, lksb, flag in ocfs2_dlm_unlock() 233 ocfs2_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) ocfs2_dlm_lock() argument 249 ocfs2_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) ocfs2_dlm_unlock() argument 259 ocfs2_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lock_status() argument 265 ocfs2_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lvb_valid() argument 271 ocfs2_dlm_lvb(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lvb() argument 277 ocfs2_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_dump_lksb() argument [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | stackglue.h | 54 * include in the lksb union to make space for a combined dlm_lksb and lvb. 57 struct dlm_lksb lksb; member 81 void (*lp_lock_ast)(struct ocfs2_dlm_lksb *lksb); 82 void (*lp_blocking_ast)(struct ocfs2_dlm_lksb *lksb, int level); 83 void (*lp_unlock_ast)(struct ocfs2_dlm_lksb *lksb, int error); 159 * them to stack->sp_proto. There is no astarg. The lksb will 165 struct ocfs2_dlm_lksb *lksb, 176 * no astarg. The lksb will be passed back to the unlock ast 180 struct ocfs2_dlm_lksb *lksb, 186 * callback pulls out the stack-specific lksb, convert [all...] |
H A D | stack_o2cb.c | 156 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_lock_ast_wrapper() local 158 lksb->lksb_conn->cc_proto->lp_lock_ast(lksb); in o2dlm_lock_ast_wrapper() 163 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_blocking_ast_wrapper() local 165 lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); in o2dlm_blocking_ast_wrapper() 170 struct ocfs2_dlm_lksb *lksb = astarg; in o2dlm_unlock_ast_wrapper() local 187 lksb->lksb_conn->cc_proto->lp_unlock_ast(lksb, error); in o2dlm_unlock_ast_wrapper() 192 struct ocfs2_dlm_lksb *lksb, in o2cb_dlm_lock() 190 o2cb_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) o2cb_dlm_lock() argument 210 o2cb_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) o2cb_dlm_unlock() argument 224 o2cb_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lock_status() argument 234 o2cb_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lvb_valid() argument 239 o2cb_dlm_lvb(struct ocfs2_dlm_lksb *lksb) o2cb_dlm_lvb() argument 244 o2cb_dump_lksb(struct ocfs2_dlm_lksb *lksb) o2cb_dump_lksb() argument [all...] |
H A D | stack_user.c | 654 struct ocfs2_dlm_lksb *lksb = astarg; in fsdlm_lock_ast_wrapper() local 655 int status = lksb->lksb_fsdlm.sb_status; in fsdlm_lock_ast_wrapper() 668 lksb->lksb_conn->cc_proto->lp_unlock_ast(lksb, 0); in fsdlm_lock_ast_wrapper() 670 lksb->lksb_conn->cc_proto->lp_lock_ast(lksb); in fsdlm_lock_ast_wrapper() 675 struct ocfs2_dlm_lksb *lksb = astarg; in fsdlm_blocking_ast_wrapper() local 677 lksb->lksb_conn->cc_proto->lp_blocking_ast(lksb, level); in fsdlm_blocking_ast_wrapper() 682 struct ocfs2_dlm_lksb *lksb, in user_dlm_lock() 680 user_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) user_dlm_lock() argument 697 user_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) user_dlm_unlock() argument 705 user_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) user_dlm_lock_status() argument 710 user_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) user_dlm_lvb_valid() argument 717 user_dlm_lvb(struct ocfs2_dlm_lksb *lksb) user_dlm_lvb() argument 725 user_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb) user_dlm_dump_lksb() argument 807 sync_unlock(struct ocfs2_cluster_connection *conn, struct dlm_lksb *lksb, char *name) sync_unlock() argument 830 sync_lock(struct ocfs2_cluster_connection *conn, int mode, uint32_t flags, struct dlm_lksb *lksb, char *name) sync_lock() argument [all...] |
H A D | stackglue.c | 227 * for the ast and bast functions. They will pass the lksb to the ast 228 * and bast. The caller can wrap the lksb with their own structure to 233 struct ocfs2_dlm_lksb *lksb, in ocfs2_dlm_lock() 238 if (!lksb->lksb_conn) in ocfs2_dlm_lock() 239 lksb->lksb_conn = conn; in ocfs2_dlm_lock() 241 BUG_ON(lksb->lksb_conn != conn); in ocfs2_dlm_lock() 242 return active_stack->sp_ops->dlm_lock(conn, mode, lksb, flags, in ocfs2_dlm_lock() 248 struct ocfs2_dlm_lksb *lksb, in ocfs2_dlm_unlock() 251 BUG_ON(lksb->lksb_conn == NULL); in ocfs2_dlm_unlock() 253 return active_stack->sp_ops->dlm_unlock(conn, lksb, flag in ocfs2_dlm_unlock() 231 ocfs2_dlm_lock(struct ocfs2_cluster_connection *conn, int mode, struct ocfs2_dlm_lksb *lksb, u32 flags, void *name, unsigned int namelen) ocfs2_dlm_lock() argument 247 ocfs2_dlm_unlock(struct ocfs2_cluster_connection *conn, struct ocfs2_dlm_lksb *lksb, u32 flags) ocfs2_dlm_unlock() argument 257 ocfs2_dlm_lock_status(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lock_status() argument 263 ocfs2_dlm_lvb_valid(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lvb_valid() argument 269 ocfs2_dlm_lvb(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_lvb() argument 275 ocfs2_dlm_dump_lksb(struct ocfs2_dlm_lksb *lksb) ocfs2_dlm_dump_lksb() argument [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/dlm/ |
H A D | dlmunlock.c | 46 struct dlm_lockstatus *lksb, 51 struct dlm_lockstatus *lksb, 57 struct dlm_lockstatus *lksb, 86 struct dlm_lockstatus *lksb, in dlmunlock_common() 142 status = dlm_get_cancel_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common() 144 status = dlm_get_unlock_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common() 153 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN); in dlmunlock_common() 168 status = dlm_send_remote_unlock_request(dlm, res, lock, lksb, in dlmunlock_common() 262 lksb->flags &= ~(DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB); in dlmunlock_common() 270 /* leave DLM_LKSB_PUT_LVB on the lksb s in dlm_commit_pending_unlock() 83 dlmunlock_common(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast, int master_node) dlmunlock_common() argument 283 dlmunlock_master(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast) dlmunlock_master() argument 293 dlmunlock_remote(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast) dlmunlock_remote() argument 309 dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, u8 owner) dlm_send_remote_unlock_request() argument 400 struct dlm_lockstatus *lksb = NULL; dlm_unlock_lock_handler() local 528 dlm_get_cancel_actions(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int *actions) dlm_get_cancel_actions() argument 560 dlm_get_unlock_actions(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int *actions) dlm_get_unlock_actions() argument 587 dlmunlock(struct dlm_ctxt *dlm, struct dlm_lockstatus *lksb, int flags, dlm_astunlockfunc_t *unlockast, void *data) dlmunlock() argument [all...] |
H A D | dlmlock.c | 129 lock->lksb->status = DLM_NORMAL; in dlmlock_master() 188 lock->lksb->flags &= ~DLM_LKSB_GET_LVB; in dlm_revert_pending_lock() 351 mlog(0, "freeing kernel-allocated lksb\n"); in dlm_lock_release() 352 kfree(lock->lksb); in dlm_lock_release() 408 struct dlm_lockstatus *lksb) in dlm_new_lock() 417 if (!lksb) { in dlm_new_lock() 419 lksb = kzalloc(sizeof(*lksb), GFP_NOFS); in dlm_new_lock() 420 if (!lksb) { in dlm_new_lock() 430 lock->lksb in dlm_new_lock() 407 dlm_new_lock(int type, u8 node, u64 cookie, struct dlm_lockstatus *lksb) dlm_new_lock() argument 449 struct dlm_lockstatus *lksb = NULL; dlm_create_lock_handler() local 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 | dlmconvert.c | 143 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in __dlmconvert_master() 153 lock->lksb->flags |= DLM_LKSB_GET_LVB; in __dlmconvert_master() 193 lock->lksb->status = DLM_NORMAL; in __dlmconvert_master() 197 if (lock->lksb->flags & DLM_LKSB_PUT_LVB) in __dlmconvert_master() 198 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master() 241 lock->lksb->flags &= ~(DLM_LKSB_GET_LVB|DLM_LKSB_PUT_LVB); in dlm_revert_pending_convert() 304 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in dlmconvert_remote() 310 lock->lksb->flags |= DLM_LKSB_GET_LVB; in dlmconvert_remote() 382 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request() 439 struct dlm_lockstatus *lksb; in dlm_convert_lock_handler() local [all...] |
H A D | dlmast.c | 181 struct dlm_lockstatus *lksb = lock->lksb; in dlm_update_lvb() local 182 BUG_ON(!lksb); in dlm_update_lvb() 187 /* check the lksb flags for the direction */ in dlm_update_lvb() 188 if (lksb->flags & DLM_LKSB_GET_LVB) { in dlm_update_lvb() 192 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb() 204 /* reset any lvb flags on the lksb */ in dlm_update_lvb() 205 lksb->flags &= ~(DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB); in dlm_update_lvb() 230 struct dlm_lockstatus *lksb; in dlm_do_remote_ast() local 238 lksb in dlm_do_remote_ast() [all...] |
/kernel/linux/linux-6.6/fs/ocfs2/dlm/ |
H A D | dlmunlock.c | 44 struct dlm_lockstatus *lksb, 49 struct dlm_lockstatus *lksb, 55 struct dlm_lockstatus *lksb, 84 struct dlm_lockstatus *lksb, in dlmunlock_common() 140 status = dlm_get_cancel_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common() 142 status = dlm_get_unlock_actions(dlm, res, lock, lksb, &actions); in dlmunlock_common() 151 memcpy(res->lvb, lksb->lvb, DLM_LVB_LEN); in dlmunlock_common() 166 status = dlm_send_remote_unlock_request(dlm, res, lock, lksb, in dlmunlock_common() 260 lksb->flags &= ~(DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB); in dlmunlock_common() 268 /* leave DLM_LKSB_PUT_LVB on the lksb s in dlm_commit_pending_unlock() 81 dlmunlock_common(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast, int master_node) dlmunlock_common() argument 281 dlmunlock_master(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast) dlmunlock_master() argument 291 dlmunlock_remote(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, int *call_ast) dlmunlock_remote() argument 307 dlm_send_remote_unlock_request(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int flags, u8 owner) dlm_send_remote_unlock_request() argument 398 struct dlm_lockstatus *lksb = NULL; dlm_unlock_lock_handler() local 525 dlm_get_cancel_actions(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int *actions) dlm_get_cancel_actions() argument 557 dlm_get_unlock_actions(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, struct dlm_lock *lock, struct dlm_lockstatus *lksb, int *actions) dlm_get_unlock_actions() argument 584 dlmunlock(struct dlm_ctxt *dlm, struct dlm_lockstatus *lksb, int flags, dlm_astunlockfunc_t *unlockast, void *data) dlmunlock() argument [all...] |
H A D | dlmlock.c | 127 lock->lksb->status = DLM_NORMAL; in dlmlock_master() 186 lock->lksb->flags &= ~DLM_LKSB_GET_LVB; in dlm_revert_pending_lock() 349 mlog(0, "freeing kernel-allocated lksb\n"); in dlm_lock_release() 350 kfree(lock->lksb); in dlm_lock_release() 406 struct dlm_lockstatus *lksb) in dlm_new_lock() 415 if (!lksb) { in dlm_new_lock() 417 lksb = kzalloc(sizeof(*lksb), GFP_NOFS); in dlm_new_lock() 418 if (!lksb) { in dlm_new_lock() 428 lock->lksb in dlm_new_lock() 405 dlm_new_lock(int type, u8 node, u64 cookie, struct dlm_lockstatus *lksb) dlm_new_lock() argument 447 struct dlm_lockstatus *lksb = NULL; dlm_create_lock_handler() local 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 | dlmconvert.c | 141 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in __dlmconvert_master() 151 lock->lksb->flags |= DLM_LKSB_GET_LVB; in __dlmconvert_master() 191 lock->lksb->status = DLM_NORMAL; in __dlmconvert_master() 195 if (lock->lksb->flags & DLM_LKSB_PUT_LVB) in __dlmconvert_master() 196 memcpy(res->lvb, lock->lksb->lvb, DLM_LVB_LEN); in __dlmconvert_master() 239 lock->lksb->flags &= ~(DLM_LKSB_GET_LVB|DLM_LKSB_PUT_LVB); in dlm_revert_pending_convert() 302 lock->lksb->flags |= DLM_LKSB_PUT_LVB; in dlmconvert_remote() 308 lock->lksb->flags |= DLM_LKSB_GET_LVB; in dlmconvert_remote() 380 vec[1].iov_base = lock->lksb->lvb; in dlm_send_remote_convert_request() 437 struct dlm_lockstatus *lksb; in dlm_convert_lock_handler() local [all...] |
H A D | dlmast.c | 169 struct dlm_lockstatus *lksb = lock->lksb; in dlm_update_lvb() local 170 BUG_ON(!lksb); in dlm_update_lvb() 175 /* check the lksb flags for the direction */ in dlm_update_lvb() 176 if (lksb->flags & DLM_LKSB_GET_LVB) { in dlm_update_lvb() 180 memcpy(lksb->lvb, res->lvb, DLM_LVB_LEN); in dlm_update_lvb() 192 /* reset any lvb flags on the lksb */ in dlm_update_lvb() 193 lksb->flags &= ~(DLM_LKSB_PUT_LVB|DLM_LKSB_GET_LVB); in dlm_update_lvb() 218 struct dlm_lockstatus *lksb; in dlm_do_remote_ast() local 226 lksb in dlm_do_remote_ast() [all...] |
/kernel/linux/linux-5.10/fs/dlm/ |
H A D | user.c | 47 __u32 lksb; member 78 struct dlm_lksb32 lksb; member 115 kb->i.lock.lksb = (void *)(long)kb32->i.lock.lksb; in compat_input() 138 res32->lksb.sb_status = res->lksb.sb_status; in compat_output() 139 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 140 res32->lksb.sb_lkid = res->lksb in compat_output() [all...] |
/kernel/linux/linux-6.6/fs/dlm/ |
H A D | user.c | 50 __u32 lksb; member 81 struct dlm_lksb32 lksb; member 118 kb->i.lock.lksb = (__user void *)(long)kb32->i.lock.lksb; in compat_input() 141 res32->lksb.sb_status = res->lksb.sb_status; in compat_output() 142 res32->lksb.sb_flags = res->lksb.sb_flags; in compat_output() 143 res32->lksb.sb_lkid = res->lksb in compat_output() [all...] |
/kernel/linux/linux-5.10/fs/ocfs2/dlmfs/ |
H A D | userdlm.c | 32 static inline struct user_lock_res *user_lksb_to_lock_res(struct ocfs2_dlm_lksb *lksb) in user_lksb_to_lock_res() argument 34 return container_of(lksb, struct user_lock_res, l_lksb); in user_lksb_to_lock_res() 113 static void user_ast(struct ocfs2_dlm_lksb *lksb) in user_ast() argument 115 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_ast() 126 mlog(ML_ERROR, "lksb status value of %u on lockres %.*s\n", in user_ast() 201 static void user_bast(struct ocfs2_dlm_lksb *lksb, int level) in user_bast() argument 203 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_bast() 219 static void user_unlock_ast(struct ocfs2_dlm_lksb *lksb, int status) in user_unlock_ast() argument 221 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_unlock_ast()
|
/kernel/linux/linux-6.6/fs/ocfs2/dlmfs/ |
H A D | userdlm.c | 30 static inline struct user_lock_res *user_lksb_to_lock_res(struct ocfs2_dlm_lksb *lksb) in user_lksb_to_lock_res() argument 32 return container_of(lksb, struct user_lock_res, l_lksb); in user_lksb_to_lock_res() 111 static void user_ast(struct ocfs2_dlm_lksb *lksb) in user_ast() argument 113 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_ast() 124 mlog(ML_ERROR, "lksb status value of %u on lockres %.*s\n", in user_ast() 199 static void user_bast(struct ocfs2_dlm_lksb *lksb, int level) in user_bast() argument 201 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_bast() 217 static void user_unlock_ast(struct ocfs2_dlm_lksb *lksb, int status) in user_unlock_ast() argument 219 struct user_lock_res *lockres = user_lksb_to_lock_res(lksb); in user_unlock_ast()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | dlm.h | 104 * lksb: lock status block for input and async return values 123 * when the locking is complete and the status is returned in the lksb. 135 struct dlm_lksb *lksb, 151 * lkid: the lock ID as returned in the lksb 153 * lksb: if NULL the lksb parameter passed to last lock request is used 167 struct dlm_lksb *lksb,
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | dlm.h | 98 * lksb: lock status block for input and async return values 117 * when the locking is complete and the status is returned in the lksb. 129 struct dlm_lksb *lksb, 145 * lkid: the lock ID as returned in the lksb 147 * lksb: if NULL the lksb parameter passed to last lock request is used 161 struct dlm_lksb *lksb,
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | dlm_device.h | 46 struct dlm_lksb __user *lksb; member 88 struct dlm_lksb lksb; member
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | dlm_device.h | 46 struct dlm_lksb __user *lksb; member 88 struct dlm_lksb lksb; member
|
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | dlm_device.h | 40 struct dlm_lksb __user * lksb; member 73 struct dlm_lksb lksb; member
|