Home
last modified time | relevance | path

Searched refs:sk_atm (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/net/atm/
H A Dsignaling.c33 skb_queue_tail(&sk_atm(sigd)->sk_receive_queue, skb); in sigd_put_skb()
34 sk_atm(sigd)->sk_data_ready(sk_atm(sigd)); in sigd_put_skb()
71 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in sigd_send()
74 sk = sk_atm(vcc); in sigd_send()
104 sk = sk_atm(vcc); in sigd_send()
189 if (sk_atm(vcc)->sk_family == PF_ATMSVC && in purge_vcc()
204 if (skb_peek(&sk_atm(vcc)->sk_receive_queue)) in sigd_close()
206 skb_queue_purge(&sk_atm(vcc)->sk_receive_queue); in sigd_close()
240 vcc_insert_socket(sk_atm(vcc)); in sigd_attach()
H A Datm_misc.c18 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge()
29 struct sock *sk = sk_atm(vcc); in atm_alloc_charge()
H A Dpppoatm.c301 bh_lock_sock(sk_atm(vcc)); in pppoatm_send()
302 if (sock_owned_by_user(sk_atm(vcc))) { in pppoatm_send()
314 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
332 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
344 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
355 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
358 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
H A Draw.c26 struct sock *sk = sk_atm(vcc); in atm_push_raw()
35 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
H A Dsvc.c55 struct sock *sk = sk_atm(vcc); in svc_disconnect()
400 prepare_to_wait(sk_sleep(sk_atm(new_vcc)), &wait, in svc_accept()
408 finish_wait(sk_sleep(sk_atm(new_vcc)), &wait); in svc_accept()
413 if (!sk_atm(new_vcc)->sk_err) in svc_accept()
415 if (sk_atm(new_vcc)->sk_err != ERESTARTSYS) { in svc_accept()
416 error = -sk_atm(new_vcc)->sk_err; in svc_accept()
439 struct sock *sk = sk_atm(vcc); in svc_change_qos()
H A Dcommon.c68 struct sock *sk = sk_atm(vcc); in vcc_tx_ready()
215 struct sock *sk = sk_atm(vcc); in vcc_release_async()
232 rq = &sk_atm(vcc)->sk_receive_queue; in vcc_process_recv_queue()
385 struct sock *sk = sk_atm(vcc); in __vcc_connect()
705 if (sk_atm(vcc)->sk_family == AF_ATMPVC) in atm_change_qos()
H A Dclip.c70 sk = sk_atm(atmarpd); in to_atmarpd()
613 skb_queue_purge(&sk_atm(vcc)->sk_receive_queue); in atmarpd_close()
648 vcc_insert_socket(sk_atm(vcc)); in atm_init_atmarp()
745 (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC)); in atmarp_info()
H A Dmpc.c704 struct sock *sk = sk_atm(vcc); in mpc_push()
838 vcc_insert_socket(sk_atm(vcc)); in atm_mpoa_mpoad_attach()
895 while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) { in mpoad_close()
913 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in msg_from_mpoad()
992 sk = sk_atm(mpc->mpoad_vcc); in msg_to_mpoad()
1274 sk = sk_atm(vcc); in purge_egress_shortcut()
H A Dlec.c157 sk = sk_atm(priv->lecd); in lec_handle_bridge()
351 WARN_ON(refcount_sub_and_test(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc)); in lec_atm_send()
451 sk = sk_atm(priv->lecd); in lec_atm_send()
479 if (skb_peek(&sk_atm(vcc)->sk_receive_queue)) in lec_atm_close()
481 while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) { in lec_atm_close()
534 sk = sk_atm(priv->lecd); in send_to_lecd()
608 struct sock *sk = sk_atm(vcc); in lec_push()
757 vcc_insert_socket(sk_atm(vcc)); in lecd_attach()
H A Dbr2684.c312 bh_lock_sock(sk_atm(atmvcc)); in br2684_start_xmit()
322 if (sock_owned_by_user(sk_atm(atmvcc))) { in br2684_start_xmit()
340 bh_unlock_sock(sk_atm(atmvcc)); in br2684_start_xmit()
H A Dproc.c179 struct sock *sk = sk_atm(vcc); in vcc_info()
/openbmc/linux/include/linux/
H A Datmdev.h135 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() function
247 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in atm_account_tx()
254 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()
260 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()
266 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send()
267 sk_atm(vcc)->sk_sndbuf; in atm_may_send()
/openbmc/linux/drivers/atm/
H A Datmtcp.c72 add_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control()
84 remove_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control()
96 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control()
109 wake_up(sk_sleep(sk_atm(vcc))); in atmtcp_recv_control()
140 return -sk_atm(vcc)->sk_err; in atmtcp_v_open()
408 vcc_insert_socket(sk_atm(vcc)); in atmtcp_attach()
H A Didt77252.c724 struct sock *sk = sk_atm(vcc); in push_on_scq()
2007 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in idt77252_send_oam()
H A Dhe.c2394 while (((tx_inuse = refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) && in he_close()
H A Diphase.c1799 struct sock *sk = sk_atm(vcc);