Searched refs:CODA_PSDEV_MAJOR (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/fs/coda/ |
D | psdev.c | 363 if (register_chrdev(CODA_PSDEV_MAJOR, "coda", &coda_psdev_fops)) { in init_coda_psdev() 365 __func__, CODA_PSDEV_MAJOR); in init_coda_psdev() 376 MKDEV(CODA_PSDEV_MAJOR, i), NULL, "cfs%d", i); in init_coda_psdev() 382 unregister_chrdev(CODA_PSDEV_MAJOR, "coda"); in init_coda_psdev() 389 MODULE_ALIAS_CHARDEV_MAJOR(CODA_PSDEV_MAJOR); 415 device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i)); in init_coda() 417 unregister_chrdev(CODA_PSDEV_MAJOR, "coda"); in init_coda() 433 device_destroy(coda_psdev_class, MKDEV(CODA_PSDEV_MAJOR, i)); in exit_coda() 435 unregister_chrdev(CODA_PSDEV_MAJOR, "coda"); in exit_coda()
|
D | coda_psdev.h | 9 #define CODA_PSDEV_MAJOR 67 macro
|
D | inode.c | 128 if (!S_ISCHR(inode->i_mode) || imajor(inode) != CODA_PSDEV_MAJOR) { in get_device_index()
|