Home
last modified time | relevance | path

Searched refs:ua (Results 1 – 4 of 4) sorted by relevance

/fs/dlm/
Duser.c179 struct dlm_user_args *ua; in dlm_user_add_ast() local
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()
[all …]
Dmemory.c82 struct dlm_user_args *ua; in dlm_free_lkb() local
83 ua = lkb->lkb_ua; in dlm_free_lkb()
84 if (ua) { in dlm_free_lkb()
85 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb()
86 kfree(ua); in dlm_free_lkb()
Dlock.c5784 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request() argument
5796 kfree(ua); in dlm_user_request()
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()
5803 kfree(ua); in dlm_user_request()
5809 error = set_lock_args(mode, &ua->lksb, flags, namelen, timeout_cs, in dlm_user_request()
5810 fake_astfn, ua, fake_bastfn, &args); in dlm_user_request()
5812 kfree(ua->lksb.sb_lvbptr); in dlm_user_request()
5813 ua->lksb.sb_lvbptr = NULL; in dlm_user_request()
5814 kfree(ua); in dlm_user_request()
[all …]
Dlock.h44 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode,