[dgplug-users] Linux Device Drivers - queries

Shakthi Kannan shakthimaan at gmail.com
Fri Jan 22 05:03:58 PST 2010


Hi,

--- On Fri, Jan 22, 2010 at 2:58 PM, Ratnadeep Debnath <rtnpro at gmail.com> wrote:
| int (*open) (struct inode *inode, struct file *filp);
|
| for opening devices, what does the inode and filp point to.
| These structures are not defined in our code, are they supplied
| by the user space application trying to access the device?
\--

No. These are defined in the kernel. Please use:

  http://lxr.linux.no/+trees

Or, use cscope with the kernel sources to cross-reference source code.

SK

-- 
Shakthi Kannan
http://www.shakthimaan.com



More information about the Users mailing list