Lines Matching refs:value
94 static long __queue_map_get(struct bpf_map *map, void *value, bool delete) in __queue_map_get() argument
109 memset(value, 0, qs->map.value_size); in __queue_map_get()
115 memcpy(value, ptr, qs->map.value_size); in __queue_map_get()
128 static long __stack_map_get(struct bpf_map *map, void *value, bool delete) in __stack_map_get() argument
144 memset(value, 0, qs->map.value_size); in __stack_map_get()
154 memcpy(value, ptr, qs->map.value_size); in __stack_map_get()
165 static long queue_map_peek_elem(struct bpf_map *map, void *value) in queue_map_peek_elem() argument
167 return __queue_map_get(map, value, false); in queue_map_peek_elem()
171 static long stack_map_peek_elem(struct bpf_map *map, void *value) in stack_map_peek_elem() argument
173 return __stack_map_get(map, value, false); in stack_map_peek_elem()
177 static long queue_map_pop_elem(struct bpf_map *map, void *value) in queue_map_pop_elem() argument
179 return __queue_map_get(map, value, true); in queue_map_pop_elem()
183 static long stack_map_pop_elem(struct bpf_map *map, void *value) in stack_map_pop_elem() argument
185 return __stack_map_get(map, value, true); in stack_map_pop_elem()
189 static long queue_stack_map_push_elem(struct bpf_map *map, void *value, in queue_stack_map_push_elem() argument
224 memcpy(dst, value, qs->map.value_size); in queue_stack_map_push_elem()
242 void *value, u64 flags) in queue_stack_map_update_elem() argument