diff options
| author | KP Singh <[email protected]> | 2020-08-25 18:29:13 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-25 21:59:58 +0000 |
| commit | 1f00d375af84fbcdb6dd6c79fd7c3d02d2390338 (patch) | |
| tree | 32aa5b0c83e792c2487bf1a2e15c73fcceb19110 /security/bpf/hooks.c | |
| parent | selftests/bpf: Enable tc verbose mode for test_sk_assign (diff) | |
| download | kernel-1f00d375af84fbcdb6dd6c79fd7c3d02d2390338.tar.gz kernel-1f00d375af84fbcdb6dd6c79fd7c3d02d2390338.zip | |
bpf: Renames in preparation for bpf_local_storage
A purely mechanical change to split the renaming from the actual
generalization.
Flags/consts:
SK_STORAGE_CREATE_FLAG_MASK BPF_LOCAL_STORAGE_CREATE_FLAG_MASK
BPF_SK_STORAGE_CACHE_SIZE BPF_LOCAL_STORAGE_CACHE_SIZE
MAX_VALUE_SIZE BPF_LOCAL_STORAGE_MAX_VALUE_SIZE
Structs:
bucket bpf_local_storage_map_bucket
bpf_sk_storage_map bpf_local_storage_map
bpf_sk_storage_data bpf_local_storage_data
bpf_sk_storage_elem bpf_local_storage_elem
bpf_sk_storage bpf_local_storage
The "sk" member in bpf_local_storage is also updated to "owner"
in preparation for changing the type to void * in a subsequent patch.
Functions:
selem_linked_to_sk selem_linked_to_storage
selem_alloc bpf_selem_alloc
__selem_unlink_sk bpf_selem_unlink_storage_nolock
__selem_link_sk bpf_selem_link_storage_nolock
selem_unlink_sk __bpf_selem_unlink_storage
sk_storage_update bpf_local_storage_update
__sk_storage_lookup bpf_local_storage_lookup
bpf_sk_storage_map_free bpf_local_storage_map_free
bpf_sk_storage_map_alloc bpf_local_storage_map_alloc
bpf_sk_storage_map_alloc_check bpf_local_storage_map_alloc_check
bpf_sk_storage_map_check_btf bpf_local_storage_map_check_btf
Signed-off-by: KP Singh <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions
