LCOV - code coverage report
Current view: top level - fs/proc - fd.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 1 1 100.0 %
Date: 2014-02-18 Functions: 0 0 -
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : #ifndef __PROCFS_FD_H__
       2                 :            : #define __PROCFS_FD_H__
       3                 :            : 
       4                 :            : #include <linux/fs.h>
       5                 :            : 
       6                 :            : extern const struct file_operations proc_fd_operations;
       7                 :            : extern const struct inode_operations proc_fd_inode_operations;
       8                 :            : 
       9                 :            : extern const struct file_operations proc_fdinfo_operations;
      10                 :            : extern const struct inode_operations proc_fdinfo_inode_operations;
      11                 :            : 
      12                 :            : extern int proc_fd_permission(struct inode *inode, int mask);
      13                 :            : 
      14                 :            : static inline int proc_fd(struct inode *inode)
      15                 :            : {
      16                 :       7728 :         return PROC_I(inode)->fd;
      17                 :            : }
      18                 :            : 
      19                 :            : #endif /* __PROCFS_FD_H__ */

Generated by: LCOV version 1.9