Lines Matching full:ua

199 	struct dlm_user_args *ua;  in dlm_user_add_ast()  local
212 lkb->ua so we can't try to use it. This second check is necessary in dlm_user_add_ast()
221 ua = lkb->lkb_ua; in dlm_user_add_ast()
222 proc = ua->proc; in dlm_user_add_ast()
224 if ((flags & DLM_CB_BAST) && ua->bastaddr == NULL) in dlm_user_add_ast()
268 struct dlm_user_args *ua; in device_user_lock() local
281 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock()
282 if (!ua) in device_user_lock()
284 ua->proc = proc; in device_user_lock()
285 ua->user_lksb = params->lksb; in device_user_lock()
286 ua->castparam = params->castparam; in device_user_lock()
287 ua->castaddr = params->castaddr; in device_user_lock()
288 ua->bastparam = params->bastparam; in device_user_lock()
289 ua->bastaddr = params->bastaddr; in device_user_lock()
290 ua->xid = params->xid; in device_user_lock()
293 error = dlm_user_convert(ls, ua, in device_user_lock()
297 error = dlm_user_adopt_orphan(ls, ua, in device_user_lock()
304 error = dlm_user_request(ls, ua, in device_user_lock()
308 error = ua->lksb.sb_lkid; in device_user_lock()
319 struct dlm_user_args *ua; in device_user_unlock() local
326 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_unlock()
327 if (!ua) in device_user_unlock()
329 ua->proc = proc; in device_user_unlock()
330 ua->user_lksb = params->lksb; in device_user_unlock()
331 ua->castparam = params->castparam; in device_user_unlock()
332 ua->castaddr = params->castaddr; in device_user_unlock()
335 error = dlm_user_cancel(ls, ua, params->flags, params->lkid); in device_user_unlock()
337 error = dlm_user_unlock(ls, ua, params->flags, params->lkid, in device_user_unlock()
697 looking for lkb->ua->proc */ in device_close()
711 static int copy_result_to_user(struct dlm_user_args *ua, int compat, in copy_result_to_user() argument
728 memcpy(&result.lksb, &ua->lksb, offsetof(struct dlm_lksb, sb_lvbptr)); in copy_result_to_user()
729 result.user_lksb = ua->user_lksb; in copy_result_to_user()
733 in dlm_user_convert() for updating ua from ua_tmp. OpenVMS, though, in copy_result_to_user()
738 result.user_astaddr = ua->bastaddr; in copy_result_to_user()
739 result.user_astparam = ua->bastparam; in copy_result_to_user()
742 result.user_astaddr = ua->castaddr; in copy_result_to_user()
743 result.user_astparam = ua->castparam; in copy_result_to_user()
757 if (copy_lvb && ua->lksb.sb_lvbptr && count >= len + DLM_USER_LVB_LEN) { in copy_result_to_user()
758 if (copy_to_user(buf+len, ua->lksb.sb_lvbptr, in copy_result_to_user()