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

/osnet-11/usr/src/lib/libproc/common/
H A DPcontrol.h91 int file_fd; /* file descriptor for the mapped file */ member in struct:file_info
H A DPidle.c183 fp->file_fd = fd;
H A DPsymtab.c185 fptr->file_fd = -1;
274 if (fptr->file_fd >= 0)
275 (void) close(fptr->file_fd);
764 if (pread(fptr->file_fd, fptr->file_ctf_buf,
1693 } else if ((fptr->file_fd = open(objectfile, O_RDONLY)) < 0) {
1701 } else if ((elf = elf_begin(fptr->file_fd, ELF_C_READ, NULL)) == NULL ||
1975 (void) close(fptr->file_fd);
1976 fptr->file_fd = -1;
H A DPcore.c75 if (mp->map_file == NULL || mp->map_file->file_fd < 0)
78 fd = mp->map_file->file_fd;
2105 fp->file_fd = -1;
/osnet-11/usr/src/lib/storage/liba5k/common/
H A Dmon.c4251 int file_fd; local
4255 if ((file_fd = g_object_open(file, O_RDONLY)) == -1) {
4258 err = check_file(file_fd, verbose, &buf, FW_DL_INFO);
4347 int file_fd, controller_fd; local
4381 if ((file_fd = g_object_open(file_path, O_NDELAY | O_RDONLY)) == -1) {
4403 if ((err = check_dpm_file(file_fd))) {
4407 if (fstat(file_fd, &statbuf) == -1) {
4421 if (read(file_fd, buf_ptr, statbuf.st_size) == -1) {
4430 if (err = check_file(file_fd, verbose, &buf_ptr, FW_DL_INFO)) {
4445 (void) close(file_fd);
[all...]

Completed in 55 milliseconds