Lines Matching refs:value
55 /* map is generic key/value storage optionally accesible by eBPF programs */
72 int (*map_update_elem)(struct bpf_map *map, void *key, void *value, u64 flags);
74 int (*map_push_elem)(struct bpf_map *map, void *value, u64 flags);
75 int (*map_pop_elem)(struct bpf_map *map, void *value);
76 int (*map_peek_elem)(struct bpf_map *map, void *value);
92 /* Direct value access helpers. */
198 int (*map_lookup_elem)(struct bpf_offloaded_map *map, void *key, void *value);
199 int (*map_update_elem)(struct bpf_offloaded_map *map, void *key, void *value, u64 flags);
234 * arg_type, ret_type and reg_type. For example, a pointer value may be null,
275 ARG_PTR_TO_MAP_VALUE, /* pointer to stack used as map value */
276 ARG_PTR_TO_UNINIT_MAP_VALUE, /* pointer to valid memory used to store a map value */
281 ARG_PTR_TO_MEM, /* pointer to valid memory (stack, packet, map value) */
322 RET_PTR_TO_MAP_VALUE, /* returns a pointer to map elem value */
375 int *ret_btf_id; /* return value btf_id */
402 PTR_TO_MAP_VALUE, /* reg points to map element value */
421 * additional context, assume the value is non-null.
544 /* Return the return value of fentry prog. Only used by bpf_struct_ops. */
928 int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, void *value);
961 static inline int bpf_struct_ops_map_sys_lookup_elem(struct bpf_map *map, void *key, void *value)
973 char value[0] __aligned(8);
1344 __bpf_md_ptr(void *, value);
1358 int bpf_percpu_hash_copy(struct bpf_map *map, void *key, void *value);
1359 int bpf_percpu_array_copy(struct bpf_map *map, void *key, void *value);
1360 int bpf_percpu_hash_update(struct bpf_map *map, void *key, void *value, u64 flags);
1361 int bpf_percpu_array_update(struct bpf_map *map, void *key, void *value, u64 flags);
1363 int bpf_stackmap_copy(struct bpf_map *map, void *key, void *value);
1365 int bpf_fd_array_map_update_elem(struct bpf_map *map, struct file *map_file, void *key, void *value, u64 map_flags);
1366 int bpf_fd_array_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
1367 int bpf_fd_htab_map_update_elem(struct bpf_map *map, struct file *map_file, void *key, void *value, u64 map_flags);
1368 int bpf_fd_htab_map_lookup_elem(struct bpf_map *map, void *key, u32 *value);
1650 int bpf_map_offload_lookup_elem(struct bpf_map *map, void *key, void *value);
1651 int bpf_map_offload_update_elem(struct bpf_map *map, void *key, void *value, u64 flags);
1711 int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags);
1730 static inline int sock_map_update_elem_sys(struct bpf_map *map, void *key, void *value, u64 flags)
1738 int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, void *value);
1739 int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags);
1746 static inline int bpf_fd_reuseport_array_lookup_elem(struct bpf_map *map, void *key, void *value)
1751 static inline int bpf_fd_reuseport_array_update_elem(struct bpf_map *map, void *key, void *value, u64 map_flags)