Searched refs:sb_lvbptr (Results 1 – 10 of 10) sorted by relevance
/linux-6.1.9/include/uapi/linux/ |
D | dlm.h | 66 char * sb_lvbptr; member
|
/linux-6.1.9/fs/dlm/ |
D | user.c | 71 __u32 sb_lvbptr; member 143 res32->lksb.sb_lvbptr = (__u32)(long)res->lksb.sb_lvbptr; in compat_output() 724 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user() 753 if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) { in copy_result_to_user() 754 if (copy_to_user(buf+len, ua->lksb.sb_lvbptr, in copy_result_to_user() 892 if (!cb.sb_status && lkb->lkb_lksb->sb_lvbptr && in device_read()
|
D | memory.c | 114 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb()
|
D | lock.c | 2828 if (flags & DLM_LKF_VALBLK && !lksb->sb_lvbptr) in set_lock_args() 2898 lkb->lkb_lvbptr = args->lksb->sb_lvbptr; in validate_lock_args() 5852 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request() 5853 if (!ua->lksb.sb_lvbptr) { in dlm_user_request() 5867 kfree(ua->lksb.sb_lvbptr); in dlm_user_request() 5868 ua->lksb.sb_lvbptr = NULL; in dlm_user_request() 5934 if (flags & DLM_LKF_VALBLK && !ua->lksb.sb_lvbptr) { in dlm_user_convert() 5935 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_convert() 5936 if (!ua->lksb.sb_lvbptr) { in dlm_user_convert() 5941 if (lvb_in && ua->lksb.sb_lvbptr) in dlm_user_convert() [all …]
|
/linux-6.1.9/fs/ocfs2/ |
D | stack_user.c | 686 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lock() 687 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lock() 718 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lvb() 719 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lvb() 721 return (void *)(lksb->lksb_fsdlm.sb_lvbptr); in user_dlm_lvb() 901 lc->oc_version_lksb.sb_lvbptr = lc->oc_lvb; in get_protocol_version()
|
/linux-6.1.9/drivers/md/ |
D | md-cluster.c | 206 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() 637 memcpy(&msg, message_lockres->lksb.sb_lvbptr, sizeof(struct cluster_msg)); in recv_daemon() 746 memcpy(cinfo->message_lockres->lksb.sb_lvbptr, (void *)cmsg, in __sendmsg() 1342 memcpy(&ri, cinfo->bitmap_lockres->lksb.sb_lvbptr, sizeof(struct resync_info)); in resync_info_update()
|
/linux-6.1.9/fs/gfs2/ |
D | lock_dlm.c | 127 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() 317 !gl->gl_lksb.sb_lvbptr) { in gdlm_put_lock() 814 ls->ls_control_lksb.sb_lvbptr = ls->ls_control_lvb; in control_mount()
|
D | glock.c | 134 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() 1188 gl->gl_lksb.sb_lvbptr = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in gfs2_glock_get() 1189 if (!gl->gl_lksb.sb_lvbptr) { in gfs2_glock_get()
|
D | quota.c | 996 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in update_qd() 1023 qd->qd_qb = *(struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in do_glock() 1630 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()
|