Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
protocol.c File Reference
#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 <net/9p/9p.h>
#include <net/9p/client.h>
#include "protocol.h"
#include <trace/events/9p.h>

Go to the source code of this file.

Functions

void p9stat_free (struct p9_wstat *stbuf)
 
 EXPORT_SYMBOL (p9stat_free)
 
size_t pdu_read (struct p9_fcall *pdu, void *data, size_t size)
 
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,...)
 
int p9stat_read (struct p9_client *clnt, char *buf, int len, struct p9_wstat *st)
 
 EXPORT_SYMBOL (p9stat_read)
 
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 (p9dirent_read)
 

Function Documentation

EXPORT_SYMBOL ( p9stat_free  )
EXPORT_SYMBOL ( p9stat_read  )
EXPORT_SYMBOL ( p9dirent_read  )
int p9dirent_read ( struct p9_client clnt,
char buf,
int  len,
struct p9_dirent dirent 
)

Definition at line 573 of file protocol.c.

int p9pdu_finalize ( struct p9_client clnt,
struct p9_fcall pdu 
)

Definition at line 551 of file protocol.c.

int p9pdu_prepare ( struct p9_fcall pdu,
int16_t  tag,
int8_t  type 
)

Definition at line 545 of file protocol.c.

int p9pdu_readf ( struct p9_fcall pdu,
int  proto_version,
const char fmt,
  ... 
)

Definition at line 500 of file protocol.c.

void p9pdu_reset ( struct p9_fcall pdu)

Definition at line 567 of file protocol.c.

int p9pdu_vwritef ( struct p9_fcall pdu,
int  proto_version,
const char fmt,
va_list  ap 
)

Definition at line 335 of file protocol.c.

void p9stat_free ( struct p9_wstat stbuf)

Definition at line 45 of file protocol.c.

int p9stat_read ( struct p9_client clnt,
char buf,
int  len,
struct p9_wstat st 
)

Definition at line 525 of file protocol.c.

size_t pdu_read ( struct p9_fcall pdu,
void data,
size_t  size 
)

Definition at line 55 of file protocol.c.