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()
192 static inline int major_to_index(unsigned major) in major_to_index() function203 for (dp = major_names[major_to_index(offset)]; dp; dp = dp->next) in blkdev_show()279 index = major_to_index(major); in __register_blkdev()307 int index = major_to_index(major); in unregister_blkdev()688 for (n = &major_names[major_to_index(major)]; *n; n = &(*n)->next) { in blk_request_module()
Completed in 7 milliseconds