Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Question where are file structure operations defined??

    i found DECLRATION of file structure operations in kernel/fs/fs.h

    there all operations are defined as "extern" where are they implemented..

    as where can i find their defination???

  2. #2
    Just Joined!
    Join Date
    Aug 2006
    hi ,

    I am learning how to write device drivers,I found the use of file structure in order to map application level kernel interfaces like open,read,write,ioctl to the driver functions .
    they r just function pointers
    open:open_device, //see here it will be like this mapping open to device open
    write_device is a function we r going to use to write to the device

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts