mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-24 00:20:51 +07:00
5fa3ea047a
Signed-off-by: AuxXxilium <info@auxxxilium.tech>
41 lines
1.2 KiB
C
41 lines
1.2 KiB
C
#ifndef MY_ABC_HERE
|
|
#define MY_ABC_HERE
|
|
#endif
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Copyright (C) 2007 Red Hat. All rights reserved.
|
|
*/
|
|
|
|
#ifndef BTRFS_XATTR_H
|
|
#define BTRFS_XATTR_H
|
|
|
|
#include <linux/xattr.h>
|
|
|
|
extern const struct xattr_handler *btrfs_xattr_handlers[];
|
|
|
|
int btrfs_getxattr(struct inode *inode, const char *name,
|
|
void *buffer, size_t size);
|
|
int btrfs_setxattr(struct btrfs_trans_handle *trans, struct inode *inode,
|
|
const char *name, const void *value, size_t size, int flags);
|
|
int btrfs_setxattr_trans(struct inode *inode, const char *name,
|
|
const void *value, size_t size, int flags);
|
|
ssize_t btrfs_listxattr(struct dentry *dentry, char *buffer, size_t size);
|
|
|
|
int btrfs_xattr_security_init(struct btrfs_trans_handle *trans,
|
|
struct inode *inode, struct inode *dir,
|
|
const struct qstr *qstr);
|
|
|
|
#ifdef MY_ABC_HERE
|
|
int btrfs_xattr_syno_set_archive_bit(struct btrfs_trans_handle *trans,
|
|
struct inode *inode, const void *value, size_t size,
|
|
int flags, bool lock);
|
|
#endif /* MY_ABC_HERE */
|
|
|
|
#ifdef MY_ABC_HERE
|
|
int btrfs_xattr_syno_set_crtime(struct btrfs_trans_handle *trans,
|
|
struct inode *inode, struct btrfs_timespec *crtime,
|
|
int flags);
|
|
#endif /* MY_ABC_HERE */
|
|
|
|
#endif
|