Home
last modified time | relevance | path

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

/openbmc/linux/fs/
H A Dchar_dev.c41 } *chrdevs[CHRDEV_MAJOR_HASH_SIZE]; variable
56 for (cd = chrdevs[major_to_index(offset)]; cd; cd = cd->next) { in chrdev_show()
70 for (i = ARRAY_SIZE(chrdevs)-1; i >= CHRDEV_MAJOR_DYN_END; i--) { in find_dynamic_major()
71 if (chrdevs[i] == NULL) in find_dynamic_major()
77 for (cd = chrdevs[major_to_index(i)]; cd; cd = cd->next) in find_dynamic_major()
134 for (curr = chrdevs[i]; curr; prev = curr, curr = curr->next) { in __register_chrdev_region()
157 chrdevs[i] = cd; in __register_chrdev_region()
178 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next) in __unregister_chrdev_region()