Home
last modified time | relevance | path

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

12

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_maps.c48 long long key, next_key, first_key, value; in test_hashmap() local
111 assert(bpf_map_get_next_key(fd, &key, &next_key) == 0 && in test_hashmap()
112 (next_key == first_key)); in test_hashmap()
113 assert(bpf_map_get_next_key(fd, &next_key, &next_key) == 0 && in test_hashmap()
114 (next_key == 1 || next_key == 2) && in test_hashmap()
115 (next_key != first_key)); in test_hashmap()
116 assert(bpf_map_get_next_key(fd, &next_key, &next_key) == -1 && in test_hashmap()
128 assert(bpf_map_get_next_key(fd, NULL, &next_key) == -1 && in test_hashmap()
130 assert(bpf_map_get_next_key(fd, &key, &next_key) == -1 && in test_hashmap()
160 long long key, next_key, first_key; in test_hashmap_percpu() local
[all …]
Dtest_lru_map.c45 unsigned long long next_key = 0; in map_subset() local
49 while (!bpf_map_get_next_key(map1, &next_key, &next_key)) { in map_subset()
50 assert(!bpf_map_lookup_elem(map1, &next_key, value1)); in map_subset()
51 ret = bpf_map_lookup_elem(map0, &next_key, value0); in map_subset()
54 next_key, strerror(errno), errno); in map_subset()
59 next_key, value0[0], value1[0]); in map_subset()
Dtest_progs.c884 __u32 key, next_key; in compare_map_keys() local
896 while (bpf_map_get_next_key(map1_fd, &key, &next_key) == 0) { in compare_map_keys()
897 err = bpf_map_lookup_elem(map2_fd, &next_key, val_buf); in compare_map_keys()
901 key = next_key; in compare_map_keys()
911 __u32 key, next_key, *cur_key_p, *next_key_p; in compare_stack_ips() local
934 next_key_p = &next_key; in compare_stack_ips()
Dtest_sockmap.c774 int i, key, next_key, err, tx_prog_fd = -1, zero = 0; in run_options() local
1024 key = next_key = 0; in run_options()
1026 while (bpf_map_get_next_key(map_fd[i], &key, &next_key) == 0) { in run_options()
1028 key = next_key; in run_options()
Dtest_btf.c2717 unsigned int next_key; in do_test_pprint() local
2720 next_key = ordered_map ? nr_read_elems : atoi(line); in do_test_pprint()
2721 set_pprint_mapv(mapv, next_key, num_cpus, rounded_value_size); in do_test_pprint()
2740 next_key); in do_test_pprint()
2758 percpu_map ? cpu : next_key, in do_test_pprint()
/external/libdrm/tests/
Ddrmsl.c114 unsigned long next_key = 0; in print_neighbors() local
121 &next_key, &next_value); in print_neighbors()
123 key, retval, prev_key, next_key); in print_neighbors()
129 if (next_key != expected_next) { in print_neighbors()
131 next_key, expected_next); in print_neighbors()
/external/mesa3d/src/gallium/state_trackers/nine/
Dvertexshader9.h68 uint64_t next_key; member
106 vs->next_key = key; in NineVertexShader9_UpdateKey()
Dpixelshader9.h58 uint64_t next_key; member
107 ps->next_key = key; in NinePixelShader9_UpdateKey()
Dpixelshader9.c152 key = This->next_key; in NinePixelShader9_GetVariant()
Dvertexshader9.c180 key = This->next_key; in NineVertexShader9_GetVariant()
/external/libdrm/
Dxf86drmSL.c232 unsigned long *next_key, void **next_value) in drmSLLookupNeighbors() argument
240 *prev_key = *next_key = key; in drmSLLookupNeighbors()
248 *next_key = update[0]->forward[0]->key; in drmSLLookupNeighbors()
/external/toybox/toys/posix/
Dsort.c77 struct sort_key *next_key; // linked list member
167 while (*pkey) pkey = &((*pkey)->next_key); in add_key()
250 for (key=(struct sort_key *)TT.key_list; !retval && key; key = key->next_key){ in compare_keys()
/external/u-boot/fs/reiserfs/
Dreiserfs.c428 next_key (void) in next_key() function
665 next_key (); in reiserfs_read()
751 if (! next_key () in reiserfs_dir()
806 return next_key (); in reiserfs_dir()
830 if (! next_key ()) in reiserfs_dir()
/external/tensorflow/tensorflow/contrib/training/python/training/
Dsequence_queueing_state_saver_test.py97 (next_batch.key, next_batch.next_key, next_batch.sequences["seq1"],
135 (next_batch.key, next_batch.next_key, next_batch.sequences["seq1"],
409 (got_key, next_key, length, total_length, sequence, sequence_count,
412 next_batch.key, next_batch.next_key, next_batch.length,
435 next_key[i].decode("ascii").split(":")[1])
Dbatch_sequences_with_states_test.py152 (next_batch.key, next_batch.next_key, next_batch.sequences["seq1"],
194 (next_batch.key, next_batch.next_key, next_batch.sequences["seq1"],
/external/strace/
Dbpf_attr_check.c163 static_assert(SoM(struct BPF_MAP_GET_NEXT_KEY_struct, next_key) == SoM(union bpf_attr, next_key),
165 …_assert(offsetof(struct BPF_MAP_GET_NEXT_KEY_struct, next_key) == offsetof(union bpf_attr, next_ke…
Dbpf_attr.h107 uint64_t ATTRIBUTE_ALIGNED(8) next_key;
/external/bcc/src/python/bcc/
Dtable.py281 next_key = self.Key()
284 res = lib.bpf_get_first_key(self.map_fd, ct.byref(next_key),
288 ct.byref(next_key))
292 return next_key
/external/bcc/src/cc/api/
DBPFTable.h78 bool next(void* key, void* next_key) { in next() argument
79 return bpf_get_next_key(desc.fd, key, next_key) >= 0; in next()
/external/strace/m4/
Dbpf_attr.m454 union bpf_attr.next_key,
/external/bcc/src/cc/
Dlibbpf.c266 attr.next_key = ptr_to_u64(key); in bpf_get_first_key()
296 int bpf_get_next_key(int fd, void *key, void *next_key) in bpf_get_next_key() argument
302 attr.next_key = ptr_to_u64(next_key); in bpf_get_next_key()
Dlibbpf.h41 int bpf_get_next_key(int fd, void *key, void *next_key);
/external/v8/src/builtins/
Dbuiltins-object-gen.cc328 Node* next_key = GetKey(descriptors, descriptor_index); in FastGetOwnValuesOrEntries() local
331 GotoIf(IsSymbol(next_key), &next_descriptor); in FastGetOwnValuesOrEntries()
364 StoreFixedArrayElement(CAST(elements), 0, next_key, SKIP_WRITE_BARRIER); in FastGetOwnValuesOrEntries()
585 TNode<Name> next_key = CAST( in ObjectAssignFast() local
618 CAST(from), var_from_map.value(), next_key, &if_found_fast, in ObjectAssignFast()
668 CallRuntime(Runtime::kGetProperty, context, from, next_key); in ObjectAssignFast()
678 state(), context, to, to_is_simple_receiver, next_key, in ObjectAssignFast()
/external/bcc/src/cc/includes/
Dlibbpf.h41 int bpf_get_next_key(int fd, void *key, void *next_key);
/external/iproute2/include/uapi/linux/
Dbpf.h199 __aligned_u64 next_key; member

12