Home
last modified time | relevance | path

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

/linux-6.1.9/net/rds/
Dtcp_send.c86 sizeof(struct rds_header) + in rds_tcp_xmit()
100 if (hdr_off < sizeof(struct rds_header)) { in rds_tcp_xmit()
110 if (hdr_off + done != sizeof(struct rds_header)) in rds_tcp_xmit()
Drds.h206 struct rds_header { struct
284 struct rds_header i_hdr;
858 void rds_message_populate_header(struct rds_header *hdr, __be16 sport,
860 int rds_message_add_extension(struct rds_header *hdr,
862 int rds_message_next_extension(struct rds_header *hdr,
864 int rds_message_add_rdma_dest_extension(struct rds_header *hdr, u32 r_key, u32 offset);
873 static inline void rds_message_make_checksum(struct rds_header *hdr) in rds_message_make_checksum()
879 static inline int rds_message_verify_checksum(const struct rds_header *hdr) in rds_message_verify_checksum()
Dib_send.c207 sge->length = sizeof(struct rds_header); in rds_ib_send_init_ring()
507 BUG_ON(hdr_off != 0 && hdr_off != sizeof(struct rds_header)); in rds_ib_xmit()
515 return sizeof(struct rds_header) + ret; in rds_ib_xmit()
637 send->s_sge[0].length = sizeof(struct rds_header); in rds_ib_xmit()
642 sizeof(struct rds_header), in rds_ib_xmit()
645 sizeof(struct rds_header)); in rds_ib_xmit()
686 struct rds_header *hdr = ic->i_send_hdrs[pos]; in rds_ib_xmit()
696 sizeof(struct rds_header), in rds_ib_xmit()
713 bytes_sent += sizeof(struct rds_header); in rds_ib_xmit()
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_recv.c65 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ring()
347 sge->length = sizeof(struct rds_header); in rds_ib_recv_refill_one()
580 sge->length = sizeof(struct rds_header); in rds_ib_recv_init_ack()
659 struct rds_header *hdr = ic->i_ack; in rds_ib_send_ack()
854 struct rds_header *ihdr, *hdr; in rds_ib_process_recv()
862 if (data_len < sizeof(struct rds_header)) { in rds_ib_process_recv()
870 data_len -= sizeof(struct rds_header); in rds_ib_process_recv()
Dib.h168 struct rds_header **i_send_hdrs;
178 struct rds_header **i_recv_hdrs;
194 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()
Dib_cm.c409 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()
443 struct rds_header **hdrs, dma_addr_t *dma_addrs, u32 num_hdrs, in rds_dma_hdrs_free()
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()
Dloop.c80 int ret = sizeof(struct rds_header) + in rds_loop_xmit()
Dtcp_connect.c227 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_path_shutdown()
Dtcp.c177 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_reset_callbacks()
381 tc->t_tinc_hdr_rem = sizeof(struct rds_header); in rds_tcp_conn_alloc()
Drecv.c167 struct rds_header *hdr = &inc->i_hdr; in rds_recv_incoming_exthdrs()
198 static void rds_recv_hs_exthdrs(struct rds_header *hdr, in rds_recv_hs_exthdrs()
Dsend.c374 if (cp->cp_xmit_hdr_off < sizeof(struct rds_header)) { in rds_send_xmit()
376 sizeof(struct rds_header) - in rds_send_xmit()
397 if (cp->cp_xmit_hdr_off == sizeof(struct rds_header) && in rds_send_xmit()
/linux-6.1.9/Documentation/networking/
Drds.rst189 The message header is a 'struct rds_header' (see rds.h):