Searched refs:fd_map (Results 1 – 2 of 2) sorted by relevance
| /utopia/UTPA2-700.0.x/projects/build/scripts/ |
| H A D | recordmcount.h | 206 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 …]
|
| H A D | recordmcount.c | 36 static int fd_map; /* File descriptor for file being modified. */ variable 60 close(fd_map); in cleanup() 146 ulseek(fd_map, offset - 1, SEEK_SET); in make_nop_x86() 147 uwrite(fd_map, ideal_nop, 5); in make_nop_x86() 168 fd_map = open(fname, O_RDWR); in mmap_file() 169 if (fd_map < 0 || fstat(fd_map, &sb) < 0) { in mmap_file() 178 fd_map, 0); in mmap_file() 183 uread(fd_map, addr, sb.st_size); in mmap_file() 455 fd_map = -1; in main()
|