Lines Matching defs:next
35 struct char_device_struct *next;
56 for (cd = chrdevs[major_to_index(offset)]; cd; cd = cd->next) {
77 for (cd = chrdevs[major_to_index(i)]; cd; cd = cd->next)
134 for (curr = chrdevs[i]; curr; prev = curr, curr = curr->next) {
156 cd->next = curr;
159 cd->next = prev->next;
160 prev->next = cd;
178 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next)
185 *cp = cd->next;
204 dev_t n, next;
206 for (n = from; n < to; n = next) {
207 next = MKDEV(MAJOR(n)+1, 0);
208 if (next > to)
209 next = to;
211 next - n, name);
218 for (n = from; n < to; n = next) {
219 next = MKDEV(MAJOR(n)+1, 0);
220 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n));
314 dev_t n, next;
316 for (n = from; n < to; n = next) {
317 next = MKDEV(MAJOR(n)+1, 0);
318 if (next > to)
319 next = to;
320 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n));
440 inode = container_of(cdev->list.next, struct inode, i_devices);