Lines Matching defs:key
2228 * encodes `type => BPF_MAP_TYPE_ARRAY` key/value pair completely using BTF
2336 pr_warn("map '%s': conflicting key size %u != %u.\n",
2342 } else if (strcmp(name, "key") == 0) {
2347 pr_warn("map '%s': key type [%d] not found.\n",
2352 pr_warn("map '%s': key spec is not PTR: %s.\n",
2358 pr_warn("map '%s': can't determine key size for type [%u]: %zd.\n",
2363 pr_warn("map '%s': conflicting key size %u != %zd.\n",
2575 pr_debug("map '%s': found key [%u], sz = %u.\n",
6098 static size_t bpf_core_hash_fn(const long key, void *ctx)
6100 return key;
6601 static int cmp_relo_by_insn_idx(const void *key, const void *elem)
6603 size_t insn_idx = *(const size_t *)key;
7107 pr_warn(".maps relo #%d: hash-of-maps '%s' should have key size %zu.\n",
10109 pr_warn("map '%s': failed to adjust resized BTF, clearing BTF key/value info: %d\n",
10270 pr_warn("map '%s': unexpected key size %zu provided, expected %u\n",
10305 const void *key, size_t key_sz,
10314 return bpf_map_lookup_elem_flags(map->fd, key, value, flags);
10318 const void *key, size_t key_sz,
10327 return bpf_map_update_elem(map->fd, key, value, flags);
10331 const void *key, size_t key_sz, __u64 flags)
10339 return bpf_map_delete_elem_flags(map->fd, key, flags);
10343 const void *key, size_t key_sz,
10352 return bpf_map_lookup_and_delete_elem_flags(map->fd, key, value, flags);
13118 pr_warn("failed to set cpu #%d, key %d -> perf FD %d: %s\n",