Searched refs:sk_atm (Results 1 – 18 of 18) sorted by relevance
/linux-2.6.39/net/atm/ |
D | signaling.c | 53 skb_queue_tail(&sk_atm(sigd)->sk_receive_queue, skb); in sigd_put_skb() 54 sk_atm(sigd)->sk_data_ready(sk_atm(sigd), skb->len); in sigd_put_skb() 91 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in sigd_send() 94 sk = sk_atm(vcc); in sigd_send() 124 sk = sk_atm(vcc); in sigd_send() 210 if (sk_atm(vcc)->sk_family == PF_ATMSVC && in purge_vcc() 226 if (skb_peek(&sk_atm(vcc)->sk_receive_queue)) in sigd_close() 228 skb_queue_purge(&sk_atm(vcc)->sk_receive_queue); in sigd_close() 262 vcc_insert_socket(sk_atm(vcc)); in sigd_attach()
|
D | atm_misc.c | 17 if (atomic_read(&sk_atm(vcc)->sk_rmem_alloc) <= sk_atm(vcc)->sk_rcvbuf) in atm_charge() 28 struct sock *sk = sk_atm(vcc); in atm_alloc_charge()
|
D | raw.c | 25 struct sock *sk = sk_atm(vcc); in atm_push_raw() 34 struct sock *sk = sk_atm(vcc); in atm_pop_raw()
|
D | svc.c | 48 struct sock *sk = sk_atm(vcc); in svc_disconnect() 395 prepare_to_wait(sk_sleep(sk_atm(new_vcc)), &wait, in svc_accept() 402 prepare_to_wait(sk_sleep(sk_atm(new_vcc)), &wait, in svc_accept() 405 finish_wait(sk_sleep(sk_atm(new_vcc)), &wait); in svc_accept() 410 if (!sk_atm(new_vcc)->sk_err) in svc_accept() 412 if (sk_atm(new_vcc)->sk_err != ERESTARTSYS) { in svc_accept() 413 error = -sk_atm(new_vcc)->sk_err; in svc_accept() 437 struct sock *sk = sk_atm(vcc); in svc_change_qos()
|
D | clip.c | 69 sk = sk_atm(atmarpd); in to_atmarpd() 418 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in clip_start_xmit() 474 rq = &sk_atm(vcc)->sk_receive_queue; in clip_mkip() 665 skb_queue_purge(&sk_atm(vcc)->sk_receive_queue); in atmarpd_close() 700 vcc_insert_socket(sk_atm(vcc)); in atm_init_atmarp() 796 (sk_atm(clip_vcc->vcc)->sk_family == AF_ATMSVC)); in atmarp_info()
|
D | mpc.c | 558 atomic_add(skb->truesize, &sk_atm(entry->shortcut)->sk_wmem_alloc); in send_via_shortcut() 705 struct sock *sk = sk_atm(vcc); in mpc_push() 840 vcc_insert_socket(sk_atm(vcc)); in atm_mpoa_mpoad_attach() 897 while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) { in mpoad_close() 915 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in msg_from_mpoad() 994 sk = sk_atm(mpc->mpoad_vcc); in msg_to_mpoad() 1277 sk = sk_atm(vcc); in purge_egress_shortcut()
|
D | common.c | 68 struct sock *sk = sk_atm(vcc); in alloc_tx() 207 struct sock *sk = sk_atm(vcc); in vcc_release_async() 358 struct sock *sk = sk_atm(vcc); in __vcc_connect() 671 if (sk_atm(vcc)->sk_family == AF_ATMPVC) in atm_change_qos()
|
D | lec.c | 160 sk = sk_atm(priv->lecd); in lec_handle_bridge() 235 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in lec_send() 428 atomic_sub(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in lec_atm_send() 528 sk = sk_atm(priv->lecd); in lec_atm_send() 556 if (skb_peek(&sk_atm(vcc)->sk_receive_queue)) in lec_atm_close() 558 while ((skb = skb_dequeue(&sk_atm(vcc)->sk_receive_queue))) { in lec_atm_close() 611 sk = sk_atm(priv->lecd); in send_to_lecd() 695 struct sock *sk = sk_atm(vcc); in lec_push() 873 vcc_insert_socket(sk_atm(vcc)); in lecd_attach()
|
D | pppoatm.c | 231 atomic_add(skb->truesize, &sk_atm(ATM_SKB(skb)->vcc)->sk_wmem_alloc); in pppoatm_send()
|
D | br2684.c | 253 atomic_add(skb->truesize, &sk_atm(atmvcc)->sk_wmem_alloc); in br2684_xmit_vcc() 556 rq = &sk_atm(atmvcc)->sk_receive_queue; in br2684_regvcc()
|
D | proc.c | 192 struct sock *sk = sk_atm(vcc); in vcc_info()
|
/linux-2.6.39/include/linux/ |
D | atmdev.h | 339 static inline struct sock *sk_atm(struct atm_vcc *vcc) in sk_atm() function 461 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge() 467 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return() 473 return (size + atomic_read(&sk_atm(vcc)->sk_wmem_alloc)) < in atm_may_send() 474 sk_atm(vcc)->sk_sndbuf; in atm_may_send()
|
/linux-2.6.39/drivers/atm/ |
D | atmtcp.c | 71 add_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control() 83 remove_wait_queue(sk_sleep(sk_atm(vcc)), &wait); in atmtcp_send_control() 95 sk_atm(vcc)->sk_err = -msg->result; in atmtcp_recv_control() 108 wake_up(sk_sleep(sk_atm(vcc))); in atmtcp_recv_control() 139 return -sk_atm(vcc)->sk_err; in atmtcp_v_open() 408 vcc_insert_socket(sk_atm(vcc)); in atmtcp_attach()
|
D | fore200e.c | 930 if (atomic_read(&sk_atm(vcc)->sk_wmem_alloc) < 0) { in fore200e_tx_irq() 931 atomic_set(&sk_atm(vcc)->sk_wmem_alloc, 0); in fore200e_tx_irq() 1134 ASSERT(atomic_read(&sk_atm(vcc)->sk_wmem_alloc) >= 0); in fore200e_push_rpd() 1139 ASSERT(atomic_read(&sk_atm(vcc)->sk_wmem_alloc) >= 0); in fore200e_push_rpd() 1576 ASSERT(atomic_read(&sk_atm(vcc)->sk_wmem_alloc) >= 0); in fore200e_send()
|
D | idt77252.c | 724 struct sock *sk = sk_atm(vcc); in push_on_scq() 2017 atomic_add(skb->truesize, &sk_atm(vcc)->sk_wmem_alloc); in idt77252_send_oam()
|
D | he.c | 2416 while (((tx_inuse = atomic_read(&sk_atm(vcc)->sk_wmem_alloc)) > 1) && in he_close()
|
D | iphase.c | 1775 struct sock *sk = sk_atm(vcc);
|
/linux-2.6.39/net/sched/ |
D | sch_atm.c | 492 &sk_atm(flow->vcc)->sk_wmem_alloc); in sch_atm_dequeue()
|