Find the answer to your Linux question:
Results 1 to 2 of 2
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???...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Posts
    8

    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
    Location
    india
    Posts
    57
    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
    filestructure={
    open:open_device, //see here it will be like this mapping open to device open
    write:write_device
    }
    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
  •