1 /* SPDX-License-Identifier: GPL-2.0 */ << 2 /* 1 /* 3 * linux/fs/hfsplus/xattr.h 2 * linux/fs/hfsplus/xattr.h 4 * 3 * 5 * Vyacheslav Dubeyko <slava@dubeyko.com> 4 * Vyacheslav Dubeyko <slava@dubeyko.com> 6 * 5 * 7 * Logic of processing extended attributes 6 * Logic of processing extended attributes 8 */ 7 */ 9 8 10 #ifndef _LINUX_HFSPLUS_XATTR_H 9 #ifndef _LINUX_HFSPLUS_XATTR_H 11 #define _LINUX_HFSPLUS_XATTR_H 10 #define _LINUX_HFSPLUS_XATTR_H 12 11 13 #include <linux/xattr.h> 12 #include <linux/xattr.h> 14 13 15 extern const struct xattr_handler hfsplus_xatt 14 extern const struct xattr_handler hfsplus_xattr_osx_handler; 16 extern const struct xattr_handler hfsplus_xatt 15 extern const struct xattr_handler hfsplus_xattr_user_handler; 17 extern const struct xattr_handler hfsplus_xatt 16 extern const struct xattr_handler hfsplus_xattr_trusted_handler; 18 extern const struct xattr_handler hfsplus_xatt 17 extern const struct xattr_handler hfsplus_xattr_security_handler; 19 18 20 extern const struct xattr_handler * const hfsp !! 19 extern const struct xattr_handler *hfsplus_xattr_handlers[]; 21 20 22 int __hfsplus_setxattr(struct inode *inode, co 21 int __hfsplus_setxattr(struct inode *inode, const char *name, 23 const void *value, siz 22 const void *value, size_t size, int flags); 24 23 25 int hfsplus_setxattr(struct inode *inode, cons !! 24 int hfsplus_setxattr(struct dentry *dentry, const char *name, 26 const void 25 const void *value, size_t size, int flags, 27 const char 26 const char *prefix, size_t prefixlen); 28 27 29 ssize_t __hfsplus_getxattr(struct inode *inode 28 ssize_t __hfsplus_getxattr(struct inode *inode, const char *name, 30 void *value, size_t 29 void *value, size_t size); 31 30 32 ssize_t hfsplus_getxattr(struct inode *inode, !! 31 ssize_t hfsplus_getxattr(struct dentry *dentry, const char *name, 33 void *value, size_t s 32 void *value, size_t size, 34 const char *prefix, s 33 const char *prefix, size_t prefixlen); 35 34 36 ssize_t hfsplus_listxattr(struct dentry *dentr 35 ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); 37 36 38 int hfsplus_init_security(struct inode *inode, 37 int hfsplus_init_security(struct inode *inode, struct inode *dir, >> 38 const struct qstr *qstr); >> 39 >> 40 int hfsplus_init_inode_security(struct inode *inode, struct inode *dir, 39 const struct q 41 const struct qstr *qstr); 40 42 41 #endif 43 #endif 42 44
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.