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()554 sock_flag(rds_rs_to_sk(rs), SOCK_RCVTSTAMP)) { in rds_cmsg_recv()558 if (!sock_flag(rds_rs_to_sk(rs), SOCK_TSTAMP_NEW)) { in rds_cmsg_recv()609 if (!sock_flag(rds_rs_to_sk(rs), SOCK_ZEROCOPY) || in rds_recvmsg_zcookie()758 struct sock *sk = rds_rs_to_sk(rs); in rds_clear_recv_queue()
514 sock_hold(rds_rs_to_sk(rs)); in rds_rdma_send_complete()528 sock_put(rds_rs_to_sk(rs)); in rds_rdma_send_complete()550 sock_hold(rds_rs_to_sk(rs)); in rds_atomic_send_complete()564 sock_put(rds_rs_to_sk(rs)); in rds_atomic_send_complete()635 sock_put(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()639 sock_hold(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()674 sock_put(rds_rs_to_sk(rs)); in rds_send_remove_from_sock()857 sock_hold(rds_rs_to_sk(rs)); in rds_send_queue_rm()1119 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()