Searched refs:rds_header (Results 1 – 12 of 12) sorted by relevance
| /linux/net/rds/ |
| H A D | tcp_send.c | 87 sizeof(struct rds_header) + in rds_tcp_xmit() 101 if (hdr_off < sizeof(struct rds_header)) { in rds_tcp_xmit() 111 if (hdr_off + done != sizeof(struct rds_header)) in rds_tcp_xmit()
|
| H A D | rds.h | 211 struct rds_header { struct 305 struct rds_header i_hdr; 903 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, 905 int rds_message_add_extension(struct rds_header *hdr, 907 int rds_message_next_extension(struct rds_header *hdr, 909 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset); 917 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum() 923 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
|
| H A D | ib_send.c | 209 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring() 509 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit() 517 return sizeof(struct rds_header) + ret; in rds_ib_xmit() 665 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit() 670 sizeof(struct rds_header), in rds_ib_xmit() 673 sizeof(struct rds_header)); in rds_ib_xmit() 714 struct rds_header *hdr = ic->i_send_hdrs[pos]; in rds_ib_xmit() 724 sizeof(struct rds_header), in rds_ib_xmit() 741 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
|
| H A D | message.c | 225 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header() 250 static int rds_find_next_ext_space(struct rds_header *hdr, unsigned int len, in rds_find_next_ext_space() 279 int rds_message_add_extension(struct rds_header *hdr, in rds_message_add_extension() 313 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension() 345 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
|
| H A D | ib.h | 168 struct rds_header **i_send_hdrs; 178 struct rds_header **i_recv_hdrs; 194 struct rds_header *i_ack;
|
| H A D | tcp_recv.c | 200 sizeof(struct rds_header) - in rds_tcp_data_recv() 248 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
|
| H A D | ib_cm.c | 409 static void rds_dma_hdr_free(struct ib_device *dev, struct rds_header *hdr, in rds_dma_hdr_free() 416 static struct rds_header *rds_dma_hdr_alloc(struct ib_device *dev, in rds_dma_hdr_alloc() 419 struct rds_header *hdr; in rds_dma_hdr_alloc() 435 /* Free the DMA memory used to store struct rds_header. 443 struct rds_header **hdrs, dma_addr_t *dma_addrs, u32 num_hdrs, in rds_dma_hdrs_free() 455 /* Allocate DMA coherent memory to be used to store struct rds_header for 466 static struct rds_header **rds_dma_hdrs_alloc(struct rds_ib_device *dev, in rds_dma_hdrs_alloc() 470 struct rds_header **hdrs; in rds_dma_hdrs_alloc()
|
| H A D | loop.c | 80 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
|
| H A D | tcp_connect.c | 296 tc->t_tinc_hdr_rem = sizeof(struct rds_header);
|
| H A D | tcp.c | 165 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_reset_callbacks() 411 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
|
| H A D | recv.c | 171 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs() 202 static void rds_recv_hs_exthdrs(struct rds_header *hdr, in rds_recv_hs_exthdrs()
|
| H A D | send.c | 452 if (cp->cp_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit() 454 sizeof(struct rds_header) - in rds_send_xmit() 475 if (cp->cp_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
|