Searched refs:sk_atm (Results 1 – 17 of 17) sorted by relevance
/Linux-v5.4/net/atm/ |
D | signaling.c | 33 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()
|
D | atm_misc.c | 18 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()
|
D | pppoatm.c | 299 bh_lock_sock(sk_atm(vcc)); in pppoatm_send() 300 if (sock_owned_by_user(sk_atm(vcc))) { in pppoatm_send() 312 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 330 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 342 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 353 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send() 356 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
|
D | raw.c | 26 struct sock *sk = sk_atm(vcc); in atm_push_raw() 35 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
|
D | svc.c | 50 struct sock *sk = sk_atm(vcc); in svc_disconnect() 395 prepare_to_wait(sk_sleep(sk_atm(new_vcc)), &wait, in svc_accept() 403 finish_wait(sk_sleep(sk_atm(new_vcc)), &wait); in svc_accept() 408 if (!sk_atm(new_vcc)->sk_err) in svc_accept() 410 if (sk_atm(new_vcc)->sk_err != ERESTARTSYS) { in svc_accept() 411 error = -sk_atm(new_vcc)->sk_err; in svc_accept() 434 struct sock *sk = sk_atm(vcc); in svc_change_qos()
|
D | common.c | 68 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()
|
D | clip.c | 70 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()
|
D | mpc.c | 704 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()
|
D | br2684.c | 312 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()
|
D | lec.c | 157 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() 453 sk = sk_atm(priv->lecd); in lec_atm_send() 481 if (skb_peek(&sk_atm(vcc)->sk_receive_queue)) in lec_atm_close() 483 while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) { in lec_atm_close() 536 sk = sk_atm(priv->lecd); in send_to_lecd() 610 struct sock *sk = sk_atm(vcc); in lec_push() 759 vcc_insert_socket(sk_atm(vcc)); in lecd_attach()
|
D | proc.c | 180 struct sock *sk = sk_atm(vcc); in vcc_info()
|
/Linux-v5.4/include/linux/ |
D | atmdev.h | 135 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() function 255 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in atm_account_tx() 262 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge() 268 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return() 274 return (size + refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send() 275 sk_atm(vcc)->sk_sndbuf; in atm_may_send()
|
/Linux-v5.4/drivers/atm/ |
D | atmtcp.c | 72 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()
|
D | idt77252.c | 724 struct sock *sk = sk_atm(vcc); in push_on_scq() 2011 refcount_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in idt77252_send_oam()
|
D | he.c | 2397 while (((tx_inuse = refcount_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) && in he_close()
|
D | iphase.c | 1798 struct sock *sk = sk_atm(vcc);
|
/Linux-v5.4/net/sched/ |
D | sch_atm.c | 512 &sk_atm(flow->vcc)->sk_wmem_alloc); in sch_atm_dequeue()
|