Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/scripts/
Drecordmcount.c47 static int fd_map; /* File descriptor for file being modified. */ variable
167 fd_map = -1; in mmap_file()
174 fd_map = open(fname, O_RDONLY); in mmap_file()
175 if (fd_map < 0) { in mmap_file()
179 if (fstat(fd_map, &sb) < 0) { in mmap_file()
188 fd_map, 0); in mmap_file()
196 if (read(fd_map, file_map, sb.st_size) != sb.st_size) { in mmap_file()
205 close(fd_map); in mmap_file()
206 fd_map = -1; in mmap_file()
332 fd_map = open(tmp_file, O_WRONLY | O_TRUNC | O_CREAT, sb.st_mode); in write_file()
[all …]
/linux-6.1.9/include/scsi/fc/
Dfc_fip.h183 __u8 fd_map[3]; member
202 __u8 fd_map[3]; /* FC-MAP value */ member
/linux-6.1.9/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-6.1.9/drivers/scsi/fcoe/
Dfcoe_ctlr.c965 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()