Searched refs:baseminor (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/fs/ |
D | char_dev.c | 37 unsigned int baseminor; member 97 __register_chrdev_region(unsigned int major, unsigned int baseminor, in __register_chrdev_region() argument 110 if (minorct > MINORMASK + 1 - baseminor) { in __register_chrdev_region() 112 name, baseminor, baseminor + minorct - 1, 0, MINORMASK); in __register_chrdev_region() 141 if (curr->baseminor + curr->minorct <= baseminor) in __register_chrdev_region() 144 if (curr->baseminor >= baseminor + minorct) in __register_chrdev_region() 151 cd->baseminor = baseminor; in __register_chrdev_region() 172 __unregister_chrdev_region(unsigned major, unsigned baseminor, int minorct) in __unregister_chrdev_region() argument 180 (*cp)->baseminor == baseminor && in __unregister_chrdev_region() 236 int alloc_chrdev_region(dev_t *dev, unsigned baseminor, unsigned count, in alloc_chrdev_region() argument [all …]
|
/Linux-v5.4/include/linux/ |
D | fs.h | 2665 extern int __register_chrdev(unsigned int major, unsigned int baseminor, 2668 extern void __unregister_chrdev(unsigned int major, unsigned int baseminor,
|