Home
last modified time | relevance | path

Searched refs:next_key (Results 51 - 75 of 125) sorted by relevance

12345

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h599 void *next_key);
606 void *key, void *next_key);
/kernel/linux/linux-5.10/kernel/bpf/
H A Dbpf_struct_ops.c232 void *next_key) in bpf_struct_ops_map_get_next_key()
237 *(u32 *)next_key = 0; in bpf_struct_ops_map_get_next_key()
231 bpf_struct_ops_map_get_next_key(struct bpf_map *map, void *key, void *next_key) bpf_struct_ops_map_get_next_key() argument
H A Dbpf_inode_storage.c217 void *next_key) in notsupp_get_next_key()
216 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) notsupp_get_next_key() argument
H A Doffload.c478 int bpf_map_offload_get_next_key(struct bpf_map *map, void *key, void *next_key) in bpf_map_offload_get_next_key() argument
485 ret = offmap->dev_ops->map_get_next_key(offmap, key, next_key); in bpf_map_offload_get_next_key()
H A Dcpumap.c639 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key() argument
643 u32 *next = next_key; in cpu_map_get_next_key()
H A Dsyscall.c1201 #define BPF_MAP_GET_NEXT_KEY_LAST_FIELD next_key
1206 void __user *unext_key = u64_to_user_ptr(attr->next_key); in map_get_next_key()
1209 void *key, *next_key; in map_get_next_key() local
1236 next_key = kmalloc(map->key_size, GFP_USER); in map_get_next_key()
1237 if (!next_key) in map_get_next_key()
1241 err = bpf_map_offload_get_next_key(map, key, next_key); in map_get_next_key()
1246 err = map->ops->map_get_next_key(map, key, next_key); in map_get_next_key()
1253 if (copy_to_user(unext_key, next_key, map->key_size) != 0) in map_get_next_key()
1259 kfree(next_key); in map_get_next_key()
H A Dqueue_stack_maps.c268 void *next_key) in queue_stack_map_get_next_key()
267 queue_stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) queue_stack_map_get_next_key() argument
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/bpf/
H A Dmain.h599 void *next_key);
606 void *key, void *next_key);
/third_party/eudev/src/shared/
H A Dhashmap.h59 const void *next_key; /* expected value of that entry's key pointer */ member
68 #define ITERATOR_FIRST ((Iterator) { .idx = _IDX_ITERATOR_FIRST, .next_key = NULL })
H A Dhashmap.c628 if (e->p.b.key != i->next_key) { in hashmap_iterate_in_insertion_order()
632 assert(e->p.b.key == i->next_key); in hashmap_iterate_in_insertion_order()
643 i->next_key = n->p.b.key; in hashmap_iterate_in_insertion_order()
685 if (e->key != i->next_key) in hashmap_iterate_in_internal_order()
688 assert(e->key == i->next_key); in hashmap_iterate_in_internal_order()
698 i->next_key = bucket_at(h, i->idx)->key; in hashmap_iterate_in_internal_order()
/kernel/linux/linux-6.6/kernel/bpf/
H A Ddevmap.c243 static int dev_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in dev_map_get_next_key() argument
247 u32 *next = next_key; in dev_map_get_next_key()
279 void *next_key) in dev_map_hash_get_next_key()
282 u32 idx, *next = next_key; in dev_map_hash_get_next_key()
278 dev_map_hash_get_next_key(struct bpf_map *map, void *key, void *next_key) dev_map_hash_get_next_key() argument
H A Dbpf_cgrp_storage.c145 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
H A Dbpf_inode_storage.c187 void *next_key) in notsupp_get_next_key()
186 notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) notsupp_get_next_key() argument
H A Dqueue_stack_maps.c255 void *next_key) in queue_stack_map_get_next_key()
254 queue_stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) queue_stack_map_get_next_key() argument
H A Dcpumap.c621 static int cpu_map_get_next_key(struct bpf_map *map, void *key, void *next_key) in cpu_map_get_next_key() argument
625 u32 *next = next_key; in cpu_map_get_next_key()
H A Dstackmap.c602 void *next_key) in stack_map_get_next_key()
626 *(u32 *)next_key = id; in stack_map_get_next_key()
601 stack_map_get_next_key(struct bpf_map *map, void *key, void *next_key) stack_map_get_next_key() argument
H A Dbpf_task_storage.c305 static int notsupp_get_next_key(struct bpf_map *map, void *key, void *next_key) in notsupp_get_next_key() argument
/kernel/linux/linux-5.10/fs/btrfs/
H A Dtree-checker.c1739 struct btrfs_key key, next_key; in btrfs_check_node() local
1763 btrfs_node_key_to_cpu(node, &next_key, slot + 1); in btrfs_check_node()
1779 if (btrfs_comp_cpu_keys(&key, &next_key) >= 0) { in btrfs_check_node()
1783 next_key.objectid, next_key.type, in btrfs_check_node()
1784 next_key.offset); in btrfs_check_node()
/kernel/linux/linux-6.6/fs/btrfs/
H A Dtree-checker.c1866 struct btrfs_key key, next_key; in __btrfs_check_node() local
1889 btrfs_node_key_to_cpu(node, &next_key, slot + 1); in __btrfs_check_node()
1903 if (unlikely(btrfs_comp_cpu_keys(&key, &next_key) >= 0)) { in __btrfs_check_node()
1907 next_key.objectid, next_key.type, in __btrfs_check_node()
1908 next_key.offset); in __btrfs_check_node()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_progs.c570 __u32 key, next_key; in compare_map_keys() local
582 while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { in compare_map_keys()
583 err = bpf_map_lookup_elem(map2_fd, &next_key, val_buf); in compare_map_keys()
587 key = next_key; in compare_map_keys()
597 __u32 key, next_key, *cur_key_p, *next_key_p; in compare_stack_ips() local
620 next_key_p = &next_key; in compare_stack_ips()
/third_party/node/deps/v8/src/objects/
H A Djs-objects.cc319 Handle<Name> next_key(descriptors->GetKey(i), isolate); in FastAssign()
321 if (next_key->IsSymbol()) { in FastAssign()
348 LookupIterator it(isolate, from, next_key, in FastAssign()
358 LookupIterator it(isolate, from, next_key, from, in FastAssign()
371 PropertyKey key(isolate, next_key); in FastAssign()
385 HasExcludedProperty(excluded_properties, next_key)) { in FastAssign()
391 // from {next_key} is safe. in FastAssign()
392 LookupIterator it(isolate, target, next_key, LookupIterator::OWN); in FastAssign()
461 Handle<Object> next_key(keys->get(i), isolate); in SetOrCopyDataProperties()
463 HasExcludedProperty(excluded_properties, next_key)) { in SetOrCopyDataProperties()
[all...]
/kernel/linux/linux-5.10/drivers/net/netdevsim/
H A Dbpf.c371 void *key, void *next_key) in nsim_map_get_next_key()
387 memcpy(next_key, nmap->entry[idx].key, in nsim_map_get_next_key()
370 nsim_map_get_next_key(struct bpf_offloaded_map *offmap, void *key, void *next_key) nsim_map_get_next_key() argument
/kernel/linux/linux-6.6/drivers/net/netdevsim/
H A Dbpf.c367 void *key, void *next_key) in nsim_map_get_next_key()
383 memcpy(next_key, nmap->entry[idx].key, in nsim_map_get_next_key()
366 nsim_map_get_next_key(struct bpf_offloaded_map *offmap, void *key, void *next_key) nsim_map_get_next_key() argument
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dbpf.h128 LIBBPF_API int bpf_map_get_next_key(int fd, const void *key, void *next_key);
/third_party/mesa3d/src/gallium/frontends/nine/
H A Dpixelshader9.c181 key = This->next_key; in NinePixelShader9_GetVariant()

Completed in 34 milliseconds

12345