Searched refs:rds_rs_to_sk (Results 1 – 6 of 6) sorted by relevance
373 sk = rds_rs_to_sk(rs); in rds_recv_incoming()425 struct sock *sk = rds_rs_to_sk(rs); in rds_still_queued()558 sock_flag(rds_rs_to_sk(rs), SOCK_RCVTSTAMP)) { in rds_cmsg_recv()562 if (!sock_flag(rds_rs_to_sk(rs), SOCK_TSTAMP_NEW)) { in rds_cmsg_recv()613 if (!sock_flag(rds_rs_to_sk(rs), SOCK_ZEROCOPY) || in rds_recvmsg_zcookie()762 struct sock *sk = rds_rs_to_sk(rs); in rds_clear_recv_queue()
513 sock_hold(rds_rs_to_sk(rs)); in rds_rdma_send_complete()527 sock_put(rds_rs_to_sk(rs)); in rds_rdma_send_complete()549 sock_hold(rds_rs_to_sk(rs)); in rds_atomic_send_complete()563 sock_put(rds_rs_to_sk(rs)); in rds_atomic_send_complete()634 sock_put(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()638 sock_hold(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()673 sock_put(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()856 sock_hold(rds_rs_to_sk(rs)); in rds_send_queue_rm()1118 sock_flag(rds_rs_to_sk(rs), SOCK_ZEROCOPY)); in rds_sendmsg()
81 if (rs && (sock_flag(rds_rs_to_sk(rs), SOCK_DEAD) || in rds_find_bound()82 !refcount_inc_not_zero(&rds_rs_to_sk(rs)->sk_refcnt))) in rds_find_bound()
110 __rds_wake_sk_sleep(rds_rs_to_sk(rs)); in rds_wake_sk_sleep()714 sock_hold(rds_rs_to_sk(rs)); in rds_sock_addref()719 sock_put(rds_rs_to_sk(rs)); in rds_sock_put()826 sinfo.inum = sock_i_ino(rds_rs_to_sk(rs)); in rds_sock_info()861 sinfo6.inum = sock_i_ino(rds_rs_to_sk(rs)); in rds6_sock_info()
665 static inline struct sock *rds_rs_to_sk(struct rds_sock *rs) in rds_rs_to_sk() function677 return rds_rs_to_sk(rs)->sk_sndbuf / 2; in rds_sk_sndbuf()681 return rds_rs_to_sk(rs)->sk_rcvbuf / 2; in rds_sk_rcvbuf()
148 sock_put(rds_rs_to_sk(rs)); in rds_message_purge()