Home
last modified time | relevance | path

Searched refs:rds_sock (Results 1 – 11 of 11) sorted by relevance

/Linux-v5.10/net/rds/
Drds.h302 struct rds_sock *r_sock; /* back pointer to the socket that owns us */
417 struct rds_sock *m_rs;
569 struct rds_sock *rs, u32 *key_ret,
585 struct rds_sock { struct
661 static inline struct rds_sock *rds_sk_to_rs(const struct sock *sk) in rds_sk_to_rs() argument
663 return container_of(sk, struct rds_sock, rs_sk); in rds_sk_to_rs()
665 static inline struct sock *rds_rs_to_sk(struct rds_sock *rs) in rds_rs_to_sk()
675 static inline int rds_sk_sndbuf(struct rds_sock *rs) in rds_sk_sndbuf()
679 static inline int rds_sk_rcvbuf(struct rds_sock *rs) in rds_sk_rcvbuf()
724 void rds_sock_addref(struct rds_sock *rs);
[all …]
Daf_rds.c62 struct rds_sock *rs; in rds_release()
105 void rds_wake_sk_sleep(struct rds_sock *rs) in rds_wake_sk_sleep()
117 struct rds_sock *rs = rds_sk_to_rs(sock->sk); in rds_getname()
216 struct rds_sock *rs = rds_sk_to_rs(sk); in rds_poll()
257 struct rds_sock *rs = rds_sk_to_rs(sock->sk); in rds_ioctl()
293 static int rds_cancel_sent_to(struct rds_sock *rs, sockptr_t optval, int len) in rds_cancel_sent_to()
343 static int rds_cong_monitor(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_cong_monitor()
360 static int rds_set_transport(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_set_transport()
405 static int rds_recv_track_latency(struct rds_sock *rs, sockptr_t optval, in rds_recv_track_latency()
435 struct rds_sock *rs = rds_sk_to_rs(sock->sk); in rds_setsockopt()
[all …]
Dbind.c47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
48 .head_offset = offsetof(struct rds_sock, rs_bound_node),
72 struct rds_sock *rds_find_bound(const struct in6_addr *addr, __be16 port, in rds_find_bound()
76 struct rds_sock *rs; in rds_find_bound()
94 static int rds_add_bound(struct rds_sock *rs, const struct in6_addr *addr, in rds_add_bound()
148 void rds_remove_bound(struct rds_sock *rs) in rds_remove_bound()
166 struct rds_sock *rs = rds_sk_to_rs(sk); in rds_bind()
Drecv.c87 static void rds_recv_rcvbuf_delta(struct rds_sock *rs, struct sock *sk, in rds_recv_rcvbuf_delta()
165 static void rds_recv_incoming_exthdrs(struct rds_incoming *inc, struct rds_sock *rs) in rds_recv_incoming_exthdrs()
286 struct rds_sock *rs = NULL; in rds_recv_incoming()
403 static int rds_next_incoming(struct rds_sock *rs, struct rds_incoming **inc) in rds_next_incoming()
421 static int rds_still_queued(struct rds_sock *rs, struct rds_incoming *inc, in rds_still_queued()
450 int rds_notify_queue_get(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_queue_get()
518 static int rds_notify_cong(struct rds_sock *rs, struct msghdr *msghdr) in rds_notify_cong()
540 struct rds_sock *rs) in rds_cmsg_recv()
598 static bool rds_recvmsg_zcookie(struct rds_sock *rs, struct msghdr *msg) in rds_recvmsg_zcookie()
637 struct rds_sock *rs = rds_sk_to_rs(sk); in rds_recvmsg()
[all …]
Drdma.c97 struct rds_sock *rs = mr->r_sock; in rds_destroy_mr()
127 void rds_rdma_drop_keys(struct rds_sock *rs) in rds_rdma_drop_keys()
172 static int __rds_rdma_map(struct rds_sock *rs, struct rds_get_mr_args *args, in __rds_rdma_map()
356 int rds_get_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr()
369 int rds_get_mr_for_dest(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_get_mr_for_dest()
396 int rds_free_mr(struct rds_sock *rs, sockptr_t optval, int optlen) in rds_free_mr()
442 void rds_rdma_unuse(struct rds_sock *rs, u32 r_key, int force) in rds_rdma_unuse()
605 int rds_cmsg_rdma_args(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_args()
805 int rds_cmsg_rdma_dest(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_dest()
848 int rds_cmsg_rdma_map(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_rdma_map()
[all …]
Dcong.c266 struct rds_sock *rs; in rds_cong_map_updated()
338 void rds_cong_add_socket(struct rds_sock *rs) in rds_cong_add_socket()
348 void rds_cong_remove_socket(struct rds_sock *rs) in rds_cong_remove_socket()
369 struct rds_sock *rs) in rds_cong_wait()
Dsend.c473 static void rds_send_sndbuf_remove(struct rds_sock *rs, struct rds_message *rm) in rds_send_sndbuf_remove()
502 struct rds_sock *rs = NULL; in rds_rdma_send_complete()
538 struct rds_sock *rs = NULL; in rds_atomic_send_complete()
575 __rds_send_complete(struct rds_sock *rs, struct rds_message *rm, int status) in __rds_send_complete()
608 struct rds_sock *rs = NULL; in rds_send_remove_from_sock()
722 void rds_send_drop_to(struct rds_sock *rs, struct sockaddr_in6 *dest) in rds_send_drop_to()
818 static int rds_send_queue_rm(struct rds_sock *rs, struct rds_connection *conn, in rds_send_queue_rm()
971 static int rds_cmsg_zcopy(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_zcopy()
984 static int rds_cmsg_send(struct rds_sock *rs, struct rds_message *rm, in rds_cmsg_send()
1045 static int rds_send_mprds_hash(struct rds_sock *rs, in rds_send_mprds_hash()
[all …]
Dib_mr.h121 struct rds_sock *rs, u32 *key_ret,
Dmessage.c92 static void rds_rm_zerocopy_callback(struct rds_sock *rs, in rds_rm_zerocopy_callback()
140 struct rds_sock *rs = rm->m_rs; in rds_message_purge()
Dib_rdma.c551 struct rds_sock *rs, u32 *key_ret, in rds_ib_get_mr()
Dtcp.c231 static void rds_tcp_tc_info(struct socket *rds_sock, unsigned int len, in rds_tcp_tc_info() argument