Searched refs:ls_device (Results 1 – 3 of 3) sorted by relevance
367 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 …]
608 struct miscdevice ls_device; member
346 if (ls->ls_device.minor == minor) { in dlm_find_lockspace_device()