Home
last modified time | relevance | path

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

/Linux-v4.19/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-v4.19/scripts/
Drecordmcount.c42 static int fd_map; /* File descriptor for file being modified. */ variable
197 ulseek(fd_map, offset - 1, SEEK_SET); in make_nop_x86()
198 uwrite(fd_map, ideal_nop, 5); in make_nop_x86()
246 ulseek(fd_map, off, SEEK_SET); in make_nop_arm()
249 uwrite(fd_map, ideal_nop, nop_size); in make_nop_arm()
266 ulseek(fd_map, offset, SEEK_SET); in make_nop_arm64()
267 uwrite(fd_map, ideal_nop, 4); in make_nop_arm64()
286 fd_map = open(fname, O_RDONLY); in mmap_file()
287 if (fd_map < 0 || fstat(fd_map, &sb) < 0) { in mmap_file()
296 fd_map, 0); in mmap_file()
[all …]
Drecordmcount.h206 ulseek(fd_map, sb.st_size, SEEK_SET); in append_func()
207 uwrite(fd_map, old_shstr_sh_offset + (void *)ehdr, old_shstr_sh_size); in append_func()
208 uwrite(fd_map, mc_name, 1 + strlen(mc_name)); in append_func()
211 ulseek(fd_map, t, SEEK_SET); in append_func()
213 uwrite(fd_map, old_shoff + (void *)ehdr, in append_func()
229 uwrite(fd_map, &mcsec, sizeof(mcsec)); in append_func()
243 uwrite(fd_map, &mcsec, sizeof(mcsec)); in append_func()
245 uwrite(fd_map, mloc0, (void *)mlocp - (void *)mloc0); in append_func()
246 uwrite(fd_map, mrel0, (void *)mrelp - (void *)mrel0); in append_func()
250 ulseek(fd_map, 0, SEEK_SET); in append_func()
[all …]
Dsortextable.c54 static int fd_map; /* File descriptor for file being modified. */ variable
73 close(fd_map); in cleanup()
93 fd_map = open(fname, O_RDWR); in mmap_file()
94 if (fd_map < 0 || fstat(fd_map, &sb) < 0) { in mmap_file()
103 fd_map, 0); in mmap_file()
386 fd_map = -1; in main()
/Linux-v4.19/include/scsi/fc/
Dfc_fip.h195 __u8 fd_map[3]; member
214 __u8 fd_map[3]; /* FC-MAP value */ member
/Linux-v4.19/drivers/platform/x86/
Dpmc_atom.c278 u32 fd, const struct pmc_bit_map *fd_map) in pmc_dev_state_print() argument
286 fd_map[index].bit_mask & fd ? "Disabled" : "Enabled ", in pmc_dev_state_print()
/Linux-v4.19/drivers/scsi/fcoe/
Dfcoe_ctlr.c974 fcf->fc_map = ntoh24(fab->fd_map); in fcoe_ctlr_parse_adv()