Home
last modified time | relevance | path

Searched refs:map_key (Results 1 – 10 of 10) 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()
/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/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/include/uapi/sound/
H A Dsfnt_info.h171 int map_bank, map_instr, map_key; /* key = -1 means all keys */ member
/linux/drivers/hid/
H A Dhid-input.c98 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) macro
756 map_key(KEY_UNKNOWN); in hidinput_configure_usage()
799 map_key(code); in hidinput_configure_usage()
988 map_key(BTN_TOOL_MOUSE); in hidinput_configure_usage()
991 map_key(BTN_TOOL_FINGER); in hidinput_configure_usage()
1008 map_key(BTN_TOOL_PEN); in hidinput_configure_usage()
1375 map_key(BTN_MISC); in hidinput_configure_usage()
/linux/sound/synth/emux/
H A Dsoundfont.c398 zp->v.low == map.map_key && in load_map()
423 if (map.map_key >= 0) { in load_map()
424 zp->v.low = map.map_key; in load_map()
425 zp->v.high = map.map_key; in load_map()
/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_ringbufs.c510 int map_key; in perfbuf_custom_consumer()
457 int map_key; global() member
/linux/tools/lib/bpf/
H A Dlibbpf.c13640 int map_key; member
13687 bpf_map_delete_elem(pb->map_fd, &cpu_buf->map_key); in perf_buffer__free()
13700 int cpu, int map_key) in perf_buffer__open_cpu_buf() argument
13711 cpu_buf->map_key = map_key; in perf_buffer__open_cpu_buf()
13900 int cpu, map_key; in __perf_buffer__new() local
13903 map_key = p->cpu_cnt > 0 ? p->map_keys[i] : i; in __perf_buffer__new()
13911 cpu_buf = perf_buffer__open_cpu_buf(pb, p->attr, cpu, map_key); in __perf_buffer__new()
13919 err = bpf_map_update_elem(pb->map_fd, &map_key, in __perf_buffer__new()
13924 cpu, map_key, cpu_buf->fd, in __perf_buffer__new()