xref: /kernel/linux/linux-6.6/fs/btrfs/xattr.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/fs/btrfs/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (C) 2007 Red Hat.  All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef BTRFS_XATTR_H
762306a36Sopenharmony_ci#define BTRFS_XATTR_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci#include <linux/xattr.h>
1062306a36Sopenharmony_ci
1162306a36Sopenharmony_ciextern const struct xattr_handler *btrfs_xattr_handlers[];
1262306a36Sopenharmony_ci
1362306a36Sopenharmony_ciint btrfs_getxattr(struct inode *inode, const char *name,
1462306a36Sopenharmony_ci		void *buffer, size_t size);
1562306a36Sopenharmony_ciint btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
1662306a36Sopenharmony_ci		   const char *name, const void *value, size_t size, int flags);
1762306a36Sopenharmony_ciint btrfs_setxattr_trans(struct inode *inode, const char *name,
1862306a36Sopenharmony_ci			 const void *value, size_t size, int flags);
1962306a36Sopenharmony_cissize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
2062306a36Sopenharmony_ci
2162306a36Sopenharmony_ciint btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
2262306a36Sopenharmony_ci				     struct inode *inode, struct inode *dir,
2362306a36Sopenharmony_ci				     const struct qstr *qstr);
2462306a36Sopenharmony_ci
2562306a36Sopenharmony_ci#endif
26

Indexes created Thu Nov 07 10:32:03 CST 2024