[dgplug-users] Linux Device Drivers - queries

Ratnadeep Debnath rtnpro at gmail.com
Fri Jan 22 04:58:04 PST 2010


@mbuf

Hi,

In the function
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?

Does the inode refer to the /dev/<my char device> file, one of whose
field is
struct cdev *i_cdev;
What is this filp?

Please help.

Regards,
rtnpro



More information about the Users mailing list