LCOV - code coverage report
Current view: top level - include/linux - path.h (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 1 0.0 %
Date: 2014-02-18 Functions: 0 0 -
Branches: 0 8 0.0 %

           Branch data     Line data    Source code
       1                 :            : #ifndef _LINUX_PATH_H
       2                 :            : #define _LINUX_PATH_H
       3                 :            : 
       4                 :            : struct dentry;
       5                 :            : struct vfsmount;
       6                 :            : 
       7                 :            : struct path {
       8                 :            :         struct vfsmount *mnt;
       9                 :            :         struct dentry *dentry;
      10                 :            : };
      11                 :            : 
      12                 :            : extern void path_get(const struct path *);
      13                 :            : extern void path_put(const struct path *);
      14                 :            : 
      15                 :            : static inline int path_equal(const struct path *path1, const struct path *path2)
      16                 :            : {
      17         [ #  # ]:          0 :         return path1->mnt == path2->mnt && path1->dentry == path2->dentry;
           [ #  #  #  # ]
                 [ #  # ]
      18                 :            : }
      19                 :            : 
      20                 :            : #endif  /* _LINUX_PATH_H */

Generated by: LCOV version 1.9