Home
last modified time | relevance | path

Searched refs:ls_device (Results 1 – 3 of 3) sorted by relevance

/fs/dlm/
Duser.c341 if (ls->ls_device.name) in dlm_device_register()
346 ls->ls_device.name = kzalloc(len, GFP_NOFS); in dlm_device_register()
347 if (!ls->ls_device.name) in dlm_device_register()
350 snprintf((char *)ls->ls_device.name, len, "%s_%s", name_prefix, in dlm_device_register()
352 ls->ls_device.fops = &device_fops; in dlm_device_register()
353 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()
355 error = misc_register(&ls->ls_device); in dlm_device_register()
357 kfree(ls->ls_device.name); in dlm_device_register()
361 ls->ls_device.name = NULL; in dlm_device_register()
372 if (!ls->ls_device.name) in dlm_device_deregister()
[all …]
Ddlm_internal.h584 struct miscdevice ls_device; member
Dlockspace.c359 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()