/linux/tools/perf/util/ |
H A D | bpf-trace-summary.c | 168 static int update_thread_stats(struct hashmap *hash, struct syscall_key *map_key, in update_thread_stats() argument 174 if (!hashmap__find(hash, map_key->cpu_or_tid, &data)) { in update_thread_stats() 179 data->key = map_key->cpu_or_tid; in update_thread_stats() 196 nodes->syscall_nr = map_key->nr; in update_thread_stats() 232 static int update_total_stats(struct hashmap *hash, struct syscall_key *map_key, in update_total_stats() argument 238 if (!hashmap__find(hash, map_key->nr, &data)) { in update_total_stats() 250 data->key = map_key->nr; in update_total_stats() 301 static int update_cgroup_stats(struct hashmap *hash, struct syscall_key *map_key, in update_cgroup_stats() argument 307 if (!hashmap__find(hash, map_key->cgroup, &data)) { in update_cgroup_stats() 312 data->key = map_key in update_cgroup_stats() [all...] |
/linux/tools/testing/selftests/bpf/progs/ |
H A D | load_bytes_relative.c | 26 __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 D | load_bytes_relative.c | 19 __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 D | xdp_context_test_run.c | 162 __u32 map_key = 0; in assert_test_result() local 165 err = bpf_map__lookup_elem(skel->maps.test_result, &map_key, in assert_test_result() 166 sizeof(map_key), &map_value, in assert_test_result()
|
/linux/drivers/firmware/efi/libstub/ |
H A D | mem.c | 31 status = efi_bs_call(get_memory_map, &tmp.map_size, NULL, &tmp.map_key, in efi_get_memory_map() 55 status = efi_bs_call(get_memory_map, &m->map_size, m->map, &m->map_key, in efi_get_memory_map()
|
/linux/tools/testing/selftests/bpf/map_tests/ |
H A D | map_in_map_batch_ops.c | 35 __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 D | sfnt_info.h | 171 int map_bank, map_instr, map_key; /* key = -1 means all keys */ member
|
/linux/drivers/hid/ |
H A D | hid-input.c | 98 #define map_key(c) hid_map_usage(hidinput, usage, &bit, &max, EV_KEY, (c)) macro 733 map_key(KEY_UNKNOWN); in hidinput_configure_usage() 776 map_key(code); in hidinput_configure_usage() 949 map_key(BTN_TOOL_MOUSE); in hidinput_configure_usage() 952 map_key(BTN_TOOL_FINGER); in hidinput_configure_usage() 969 map_key(BTN_TOOL_PEN); in hidinput_configure_usage() 1336 map_key(BTN_MISC); in hidinput_configure_usage()
|
/linux/include/linux/ |
H A D | efi.h | 538 unsigned long map_key; member
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 13291 int map_key; member 13338 bpf_map_delete_elem(pb->map_fd, &cpu_buf->map_key); in perf_buffer__free() 13351 int cpu, int map_key) in perf_buffer__open_cpu_buf() argument 13362 cpu_buf->map_key = map_key; in perf_buffer__open_cpu_buf() 13551 int cpu, map_key; in __perf_buffer__new() local 13554 map_key = p->cpu_cnt > 0 ? p->map_keys[i] : i; in __perf_buffer__new() 13562 cpu_buf = perf_buffer__open_cpu_buf(pb, p->attr, cpu, map_key); in __perf_buffer__new() 13570 err = bpf_map_update_elem(pb->map_fd, &map_key, in __perf_buffer__new() 13575 cpu, map_key, cpu_bu in __perf_buffer__new() [all...] |