kernfs-internal.h (ae6621b0716852146e4655fef7f74a181faa6c81) kernfs-internal.h (ffed24e22845a3da0ae01095ae3f11c8d16e889d)
1/*
2 * fs/kernfs/kernfs-internal.h - kernfs internal header file
3 *
4 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <teheo@suse.de>
7 *
8 * This file is released under the GPLv2.

--- 98 unchanged lines hidden (view full) ---

107 * Context structure to be used while adding/removing nodes.
108 */
109struct sysfs_addrm_cxt {
110 struct sysfs_dirent *removed;
111};
112
113#include "../sysfs/sysfs.h"
114
1/*
2 * fs/kernfs/kernfs-internal.h - kernfs internal header file
3 *
4 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <teheo@suse.de>
7 *
8 * This file is released under the GPLv2.

--- 98 unchanged lines hidden (view full) ---

107 * Context structure to be used while adding/removing nodes.
108 */
109struct sysfs_addrm_cxt {
110 struct sysfs_dirent *removed;
111};
112
113#include "../sysfs/sysfs.h"
114
115/*
116 * inode.c
117 */
118struct inode *sysfs_get_inode(struct super_block *sb, struct sysfs_dirent *sd);
119void sysfs_evict_inode(struct inode *inode);
120int sysfs_permission(struct inode *inode, int mask);
121int sysfs_setattr(struct dentry *dentry, struct iattr *iattr);
122int sysfs_getattr(struct vfsmount *mnt, struct dentry *dentry,
123 struct kstat *stat);
124int sysfs_setxattr(struct dentry *dentry, const char *name, const void *value,
125 size_t size, int flags);
126int sysfs_inode_init(void);
127
115#endif /* __KERNFS_INTERNAL_H */
128#endif /* __KERNFS_INTERNAL_H */