Home
last modified time | relevance | path

Searched refs:sb_lvbptr (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/include/uapi/linux/
Ddlm.h66 char * sb_lvbptr; member
/Linux-v6.6/fs/dlm/
Duser.c72 __u32 sb_lvbptr; member
144 res32->lksb.sb_lvbptr = (__u32)(long)res->lksb.sb_lvbptr; in compat_output()
729 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user()
758 if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) { in copy_result_to_user()
759 if (copy_to_user(buf+len, ua->lksb.sb_lvbptr, in copy_result_to_user()
900 if (!cb->sb_status && lkb->lkb_lksb->sb_lvbptr && in device_read()
Dmemory.c125 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb()
Dlock.c2624 if (flags & DLM_LKF_VALBLK && !lksb->sb_lvbptr) in set_lock_args()
2691 lkb->lkb_lvbptr = args->lksb->sb_lvbptr; in validate_lock_args()
5566 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request()
5567 if (!ua->lksb.sb_lvbptr) { in dlm_user_request()
5576 kfree(ua->lksb.sb_lvbptr); in dlm_user_request()
5577 ua->lksb.sb_lvbptr = NULL; in dlm_user_request()
5637 if (flags & DLM_LKF_VALBLK && !ua->lksb.sb_lvbptr) { in dlm_user_convert()
5638 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_convert()
5639 if (!ua->lksb.sb_lvbptr) { in dlm_user_convert()
5644 if (lvb_in && ua->lksb.sb_lvbptr) in dlm_user_convert()
[all …]
/Linux-v6.6/fs/ocfs2/
Dstack_user.c687 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-v6.6/drivers/md/
Dmd-cluster.c206 res->lksb.sb_lvbptr = kzalloc(LVB_SIZE, GFP_KERNEL); in lockres_init()
207 if (!res->lksb.sb_lvbptr) { in lockres_init()
229 kfree(res->lksb.sb_lvbptr); in lockres_init()
254 kfree(res->lksb.sb_lvbptr); in lockres_free()
263 ri = (struct resync_info *)lockres->lksb.sb_lvbptr; in add_resync_info()
276 memcpy(&ri, lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in read_resync_info()
641 memcpy(&msg, message_lockres->lksb.sb_lvbptr, sizeof(struct cluster_msg)); in recv_daemon()
750 memcpy(cinfo->message_lockres->lksb.sb_lvbptr, (void *)cmsg, in __sendmsg()
1347 memcpy(&ri, cinfo->bitmap_lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in resync_info_update()
/Linux-v6.6/fs/gfs2/
Dlock_dlm.c127 if ((gl->gl_lksb.sb_flags & DLM_SBF_VALNOTVALID) && gl->gl_lksb.sb_lvbptr) in gdlm_ast()
128 memset(gl->gl_lksb.sb_lvbptr, 0, GDLM_LVB_SIZE); in gdlm_ast()
214 if (gl->gl_lksb.sb_lvbptr) in make_flags()
308 !gl->gl_lksb.sb_lvbptr) in gdlm_put_lock()
806 ls->ls_control_lksb.sb_lvbptr = ls->ls_control_lvb; in control_mount()
Dglock.c133 kfree(gl->gl_lksb.sb_lvbptr); in gfs2_glock_dealloc()
904 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_remember_delete()
914 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_already_deleted()
1180 gl->gl_lksb.sb_lvbptr = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in gfs2_glock_get()
1181 if (!gl->gl_lksb.sb_lvbptr) { in gfs2_glock_get()
Dquota.c1008 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in update_qd()
1036 qd->qd_qb = *(struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in do_glock()
1656 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in gfs2_get_dqblk()
Drgrp.c935 rgd->rd_rgl = (struct gfs2_rgrp_lvb *)rgd->rd_gl->gl_lksb.sb_lvbptr; in read_rindex_entry()