Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.h103 int file_fd; /* file descriptor for the mapped file */ member
H A DPsymtab.c205 fptr->file_fd = -1; in file_info_new()
295 if (fptr->file_fd >= 0) in file_info_free()
296 (void) close(fptr->file_fd); in file_info_free()
775 if (pread(fptr->file_fd, fptr->file_ctf_buf, in Pbuild_file_ctf()
1902 } else if ((fptr->file_fd = open(objectfile, O_RDONLY)) < 0) { in Pbuild_file_symtab()
1910 } else if ((elf = elf_begin(fptr->file_fd, ELF_C_READ, NULL)) == NULL || in Pbuild_file_symtab()
2342 (void) close(fptr->file_fd); in Pbuild_file_symtab()
2348 fptr->file_fd = -1; in Pbuild_file_symtab()
H A DPidle.c230 fp->file_fd = fd; in Pgrab_file()
H A DPcore.c90 if (mp->map_file == NULL || mp->map_file->file_fd < 0) in core_rw()
93 fd = mp->map_file->file_fd; in core_rw()
2855 fp->file_fd = -1;
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dmon.c4251 int file_fd; in l_check_file() local
4255 if ((file_fd = g_object_open(file, O_RDONLY)) == -1) { in l_check_file()
4258 err = check_file(file_fd, verbose, &buf, FW_DL_INFO); in l_check_file()
4347 int file_fd, controller_fd; in l_download() local
4381 if ((file_fd = g_object_open(file_path, O_NDELAY | O_RDONLY)) == -1) { in l_download()
4403 if ((err = check_dpm_file(file_fd))) { in l_download()
4407 if (fstat(file_fd, &statbuf) == -1) { in l_download()
4421 if (read(file_fd, buf_ptr, statbuf.st_size) == -1) { in l_download()
4430 if (err = check_file(file_fd, verbose, &buf_ptr, FW_DL_INFO)) { in l_download()
4445 (void) close(file_fd); in l_download()