/kernel/bpf/ |
D | reuseport_array.c | 320 void *next_key) in reuseport_array_get_next_key() argument 324 u32 *next = (u32 *)next_key; in reuseport_array_get_next_key()
|
D | lpm_trie.c | 622 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()
|
D | devmap.c | 246 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()
|
D | bloom_filter.c | 86 static int bloom_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in bloom_map_get_next_key() argument
|
D | bpf_struct_ops.c | 237 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()
|
D | bpf_inode_storage.c | 222 void *next_key) in notsupp_get_next_key() argument
|
D | offload.c | 475 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()
|
D | cpumap.c | 669 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()
|
D | bpf_task_storage.c | 284 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
|
D | queue_stack_maps.c | 259 void *next_key) in queue_stack_map_get_next_key() argument
|
D | stackmap.c | 602 void *next_key) in stack_map_get_next_key() argument 626 *(u32 *)next_key = id; in stack_map_get_next_key()
|
D | syscall.c | 1494 #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()
|
D | arraymap.c | 291 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()
|
D | ringbuf.c | 256 void *next_key) in ringbuf_map_get_next_key() argument
|
D | hashtab.c | 810 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()
|