Searched refs:xattr (Results 1 – 5 of 5) sorted by relevance
71 struct bpf_load_program_attr xattr = {}; in probe_load() local76 xattr.expected_attach_type = BPF_CGROUP_INET4_CONNECT; in probe_load()79 xattr.expected_attach_type = BPF_CGROUP_GETSOCKOPT; in probe_load()82 xattr.expected_attach_type = BPF_SK_LOOKUP; in probe_load()85 xattr.kern_version = get_kernel_version(); in probe_load()118 xattr.prog_type = prog_type; in probe_load()119 xattr.insns = insns; in probe_load()120 xattr.insns_cnt = insns_cnt; in probe_load()121 xattr.license = "GPL"; in probe_load()122 xattr.prog_ifindex = ifindex; in probe_load()[all …]
22 static struct bpf_create_map_attr xattr = { variable153 xattr.btf_fd = btf_fd; in create_sk_storage_map()155 map_fd = bpf_create_map_xattr(&xattr); in create_sk_storage_map()156 xattr.btf_fd = -1; in create_sk_storage_map()472 xattr.btf_fd = btf_fd; in test_sk_storage_map_basic()478 map_fd = bpf_create_map_xattr(&xattr); in test_sk_storage_map_basic()563 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()569 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()575 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()581 memcpy(&bad_xattr, &xattr, sizeof(xattr)); in test_sk_storage_map_basic()[all …]
67 struct bpf_create_map_attr xattr = { in test_lpm_trie_map_batch_ops() local85 xattr.max_entries = max_entries; in test_lpm_trie_map_batch_ops()86 map_fd = bpf_create_map_xattr(&xattr); in test_lpm_trie_map_batch_ops()
71 struct bpf_create_map_attr xattr = { in __test_map_lookup_and_update_batch() local89 xattr.max_entries = max_entries; in __test_map_lookup_and_update_batch()90 map_fd = bpf_create_map_xattr(&xattr); in __test_map_lookup_and_update_batch()
86 struct bpf_create_map_attr xattr = { in __test_map_lookup_and_delete_batch() local98 xattr.max_entries = max_entries; in __test_map_lookup_and_delete_batch()99 map_fd = bpf_create_map_xattr(&xattr); in __test_map_lookup_and_delete_batch()