Merge tag 'trace-v6.10' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux...
[linux.git] / fs / btrfs / xattr.h
CommitLineData
9888c340 1/* SPDX-License-Identifier: GPL-2.0 */
5103e947
JB
2/*
3 * Copyright (C) 2007 Red Hat. All rights reserved.
5103e947
JB
4 */
5
9888c340
DS
6#ifndef BTRFS_XATTR_H
7#define BTRFS_XATTR_H
5103e947 8
22b46bdc
DS
9struct dentry;
10struct inode;
11struct qstr;
12struct xattr_handler;
13struct btrfs_trans_handle;
5103e947 14
8a25b418 15extern const struct xattr_handler * const btrfs_xattr_handlers[];
5103e947 16
bcadd705 17int btrfs_getxattr(struct inode *inode, const char *name,
95819c05 18 void *buffer, size_t size);
3e125a74
AJ
19int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
20 const char *name, const void *value, size_t size, int flags);
e3de9b15
AJ
21int btrfs_setxattr_trans(struct inode *inode, const char *name,
22 const void *value, size_t size, int flags);
738c93d4 23ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
5103e947 24
ab0d0936 25int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
2a7dba39
EP
26 struct inode *inode, struct inode *dir,
27 const struct qstr *qstr);
0279b4cd 28
9888c340 29#endif
This page took 0.802833 seconds and 4 git commands to generate.