Searched refs:ls_device (Results 1 – 3 of 3) sorted by relevance
352 if (ls->ls_device.name) in dlm_device_register()357 ls->ls_device.name = kzalloc(len, GFP_KERNEL); in dlm_device_register()358 if (!ls->ls_device.name) in dlm_device_register()361 snprintf((char *)ls->ls_device.name, len, "%s_%s", name_prefix, in dlm_device_register()363 ls->ls_device.fops = &device_fops; in dlm_device_register()364 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()366 error = misc_register(&ls->ls_device); in dlm_device_register()368 kfree(ls->ls_device.name); in dlm_device_register()381 if (!ls->ls_device.name) in dlm_device_deregister()384 error = misc_deregister(&ls->ls_device); in dlm_device_deregister()[all …]
492 struct miscdevice ls_device; member
313 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()