Searched refs:status_fd (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/usr.sbin/rpc.statd/ |
H A D | file.c | 52 static int status_fd; /* File descriptor for the open file */ variable 137 lseek(status_fd, desired_size - 1, SEEK_SET); 138 i = write(status_fd, &i, 1); 177 status_fd = open(filename, O_RDWR); 178 if ((status_fd < 0) && (errno == ENOENT)) 180 status_fd = open(filename, O_RDWR | O_CREAT, 0644); 183 if (status_fd < 0) 189 mmap(NULL, 0x10000000, PROT_READ | PROT_WRITE, MAP_SHARED, status_fd, 0); 194 status_file_len = lseek(status_fd, 0L, SEEK_END); 212 lseek(status_fd, [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | procfs.c | 367 int status_fd; /* File descriptor for /proc status file */ member in struct:procinfo 562 * three fields of the procinfo struct (ctl_fd, status_fd, and 618 pi->status_fd = fd; 667 pi->ctl_fd = pi->as_fd = pi->status_fd = fd; 742 if (pi->status_fd > 0) 743 close (pi->status_fd); 745 pi->ctl_fd = pi->as_fd = pi->status_fd = 0; 1117 if (pi->status_fd == 0 && 1125 if (lseek (pi->status_fd, 0, SEEK_SET) < 0) 1132 pi->status_valid = (read (pi->status_fd, [all...] |
Completed in 62 milliseconds