Lines Matching full:ua
179 struct dlm_user_args *ua; in dlm_user_add_ast() local
191 lkb->ua so we can't try to use it. This second check is necessary in dlm_user_add_ast()
199 ua = lkb->lkb_ua; in dlm_user_add_ast()
200 proc = ua->proc; in dlm_user_add_ast()
202 if ((flags & DLM_CB_BAST) && ua->bastaddr == NULL) in dlm_user_add_ast()
240 struct dlm_user_args *ua; in device_user_lock() local
253 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock()
254 if (!ua) in device_user_lock()
256 ua->proc = proc; in device_user_lock()
257 ua->user_lksb = params->lksb; in device_user_lock()
258 ua->castparam = params->castparam; in device_user_lock()
259 ua->castaddr = params->castaddr; in device_user_lock()
260 ua->bastparam = params->bastparam; in device_user_lock()
261 ua->bastaddr = params->bastaddr; in device_user_lock()
262 ua->xid = params->xid; in device_user_lock()
265 error = dlm_user_convert(ls, ua, in device_user_lock()
270 error = dlm_user_adopt_orphan(ls, ua, in device_user_lock()
278 error = dlm_user_request(ls, ua, in device_user_lock()
283 error = ua->lksb.sb_lkid; in device_user_lock()
294 struct dlm_user_args *ua; in device_user_unlock() local
301 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_unlock()
302 if (!ua) in device_user_unlock()
304 ua->proc = proc; in device_user_unlock()
305 ua->user_lksb = params->lksb; in device_user_unlock()
306 ua->castparam = params->castparam; in device_user_unlock()
307 ua->castaddr = params->castaddr; in device_user_unlock()
310 error = dlm_user_cancel(ls, ua, params->flags, params->lkid); in device_user_unlock()
312 error = dlm_user_unlock(ls, ua, params->flags, params->lkid, in device_user_unlock()
672 looking for lkb->ua->proc */ in device_close()
686 static int copy_result_to_user(struct dlm_user_args *ua, int compat, in copy_result_to_user() argument
703 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user()
704 result.user_lksb = ua->user_lksb; in copy_result_to_user()
708 in dlm_user_convert() for updating ua from ua_tmp. OpenVMS, though, in copy_result_to_user()
713 result.user_astaddr = ua->bastaddr; in copy_result_to_user()
714 result.user_astparam = ua->bastparam; in copy_result_to_user()
717 result.user_astaddr = ua->castaddr; in copy_result_to_user()
718 result.user_astparam = ua->castparam; 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()