X hits on this document

Powerpoint document

Using a JTAG in Linux Driver Debugging - page 13 / 48

120 views

0 shares

0 downloads

0 comments

13 / 48

04/16/2008 - Copyright © 2008 The PTR Group Inc.

CELF-2008-SVC-13

struct file_operations #1 of 2

struct file_operations {

 struct module *owner;

 loff_t  (*llseek) (struct file *, loff_t, int);

 ssize_t (*read) (struct file *, char __user *, size_t, loff_t *);

 ssize_t (*aio_read) (struct kiocb *, char __user *, size_t, loff_t);

 ssize_t (*write) (struct file *, const char __user *, size_t,

loff_t *);

 ssize_t (*aio_write) (struct kiocb *, const char __user *,

size_t, loff_t);

 int     (*readdir) (struct file *, void *, filldir_t);

 unsigned int (*poll) (struct file *, struct poll_table_struct *);

 int     (*ioctl) (struct inode *, struct file *, unsigned int,

unsigned long);

 long    (*unlocked_ioctl) (struct file *, unsigned int, unsigned long);

 long    (*compat_ioctl) (struct file *, unsigned int, unsigned long);

 int     (*mmap) (struct file *, struct vm_area_struct *);

 int     (*open) (struct inode *, struct file *);

 int     (*flush) (struct file *);

Document info
Document views120
Page views120
Page last viewedWed Dec 07 22:26:07 UTC 2016
Pages48
Paragraphs607
Words3505

Comments