Home
last modified time | relevance | path

Searched refs:next_key (Results 1 – 15 of 15) sorted by relevance

/kernel/bpf/
Dreuseport_array.c320 void *next_key) in reuseport_array_get_next_key() argument
324 u32 *next = (u32 *)next_key; in reuseport_array_get_next_key()
Dlpm_trie.c622 struct bpf_lpm_trie_key *key = _key, *next_key = _next_key; in trie_get_next_key() local
708 next_key->prefixlen = next_node->prefixlen; in trie_get_next_key()
709 memcpy((void *)next_key + offsetof(struct bpf_lpm_trie_key, data), in trie_get_next_key()
Ddevmap.c246 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key() argument
250 u32 *next = next_key; in dev_map_get_next_key()
282 void *next_key) in dev_map_hash_get_next_key() argument
285 u32 idx, *next = next_key; in dev_map_hash_get_next_key()
Dbloom_filter.c86 static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in bloom_map_get_next_key() argument
Dbpf_struct_ops.c237 void *next_key) in bpf_struct_ops_map_get_next_key() argument
242 *(u32 *)next_key = 0; in bpf_struct_ops_map_get_next_key()
Dbpf_inode_storage.c222 void *next_key) in notsupp_get_next_key() argument
Doffload.c475 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) in bpf_map_offload_get_next_key() argument
482 ret = offmap->dev_ops->map_get_next_key(offmap, key, next_key); in bpf_map_offload_get_next_key()
Dcpumap.c669 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key() argument
673 u32 *next = next_key; in cpu_map_get_next_key()
Dbpf_task_storage.c284 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
Dqueue_stack_maps.c259 void *next_key) in queue_stack_map_get_next_key() argument
Dstackmap.c602 void *next_key) in stack_map_get_next_key() argument
626 *(u32 *)next_key = id; in stack_map_get_next_key()
Dsyscall.c1494 #define BPF_MAP_GET_NEXT_KEY_LAST_FIELD next_key
1499 void __user *unext_key = u64_to_user_ptr(attr->next_key); in map_get_next_key()
1502 void *key, *next_key; in map_get_next_key() local
1529 next_key = kvmalloc(map->key_size, GFP_USER); in map_get_next_key()
1530 if (!next_key) in map_get_next_key()
1534 err = bpf_map_offload_get_next_key(map, key, next_key); in map_get_next_key()
1539 err = map->ops->map_get_next_key(map, key, next_key); in map_get_next_key()
1546 if (copy_to_user(unext_key, next_key, map->key_size) != 0) in map_get_next_key()
1552 kvfree(next_key); in map_get_next_key()
Darraymap.c291 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in array_map_get_next_key() argument
295 u32 *next = (u32 *)next_key; in array_map_get_next_key()
Dringbuf.c256 void *next_key) in ringbuf_map_get_next_key() argument
Dhashtab.c810 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in htab_map_get_next_key() argument
841 memcpy(next_key, next_l->key, key_size); in htab_map_get_next_key()
859 memcpy(next_key, next_l->key, key_size); in htab_map_get_next_key()