Searched refs:sb_lvbptr (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/fs/dlm/ |
D | user.c | 72 __u32 sb_lvbptr; member 144 res32->lksb.sb_lvbptr = (__u32)(long)res->lksb.sb_lvbptr; in compat_output() 224 memcpy(cb->lvbptr, ua->lksb.sb_lvbptr, in dlm_user_add_ast() 226 cb->lkb_lksb->sb_lvbptr = cb->lvbptr; in dlm_user_add_ast() 712 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user() 741 if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) { in copy_result_to_user() 742 if (copy_to_user(buf+len, ua->lksb.sb_lvbptr, in copy_result_to_user()
|
D | memory.c | 126 kfree(ua->lksb.sb_lvbptr); in __free_lkb_rcu()
|
D | ast.c | 104 if (!status && lkb->lkb_lksb->sb_lvbptr && in dlm_may_skip_callback()
|
D | lock.c | 2787 if (flags & DLM_LKF_VALBLK && !lksb->sb_lvbptr) in set_lock_args() 2854 lkb->lkb_lvbptr = args->lksb->sb_lvbptr; in validate_lock_args() 5764 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request() 5765 if (!ua->lksb.sb_lvbptr) { in dlm_user_request() 5774 kfree(ua->lksb.sb_lvbptr); in dlm_user_request() 5775 ua->lksb.sb_lvbptr = NULL; in dlm_user_request() 5835 if (flags & DLM_LKF_VALBLK && !ua->lksb.sb_lvbptr) { in dlm_user_convert() 5836 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_convert() 5837 if (!ua->lksb.sb_lvbptr) { in dlm_user_convert() 5842 if (lvb_in && ua->lksb.sb_lvbptr) in dlm_user_convert() [all …]
|
/linux-6.12.1/include/uapi/linux/ |
D | dlm.h | 66 char * sb_lvbptr; member
|
/linux-6.12.1/fs/ocfs2/ |
D | stack_user.c | 687 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lock() 688 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lock() 719 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lvb() 720 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lvb() 722 return (void *)(lksb->lksb_fsdlm.sb_lvbptr); in user_dlm_lvb() 895 lc->oc_version_lksb.sb_lvbptr = lc->oc_lvb; in get_protocol_version()
|
/linux-6.12.1/drivers/md/ |
D | md-cluster.c | 215 res->lksb.sb_lvbptr = kzalloc(LVB_SIZE, GFP_KERNEL); in lockres_init() 216 if (!res->lksb.sb_lvbptr) { in lockres_init() 238 kfree(res->lksb.sb_lvbptr); in lockres_init() 263 kfree(res->lksb.sb_lvbptr); in lockres_free() 272 ri = (struct resync_info *)lockres->lksb.sb_lvbptr; in add_resync_info() 285 memcpy(&ri, lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in read_resync_info() 663 memcpy(&msg, message_lockres->lksb.sb_lvbptr, sizeof(struct cluster_msg)); in recv_daemon() 772 memcpy(cinfo->message_lockres->lksb.sb_lvbptr, (void *)cmsg, in __sendmsg() 1396 memcpy(&ri, cinfo->bitmap_lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in resync_info_update()
|
/linux-6.12.1/fs/gfs2/ |
D | lock_dlm.c | 132 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast() 133 memset(gl->gl_lksb.sb_lvbptr, 0, GDLM_LVB_SIZE); in gdlm_ast() 232 if (gl->gl_lksb.sb_lvbptr) in make_flags() 338 (!gl->gl_lksb.sb_lvbptr || gl->gl_state != LM_ST_EXCLUSIVE)) { in gdlm_put_lock() 834 ls->ls_control_lksb.sb_lvbptr = ls->ls_control_lvb; in control_mount()
|
D | glock.c | 131 kfree(gl->gl_lksb.sb_lvbptr); in gfs2_glock_dealloc() 932 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_remember_delete() 942 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_already_deleted() 1208 gl->gl_lksb.sb_lvbptr = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in gfs2_glock_get() 1209 if (!gl->gl_lksb.sb_lvbptr) { in gfs2_glock_get()
|
D | quota.c | 1011 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in update_qd() 1042 qd->qd_qb = *(struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in do_glock() 1691 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in gfs2_get_dqblk()
|
D | rgrp.c | 935 rgd->rd_rgl = (struct gfs2_rgrp_lvb *)rgd->rd_gl->gl_lksb.sb_lvbptr; in read_rindex_entry()
|