Searched refs:sk_omem_alloc (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/net/core/ |
D | bpf_sk_storage.c | 103 atomic_read(&sk->sk_omem_alloc) + size < sysctl_optmem_max) { in omem_charge() 104 atomic_add(size, &sk->sk_omem_alloc); in omem_charge() 138 atomic_sub(smap->elem_size, &sk->sk_omem_alloc); in selem_alloc() 162 atomic_sub(smap->elem_size, &sk->sk_omem_alloc); in __selem_unlink_sk() 167 atomic_sub(sizeof(struct bpf_sk_storage), &sk->sk_omem_alloc); in __selem_unlink_sk() 378 atomic_sub(sizeof(*sk_storage), &sk->sk_omem_alloc); in sk_storage_alloc() 419 atomic_sub(smap->elem_size, &sk->sk_omem_alloc); in sk_storage_update() 820 &newsk->sk_omem_alloc); in bpf_sk_storage_clone()
|
D | sock.c | 1712 if (atomic_read(&sk->sk_omem_alloc)) in __sk_destruct() 1714 __func__, atomic_read(&sk->sk_omem_alloc)); in __sk_destruct() 1822 atomic_set(&newsk->sk_omem_alloc, 0); in sk_clone_lock() 2110 atomic_sub(skb->truesize, &sk->sk_omem_alloc); in sock_ofree() 2119 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc() 2127 atomic_add(skb->truesize, &sk->sk_omem_alloc); in sock_omalloc() 2139 atomic_read(&sk->sk_omem_alloc) + size < sysctl_optmem_max) { in sock_kmalloc() 2144 atomic_add(size, &sk->sk_omem_alloc); in sock_kmalloc() 2148 atomic_sub(size, &sk->sk_omem_alloc); in sock_kmalloc() 2167 atomic_sub(size, &sk->sk_omem_alloc); in __sock_kfree_s() [all …]
|
D | filter.c | 1186 atomic_sub(filter_size, &sk->sk_omem_alloc); in sk_filter_uncharge() 1199 atomic_read(&sk->sk_omem_alloc) + filter_size < sysctl_optmem_max) { in __sk_filter_charge() 1200 atomic_add(filter_size, &sk->sk_omem_alloc); in __sk_filter_charge()
|
/Linux-v5.4/net/ipv6/ |
D | calipso.c | 795 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update() 1219 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_setattr() 1252 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_delattr()
|
D | ipv6_sockglue.c | 237 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt() 468 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt() 541 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
|
D | af_inet6.c | 495 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in inet6_destroy_sock()
|
D | mcast.c | 248 atomic_sub(sizeof(*mc_lst), &sk->sk_omem_alloc); in ipv6_sock_mc_drop() 312 atomic_sub(sizeof(*mc_lst), &sk->sk_omem_alloc); in __ipv6_sock_mc_close()
|
/Linux-v5.4/net/ipv4/ |
D | igmp.c | 2237 atomic_sub(IP_SFLSIZE(psf->sl_max), &sk->sk_omem_alloc); in ip_mc_leave_src() 2281 atomic_sub(sizeof(*iml), &sk->sk_omem_alloc); in ip_mc_leave_group() 2397 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc); in ip_mc_source() 2497 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc); in ip_mc_msfilter() 2691 atomic_sub(sizeof(*iml), &sk->sk_omem_alloc); in ip_mc_drop_socket()
|
D | tcp_ipv4.c | 1127 atomic_sub(sizeof(*key), &sk->sk_omem_alloc); in tcp_md5_do_del() 1144 atomic_sub(sizeof(*key), &sk->sk_omem_alloc); in tcp_clear_md5_list()
|
/Linux-v5.4/net/sctp/ |
D | diag.c | 177 mem[SK_MEMINFO_OPTMEM] = atomic_read(&sk->sk_omem_alloc); in inet_sctp_diag_fill()
|
/Linux-v5.4/net/sched/ |
D | em_meta.c | 416 dst->value = atomic_read(&sk->sk_omem_alloc); in META_COLLECTOR()
|
/Linux-v5.4/include/net/ |
D | sock.h | 404 atomic_t sk_omem_alloc; member
|