-
-
...le_operations hello_fops = {
.owner = THIS_MODULE,
.open = hello_open,
.release = hello_close,
.unlocked_ioctl = hello_unlocked_ioctl,
};
stat...
-
-
...
struct file_operations simple_fops = {
.owner = THIS_MODULE,
.read = simple_read,
.write = simple_write,
.open = simple_open,
.release = simple_release,
};
/**************...
-
-
...ic struct file_operations globalfifo_fops = {
.owner = THIS_MODULE,
.open = globalfifo_open,
.read = globalfifo_read,
.write = globalfifo_write,
.poll = globalfifo_poll,
.fasync = ...