Home
last modified time | relevance | path

Searched refs:map_key (Results 1 – 9 of 9) sorted by relevance

/linux/tools/perf/util/
H A Dbpf-trace-summary.c172 static int update_thread_stats(struct hashmap *hash, struct syscall_key *map_key, in update_thread_stats() argument
178 if (!hashmap__find(hash, map_key->cpu_or_tid, &data)) { in update_thread_stats()
183 data->key = map_key->cpu_or_tid; in update_thread_stats()
200 nodes->syscall_nr = map_key->nr; in update_thread_stats()
236 static int update_total_stats(struct hashmap *hash, struct syscall_key *map_key, in update_total_stats() argument
242 if (!hashmap__find(hash, map_key->nr, &data)) { in update_total_stats()
254 data->key = map_key->nr; in update_total_stats()
308 static int update_cgroup_stats(struct hashmap *hash, struct syscall_key *map_key, in update_cgroup_stats() argument
314 if (!hashmap__find(hash, map_key->cgroup, &data)) { in update_cgroup_stats()
319 data->key = map_key->cgroup; in update_cgroup_stats()
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A Dload_bytes_relative.c26 __u32 map_key = 0; in load_bytes_relative() local
45 bpf_map_update_elem(&test_result, &map_key, &test_passed, BPF_ANY); in load_bytes_relative()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dload_bytes_relative.c19 __u32 map_key = 0; in test_load_bytes_relative() local
57 err = bpf_map_lookup_elem(map_fd, &map_key, &map_value); in test_load_bytes_relative()
H A Dxdp_context_test_run.c162 __u32 map_key = 0; assert_test_result() local
/linux/tools/testing/selftests/bpf/map_tests/
H A Dmap_in_map_batch_ops.c35 __u32 map_key = 0, map_id; in create_inner_maps() local
58 ret = bpf_map_update_elem(map_fd, &map_key, &map_id, 0); in create_inner_maps()
/linux/include/uapi/sound/
H A Dsfnt_info.h171 int map_bank, map_instr, map_key; /* key = -1 means all keys */ member
/linux/drivers/firmware/efi/libstub/
H A Defi-stub-helper.c444 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services()
464 &map->map_key, in efi_exit_boot_services()
477 status = efi_bs_call(exit_boot_services, handle, map->map_key); in efi_exit_boot_services()
/linux/drivers/hid/
H A Dhid-input.c98 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) macro
752 map_key(KEY_UNKNOWN); in hidinput_configure_usage()
795 map_key(code); in hidinput_configure_usage()
984 map_key(BTN_TOOL_MOUSE); in hidinput_configure_usage()
987 map_key(BTN_TOOL_FINGER); in hidinput_configure_usage()
1004 map_key(BTN_TOOL_PEN); in hidinput_configure_usage()
1371 map_key(BTN_MISC); in hidinput_configure_usage()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c510 int map_key; in perfbuf_custom_consumer()
457 int map_key; global() member