Searched refs:ua (Results 1 – 4 of 4) sorted by relevance
/fs/dlm/ |
D | user.c | 181 struct dlm_user_args *ua; in dlm_user_add_ast() local 201 ua = lkb->lkb_ua; in dlm_user_add_ast() 202 proc = ua->proc; in dlm_user_add_ast() 204 if ((flags & DLM_CB_BAST) && ua->bastaddr == NULL) in dlm_user_add_ast() 242 struct dlm_user_args *ua; in device_user_lock() local 263 ua = kzalloc(sizeof(struct dlm_user_args), GFP_NOFS); in device_user_lock() 264 if (!ua) in device_user_lock() 266 ua->proc = proc; in device_user_lock() 267 ua->user_lksb = params->lksb; in device_user_lock() 268 ua->castparam = params->castparam; in device_user_lock() [all …]
|
D | memory.c | 111 struct dlm_user_args *ua; in dlm_free_lkb() local 112 ua = lkb->lkb_ua; in dlm_free_lkb() 113 if (ua) { in dlm_free_lkb() 114 kfree(ua->lksb.sb_lvbptr); in dlm_free_lkb() 115 kfree(ua); in dlm_free_lkb()
|
D | lock.c | 5755 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request() argument 5759 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, in dlm_user_request() 5772 kfree(ua); in dlm_user_request() 5779 ua->lksb.sb_lvbptr = kzalloc(DLM_USER_LVB_LEN, GFP_NOFS); in dlm_user_request() 5780 if (!ua->lksb.sb_lvbptr) { in dlm_user_request() 5781 kfree(ua); in dlm_user_request() 5787 error = set_lock_args(mode, &ua->lksb, flags, namelen, timeout_cs, in dlm_user_request() 5788 fake_astfn, ua, fake_bastfn, &args); in dlm_user_request() 5790 error = set_lock_args(mode, &ua->lksb, flags, namelen, fake_astfn, ua, in dlm_user_request() 5794 kfree(ua->lksb.sb_lvbptr); in dlm_user_request() [all …]
|
D | lock.h | 51 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode, 58 int dlm_user_request(struct dlm_ls *ls, struct dlm_user_args *ua, int mode,
|