Lines Matching refs:fd
154 int fd = -1; in _nl_load_locale_from_archive() local
205 fd = __open_nocancel (archfname, O_RDONLY|O_LARGEFILE|O_CLOEXEC); in _nl_load_locale_from_archive()
206 if (fd < 0) in _nl_load_locale_from_archive()
210 if (__fstat64_time64 (fd, &archive_stat) == -1) in _nl_load_locale_from_archive()
214 if (fd >= 0) in _nl_load_locale_from_archive()
215 __close_nocancel_nostatus (fd); in _nl_load_locale_from_archive()
227 result = __mmap64 (NULL, mapsize, PROT_READ, MAP_FILE|MAP_COPY, fd, 0); in _nl_load_locale_from_archive()
246 fd, 0); in _nl_load_locale_from_archive()
255 __close_nocancel_nostatus (fd); in _nl_load_locale_from_archive()
256 fd = -1; in _nl_load_locale_from_archive()
397 if (fd == -1) in _nl_load_locale_from_archive()
400 fd = __open_nocancel (archfname, in _nl_load_locale_from_archive()
402 if (fd == -1) in _nl_load_locale_from_archive()
408 if (__fstat64_time64 (fd, &st) < 0 in _nl_load_locale_from_archive()
418 fd, from); in _nl_load_locale_from_archive()
453 if (fd >= 0) in _nl_load_locale_from_archive()
454 __close_nocancel_nostatus (fd); in _nl_load_locale_from_archive()
455 fd = -1; in _nl_load_locale_from_archive()