tag | line | file | source code |
blkdevs | 27 | fs/devices.c | static struct device_struct blkdevs[MAX_BLKDEV] = { |
blkdevs | 44 | fs/devices.c | if (blkdevs[i].fops) { |
blkdevs | 45 | fs/devices.c | len += sprintf(page+len, "%2d %s\n", i, blkdevs[i].name); |
blkdevs | 55 | fs/devices.c | return blkdevs[major].fops; |
blkdevs | 80 | fs/devices.c | if (blkdevs[major].fops) |
blkdevs | 82 | fs/devices.c | blkdevs[major].name = name; |
blkdevs | 83 | fs/devices.c | blkdevs[major].fops = fops; |
blkdevs | 104 | fs/devices.c | if (!blkdevs[major].fops) |
blkdevs | 106 | fs/devices.c | if (strcmp(blkdevs[major].name, name)) |
blkdevs | 108 | fs/devices.c | blkdevs[major].name = NULL; |
blkdevs | 109 | fs/devices.c | blkdevs[major].fops = NULL; |
blkdevs | 121 | fs/devices.c | if (i >= MAX_BLKDEV || !blkdevs[i].fops) |
blkdevs | 123 | fs/devices.c | filp->f_op = blkdevs[i].fops; |