Home
last modified time | relevance | path

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

/freebsd/usr.sbin/rpc.statd/
H A Dfile.c52 static int status_fd; /* File descriptor for the open file */ variable
140 if (lseek(status_fd, desired_size - 1, SEEK_SET) == -1 || in find_host()
141 write(status_fd, "\0", 1) < 0) in find_host()
179 status_fd = open(filename, O_RDWR); in init_file()
180 if ((status_fd < 0) && (errno == ENOENT)) in init_file()
182 status_fd = open(filename, O_RDWR | O_CREAT, 0644); in init_file()
185 if (status_fd < 0) in init_file()
191 mmap(NULL, 0x10000000, PROT_READ | PROT_WRITE, MAP_SHARED, status_fd, 0); in init_file()
196 status_file_len = lseek(status_fd, 0L, SEEK_END); in init_file()
214 lseek(status_fd, 0L, SEEK_SET); in init_file()
[all …]