Home
last modified time | relevance | path

Searched refs:fd_map (Results 1 – 3 of 3) sorted by relevance

/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_tag.c27 static void bpf_gen_imm_prog(unsigned int insns, int fd_map) in bpf_gen_imm_prog() argument
37 static void bpf_gen_map_prog(unsigned int insns, int fd_map) in bpf_gen_map_prog() argument
43 BPF_LD_MAP_FD(j++ % BPF_REG_10, fd_map) in bpf_gen_map_prog()
53 static int bpf_try_load_prog(int insns, int fd_map, in bpf_try_load_prog() argument
55 int fd_map)) in bpf_try_load_prog()
59 bpf_filler(insns, fd_map); in bpf_try_load_prog()
63 if (fd_map > 0) in bpf_try_load_prog()
154 static void tag_exit_report(int insns, int fd_map, uint8_t *ftag, in tag_exit_report() argument
158 fd_map < 0 ? "" : " with map"); in tag_exit_report()
165 static void do_test(uint32_t *tests, int start_insns, int fd_map, in do_test() argument
[all …]
/external/mesa3d/src/gallium/drivers/vc5/
Dvc5_simulator.c80 struct hash_table *fd_map; member
122 struct hash_entry *entry = _mesa_hash_table_search(sim_state.fd_map, in vc5_get_simulator_file_for_fd()
596 sim_state.fd_map = in vc5_simulator_init_global()
621 _mesa_hash_table_insert(sim_state.fd_map, int_to_key(screen->fd + 1), in vc5_simulator_init()
635 _mesa_hash_table_destroy(sim_state.fd_map, NULL); in vc5_simulator_destroy()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c74 struct hash_table *fd_map; member
117 struct hash_entry *entry = _mesa_hash_table_search(sim_state.fd_map, in vc4_get_simulator_file_for_fd()
722 sim_state.fd_map = in vc4_simulator_init_global()
741 _mesa_hash_table_insert(sim_state.fd_map, int_to_key(screen->fd + 1), in vc4_simulator_init()
753 _mesa_hash_table_destroy(sim_state.fd_map, NULL); in vc4_simulator_destroy()