#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/uaccess.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/stddef.h>
#include <linux/types.h>
#include <linux/uio.h>
#include <net/9p/9p.h>
#include <net/9p/client.h>
#include "protocol.h"
#include <trace/events/9p.h>
#define P9_STRLEN(s) …
size_t p9_msg_buf_size(struct p9_client *c, enum p9_msg_t type,
const char *fmt, va_list ap)
{ … }
static int
p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...);
void p9stat_free(struct p9_wstat *stbuf)
{ … }
EXPORT_SYMBOL(…);
size_t pdu_read(struct p9_fcall *pdu, void *data, size_t size)
{ … }
static size_t pdu_write(struct p9_fcall *pdu, const void *data, size_t size)
{ … }
static size_t
pdu_write_u(struct p9_fcall *pdu, struct iov_iter *from, size_t size)
{ … }
static int
p9pdu_vreadf(struct p9_fcall *pdu, int proto_version, const char *fmt,
va_list ap)
{ … }
int
p9pdu_vwritef(struct p9_fcall *pdu, int proto_version, const char *fmt,
va_list ap)
{ … }
int p9pdu_readf(struct p9_fcall *pdu, int proto_version, const char *fmt, ...)
{ … }
static int
p9pdu_writef(struct p9_fcall *pdu, int proto_version, const char *fmt, ...)
{ … }
int p9stat_read(struct p9_client *clnt, char *buf, int len, struct p9_wstat *st)
{ … }
EXPORT_SYMBOL(…);
int p9pdu_prepare(struct p9_fcall *pdu, int16_t tag, int8_t type)
{ … }
int p9pdu_finalize(struct p9_client *clnt, struct p9_fcall *pdu)
{ … }
void p9pdu_reset(struct p9_fcall *pdu)
{ … }
int p9dirent_read(struct p9_client *clnt, char *buf, int len,
struct p9_dirent *dirent)
{ … }
EXPORT_SYMBOL(…);