Home
last modified time | relevance | path

Searched refs:uncharge (Results 1 – 7 of 7) sorted by relevance

/linux/kernel/bpf/
H A Dbpf_local_storage.c181 u32 uncharge = smap->elem_size; in bpf_selem_unlink_storage_nolock_misc() local
190 uncharge += free_local_storage ? sizeof(*local_storage) : 0; in bpf_selem_unlink_storage_nolock_misc()
191 mem_uncharge(smap, local_storage->owner, uncharge); in bpf_selem_unlink_storage_nolock_misc()
192 local_storage->mem_charge -= uncharge; in bpf_selem_unlink_storage_nolock_misc()
494 goto uncharge; in bpf_local_storage_alloc()
508 goto uncharge; in bpf_local_storage_alloc()
529 goto uncharge; in bpf_local_storage_alloc()
535 uncharge: in bpf_local_storage_alloc()
/linux/tools/testing/selftests/mm/
H A Dhugetlb_reparenting_test.sh168 echo Test charge, rmdir, uncharge
180 echo uncharge
/linux/net/ipv4/
H A Dtcp_bpf.c92 int flags, bool uncharge) in tcp_bpf_push() argument
132 if (uncharge) in tcp_bpf_push()
154 u32 apply_bytes, int flags, bool uncharge) in tcp_bpf_push_locked() argument
159 ret = tcp_bpf_push(sk, msg, apply_bytes, flags, uncharge); in tcp_bpf_push_locked()
/linux/net/core/
H A Dbpf_sk_storage.c50 u32 uncharge; in bpf_sk_storage_free() local
57 uncharge = bpf_local_storage_destroy(sk_storage); in bpf_sk_storage_free()
58 if (uncharge) in bpf_sk_storage_free()
59 atomic_sub(uncharge, &sk->sk_omem_alloc); in bpf_sk_storage_free()
H A Dskmsg.c168 int uncharge = (bytes < sge->length) ? bytes : sge->length; in sk_msg_return() local
170 sk_mem_uncharge(sk, uncharge); in sk_msg_return()
171 bytes -= uncharge; in sk_msg_return()
/linux/Documentation/admin-guide/cgroup-v1/
H A Drdma.rst63 to new owner cgroup for new resource. It also allows to uncharge resource of
71 charge the resource. So that it correctly uncharge them when applications are
/linux/Documentation/admin-guide/
H A Dcgroup-v2.rst2878 uncharge APIs. All of the APIs to interact with misc controller are in