Home
last modified time | relevance | path

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

/kernel/bpf/
Dverifier.c522 static int bpf_size_to_bytes(int bpf_size) in bpf_size_to_bytes() argument
524 if (bpf_size == BPF_W) in bpf_size_to_bytes()
526 else if (bpf_size == BPF_H) in bpf_size_to_bytes()
528 else if (bpf_size == BPF_B) in bpf_size_to_bytes()
530 else if (bpf_size == BPF_DW) in bpf_size_to_bytes()
653 int bpf_size, enum bpf_access_type t, in check_mem_access() argument
659 size = bpf_size_to_bytes(bpf_size); in check_mem_access()