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) |
chrdevs | 71 | fs/devices.c | chrdevs[major].name = name; |
chrdevs | 72 | fs/devices.c | chrdevs[major].fops = fops; |
chrdevs | 91 | fs/devices.c | if (!chrdevs[major].fops) |
chrdevs | 93 | fs/devices.c | if (strcmp(chrdevs[major].name, name)) |
chrdevs | 95 | fs/devices.c | chrdevs[major].name = NULL; |
chrdevs | 96 | fs/devices.c | chrdevs[major].fops = NULL; |
chrdevs | 172 | fs/devices.c | if (i >= MAX_CHRDEV || !chrdevs[i].fops) |
chrdevs | 174 | fs/devices.c | filp->f_op = chrdevs[i].fops; |