Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
linux
path.h
Go to the documentation of this file.
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
(
struct
path
*);
13
extern
void
path_put
(
struct
path
*);
14
15
static
inline
int
path_equal(
const
struct
path
*path1,
const
struct
path
*path2)
16
{
17
return
path1->
mnt
== path2->
mnt
&& path1->
dentry
== path2->
dentry
;
18
}
19
20
#endif
/* _LINUX_PATH_H */
Generated on Thu Jan 10 2013 14:52:17 for Linux Kernel by
1.8.2