Searched refs:ret_t (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_cls_redirect_dynptr.c102 typedef int ret_t; typedef
108 static const ret_t CONTINUE_PROCESSING = -1;
110 /* Convenience macro to call functions which return ret_t.
114 ret_t __ret = x; \
273 static ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap)
293 static ret_t forward_with_gre(struct __sk_buff *skb, struct bpf_dynptr *dynptr,
420 static ret_t forward_to_next_hop(struct __sk_buff *skb, struct bpf_dynptr *dynptr,
458 static ret_t skip_next_hops(__u64 *offset, int n)
477 static ret_t get_next_hop(struct bpf_dynptr *dynptr, __u64 *offset, encap_headers_t *encap,
844 ret_t re
[all...]
H A Dtest_cls_redirect.c103 typedef int ret_t; typedef
109 static const ret_t CONTINUE_PROCESSING = -1;
111 /* Convenience macro to call functions which return ret_t.
115 ret_t __ret = x; \
381 static INLINING ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap)
402 static INLINING ret_t forward_with_gre(struct __sk_buff *skb, encap_headers_t *encap,
529 static INLINING ret_t forward_to_next_hop(struct __sk_buff *skb, encap_headers_t *encap,
566 static INLINING ret_t skip_next_hops(buf_t *pkt, int n)
586 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap,
/linux-master/kernel/bpf/
H A Dverifier.c12105 const struct btf_type *ret_t; local
12281 ret_t = btf_type_by_id(ret_btf, ret_btf_id);
12282 if (!ret_t || !__btf_type_is_struct(ret_t)) {
12288 if (ret_t->size > BPF_GLOBAL_PERCPU_MA_MAX_SIZE) {
12290 ret_t->size, BPF_GLOBAL_PERCPU_MA_MAX_SIZE);
12310 err = bpf_mem_alloc_percpu_unit_init(&bpf_global_percpu_ma, ret_t->size);
12318 if (!__btf_type_is_scalar_struct(env, ret_btf, ret_t, 0)) {
12336 insn_aux->obj_new_size = ret_t->size;
12363 ret_t
[all...]

Completed in 272 milliseconds