Searched refs:major_to_index (Results 1 – 2 of 2) sorted by relevance
44 static inline int major_to_index(unsigned major) in major_to_index() function56 for (cd = chrdevs[major_to_index(offset)]; cd; cd = cd->next) { in chrdev_show()77 for (cd = chrdevs[major_to_index(i)]; cd; cd = cd->next) in find_dynamic_major()133 i = major_to_index(major); in __register_chrdev_region()175 int i = major_to_index(major); in __unregister_chrdev_region()
402 static inline int major_to_index(unsigned major) in major_to_index() function413 for (dp = major_names[major_to_index(offset)]; dp; dp = dp->next) in blkdev_show()481 index = major_to_index(major); in register_blkdev()508 int index = major_to_index(major); in unregister_blkdev()