title: About file operation in linux kernel
body: <p>I have a question about the how the file_operations in the struct file is defined in linux kernel</p>
  
  <p><a href="http://lxr.free-electrons.com/source/fs/read_write.c?v=3.1;a=arm#L348" rel="nofollow"><code>vfs_read()</code></a> calls</p>
  
  <pre><code>ret = file-&gt;f_op-&gt;read(file, buf, count, pos);
  </code></pre>
  
  <p>I know this read is a function pointer, which is defined in some driver code, but is there a way to find where it is actually defined? </p>