Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/am-utils/dist/conf/autofs/
H A Dautofs_linux.c159 fh->ioctlfd = -1; in autofs_get_fh()
181 if (ioctl(fh->ioctlfd, AUTOFS_IOC_PROTOVER, &fh->version) < 0) { in autofs_mounted()
189 if (ioctl(fh->ioctlfd, AUTOFS_IOC_SETTIMEOUT, &timeout) < 0) in autofs_mounted()
202 if (fh->ioctlfd < 0) in autofs_get_mp()
203 fh->ioctlfd = open(mp->am_path, O_RDONLY); in autofs_get_mp()
213 if (fh->ioctlfd >= 0) { in autofs_release_mp()
214 close(fh->ioctlfd); in autofs_release_mp()
215 fh->ioctlfd = -1; in autofs_release_mp()
243 if (fh->ioctlfd >= 0) in autofs_release_fh()
244 close(fh->ioctlfd); in autofs_release_fh()
[all …]
H A Dautofs_linux.h70 int ioctlfd; member