/tools/testing/selftests/bpf/ |
D | bpf_legacy.h | 10 #define load_byte(skb, off) __builtin_bpf_load_byte(off) argument 11 #define load_half(skb, off) __builtin_bpf_load_half(off) argument 12 #define load_word(skb, off) __builtin_bpf_load_word(off) argument
|
D | xsk.c | 145 static int xsk_get_mmap_offsets(int fd, struct xdp_mmap_offsets *off) in xsk_get_mmap_offsets() 165 struct xdp_mmap_offsets off; in xsk_create_umem_rings() local 477 struct xdp_mmap_offsets off; in xsk_put_ctx() local 548 struct xdp_mmap_offsets off; in xsk_socket__create_shared() local 721 struct xdp_mmap_offsets off; in xsk_umem__delete() local 747 struct xdp_mmap_offsets off; in xsk_socket__delete() local
|
/tools/testing/selftests/net/mptcp/ |
D | pm_nl_ctl.c | 55 int off = 0; in init_genl_req() local 73 uint32_t off; in nl_error() local 322 int off = 0; in resolve_mptcp_pm_netlink() local 349 int off = 0; in dsf() local 465 int off = 0; in csf() local 586 int off = 0; in remove_addr() local 638 int off = 0; in announce_addr() local 764 int off = 0; in add_addr() local 894 int off = 0; in del_addr() local 1084 int off = 0; in get_addr() local [all …]
|
/tools/testing/selftests/bpf/verifier/ |
D | wide_access.c | 1 #define BPF_SOCK_ADDR_STORE(field, off, res, err, flgs) \ argument 43 #define BPF_SOCK_ADDR_LOAD(field, off, res, err, flgs) \ argument
|
/tools/testing/selftests/bpf/progs/ |
D | test_module_attach.c | 59 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 70 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG() 82 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len, in BPF_PROG() 107 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
|
D | test_xdp_noinline.c | 218 __u64 off = sizeof(struct eth_hdr); in calc_offset() local 237 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_udp() local 259 __u64 off = calc_offset(is_ipv6, is_icmp); in parse_tcp() local 395 __u64 off = 0; in send_icmp_reply() local 425 __u64 off = 0; in send_icmp6_reply() local 444 int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 469 int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 589 __u8 *protocol, __u64 off, in process_l3_headers_v6() 620 __u8 *protocol, __u64 off, in process_l3_headers_v4() 650 static int process_packet(void *data, __u64 off, void *data_end, in process_packet()
|
D | test_parse_tcp_hdr_opt_dynptr.c | 30 static int parse_hdr_opt(struct bpf_dynptr *ptr, __u32 *off, __u8 *hdr_bytes_remaining, in parse_hdr_opt() 82 __u32 off; in xdp_ingress_v6() local
|
D | test_l4lb.c | 234 static __always_inline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 256 static __always_inline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 281 static __always_inline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp() 300 static __always_inline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp() 322 static __always_inline int process_packet(void *data, __u64 off, void *data_end, in process_packet()
|
D | test_l4lb_noinline.c | 233 static __noinline int parse_icmpv6(void *data, void *data_end, __u64 off, in parse_icmpv6() 255 static __noinline int parse_icmp(void *data, void *data_end, __u64 off, in parse_icmp() 280 static __noinline bool parse_udp(void *data, __u64 off, void *data_end, in parse_udp() 299 static __noinline bool parse_tcp(void *data, __u64 off, void *data_end, in parse_tcp() 321 static __noinline int process_packet(void *data, __u64 off, void *data_end, in process_packet()
|
D | test_l4lb_noinline_dynptr.c | 235 static __noinline int parse_icmpv6(struct bpf_dynptr *skb_ptr, __u64 off, in parse_icmpv6() 259 static __noinline int parse_icmp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_icmp() 284 static __noinline bool parse_udp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_udp() 304 static __noinline bool parse_tcp(struct bpf_dynptr *skb_ptr, __u64 off, in parse_tcp() 328 struct eth_hdr *eth, __u64 off, in process_packet()
|
D | dynptr_success.c | 217 __u32 off = 10; in test_adjust() local 270 __u32 off = 20; in test_adjust_err() local 466 __u32 off = 2, size; in test_dynptr_clone() local
|
D | test_core_reloc_module.c | 15 loff_t off; member 27 long long off; member
|
D | test_log_buf.c | 8 const volatile int off = 4000; variable
|
D | test_sysctl_prog.c | 47 unsigned char i, off = 0; in sysctl_tcp_mem() local
|
D | test_sysctl_loop2.c | 47 unsigned char i, off = 0; in sysctl_tcp_mem() local
|
D | test_sysctl_loop1.c | 46 unsigned char i, off = 0; in sysctl_tcp_mem() local
|
D | refcounted_kptr_fail.c | 81 struct bin_attribute *bin_attr, char *buf, loff_t off, size_t len) in BPF_PROG()
|
D | test_pkt_access.c | 85 int test_pkt_write_access_subprog(struct __sk_buff *skb, __u32 off) in test_pkt_write_access_subprog()
|
/tools/bpf/ |
D | bpf_exp.y | 542 int off = bpf_find_insns_offset(labels_k[i]); in bpf_reduce_k_jumps() local 548 static uint8_t bpf_encode_jt_jf_offset(int off, int i) in bpf_encode_jt_jf_offset() 566 int off = bpf_find_insns_offset(labels_jt[i]); in bpf_reduce_jt_jumps() local 578 int off = bpf_find_insns_offset(labels_jf[i]); in bpf_reduce_jf_jumps() local
|
/tools/testing/selftests/bpf/bpf_testmod/ |
D | bpf_testmod.h | 10 loff_t off; member 16 loff_t off; member
|
/tools/lib/bpf/ |
D | gen_loader.c | 52 size_t off = gen->insn_cur - gen->insn_start; in realloc_insn_buf() local 75 size_t off = gen->data_cur - gen->data_start; in realloc_data_buf() local 211 static void emit_rel_store(struct bpf_gen *gen, int off, int data) in emit_rel_store() 220 static void move_blob2blob(struct bpf_gen *gen, int off, int size, int blob_off) in move_blob2blob() 238 static void move_ctx2blob(struct bpf_gen *gen, int off, int size, int ctx_off, in move_ctx2blob() 252 static void move_stack2blob(struct bpf_gen *gen, int off, int size, int stack_off) in move_stack2blob() 284 __s64 off = -(gen->insn_cur - gen->insn_start - gen->cleanup_label) / 8 - 1; in emit_check_err() local
|
D | usdt.c | 582 size_t off, name_off, desc_off, seg_cnt = 0, vma_seg_cnt = 0, target_cnt = 0; in collect_usdt_targets() local 1286 long off; in parse_usdt_arg() local 1334 long off; in parse_usdt_arg() local 1387 long off; in parse_usdt_arg() local 1481 long off; in parse_usdt_arg() local 1552 long off; in parse_usdt_arg() local
|
/tools/perf/util/ |
D | evswitch.h | 13 struct evsel *on, *off; member
|
/tools/testing/selftests/net/ |
D | tap.c | 400 size_t off; in TEST_F() local 412 size_t off; in TEST_F() local 424 size_t off; in TEST_F() local
|
D | txring_overwrite.c | 46 size_t off = 0; in build_packet() local
|