Searched refs:rds_header (Results 1 – 18 of 18) sorted by relevance
/linux-3.4.99/net/rds/ |
D | rds.h | 142 struct rds_header { struct 202 struct rds_header i_hdr; 663 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, 665 int rds_message_add_extension(struct rds_header *hdr, 667 int rds_message_next_extension(struct rds_header *hdr, 669 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset); 678 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum() 684 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
|
D | tcp_send.c | 94 sizeof(struct rds_header) + in rds_tcp_xmit() 105 if (hdr_off < sizeof(struct rds_header)) { in rds_tcp_xmit() 115 if (hdr_off + done != sizeof(struct rds_header)) in rds_tcp_xmit()
|
D | iw_recv.c | 104 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_recv_init_ring() 105 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ring() 198 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_iw_recv_refill_one() 199 sge->length = sizeof(struct rds_header); in rds_iw_recv_refill_one() 368 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ack() 449 struct rds_header *hdr = ic->i_ack; in rds_iw_send_ack() 655 struct rds_header *ihdr, *hdr; in rds_iw_process_recv() 662 if (byte_len < sizeof(struct rds_header)) { in rds_iw_process_recv() 670 byte_len -= sizeof(struct rds_header); in rds_iw_process_recv()
|
D | ib_recv.c | 63 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_recv_init_ring() 64 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ring() 338 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_ib_recv_refill_one() 339 sge->length = sizeof(struct rds_header); in rds_ib_recv_refill_one() 533 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack() 614 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack() 820 struct rds_header *ihdr, *hdr; in rds_ib_process_recv() 827 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv() 835 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
|
D | iw_send.c | 152 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_iw_send_init_ring() 153 sge->length = sizeof(struct rds_header); in rds_iw_send_init_ring() 478 sge->addr = ic->i_send_hdrs_dma + (pos * sizeof(struct rds_header)); in rds_iw_xmit_populate_wr() 479 sge->length = sizeof(struct rds_header); in rds_iw_xmit_populate_wr() 518 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_iw_xmit() 699 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_iw_xmit() 702 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit() 710 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit() 729 sent += sizeof(struct rds_header); in rds_iw_xmit()
|
D | message.c | 99 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header() 110 int rds_message_add_extension(struct rds_header *hdr, unsigned int type, in rds_message_add_extension() 149 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension() 181 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
|
D | ib_send.c | 237 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_send_init_ring() 238 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring() 548 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit() 556 return sizeof(struct rds_header) + ret; in rds_ib_xmit() 675 + (pos * sizeof(struct rds_header)); in rds_ib_xmit() 676 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit() 678 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_ib_xmit() 712 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_ib_xmit() 735 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
|
D | iw_cm.c | 293 sizeof(struct rds_header), in rds_iw_setup_qp() 303 sizeof(struct rds_header), in rds_iw_setup_qp() 311 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_iw_setup_qp() 609 sizeof(struct rds_header), in rds_iw_conn_shutdown() 616 sizeof(struct rds_header), in rds_iw_conn_shutdown() 621 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_iw_conn_shutdown()
|
D | ib_cm.c | 352 sizeof(struct rds_header), in rds_ib_setup_qp() 362 sizeof(struct rds_header), in rds_ib_setup_qp() 370 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp() 664 sizeof(struct rds_header), in rds_ib_conn_shutdown() 671 sizeof(struct rds_header), in rds_ib_conn_shutdown() 676 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_conn_shutdown()
|
D | iw.h | 118 struct rds_header *i_send_hdrs; 128 struct rds_header *i_recv_hdrs; 142 struct rds_header *i_ack;
|
D | ib.h | 110 struct rds_header *i_send_hdrs; 121 struct rds_header *i_recv_hdrs; 136 struct rds_header *i_ack;
|
D | tcp_recv.c | 215 sizeof(struct rds_header) - in rds_tcp_data_recv() 259 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
|
D | tcp_connect.c | 150 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_shutdown()
|
D | loop.c | 65 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
|
D | send.c | 314 if (conn->c_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit() 316 sizeof(struct rds_header) - in rds_send_xmit() 337 if (conn->c_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
|
D | tcp.c | 209 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
|
D | recv.c | 110 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
|
/linux-3.4.99/Documentation/networking/ |
D | rds.txt | 170 The message header is a 'struct rds_header' (see rds.h):
|