Home
last modified time | relevance | path

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

/Linux-v4.19/net/rds/
Dtcp_send.c91 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()
Drds.h204 struct rds_header { struct
276 struct rds_header i_hdr;
834 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
836 int rds_message_add_extension(struct rds_header *hdr,
838 int rds_message_next_extension(struct rds_header *hdr,
840 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset);
849 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum()
855 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
Dib_recv.c64 sge->addr = ic->i_recv_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_recv_init_ring()
65 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ring()
345 sge->addr = ic->i_recv_hdrs_dma + (recv - ic->i_recvs) * sizeof(struct rds_header); in rds_ib_recv_refill_one()
346 sge->length = sizeof(struct rds_header); in rds_ib_recv_refill_one()
570 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack()
649 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack()
840 struct rds_header *ihdr, *hdr; in rds_ib_process_recv()
847 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv()
855 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
Dib_send.c209 sge->addr = ic->i_send_hdrs_dma + (i * sizeof(struct rds_header)); in rds_ib_send_init_ring()
210 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring()
510 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit()
518 return sizeof(struct rds_header) + ret; in rds_ib_xmit()
639 + (pos * sizeof(struct rds_header)); in rds_ib_xmit()
640 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
642 memcpy(&ic->i_send_hdrs[pos], &rm->m_inc.i_hdr, sizeof(struct rds_header)); in rds_ib_xmit()
681 struct rds_header *hdr = &ic->i_send_hdrs[pos]; in rds_ib_xmit()
704 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
Dib_cm.c544 sizeof(struct rds_header), in rds_ib_setup_qp()
554 sizeof(struct rds_header), in rds_ib_setup_qp()
562 ic->i_ack = ib_dma_alloc_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
598 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_setup_qp()
602 sizeof(struct rds_header), in rds_ib_setup_qp()
606 sizeof(struct rds_header), in rds_ib_setup_qp()
1028 sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
1035 sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
1040 ib_dma_free_coherent(dev, sizeof(struct rds_header), in rds_ib_conn_path_shutdown()
Dmessage.c187 void rds_message_populate_header(struct rds_header *hdr, __be16 sport, in rds_message_populate_header()
198 int rds_message_add_extension(struct rds_header *hdr, unsigned int type, in rds_message_add_extension()
237 int rds_message_next_extension(struct rds_header *hdr, in rds_message_next_extension()
269 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset) in rds_message_add_rdma_dest_extension()
Dib.h167 struct rds_header *i_send_hdrs;
177 struct rds_header *i_recv_hdrs;
193 struct rds_header *i_ack;
Dtcp_recv.c199 sizeof(struct rds_header) - in rds_tcp_data_recv()
247 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_data_recv()
Dloop.c80 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
Dtcp_connect.c223 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_path_shutdown()
Dtcp.c187 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_reset_callbacks()
390 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
Drecv.c172 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
203 static void rds_recv_hs_exthdrs(struct rds_header *hdr, in rds_recv_hs_exthdrs()
Dsend.c362 if (cp->cp_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit()
364 sizeof(struct rds_header) - in rds_send_xmit()
385 if (cp->cp_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
/Linux-v4.19/Documentation/networking/
Drds.txt182 The message header is a 'struct rds_header' (see rds.h):