/linux-master/fs/btrfs/ |
H A D | tree-checker.c | 1955 struct btrfs_key key, next_key; local 1978 btrfs_node_key_to_cpu(node, &next_key, slot + 1); 1992 if (unlikely(btrfs_comp_cpu_keys(&key, &next_key) >= 0)) { 1996 next_key.objectid, next_key.type, 1997 next_key.offset);
|
H A D | tree-log.c | 5924 goto next_key; 5970 next_key:
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 552 __u32 key, next_key; local 564 while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { 565 err = bpf_map_lookup_elem(map2_fd, &next_key, val_buf); 569 key = next_key; 579 __u32 key, next_key, *cur_key_p, *next_key_p; local 602 next_key_p = &next_key;
|
H A D | test_sockmap.c | 955 int i, key, next_key, err, tx_prog_fd = -1, zero = 0; local 1292 key = next_key = 0; 1294 while (bpf_map_get_next_key(map_fd[i], &key, &next_key) == 0) { 1296 key = next_key;
|
/linux-master/drivers/net/netdevsim/ |
H A D | bpf.c | 367 void *key, void *next_key) 383 memcpy(next_key, nmap->entry[idx].key, 366 nsim_map_get_next_key(struct bpf_offloaded_map *offmap, void *key, void *next_key) argument
|
/linux-master/kernel/bpf/ |
H A D | stackmap.c | 602 void *next_key) 626 *(u32 *)next_key = id; 601 stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
H A D | cpumap.c | 623 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 627 u32 *next = next_key;
|
H A D | bpf_task_storage.c | 305 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
H A D | offload.c | 626 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 633 ret = offmap->dev_ops->map_get_next_key(offmap, key, next_key);
|
H A D | bpf_struct_ops.c | 427 void *next_key) 432 *(u32 *)next_key = 0; 426 bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
H A D | syscall.c | 1710 #define BPF_MAP_GET_NEXT_KEY_LAST_FIELD next_key 1715 void __user *unext_key = u64_to_user_ptr(attr->next_key); 1718 void *key, *next_key; local 1745 next_key = kvmalloc(map->key_size, GFP_USER); 1746 if (!next_key) 1750 err = bpf_map_offload_get_next_key(map, key, next_key); 1755 err = map->ops->map_get_next_key(map, key, next_key); 1762 if (copy_to_user(unext_key, next_key, map->key_size) != 0) 1768 kvfree(next_key);
|
H A D | ringbuf.c | 253 void *next_key) 252 ringbuf_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
H A D | arena.c | 83 static int arena_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
H A D | arraymap.c | 291 static int array_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 295 u32 *next = (u32 *)next_key;
|
H A D | hashtab.c | 832 static int htab_map_get_next_key(struct bpf_map *map, void *key, void *next_key) argument 863 memcpy(next_key, next_l->key, key_size); 881 memcpy(next_key, next_l->key, key_size);
|
/linux-master/tools/lib/bpf/ |
H A D | bpf.c | 495 int bpf_map_get_next_key(int fd, const void *key, void *next_key) argument 497 const size_t attr_sz = offsetofend(union bpf_attr, next_key); 504 attr.next_key = ptr_to_u64(next_key);
|
H A D | bpf.h | 160 LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key);
|
H A D | libbpf.h | 1176 * @param next_key pointer to memory to write next key into 1185 const void *cur_key, void *next_key, size_t key_sz);
|
H A D | libbpf.c | 10391 const void *cur_key, void *next_key, size_t key_sz) 10399 return bpf_map_get_next_key(map->fd, cur_key, next_key); 10390 bpf_map__get_next_key(const struct bpf_map *map, const void *cur_key, void *next_key, size_t key_sz) argument
|
/linux-master/drivers/staging/rtl8712/ |
H A D | rtl871x_security.c | 760 static void next_key(u8 *key, sint round) function 871 next_key(round_key, round); 884 next_key(round_key, round);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | btf.c | 5340 bool percpu_map, unsigned int next_key, 5353 percpu_map ? cpu : next_key, 5378 percpu_map ? cpu : next_key, 5506 unsigned int next_key; local 5510 next_key = ordered_map ? nr_read_elems : atoi(line); 5511 set_pprint_mapv(mapv_kind, mapv, next_key, num_cpus, rounded_value_size); 5530 next_key); 5546 percpu_map, next_key, 5338 get_pprint_expected_line(enum pprint_mapv_kind_t mapv_kind, char *expected_line, ssize_t line_size, bool percpu_map, unsigned int next_key, int cpu, void *mapv) argument
|
/linux-master/include/linux/ |
H A D | bpf.h | 87 int (*map_get_next_key)(struct bpf_map *map, void *key, void *next_key); 541 void *key, void *next_key); 2955 void *key, void *next_key);
|
/linux-master/net/core/ |
H A D | bpf_sk_storage.c | 75 void *next_key) 74 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) argument
|
/linux-master/include/uapi/linux/ |
H A D | bpf.h | 241 * the *next_key* pointer to the key of the first element. 243 * *next_key* pointer to the key of the next element. 1502 __aligned_u64 next_key; member in union:bpf_attr::__anon2590::__anon2591
|
/linux-master/tools/include/uapi/linux/ |
H A D | bpf.h | 241 * the *next_key* pointer to the key of the first element. 243 * *next_key* pointer to the key of the next element. 1502 __aligned_u64 next_key; member in union:bpf_attr::__anon3131::__anon3132
|