Home
last modified time | relevance | path

Searched refs:r2net_msg (Results 1 – 3 of 3) sorted by relevance

/drivers/staging/ramster/cluster/
Dtcp.h40 struct r2net_msg { struct
52 typedef int (r2net_msg_handler_func)(struct r2net_msg *msg, u32 len, void *data, argument
57 #define R2NET_MAX_PAYLOAD_BYTES (4096 - sizeof(struct r2net_msg))
112 void r2net_force_data_magic(struct r2net_msg *, u16, u32);
Dtcp.c124 static struct r2net_msg *r2net_keep_req, *r2net_keep_resp;
1012 static void r2net_init_msg(struct r2net_msg *msg, u16 data_len, in r2net_init_msg()
1015 memset(msg, 0, sizeof(struct r2net_msg)); in r2net_init_msg()
1070 struct r2net_msg *msg = NULL; in r2net_send_message_vec()
1127 msg = kmalloc(sizeof(struct r2net_msg), GFP_ATOMIC); in r2net_send_message_vec()
1136 vec[0].iov_len = sizeof(struct r2net_msg); in r2net_send_message_vec()
1153 sizeof(struct r2net_msg) + caller_bytes); in r2net_send_message_vec()
1199 static int r2net_send_status_magic(struct socket *sock, struct r2net_msg *hdr, in r2net_send_status_magic()
1204 .iov_len = sizeof(struct r2net_msg), in r2net_send_status_magic()
1219 return r2net_send_tcp_msg(sock, &vec, 1, sizeof(struct r2net_msg)); in r2net_send_status_magic()
[all …]
/drivers/staging/ramster/
Dr2net.c57 static int ramster_remote_async_get_request_handler(struct r2net_msg *msg, in ramster_remote_async_get_request_handler()
90 static int ramster_remote_async_get_reply_handler(struct r2net_msg *msg, in ramster_remote_async_get_reply_handler()
94 int datalen = len - sizeof(struct r2net_msg); in ramster_remote_async_get_reply_handler()
110 int ramster_remote_put_handler(struct r2net_msg *msg, in ramster_remote_put_handler()
115 int datalen = len - sizeof(struct r2net_msg) - in ramster_remote_put_handler()
132 int ramster_remote_flush_handler(struct r2net_msg *msg, in ramster_remote_flush_handler()
144 int ramster_remote_flobj_handler(struct r2net_msg *msg, in ramster_remote_flobj_handler()