Searched refs:ret_t (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/tools/testing/selftests/bpf/progs/ |
D | test_cls_redirect_dynptr.c | 102 typedef int ret_t; typedef 108 static const ret_t CONTINUE_PROCESSING = -1; 114 ret_t __ret = x; \ 273 static ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in accept_locally() 293 static ret_t forward_with_gre(struct __sk_buff *skb, struct bpf_dynptr *dynptr, in forward_with_gre() 420 static ret_t forward_to_next_hop(struct __sk_buff *skb, struct bpf_dynptr *dynptr, in forward_to_next_hop() 458 static ret_t skip_next_hops(__u64 *offset, int n) in skip_next_hops() 477 static ret_t get_next_hop(struct bpf_dynptr *dynptr, __u64 *offset, encap_headers_t *encap, in get_next_hop() 844 ret_t ret; in cls_redirect()
|
D | test_cls_redirect.c | 103 typedef int ret_t; typedef 109 static const ret_t CONTINUE_PROCESSING = -1; 115 ret_t __ret = x; \ 381 static INLINING ret_t accept_locally(struct __sk_buff *skb, encap_headers_t *encap) in accept_locally() 402 static INLINING ret_t forward_with_gre(struct __sk_buff *skb, encap_headers_t *encap, in forward_with_gre() 529 static INLINING ret_t forward_to_next_hop(struct __sk_buff *skb, encap_headers_t *encap, in forward_to_next_hop() 566 static INLINING ret_t skip_next_hops(buf_t *pkt, int n) in skip_next_hops() 586 static INLINING ret_t get_next_hop(buf_t *pkt, encap_headers_t *encap, in get_next_hop()
|
/linux-6.12.1/Documentation/dev-tools/ |
D | kmsan.rst | 202 union ret_t {
|
/linux-6.12.1/kernel/bpf/ |
D | verifier.c | 12447 const struct btf_type *ret_t; in check_kfunc_call() local 12657 ret_t = btf_type_by_id(ret_btf, ret_btf_id); in check_kfunc_call() 12658 if (!ret_t || !__btf_type_is_struct(ret_t)) { in check_kfunc_call() 12664 if (ret_t->size > BPF_GLOBAL_PERCPU_MA_MAX_SIZE) { in check_kfunc_call() 12666 ret_t->size, BPF_GLOBAL_PERCPU_MA_MAX_SIZE); in check_kfunc_call() 12686 err = bpf_mem_alloc_percpu_unit_init(&bpf_global_percpu_ma, ret_t->size); in check_kfunc_call() 12694 if (!__btf_type_is_scalar_struct(env, ret_btf, ret_t, 0)) { in check_kfunc_call() 12712 insn_aux->obj_new_size = ret_t->size; in check_kfunc_call() 12739 ret_t = btf_type_by_id(desc_btf, meta.arg_constant.value); in check_kfunc_call() 12740 if (!ret_t || !btf_type_is_struct(ret_t)) { in check_kfunc_call()
|