Lines Matching refs:next
53 struct char_device_struct *next;
75 for (cd = chrdevs[offset]; cd; cd = cd->next)
130 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next)
157 cd->next = *cp;
174 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next)
181 *cp = cd->next;
200 dev_t n, next;
202 for (n = from; n < to; n = next) {
203 next = MKDEV(MAJOR(n)+1, 0);
204 if (next > to)
205 next = to;
207 next - n, name);
214 for (n = from; n < to; n = next) {
215 next = MKDEV(MAJOR(n)+1, 0);
216 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n));
310 dev_t n, next;
312 for (n = from; n < to; n = next) {
313 next = MKDEV(MAJOR(n)+1, 0);
314 if (next > to)
315 next = to;
316 kfree(__unregister_chrdev_region(MAJOR(n), MINOR(n), next - n));
445 inode = container_of(cdev->list.next, struct inode, i_devices);