Home
last modified time | relevance | path

Searched refs:rds_header (Results 1 – 17 of 17) sorted by relevance

/net/rds/
Diw_recv.c104 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()
353 sge->length = sizeof(struct rds_header); in rds_iw_recv_init_ack()
434 struct rds_header *hdr = ic->i_ack; in rds_iw_send_ack()
640 struct rds_header *ihdr, *hdr; in rds_iw_process_recv()
647 if (byte_len < sizeof(struct rds_header)) { in rds_iw_process_recv()
655 byte_len -= sizeof(struct rds_header); in rds_iw_process_recv()
Drds.h160 struct rds_header { struct
220 struct rds_header i_hdr;
686 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
688 int rds_message_add_extension(struct rds_header *hdr,
690 int rds_message_next_extension(struct rds_header *hdr,
692 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset);
700 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum()
706 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
Dtcp_send.c95 sizeof(struct rds_header) + in rds_tcp_xmit()
106 if (hdr_off < sizeof(struct rds_header)) { in rds_tcp_xmit()
116 if (hdr_off + done != sizeof(struct rds_header)) in rds_tcp_xmit()
Dib_recv.c63 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()
566 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack()
645 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack()
837 struct rds_header *ihdr, *hdr; in rds_ib_process_recv()
844 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv()
852 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
Dib_cm.c436 sizeof(struct rds_header), in rds_ib_setup_qp()
446 sizeof(struct rds_header), in rds_ib_setup_qp()
454 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
488 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
492 sizeof(struct rds_header), in rds_ib_setup_qp()
496 sizeof(struct rds_header), in rds_ib_setup_qp()
783 sizeof(struct rds_header), in rds_ib_conn_shutdown()
790 sizeof(struct rds_header), in rds_ib_conn_shutdown()
795 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_conn_shutdown()
Diw_send.c152 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()
470 sge->addr = ic->i_send_hdrs_dma + (pos * sizeof(struct rds_header)); in rds_iw_xmit_populate_wr()
471 sge->length = sizeof(struct rds_header); in rds_iw_xmit_populate_wr()
510 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_iw_xmit()
695 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_iw_xmit()
698 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit()
706 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_iw_xmit()
725 sent += sizeof(struct rds_header); in rds_iw_xmit()
Dmessage.c96 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header()
107 int rds_message_add_extension(struct rds_header *hdr, unsigned int type, in rds_message_add_extension()
146 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension()
178 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
Dib_send.c208 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_send_init_ring()
209 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring()
511 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit()
519 return sizeof(struct rds_header) + ret; in rds_ib_xmit()
640 + (pos * sizeof(struct rds_header)); in rds_ib_xmit()
641 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
643 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_ib_xmit()
680 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_ib_xmit()
703 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
Diw_cm.c296 sizeof(struct rds_header), in rds_iw_setup_qp()
306 sizeof(struct rds_header), in rds_iw_setup_qp()
314 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_iw_setup_qp()
613 sizeof(struct rds_header), in rds_iw_conn_shutdown()
620 sizeof(struct rds_header), in rds_iw_conn_shutdown()
625 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_iw_conn_shutdown()
Dib.h139 struct rds_header *i_send_hdrs;
149 struct rds_header *i_recv_hdrs;
164 struct rds_header *i_ack;
Diw.h121 struct rds_header *i_send_hdrs;
131 struct rds_header *i_recv_hdrs;
145 struct rds_header *i_ack;
Dtcp_recv.c195 sizeof(struct rds_header) - in rds_tcp_data_recv()
246 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
Dtcp_connect.c157 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_shutdown()
Dloop.c65 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
Dsend.c347 if (conn->c_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit()
349 sizeof(struct rds_header) - in rds_send_xmit()
370 if (conn->c_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
Dtcp.c204 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
Drecv.c115 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()