Lines Matching refs:vcc
295 struct atm_vcc *vcc; in pppoatm_send() local
298 ATM_SKB(skb)->vcc = pvcc->atmvcc; in pppoatm_send()
303 vcc = ATM_SKB(skb)->vcc; in pppoatm_send()
304 bh_lock_sock(sk_atm(vcc)); in pppoatm_send()
305 if (sock_owned_by_user(sk_atm(vcc))) { in pppoatm_send()
314 if (test_bit(ATM_VF_RELEASED, &vcc->flags) || in pppoatm_send()
315 test_bit(ATM_VF_CLOSE, &vcc->flags) || in pppoatm_send()
316 !test_bit(ATM_VF_READY, &vcc->flags)) { in pppoatm_send()
317 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
335 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
347 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
353 atomic_add(skb->truesize, &sk_atm(ATM_SKB(skb)->vcc)->sk_wmem_alloc); in pppoatm_send()
354 ATM_SKB(skb)->atm_options = ATM_SKB(skb)->vcc->atm_options; in pppoatm_send()
356 skb, ATM_SKB(skb)->vcc, ATM_SKB(skb)->vcc->dev); in pppoatm_send()
357 ret = ATM_SKB(skb)->vcc->send(ATM_SKB(skb)->vcc, skb) in pppoatm_send()
359 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()
362 bh_unlock_sock(sk_atm(vcc)); in pppoatm_send()