Lines Matching defs:ssk
147 #define rx_ring_posted(ssk) ring_posted(ssk->rx_ring) argument
149 #define tx_ring_posted(ssk) (ring_posted(ssk->tx_ring) + \ argument
152 #define tx_ring_posted(ssk) ring_posted(ssk->tx_ring) argument
262 struct sdp_sock *ssk; member
322 #define tx_credits(ssk) (atomic_read(&ssk->tx_ring.credits)) argument
409 #define rcv_nxt(ssk) atomic_read(&(ssk->rcv_nxt)) argument
414 #define mseq_ack(ssk) (atomic_read(&ssk->mseq_ack)) argument
421 #define remote_credits(ssk) (atomic_read(&ssk->remote_credits)) argument
448 #define SDP_RLOCK(ssk) rw_rlock(&(ssk)->lock) argument
449 #define SDP_WLOCK(ssk) rw_wlock(&(ssk)->lock) argument
450 #define SDP_RUNLOCK(ssk) rw_runlock(&(ssk)->lock) argument
451 #define SDP_WUNLOCK(ssk) rw_wunlock(&(ssk)->lock) argument
452 #define SDP_WLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_WLOCKED) argument
453 #define SDP_RLOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_RLOCKED) argument
454 #define SDP_LOCK_ASSERT(ssk) rw_assert(&(ssk)->lock, RA_LOCKED) argument
486 static inline void sdp_arm_rx_cq(struct sdp_sock *ssk) in sdp_arm_rx_cq()
494 static inline void sdp_arm_tx_cq(struct sdp_sock *ssk) in sdp_arm_tx_cq()
507 static inline int tx_slots_free(struct sdp_sock *ssk) in tx_slots_free()
640 static inline int sdp_tx_ring_slots_left(struct sdp_sock *ssk) in sdp_tx_ring_slots_left()
645 static inline int credit_update_needed(struct sdp_sock *ssk) in credit_update_needed()
665 sdp_cleanup_sdp_buf(struct sdp_sock *ssk, struct sdp_buf *sbuf, in sdp_cleanup_sdp_buf()