Searched refs:sb_lvbptr (Results 1 – 8 of 8) sorted by relevance
/fs/dlm/ |
D | user.c | 69 __u32 sb_lvbptr; member 141 res32->lksb.sb_lvbptr = (__u32)(long)res->lksb.sb_lvbptr; in compat_output() 703 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user() 732 if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) { in copy_result_to_user() 733 if (copy_to_user(buf+len, ua->lksb.sb_lvbptr, in copy_result_to_user() 869 if (!cb.sb_status && lkb->lkb_lksb->sb_lvbptr && in device_read()
|
D | memory.c | 85 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb()
|
D | lock.c | 2853 if (flags & DLM_LKF_VALBLK && !lksb->sb_lvbptr) in set_lock_args() 2920 lkb->lkb_lvbptr = args->lksb->sb_lvbptr; in validate_lock_args() 5801 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request() 5802 if (!ua->lksb.sb_lvbptr) { in dlm_user_request() 5812 kfree(ua->lksb.sb_lvbptr); in dlm_user_request() 5813 ua->lksb.sb_lvbptr = NULL; in dlm_user_request() 5869 if (flags & DLM_LKF_VALBLK && !ua->lksb.sb_lvbptr) { in dlm_user_convert() 5870 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_convert() 5871 if (!ua->lksb.sb_lvbptr) { in dlm_user_convert() 5876 if (lvb_in && ua->lksb.sb_lvbptr) in dlm_user_convert() [all …]
|
/fs/ocfs2/ |
D | stack_user.c | 688 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lock() 689 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lock() 724 if (!lksb->lksb_fsdlm.sb_lvbptr) in user_dlm_lvb() 725 lksb->lksb_fsdlm.sb_lvbptr = (char *)lksb + in user_dlm_lvb() 727 return (void *)(lksb->lksb_fsdlm.sb_lvbptr); in user_dlm_lvb() 907 lc->oc_version_lksb.sb_lvbptr = lc->oc_lvb; in get_protocol_version()
|
/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() 310 !gl->gl_lksb.sb_lvbptr) { in gdlm_put_lock() 801 ls->ls_control_lksb.sb_lvbptr = ls->ls_control_lvb; in control_mount()
|
D | glock.c | 129 kfree(gl->gl_lksb.sb_lvbptr); in gfs2_glock_dealloc() 889 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_remember_delete() 899 struct gfs2_inode_lvb *ri = (void *)gl->gl_lksb.sb_lvbptr; in gfs2_inode_already_deleted() 1138 gl->gl_lksb.sb_lvbptr = kzalloc(GDLM_LVB_SIZE, GFP_NOFS); in gfs2_glock_get() 1139 if (!gl->gl_lksb.sb_lvbptr) { in gfs2_glock_get() 1191 kfree(gl->gl_lksb.sb_lvbptr); in gfs2_glock_get()
|
D | quota.c | 1007 qlvb = (struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in update_qd() 1034 qd->qd_qb = *(struct gfs2_quota_lvb *)qd->qd_gl->gl_lksb.sb_lvbptr; in do_glock() 1667 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()
|