Lines Matching refs:attr_elem
86 union bpf_attr attr_elem; in main() local
92 memset(&attr_elem, 0, sizeof(attr_elem)); in main()
93 attr_elem.flags = BPF_ANY; in main()
102 attr_elem.map_fd = root_fd; in main()
103 attr_elem.key = ptr_to_u64(&vip); in main()
104 attr_elem.value = ptr_to_u64(&value); in main()
105 rc = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr_elem, sizeof(attr_elem)); in main()
119 attr_elem.map_fd = root_fd; in main()
120 attr_elem.key = ptr_to_u64(&vip); in main()
121 attr_elem.value = ptr_to_u64(&value); in main()
122 rc = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr_elem, sizeof(attr_elem)); in main()
132 rc = sys_bpf(BPF_MAP_UPDATE_ELEM, &attr_elem, sizeof(attr_elem)); in main()
143 attr_elem.map_fd = root_fd; in main()
144 attr_elem.key = ptr_to_u64(&vip); in main()
145 attr_elem.value = ptr_to_u64(&value); in main()
146 rc = sys_bpf(BPF_MAP_LOOKUP_ELEM, &attr_elem, sizeof(attr_elem)); in main()
150 rc = sys_bpf(BPF_MAP_UPDATE_ELEM, &attr_elem, sizeof(attr_elem)); in main()
167 rc = sys_bpf(BPF_MAP_UPDATE_ELEM, &attr_elem, sizeof(attr_elem)); in main()