Searched refs:baseminor (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ |
H A D | char_dev.c | 37 unsigned int baseminor; member 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() 180 (*cp)->baseminor == baseminor && in __unregister_chrdev_region() 240 cd = __register_chrdev_region(0, baseminor, count, name); in alloc_chrdev_region() 243 *dev = MKDEV(cd->major, cd->baseminor); in alloc_chrdev_region() 288 err = cdev_add(cdev, MKDEV(cd->major, baseminor), count); in __register_chrdev() [all …]
|
/openbmc/linux/include/linux/ |
H A D | fs.h | 2594 extern int __register_chrdev(unsigned int major, unsigned int baseminor, 2597 extern void __unregister_chrdev(unsigned int major, unsigned int baseminor,
|