• Home
  • Raw
  • Download

Lines Matching refs:params

237 			    struct dlm_lock_params *params)  in device_user_lock()  argument
248 if (!params->castaddr || !params->lksb) { 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()
264 if (params->flags & DLM_LKF_CONVERT) { in device_user_lock()
266 params->mode, params->flags, in device_user_lock()
267 params->lkid, params->lvb, in device_user_lock()
268 (unsigned long) params->timeout); in device_user_lock()
269 } else if (params->flags & DLM_LKF_ORPHAN) { in device_user_lock()
271 params->mode, params->flags, in device_user_lock()
272 params->name, params->namelen, in device_user_lock()
273 (unsigned long) params->timeout, in device_user_lock()
279 params->mode, params->flags, in device_user_lock()
280 params->name, params->namelen, in device_user_lock()
281 (unsigned long) params->timeout); in device_user_lock()
291 struct dlm_lock_params *params) in device_user_unlock() argument
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()
309 if (params->flags & DLM_LKF_CANCEL) 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()
313 params->lvb); in device_user_unlock()
320 struct dlm_lock_params *params) in device_user_deadlock() argument
329 error = dlm_user_deadlock(ls, params->flags, params->lkid); in device_user_deadlock()
381 struct dlm_purge_params *params) in device_user_purge() argument
390 error = dlm_user_purge(ls, proc, params->nodeid, params->pid); in device_user_purge()
396 static int device_create_lockspace(struct dlm_lspace_params *params) in device_create_lockspace() argument
405 error = dlm_new_lockspace(params->name, dlm_config.ci_cluster_name, params->flags, in device_create_lockspace()
415 error = dlm_device_register(ls, params->name); in device_create_lockspace()
426 static int device_remove_lockspace(struct dlm_lspace_params *params) in device_remove_lockspace() argument
435 ls = dlm_find_lockspace_device(params->minor); in device_remove_lockspace()
439 if (params->flags & DLM_USER_LSFLG_FORCEFREE) in device_remove_lockspace()