Home
last modified time | relevance | path

Searched refs:sk_omem_alloc (Results 1 – 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c234 &newsk->sk_omem_alloc); in bpf_sk_storage_clone()
312 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sk_storage_charge()
313 atomic_add(size, &sk->sk_omem_alloc); in sk_storage_charge()
325 atomic_sub(size, &sk->sk_omem_alloc); in sk_storage_uncharge()
Dsock.c1799 if (atomic_read(&sk->sk_omem_alloc)) in __sk_destruct()
1801 __func__, atomic_read(&sk->sk_omem_alloc)); in __sk_destruct()
1914 atomic_set(&newsk->sk_omem_alloc, 0); in sk_clone_lock()
2212 atomic_sub(skb->truesize, &sk->sk_omem_alloc); in sock_ofree()
2221 if (atomic_read(&sk->sk_omem_alloc) + SKB_TRUESIZE(size) > in sock_omalloc()
2229 atomic_add(skb->truesize, &sk->sk_omem_alloc); in sock_omalloc()
2243 atomic_read(&sk->sk_omem_alloc) + size < optmem_max) { in sock_kmalloc()
2248 atomic_add(size, &sk->sk_omem_alloc); in sock_kmalloc()
2252 atomic_sub(size, &sk->sk_omem_alloc); in sock_kmalloc()
2271 atomic_sub(size, &sk->sk_omem_alloc); in __sock_kfree_s()
[all …]
Dfilter.c1205 atomic_sub(filter_size, &sk->sk_omem_alloc); in sk_filter_uncharge()
1219 atomic_read(&sk->sk_omem_alloc) + filter_size < optmem_max) { in __sk_filter_charge()
1220 atomic_add(filter_size, &sk->sk_omem_alloc); in __sk_filter_charge()
/kernel/linux/linux-5.10/net/ipv6/
Dcalipso.c791 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_opt_update()
1216 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_setattr()
1249 atomic_sub(txopts->tot_len, &sk->sk_omem_alloc); in calipso_req_delattr()
Dipv6_sockglue.c386 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in ipv6_set_opt_hdr()
506 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
737 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in do_ipv6_setsockopt()
Daf_inet6.c502 atomic_sub(opt->tot_len, &sk->sk_omem_alloc); in inet6_destroy_sock()
Dmcast.c248 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()
/kernel/linux/linux-5.10/net/ipv4/
Digmp.c2252 atomic_sub(IP_SFLSIZE(psf->sl_max), &sk->sk_omem_alloc); in ip_mc_leave_src()
2296 atomic_sub(sizeof(*iml), &sk->sk_omem_alloc); in ip_mc_leave_group()
2412 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc); in ip_mc_source()
2513 atomic_sub(IP_SFLSIZE(psl->sl_max), &sk->sk_omem_alloc); in ip_mc_msfilter()
2701 atomic_sub(sizeof(*iml), &sk->sk_omem_alloc); in ip_mc_drop_socket()
Dtcp_ipv4.c1202 atomic_sub(sizeof(*key), &sk->sk_omem_alloc); in tcp_md5_do_del()
1219 atomic_sub(sizeof(*key), &sk->sk_omem_alloc); in tcp_clear_md5_list()
/kernel/linux/linux-5.10/net/sctp/
Ddiag.c174 mem[SK_MEMINFO_OPTMEM] = atomic_read(&sk->sk_omem_alloc); in inet_sctp_diag_fill()
/kernel/linux/linux-5.10/net/sched/
Dem_meta.c416 dst->value = atomic_read(&sk->sk_omem_alloc); in META_COLLECTOR()
/kernel/linux/linux-5.10/include/net/
Dsock.h434 atomic_t sk_omem_alloc; member