Lines Matching defs:keys
62 static void delete_and_lookup_batch(int map_fd, void *keys, __u32 count)
71 keys, values, &count,
92 void *keys;
96 keys = calloc(MAX_MAP_KEY_SIZE, MAX_ENTRIES);
97 CHECK(!keys, "calloc", "error: %s\n", strerror(errno));
100 memcpy(keys + n*MAX_MAP_KEY_SIZE, &key, MAX_MAP_KEY_SIZE);
104 * they have different semantics in relation to the keys
107 delete_and_lookup_batch(map_fd, keys, n);
111 void *keyp = keys + i*MAX_MAP_KEY_SIZE;
125 free(keys);
270 * all the map keys via bpf_get_next_key
318 * Upsert keys [0, n) under some competition: with random values from