Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.18-rc7 31 lines 909 B view raw
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (C) 2007 Red Hat. All rights reserved. 4 */ 5 6#ifndef BTRFS_XATTR_H 7#define BTRFS_XATTR_H 8 9#include <linux/types.h> 10 11struct dentry; 12struct inode; 13struct qstr; 14struct xattr_handler; 15struct btrfs_trans_handle; 16 17extern const struct xattr_handler * const btrfs_xattr_handlers[]; 18 19int btrfs_getxattr(const struct inode *inode, const char *name, 20 void *buffer, size_t size); 21int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode, 22 const char *name, const void *value, size_t size, int flags); 23int btrfs_setxattr_trans(struct inode *inode, const char *name, 24 const void *value, size_t size, int flags); 25ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size); 26 27int btrfs_xattr_security_init(struct btrfs_trans_handle *trans, 28 struct inode *inode, struct inode *dir, 29 const struct qstr *qstr); 30 31#endif