Home
last modified time | relevance | path

Searched refs:major_to_index (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/
Dchar_dev.c44 static inline int major_to_index(unsigned major) in major_to_index() function
56 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()
/linux-6.12.1/block/
Dgenhd.c170 static inline int major_to_index(unsigned major) in major_to_index() function
181 for (dp = major_names[major_to_index(offset)]; dp; dp = dp->next) in blkdev_show()
259 index = major_to_index(major); in __register_blkdev()
287 int index = major_to_index(major); in unregister_blkdev()
783 for (n = &major_names[major_to_index(major)]; *n; n = &(*n)->next) { in blk_request_module()