Lines Matching refs:psock

139 static void kcm_format_psock(struct kcm_psock *psock, struct seq_file *seq,  in kcm_format_psock()  argument
144 psock->index, in kcm_format_psock()
145 psock->strp.stats.msgs, in kcm_format_psock()
146 psock->strp.stats.bytes, in kcm_format_psock()
147 psock->stats.tx_msgs, in kcm_format_psock()
148 psock->stats.tx_bytes, in kcm_format_psock()
149 psock->sk->sk_receive_queue.qlen, in kcm_format_psock()
150 atomic_read(&psock->sk->sk_rmem_alloc), in kcm_format_psock()
151 psock->sk->sk_write_queue.qlen, in kcm_format_psock()
152 refcount_read(&psock->sk->sk_wmem_alloc)); in kcm_format_psock()
154 if (psock->done) in kcm_format_psock()
157 if (psock->tx_stopped) in kcm_format_psock()
160 if (psock->strp.stopped) in kcm_format_psock()
163 if (psock->tx_kcm) in kcm_format_psock()
164 seq_printf(seq, "Rsvd-%d ", psock->tx_kcm->index); in kcm_format_psock()
166 if (!psock->strp.paused && !psock->ready_rx_msg) { in kcm_format_psock()
167 if (psock->sk->sk_receive_queue.qlen) { in kcm_format_psock()
168 if (psock->strp.need_bytes) in kcm_format_psock()
170 psock->strp.need_bytes); in kcm_format_psock()
175 if (psock->strp.paused) in kcm_format_psock()
178 if (psock->ready_rx_msg) in kcm_format_psock()
190 struct kcm_psock *psock; in kcm_format_mux() local
213 list_for_each_entry(psock, &mux->psocks, psock_list) { in kcm_format_mux()
214 kcm_format_psock(psock, seq, i, &len); in kcm_format_mux()
248 struct kcm_psock *psock; in kcm_stats_seq_show() local
271 list_for_each_entry(psock, &mux->psocks, psock_list) { in kcm_stats_seq_show()
272 aggregate_psock_stats(&psock->stats, &psock_stats); in kcm_stats_seq_show()
273 save_strp_stats(&psock->strp, &strp_stats); in kcm_stats_seq_show()