Home
last modified time | relevance | path

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

/linux-6.1.9/fs/dlm/
Duser.c362 if (ls->ls_device.name) in dlm_device_register()
367 ls->ls_device.name = kzalloc(len, GFP_NOFS); in dlm_device_register()
368 if (!ls->ls_device.name) in dlm_device_register()
371 snprintf((char *)ls->ls_device.name, len, "%s_%s", name_prefix, in dlm_device_register()
373 ls->ls_device.fops = &device_fops; in dlm_device_register()
374 ls->ls_device.minor = MISC_DYNAMIC_MINOR; in dlm_device_register()
376 error = misc_register(&ls->ls_device); in dlm_device_register()
378 kfree(ls->ls_device.name); in dlm_device_register()
382 ls->ls_device.name = NULL; in dlm_device_register()
393 if (!ls->ls_device.name) in dlm_device_deregister()
[all …]
Ddlm_internal.h628 struct miscdevice ls_device; member
Dlockspace.c348 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()