Home
last modified time | relevance | path

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

/Linux-v6.6/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 …]
/Linux-v6.6/scripts/
Drecordmcount.c55 static int fd_map; /* File descriptor for file being modified. */ variable
179 fd_map = -1; in mmap_file()
186 fd_map = open(fname, O_RDONLY); in mmap_file()
187 if (fd_map < 0) { in mmap_file()
191 if (fstat(fd_map, &sb) < 0) { in mmap_file()
200 fd_map, 0); in mmap_file()
208 if (read(fd_map, file_map, sb.st_size) != sb.st_size) { in mmap_file()
217 close(fd_map); in mmap_file()
218 fd_map = -1; in mmap_file()
344 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
[all …]
/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dassign_reuse.c93 int ret, fd_tc, fd_accept, fd_drop, fd_map; in run_assign_reuse() local
114 fd_map = bpf_map__fd(skel->maps.sk_map); in run_assign_reuse()
125 ret = bpf_map_update_elem(fd_map, &zero, &fd_val, BPF_NOEXIST); in run_assign_reuse()
/Linux-v6.6/include/scsi/fc/
Dfc_fip.h183 __u8 fd_map[3]; member
202 __u8 fd_map[3]; /* FC-MAP value */ member
/Linux-v6.6/drivers/platform/x86/
Dpmc_atom.c258 u32 fd, const struct pmc_bit_map *fd_map) in pmc_dev_state_print() argument
266 fd_map[index].bit_mask & fd ? "Disabled" : "Enabled ", in pmc_dev_state_print()
/Linux-v6.6/drivers/scsi/fcoe/
Dfcoe_ctlr.c967 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()