ldc_channel
int ldc_map_sg(struct ldc_channel *lp,
int ldc_map_single(struct ldc_channel *lp,
void ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies,
int ldc_copy(struct ldc_channel *lp, int copy_dir,
static inline int ldc_get_dring_entry(struct ldc_channel *lp,
static inline int ldc_put_dring_entry(struct ldc_channel *lp,
void *ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len,
void ldc_free_exp_dring(struct ldc_channel *lp, void *buf,
struct ldc_channel;
struct ldc_channel *ldc_alloc(unsigned long id,
void ldc_free(struct ldc_channel *lp);
int ldc_bind(struct ldc_channel *lp);
void ldc_unbind(struct ldc_channel *lp);
int ldc_connect(struct ldc_channel *lp);
int ldc_disconnect(struct ldc_channel *lp);
int ldc_state(struct ldc_channel *lp);
void ldc_set_state(struct ldc_channel *lp, u8 state);
int ldc_mode(struct ldc_channel *lp);
void __ldc_print(struct ldc_channel *lp, const char *caller);
int ldc_rx_reset(struct ldc_channel *lp);
int ldc_write(struct ldc_channel *lp, const void *buf,
int ldc_read(struct ldc_channel *lp, void *buf, unsigned int size);
struct ldc_channel *lp;
struct ldc_channel *lp = dp->lp;
struct ldc_channel *lp = dp->lp;
struct ldc_channel *lp;
struct ldc_channel *lp;
static int __ds_send(struct ldc_channel *lp, void *data, int len)
static int ds_send(struct ldc_channel *lp, void *data, int len)
struct ldc_channel *lp = dp->lp;
struct ldc_channel *lp = dp->lp;
struct ldc_channel *lp = dp->lp;
struct ldc_channel *lp = dp->lp;
static int ldc_iommu_init(const char *name, struct ldc_channel *lp)
static void ldc_iommu_release(struct ldc_channel *lp)
struct ldc_channel *ldc_alloc(unsigned long id,
struct ldc_channel *lp;
void ldc_unbind(struct ldc_channel *lp)
void ldc_free(struct ldc_channel *lp)
int ldc_bind(struct ldc_channel *lp)
int ldc_connect(struct ldc_channel *lp)
int ldc_disconnect(struct ldc_channel *lp)
int ldc_state(struct ldc_channel *lp)
void ldc_set_state(struct ldc_channel *lp, u8 state)
int ldc_mode(struct ldc_channel *lp)
int ldc_rx_reset(struct ldc_channel *lp)
void __ldc_print(struct ldc_channel *lp, const char *caller)
static int write_raw(struct ldc_channel *lp, const void *buf, unsigned int size)
static int read_raw(struct ldc_channel *lp, void *buf, unsigned int size)
static int write_nonraw(struct ldc_channel *lp, const void *buf,
static int rx_bad_seq(struct ldc_channel *lp, struct ldc_packet *p,
static int data_ack_nack(struct ldc_channel *lp, struct ldc_packet *p)
static int rx_data_wait(struct ldc_channel *lp, unsigned long cur_head)
static int rx_set_head(struct ldc_channel *lp, unsigned long head)
static void send_data_ack(struct ldc_channel *lp)
static int read_nonraw(struct ldc_channel *lp, void *buf, unsigned int size)
static int write_stream(struct ldc_channel *lp, const void *buf,
static int read_stream(struct ldc_channel *lp, void *buf, unsigned int size)
int ldc_write(struct ldc_channel *lp, const void *buf, unsigned int size)
int ldc_read(struct ldc_channel *lp, void *buf, unsigned int size)
static unsigned long rx_advance(struct ldc_channel *lp, unsigned long off)
int ldc_map_sg(struct ldc_channel *lp,
static unsigned long tx_advance(struct ldc_channel *lp, unsigned long off)
int ldc_map_single(struct ldc_channel *lp,
static struct ldc_packet *handshake_get_tx_packet(struct ldc_channel *lp,
void ldc_unmap(struct ldc_channel *lp, struct ldc_trans_cookie *cookies,
int ldc_copy(struct ldc_channel *lp, int copy_dir,
void *ldc_alloc_exp_dring(struct ldc_channel *lp, unsigned int len,
void ldc_free_exp_dring(struct ldc_channel *lp, void *buf, unsigned int len,
static unsigned long head_for_data(struct ldc_channel *lp)
static int tx_has_space_for(struct ldc_channel *lp, unsigned int size)
static struct ldc_packet *data_get_tx_packet(struct ldc_channel *lp,
static int set_tx_tail(struct ldc_channel *lp, unsigned long tail)
static int __set_rx_head(struct ldc_channel *lp, unsigned long head)
static int send_tx_packet(struct ldc_channel *lp,
static struct ldc_packet *handshake_compose_ctrl(struct ldc_channel *lp,
static int start_handshake(struct ldc_channel *lp)
static int send_version_nack(struct ldc_channel *lp,
static int send_version_ack(struct ldc_channel *lp,
static int send_rts(struct ldc_channel *lp)
static int send_rtr(struct ldc_channel *lp)
static int send_rdx(struct ldc_channel *lp)
static int send_data_nack(struct ldc_channel *lp, struct ldc_packet *data_pkt)
static int ldc_abort(struct ldc_channel *lp, const char *msg)
static int process_ver_info(struct ldc_channel *lp, struct ldc_version *vp)
static int process_ver_ack(struct ldc_channel *lp, struct ldc_version *vp)
static int process_ver_nack(struct ldc_channel *lp, struct ldc_version *vp)
static int process_version(struct ldc_channel *lp,
static int process_rts(struct ldc_channel *lp,
static int process_rtr(struct ldc_channel *lp,
static int rx_seq_ok(struct ldc_channel *lp, u32 seqid)
static int process_rdx(struct ldc_channel *lp,
static int process_control_frame(struct ldc_channel *lp,
static int process_error_frame(struct ldc_channel *lp,
static int process_data_ack(struct ldc_channel *lp,
static void send_events(struct ldc_channel *lp, unsigned int event_mask)
struct ldc_channel *lp = dev_id;
struct ldc_channel *lp = dev_id;
struct ldc_channel;
int (*write)(struct ldc_channel *, const void *, unsigned int);
int (*read)(struct ldc_channel *, void *, unsigned int);
struct ldc_channel *lp;
struct ldc_channel *lp;
static inline int vnet_skb_map(struct ldc_channel *lp, struct sk_buff *skb,