cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

xattr.h (1018B)


      1/* SPDX-License-Identifier: LGPL-2.1 */
      2/*
      3 * Copyright IBM Corporation, 2010
      4 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
      5 */
      6#ifndef FS_9P_XATTR_H
      7#define FS_9P_XATTR_H
      8
      9#include <linux/xattr.h>
     10#include <net/9p/9p.h>
     11#include <net/9p/client.h>
     12
     13extern const struct xattr_handler *v9fs_xattr_handlers[];
     14extern const struct xattr_handler v9fs_xattr_acl_access_handler;
     15extern const struct xattr_handler v9fs_xattr_acl_default_handler;
     16
     17ssize_t v9fs_fid_xattr_get(struct p9_fid *fid, const char *name,
     18			   void *buffer, size_t buffer_size);
     19ssize_t v9fs_xattr_get(struct dentry *dentry, const char *name,
     20		       void *buffer, size_t buffer_size);
     21int v9fs_fid_xattr_set(struct p9_fid *fid, const char *name,
     22		       const void *value, size_t value_len, int flags);
     23int v9fs_xattr_set(struct dentry *dentry, const char *name,
     24		   const void *value, size_t value_len, int flags);
     25ssize_t v9fs_listxattr(struct dentry *dentry, char *buffer,
     26		       size_t buffer_size);
     27#endif /* FS_9P_XATTR_H */