Lines Matching defs:ssk
148 #define rx_ring_posted(ssk) ring_posted(ssk->rx_ring) argument
150 #define tx_ring_posted(ssk) (ring_posted(ssk->tx_ring) + \ argument
153 #define tx_ring_posted(ssk) ring_posted(ssk->tx_ring) argument
220 struct sdp_sock *ssk; member
280 #define tx_credits(ssk) (atomic_read(&ssk->tx_ring.credits)) argument
367 #define rcv_nxt(ssk) atomic_read(&(ssk->rcv_nxt)) argument
372 #define mseq_ack(ssk) (atomic_read(&ssk->mseq_ack)) argument
379 #define remote_credits(ssk) (atomic_read(&ssk->remote_credits)) argument
406 #define SDP_RLOCK(ssk) rw_rlock(&(ssk)->lock) argument
407 #define SDP_WLOCK(ssk) rw_wlock(&(ssk)->lock) argument
408 #define SDP_RUNLOCK(ssk) rw_runlock(&(ssk)->lock) argument
409 #define SDP_WUNLOCK(ssk) rw_wunlock(&(ssk)->lock) argument
410 #define SDP_WLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_WLOCKED) argument
411 #define SDP_RLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_RLOCKED) argument
412 #define SDP_LOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_LOCKED) argument
445 static inline void sdp_arm_rx_cq(struct sdp_sock *ssk) in sdp_arm_rx_cq()
453 static inline void sdp_arm_tx_cq(struct sdp_sock *ssk) in sdp_arm_tx_cq()
466 static inline int tx_slots_free(struct sdp_sock *ssk) in tx_slots_free()
599 static inline int sdp_tx_ring_slots_left(struct sdp_sock *ssk) in sdp_tx_ring_slots_left()
604 static inline int credit_update_needed(struct sdp_sock *ssk) in credit_update_needed()
624 sdp_cleanup_sdp_buf(struct sdp_sock *ssk, struct sdp_buf *sbuf, in sdp_cleanup_sdp_buf()