Home
last modified time | relevance | path

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

/freebsd-14.2/stand/kboot/kboot/
H A Dhostfs.c25 int hf_fd; member
77 hf->hf_fd = host_open(path, HOST_O_RDONLY, 0); in hostfs_open()
78 if (hf->hf_fd < 0) { in hostfs_open()
83 if (host_fstat(hf->hf_fd, &ksb) < 0) { in hostfs_open()
87 if (S_ISDIR(hf->hf_fd)) { in hostfs_open()
101 host_close(hf->hf_fd); in hostfs_close()
114 sz = host_read(hf->hf_fd, start, size); in hostfs_read()
139 err = host_llseek(hf->hf_fd, offh, offl, &res, whence); in hostfs_seek()
158 if (host_fstat(hf->hf_fd, &ksb) < 0) in hostfs_stat()
197 dentlen = host_getdents64(hf->hf_fd, hf->hf_dents, sizeof(hf->hf_dents)); in hostfs_readdir()