Searched refs:truesize (Results 1 – 7 of 7) sorted by relevance
448 static inline void atm_force_charge(struct atm_vcc *vcc,int truesize) in atm_force_charge() argument450 atomic_add(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_force_charge()454 static inline void atm_return(struct atm_vcc *vcc,int truesize) in atm_return() argument456 atomic_sub(truesize, &sk_atm(vcc)->sk_rmem_alloc); in atm_return()484 int atm_charge(struct atm_vcc *vcc,int truesize);
355 unsigned int truesize; member
176 unsigned int truesize; /* used memory size (set by driver) */ member
864 sk->sk_wmem_queued -= skb->truesize; in sk_wmem_free_skb()865 sk_mem_uncharge(sk, skb->truesize); in sk_wmem_free_skb()1191 skb->truesize += copy; in skb_copy_to_page()1211 atomic_add(skb->truesize, &sk->sk_wmem_alloc); in skb_set_owner_w()1218 atomic_add(skb->truesize, &sk->sk_rmem_alloc); in skb_set_owner_r()1219 sk_mem_charge(sk, skb->truesize); in skb_set_owner_r()1234 if (atomic_read(&sk->sk_rmem_alloc) + skb->truesize >= in sock_queue_err_skb()
266 return atomic_read(&sk->sk_rmem_alloc) + skb->truesize < in llc_conn_space()
887 tp->ucopy.memory += skb->truesize; in tcp_prequeue()
183 int truesize; /* total allocated size of buffer */ member