Searched refs:file_fd (Results 1 – 5 of 5) sorted by relevance
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Pcontrol.h | 98 int file_fd; /* file descriptor for the mapped file */ member
|
H A D | Psymtab.c | 186 fptr->file_fd = -1; in file_info_new() 275 if (fptr->file_fd >= 0) in file_info_free() 276 (void) close(fptr->file_fd); in file_info_free() 754 if (pread(fptr->file_fd, fptr->file_ctf_buf, in Pbuild_file_ctf() 1648 } else if ((fptr->file_fd = open(objectfile, O_RDONLY)) < 0) { in Pbuild_file_symtab() 1656 } else if ((elf = elf_begin(fptr->file_fd, ELF_C_READ, NULL)) == NULL || in Pbuild_file_symtab() 1945 (void) close(fptr->file_fd); in Pbuild_file_symtab() 1946 fptr->file_fd = -1; in Pbuild_file_symtab()
|
H A D | Pidle.c | 228 fp->file_fd = fd; in Pgrab_file()
|
H A D | Pcore.c | 87 if (mp->map_file == NULL || mp->map_file->file_fd < 0) in core_rw() 90 fd = mp->map_file->file_fd; in core_rw() 2697 fp->file_fd = -1; in Pfgrab_core()
|
/titanic_41/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 4252 int file_fd; in l_check_file() local 4256 if ((file_fd = g_object_open(file, O_RDONLY)) == -1) { in l_check_file() 4259 err = check_file(file_fd, verbose, &buf, FW_DL_INFO); in l_check_file() 4348 int file_fd, controller_fd; in l_download() local 4382 if ((file_fd = g_object_open(file_path, O_NDELAY | O_RDONLY)) == -1) { in l_download() 4404 if ((err = check_dpm_file(file_fd))) { in l_download() 4408 if (fstat(file_fd, &statbuf) == -1) { in l_download() 4422 if (read(file_fd, buf_ptr, statbuf.st_size) == -1) { in l_download() 4431 if (err = check_file(file_fd, verbose, &buf_ptr, FW_DL_INFO)) { in l_download() 4446 (void) close(file_fd); in l_download()
|