Searched refs:bpf_size (Results 1 - 7 of 7) sorted by relevance
/linux-master/net/sched/ |
H A D | act_bpf.c | 192 u16 bpf_size, bpf_num_ops; local 199 bpf_size = bpf_num_ops * sizeof(*bpf_ops); 200 if (bpf_size != nla_len(tb[TCA_ACT_BPF_OPS])) 203 bpf_ops = kmemdup(nla_data(tb[TCA_ACT_BPF_OPS]), bpf_size, GFP_KERNEL);
|
H A D | cls_bpf.c | 344 u16 bpf_size, bpf_num_ops; local 351 bpf_size = bpf_num_ops * sizeof(*bpf_ops); 352 if (bpf_size != nla_len(tb[TCA_BPF_OPS])) 355 bpf_ops = kmemdup(nla_data(tb[TCA_BPF_OPS]), bpf_size, GFP_KERNEL);
|
/linux-master/include/linux/ |
H A D | filter.h | 470 int bpf_size = -EINVAL; \ 473 bpf_size = BPF_B; \ 475 bpf_size = BPF_H; \ 477 bpf_size = BPF_W; \ 479 bpf_size = BPF_DW; \ 481 bpf_size; \ 484 #define bpf_size_to_bytes(bpf_size) \ 488 if (bpf_size == BPF_B) \ 490 else if (bpf_size == BPF_H) \ 492 else if (bpf_size [all...] |
/linux-master/arch/x86/net/ |
H A D | bpf_jit_comp32.c | 1172 static int bpf_size_to_x86_bytes(int bpf_size) argument 1174 if (bpf_size == BPF_W) 1176 else if (bpf_size == BPF_H) 1178 else if (bpf_size == BPF_B) 1180 else if (bpf_size == BPF_DW)
|
H A D | bpf_jit_comp.c | 84 static int bpf_size_to_x86_bytes(int bpf_size) argument 86 if (bpf_size == BPF_W) 88 else if (bpf_size == BPF_H) 90 else if (bpf_size == BPF_B) 92 else if (bpf_size == BPF_DW) 1132 u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) 1138 maybe_emit_mod(&prog, dst_reg, src_reg, bpf_size == BPF_DW); 1131 emit_atomic(u8 **pprog, u8 atomic_op, u32 dst_reg, u32 src_reg, s16 off, u8 bpf_size) argument
|
/linux-master/tools/perf/util/ |
H A D | dso.c | 822 static int bpf_size(struct dso *dso) function 1093 return bpf_size(dso);
|
/linux-master/kernel/bpf/ |
H A D | verifier.c | 6737 int off, int bpf_size, enum bpf_access_type t, 6744 size = bpf_size_to_bytes(bpf_size); 6736 check_mem_access(struct bpf_verifier_env *env, int insn_idx, u32 regno, int off, int bpf_size, enum bpf_access_type t, int value_regno, bool strict_alignment_once, bool is_ldsx) argument
|
Completed in 270 milliseconds