#include <linux/init.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/circ_buf.h>
#include <linux/iversion.h>
#include "internal.h"
#include "afs_fs.h"
#include "xdr_fs.h"
#include "protocol_yfs.h"
#define xdr_size(x) …
static void xdr_decode_YFSFid(const __be32 **_bp, struct afs_fid *fid)
{ … }
static __be32 *xdr_encode_u32(__be32 *bp, u32 n)
{ … }
static __be32 *xdr_encode_u64(__be32 *bp, u64 n)
{ … }
static __be32 *xdr_encode_YFSFid(__be32 *bp, struct afs_fid *fid)
{ … }
static size_t xdr_strlen(unsigned int len)
{ … }
static __be32 *xdr_encode_string(__be32 *bp, const char *p, unsigned int len)
{ … }
static __be32 *xdr_encode_name(__be32 *bp, const struct qstr *p)
{ … }
static s64 linux_to_yfs_time(const struct timespec64 *t)
{ … }
static __be32 *xdr_encode_YFSStoreStatus(__be32 *bp, mode_t *mode,
const struct timespec64 *t)
{ … }
static struct timespec64 yfs_time_to_linux(s64 t)
{ … }
static struct timespec64 xdr_to_time(const struct yfs_xdr_u64 xdr)
{ … }
static void yfs_check_req(struct afs_call *call, __be32 *bp)
{ … }
static void xdr_dump_bad(const __be32 *bp)
{ … }
static void xdr_decode_YFSFetchStatus(const __be32 **_bp,
struct afs_call *call,
struct afs_status_cb *scb)
{ … }
static void xdr_decode_YFSCallBack(const __be32 **_bp,
struct afs_call *call,
struct afs_status_cb *scb)
{ … }
static void xdr_decode_YFSVolSync(const __be32 **_bp,
struct afs_volsync *volsync)
{ … }
static __be32 *xdr_encode_YFS_StoreStatus(__be32 *bp, struct iattr *attr)
{ … }
static void xdr_decode_YFSFetchVolumeStatus(const __be32 **_bp,
struct afs_volume_status *vs)
{ … }
static int yfs_deliver_status_and_volsync(struct afs_call *call)
{ … }
static int yfs_deliver_fs_fetch_data64(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSFetchData64 = …;
void yfs_fs_fetch_data(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_create_vnode(struct afs_call *call)
{ … }
static const struct afs_call_type afs_RXFSCreateFile = …;
void yfs_fs_create_file(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXFSMakeDir = …;
void yfs_fs_make_dir(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_remove_file2(struct afs_call *call)
{ … }
static void yfs_done_fs_remove_file2(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSRemoveFile2 = …;
void yfs_fs_remove_file2(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_remove(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSRemoveFile = …;
void yfs_fs_remove_file(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXYFSRemoveDir = …;
void yfs_fs_remove_dir(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_link(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSLink = …;
void yfs_fs_link(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_symlink(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSSymlink = …;
void yfs_fs_symlink(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_rename(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSRename = …;
void yfs_fs_rename(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXYFSStoreData64 = …;
void yfs_fs_store_data(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXYFSStoreStatus = …;
static const struct afs_call_type yfs_RXYFSStoreData64_as_Status = …;
static void yfs_fs_setattr_size(struct afs_operation *op)
{ … }
void yfs_fs_setattr(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_get_volume_status(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSGetVolumeStatus = …;
void yfs_fs_get_volume_status(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXYFSSetLock = …;
static const struct afs_call_type yfs_RXYFSExtendLock = …;
static const struct afs_call_type yfs_RXYFSReleaseLock = …;
void yfs_fs_set_lock(struct afs_operation *op)
{ … }
void yfs_fs_extend_lock(struct afs_operation *op)
{ … }
void yfs_fs_release_lock(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_fetch_status(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSFetchStatus = …;
void yfs_fs_fetch_status(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_inline_bulk_status(struct afs_call *call)
{ … }
static const struct afs_call_type yfs_RXYFSInlineBulkStatus = …;
void yfs_fs_inline_bulk_status(struct afs_operation *op)
{ … }
static int yfs_deliver_fs_fetch_opaque_acl(struct afs_call *call)
{ … }
void yfs_free_opaque_acl(struct yfs_acl *yacl)
{ … }
static const struct afs_call_type yfs_RXYFSFetchOpaqueACL = …;
void yfs_fs_fetch_opaque_acl(struct afs_operation *op)
{ … }
static const struct afs_call_type yfs_RXYFSStoreOpaqueACL2 = …;
void yfs_fs_store_opaque_acl2(struct afs_operation *op)
{ … }