tag | line | file | source code |
chrdevs | 24 | fs/devices.c | static struct device_struct chrdevs[MAX_CHRDEV] = { |
chrdevs | 43 | fs/devices.c | return chrdevs[major].fops; |
chrdevs | 50 | fs/devices.c | if (chrdevs[major].fops) |
chrdevs | 52 | fs/devices.c | chrdevs[major].name = name; |
chrdevs | 53 | fs/devices.c | chrdevs[major].fops = fops; |
chrdevs | 72 | fs/devices.c | if (!chrdevs[major].fops) |
chrdevs | 74 | fs/devices.c | if (strcmp(chrdevs[major].name, name)) |
chrdevs | 76 | fs/devices.c | chrdevs[major].name = NULL; |
chrdevs | 77 | fs/devices.c | chrdevs[major].fops = NULL; |
chrdevs | 153 | fs/devices.c | if (i >= MAX_CHRDEV || !chrdevs[i].fops) |
chrdevs | 155 | fs/devices.c | filp->f_op = chrdevs[i].fops; |