Searched refs:BPF_EXIST (Results 1 – 4 of 4) sorted by relevance
53 assert(bpf_update_elem(map_fd, &key, &value, BPF_EXIST) == -1 && in test_hashmap_sanity()124 assert(bpf_update_elem(map_fd, &key, &value, BPF_EXIST) == -1 && in test_arraymap_sanity()
99 #define BPF_EXIST 2 /* update existing element */ macro
234 if (map_flags > BPF_EXIST) in htab_map_update_elem()273 if (!l_old && map_flags == BPF_EXIST) { in htab_map_update_elem()
102 if (map_flags > BPF_EXIST) in array_map_update_elem()