Home
last modified time | relevance | path

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

/linux-6.6.21/fs/dlm/
Duser.c367 if (ls->ls_device.name) in dlm_device_register()
372 ls->ls_device.name = kzalloc(len, GFP_NOFS); in dlm_device_register()
373 if (!ls->ls_device.name) in dlm_device_register()
376 snprintf((char *)ls->ls_device.name, len, "%s_%s", name_prefix, in dlm_device_register()
378 ls->ls_device.fops = &device_fops; in dlm_device_register()
379 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()
381 error = misc_register(&ls->ls_device); in dlm_device_register()
383 kfree(ls->ls_device.name); in dlm_device_register()
387 ls->ls_device.name = NULL; in dlm_device_register()
398 if (!ls->ls_device.name) in dlm_device_deregister()
[all …]
Ddlm_internal.h608 struct miscdevice ls_device; member
Dlockspace.c346 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()