Blame view

fs/btrfs/xattr.h 804 Bytes
9888c3402   David Sterba   btrfs: replace GP...
1
  /* SPDX-License-Identifier: GPL-2.0 */
5103e947b   Josef Bacik   xattr support for...
2
3
  /*
   * Copyright (C) 2007 Red Hat.  All rights reserved.
5103e947b   Josef Bacik   xattr support for...
4
   */
9888c3402   David Sterba   btrfs: replace GP...
5
6
  #ifndef BTRFS_XATTR_H
  #define BTRFS_XATTR_H
5103e947b   Josef Bacik   xattr support for...
7
8
  
  #include <linux/xattr.h>
5103e947b   Josef Bacik   xattr support for...
9

f01cbd3f8   Stephen Hemminger   btrfs: constify x...
10
  extern const struct xattr_handler *btrfs_xattr_handlers[];
5103e947b   Josef Bacik   xattr support for...
11

bcadd7050   David Sterba   btrfs: adjust ret...
12
  int btrfs_getxattr(struct inode *inode, const char *name,
95819c057   Christoph Hellwig   Btrfs: optimize b...
13
  		void *buffer, size_t size);
3e125a74f   Anand Jain   btrfs: export btr...
14
15
  int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
  		   const char *name, const void *value, size_t size, int flags);
e3de9b159   Anand Jain   btrfs: cleanup bt...
16
17
  int btrfs_setxattr_trans(struct inode *inode, const char *name,
  			 const void *value, size_t size, int flags);
738c93d42   David Sterba   btrfs: move btrfs...
18
  ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
5103e947b   Josef Bacik   xattr support for...
19

ab0d09361   David Sterba   btrfs: drop exter...
20
  int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
2a7dba391   Eric Paris   fs/vfs/security: ...
21
22
  				     struct inode *inode, struct inode *dir,
  				     const struct qstr *qstr);
0279b4cd8   Jim Owens   Btrfs: selinux su...
23

9888c3402   David Sterba   btrfs: replace GP...
24
  #endif