tag | line | file | source code |
chrdevs | 23 | fs/devices.c | static struct device_struct chrdevs[MAX_CHRDEV] = { |
chrdevs | 38 | fs/devices.c | if (chrdevs[i].fops) { |
chrdevs | 39 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, chrdevs[i].name); |
chrdevs | 62 | fs/devices.c | return chrdevs[major].fops; |
chrdevs | 69 | fs/devices.c | if (chrdevs[major].fops == NULL) { |
chrdevs | 70 | fs/devices.c | chrdevs[major].name = name; |
chrdevs | 71 | fs/devices.c | chrdevs[major].fops = fops; |
chrdevs | 79 | fs/devices.c | if (chrdevs[major].fops && chrdevs[major].fops != fops) |
chrdevs | 81 | fs/devices.c | chrdevs[major].name = name; |
chrdevs | 82 | fs/devices.c | chrdevs[major].fops = fops; |
chrdevs | 111 | fs/devices.c | if (!chrdevs[major].fops) |
chrdevs | 113 | fs/devices.c | if (strcmp(chrdevs[major].name, name)) |
chrdevs | 115 | fs/devices.c | chrdevs[major].name = NULL; |
chrdevs | 116 | fs/devices.c | chrdevs[major].fops = NULL; |
chrdevs | 227 | fs/devices.c | if (i >= MAX_CHRDEV || !chrdevs[i].fops) |
chrdevs | 229 | fs/devices.c | filp->f_op = chrdevs[i].fops; |