Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 13 of 13) sorted by relevance

/elf/
A Ddl-writev.h35 _dl_writev (int fd, const struct iovec *iov, size_t niov) in _dl_writev() argument
46 __writev (fd, iov, niov); in _dl_writev()
50 __writev (fd, iov, niov); in _dl_writev()
54 __writev (fd, iov, niov); in _dl_writev()
A Ddl-write.c25 _dl_write (int fd, const void *buffer, size_t length) in _dl_write() argument
37 ret = __writev (fd, &iov, 1); in _dl_write()
44 ret = __writev (fd, &iov, 1); in _dl_write()
50 ret = __writev (fd, &iov, 1); in _dl_write()
A Ddl-sysdep-open.h39 _dl_sysdep_open_object (const char *name, size_t namelen, int *fd) in _dl_sysdep_open_object() argument
41 assert (*fd == -1); in _dl_sysdep_open_object()
A Dtst-alignmod2.c33 in_dso (int *result, bool *test_destructors, int *fd) in in_dso() argument
47 fdp = fd; in in_dso()
A Ddl-load.c1379 fd = -1; in _dl_map_object_from_fd()
1612 fd = -1; in open_verify()
1825 fd = -1; in open_verify()
1833 return fd; in open_verify()
1851 int fd = -1; in open_path() local
1945 fd = -1; in open_path()
2001 int fd; in _dl_map_object() local
2058 fd = -1; in _dl_map_object()
2078 fd = -1; in _dl_map_object()
2136 fd = open_verify (realname, fd, in _dl_map_object()
[all …]
A Ddl-machine-reject-phdr.h29 int fd) in elf_machine_reject_phdr_p() argument
A Ddl-misc.c47 int fd = __open64_nocancel (file, O_RDONLY | O_CLOEXEC); in _dl_sysdep_read_whole_file() local
48 if (fd >= 0) in _dl_sysdep_read_whole_file()
50 if (__fstat64_time64 (fd, &st) >= 0) in _dl_sysdep_read_whole_file()
66 , fd, 0); in _dl_sysdep_read_whole_file()
68 __close_nocancel (fd); in _dl_sysdep_read_whole_file()
78 _dl_debug_vdprintf (int fd, int tag_p, const char *fmt, va_list arg) in _dl_debug_vdprintf() argument
266 _dl_writev (fd, iov, niov); in _dl_debug_vdprintf()
296 _dl_dprintf (int fd, const char *fmt, ...) in _dl_dprintf() argument
301 _dl_debug_vdprintf (fd, 0, fmt, arg); in _dl_dprintf()
A Dpldd.c285 int fd = openat (dfd, "exe", O_RDONLY); in get_process_info() local
286 if (fd == -1) in get_process_info()
295 if (read (fd, e_ident, EI_NIDENT) != EI_NIDENT) in get_process_info()
298 close (fd); in get_process_info()
306 fd = openat (dfd, "auxv", O_RDONLY); in get_process_info()
307 if (fd == -1) in get_process_info()
317 ssize_t n = pread (fd, auxv, auxv_size, 0); in get_process_info()
327 close (fd); in get_process_info()
A Dcache.c318 if (fd < 0) in print_cache()
326 close (fd); in print_cache()
425 close (fd); in print_cache()
724 if (fd < 0) in save_cache()
769 if (fsync (fd) != 0 || close (fd) != 0) in save_cache()
1014 if (fd < 0) in load_aux_cache()
1023 close (fd); in load_aux_cache()
1041 close (fd); in load_aux_cache()
1061 close (fd); in load_aux_cache()
1147 if (fd < 0) in save_aux_cache()
[all …]
A Ddl-map-segments.h26 const size_t maplength, int fd) in ElfW()
30 MAP_COPY|MAP_FILE, fd, c->mapoff); in ElfW()
48 fd, c->mapoff); in ElfW()
75 _dl_map_segments (struct link_map *l, int fd, in _dl_map_segments() argument
102 l->l_map_start = _dl_map_segment (c, mappref, maplength, fd); in _dl_map_segments()
140 fd, c->mapoff) in _dl_map_segments()
A Ddl-profile.c186 int fd; in _dl_start_profile() local
327 fd = __open64_nocancel (filename, O_RDWR|O_CREAT|O_NOFOLLOW, DEFFILEMODE); in _dl_start_profile()
328 if (fd == -1) in _dl_start_profile()
337 if (fd != -1) in _dl_start_profile()
338 __close_nocancel (fd); in _dl_start_profile()
344 if (__fstat64_time64 (fd, &st) < 0 || !S_ISREG (st.st_mode)) in _dl_start_profile()
360 if (__lseek (fd, expected_size & ~(GLRO(dl_pagesize) - 1), SEEK_SET) == -1) in _dl_start_profile()
368 (__write_nocancel (fd, buf, (expected_size & (GLRO(dl_pagesize) - 1)))) in _dl_start_profile()
374 __close_nocancel (fd); in _dl_start_profile()
386 MAP_SHARED|MAP_FILE, fd, 0); in _dl_start_profile()
[all …]
A Dsprof.c410 int fd; in load_shobj() local
551 if (fd == -1) in load_shobj()
585 int symfd = fd; in load_shobj()
726 close (fd); in load_shobj()
727 if (symfd != fd) in load_shobj()
746 int fd; in load_profdata() local
758 if (fd == -1) in load_profdata()
776 if (fd == -1) in load_profdata()
789 close (fd); in load_profdata()
798 close (fd); in load_profdata()
[all …]
A Ddl-load.h116 static const char *_dl_map_segments (struct link_map *l, int fd,

Completed in 18 milliseconds