cregit-Linux how code gets into the kernel

Release 4.15 include/linux/path.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_PATH_H

#define _LINUX_PATH_H

struct dentry;
struct vfsmount;


struct path {
	
struct vfsmount *mnt;
	
struct dentry *dentry;

} __randomize_layout;

extern void path_get(const struct path *);
extern void path_put(const struct path *);


static inline int path_equal(const struct path *path1, const struct path *path2) { return path1->mnt == path2->mnt && path1->dentry == path2->dentry; }

Contributors

PersonTokensPropCommitsCommitProp
Miklos Szeredi36100.00%1100.00%
Total36100.00%1100.00%


static inline void path_put_init(struct path *path) { path_put(path); *path = (struct path) { }; }

Contributors

PersonTokensPropCommitsCommitProp
Miklos Szeredi26100.00%1100.00%
Total26100.00%1100.00%

#endif /* _LINUX_PATH_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Miklos Szeredi6254.39%225.00%
Jan Blunck4842.11%337.50%
Al Viro21.75%112.50%
Greg Kroah-Hartman10.88%112.50%
Kees Cook10.88%112.50%
Total114100.00%8100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.