#include <linux/types.h>
#include <linux/socket.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/uio.h>
#include <linux/net.h>
#include <linux/in.h>
#include <linux/sunrpc/clnt.h>
#include <linux/sunrpc/sched.h>
#include <linux/nfs_fs.h>
#include "internal.h"
#define NFSDBG_FACILITY …
#define MNTPATHLEN …
#define encode_dirpath_sz …
#define MNT_status_sz …
#define MNT_fhandle_sz …
#define MNT_fhandlev3_sz …
#define MNT_authflav3_sz …
#define MNT_enc_dirpath_sz …
#define MNT_dec_mountres_sz …
#define MNT_dec_mountres3_sz …
enum { … };
enum { … };
static const struct rpc_program mnt_program;
enum mountstat { … };
static struct { … } mnt_errtbl[] = …;
enum mountstat3 { … };
static struct { … } mnt3_errtbl[] = …;
struct mountres { … };
int nfs_mount(struct nfs_mount_request *info, int timeo, int retrans)
{ … }
void nfs_umount(const struct nfs_mount_request *info)
{ … }
static void encode_mntdirpath(struct xdr_stream *xdr, const char *pathname)
{ … }
static void mnt_xdr_enc_dirpath(struct rpc_rqst *req, struct xdr_stream *xdr,
const void *dirpath)
{ … }
static int decode_status(struct xdr_stream *xdr, struct mountres *res)
{ … }
static int decode_fhandle(struct xdr_stream *xdr, struct mountres *res)
{ … }
static int mnt_xdr_dec_mountres(struct rpc_rqst *req,
struct xdr_stream *xdr,
void *data)
{ … }
static int decode_fhs_status(struct xdr_stream *xdr, struct mountres *res)
{ … }
static int decode_fhandle3(struct xdr_stream *xdr, struct mountres *res)
{ … }
static int decode_auth_flavors(struct xdr_stream *xdr, struct mountres *res)
{ … }
static int mnt_xdr_dec_mountres3(struct rpc_rqst *req,
struct xdr_stream *xdr,
void *data)
{ … }
static const struct rpc_procinfo mnt_procedures[] = …;
static const struct rpc_procinfo mnt3_procedures[] = …;
static unsigned int mnt_counts[ARRAY_SIZE(mnt_procedures)];
static const struct rpc_version mnt_version1 = …;
static unsigned int mnt3_counts[ARRAY_SIZE(mnt3_procedures)];
static const struct rpc_version mnt_version3 = …;
static const struct rpc_version *mnt_version[] = …;
static struct rpc_stat mnt_stats;
static const struct rpc_program mnt_program = …;