Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
message.c File Reference
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/export.h>
#include "rds.h"

Go to the source code of this file.

Functions

void rds_message_addref (struct rds_message *rm)
 
 EXPORT_SYMBOL_GPL (rds_message_addref)
 
void rds_message_put (struct rds_message *rm)
 
 EXPORT_SYMBOL_GPL (rds_message_put)
 
void rds_message_populate_header (struct rds_header *hdr, __be16 sport, __be16 dport, u64 seq)
 
 EXPORT_SYMBOL_GPL (rds_message_populate_header)
 
int rds_message_add_extension (struct rds_header *hdr, unsigned int type, const void *data, unsigned int len)
 
 EXPORT_SYMBOL_GPL (rds_message_add_extension)
 
int rds_message_next_extension (struct rds_header *hdr, unsigned int *pos, void *buf, unsigned int *buflen)
 
int rds_message_add_rdma_dest_extension (struct rds_header *hdr, u32 r_key, u32 offset)
 
 EXPORT_SYMBOL_GPL (rds_message_add_rdma_dest_extension)
 
struct rds_messagerds_message_alloc (unsigned int extra_len, gfp_t gfp)
 
struct scatterlistrds_message_alloc_sgs (struct rds_message *rm, int nents)
 
struct rds_messagerds_message_map_pages (unsigned long *page_addrs, unsigned int total_len)
 
int rds_message_copy_from_user (struct rds_message *rm, struct iovec *first_iov, size_t total_len)
 
int rds_message_inc_copy_to_user (struct rds_incoming *inc, struct iovec *first_iov, size_t size)
 
void rds_message_wait (struct rds_message *rm)
 
void rds_message_unmapped (struct rds_message *rm)
 
 EXPORT_SYMBOL_GPL (rds_message_unmapped)
 

Function Documentation

EXPORT_SYMBOL_GPL ( rds_message_addref  )
EXPORT_SYMBOL_GPL ( rds_message_put  )
EXPORT_SYMBOL_GPL ( rds_message_populate_header  )
EXPORT_SYMBOL_GPL ( rds_message_add_extension  )
EXPORT_SYMBOL_GPL ( rds_message_add_rdma_dest_extension  )
EXPORT_SYMBOL_GPL ( rds_message_unmapped  )
int rds_message_add_extension ( struct rds_header hdr,
unsigned int  type,
const void data,
unsigned int  len 
)

Definition at line 110 of file message.c.

int rds_message_add_rdma_dest_extension ( struct rds_header hdr,
u32  r_key,
u32  offset 
)

Definition at line 181 of file message.c.

void rds_message_addref ( struct rds_message rm)

Definition at line 47 of file message.c.

struct rds_message* rds_message_alloc ( unsigned int  extra_len,
gfp_t  gfp 
)
read

Definition at line 196 of file message.c.

struct scatterlist* rds_message_alloc_sgs ( struct rds_message rm,
int  nents 
)
read

Definition at line 220 of file message.c.

int rds_message_copy_from_user ( struct rds_message rm,
struct iovec first_iov,
size_t  total_len 
)

Definition at line 267 of file message.c.

int rds_message_inc_copy_to_user ( struct rds_incoming inc,
struct iovec first_iov,
size_t  size 
)

Definition at line 328 of file message.c.

struct rds_message* rds_message_map_pages ( unsigned long page_addrs,
unsigned int  total_len 
)
read

Definition at line 238 of file message.c.

int rds_message_next_extension ( struct rds_header hdr,
unsigned int pos,
void buf,
unsigned int buflen 
)

Definition at line 149 of file message.c.

void rds_message_populate_header ( struct rds_header hdr,
__be16  sport,
__be16  dport,
u64  seq 
)

Definition at line 99 of file message.c.

void rds_message_put ( struct rds_message rm)

Definition at line 82 of file message.c.

void rds_message_unmapped ( struct rds_message rm)

Definition at line 396 of file message.c.

void rds_message_wait ( struct rds_message rm)

Definition at line 390 of file message.c.