tag | line | file | source code |
blkdevs | 28 | fs/devices.c | static struct device_struct blkdevs[MAX_BLKDEV] = { |
blkdevs | 36 | fs/devices.c | return blkdevs[major].fops; |
blkdevs | 61 | fs/devices.c | if (blkdevs[major].fops) |
blkdevs | 63 | fs/devices.c | blkdevs[major].name = name; |
blkdevs | 64 | fs/devices.c | blkdevs[major].fops = fops; |
blkdevs | 85 | fs/devices.c | if (!blkdevs[major].fops) |
blkdevs | 87 | fs/devices.c | if (strcmp(blkdevs[major].name, name)) |
blkdevs | 89 | fs/devices.c | blkdevs[major].name = NULL; |
blkdevs | 90 | fs/devices.c | blkdevs[major].fops = NULL; |
blkdevs | 102 | fs/devices.c | if (i >= MAX_BLKDEV || !blkdevs[i].fops) |
blkdevs | 104 | fs/devices.c | filp->f_op = blkdevs[i].fops; |