Blame view

fs/hfsplus/xattr.h 1.23 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  /* SPDX-License-Identifier: GPL-2.0 */
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
  /*
   * linux/fs/hfsplus/xattr.h
   *
   * Vyacheslav Dubeyko <slava@dubeyko.com>
   *
   * Logic of processing extended attributes
   */
  
  #ifndef _LINUX_HFSPLUS_XATTR_H
  #define _LINUX_HFSPLUS_XATTR_H
  
  #include <linux/xattr.h>
  
  extern const struct xattr_handler hfsplus_xattr_osx_handler;
  extern const struct xattr_handler hfsplus_xattr_user_handler;
  extern const struct xattr_handler hfsplus_xattr_trusted_handler;
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
18
19
20
21
22
23
  extern const struct xattr_handler hfsplus_xattr_security_handler;
  
  extern const struct xattr_handler *hfsplus_xattr_handlers[];
  
  int __hfsplus_setxattr(struct inode *inode, const char *name,
  			const void *value, size_t size, int flags);
593012268   Al Viro   switch xattr_hand...
24
  int hfsplus_setxattr(struct inode *inode, const char *name,
5e61473ea   Fabian Frederick   fs/hfsplus: move ...
25
26
  				   const void *value, size_t size, int flags,
  				   const char *prefix, size_t prefixlen);
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
27

b4c1107cc   Vyacheslav Dubeyko   hfsplus: integrat...
28
  ssize_t __hfsplus_getxattr(struct inode *inode, const char *name,
a3cef4cd6   Fabian Frederick   fs/hfsplus: move ...
29
  			   void *value, size_t size);
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
30

b296821a7   Al Viro   xattr_handler: pa...
31
  ssize_t hfsplus_getxattr(struct inode *inode, const char *name,
a3cef4cd6   Fabian Frederick   fs/hfsplus: move ...
32
33
  			 void *value, size_t size,
  			 const char *prefix, size_t prefixlen);
b4c1107cc   Vyacheslav Dubeyko   hfsplus: integrat...
34

127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
35
  ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
36
37
  int hfsplus_init_security(struct inode *inode, struct inode *dir,
  				const struct qstr *qstr);
127e5f5ae   Vyacheslav Dubeyko   hfsplus: rework f...
38
  #endif