Go to the documentation of this file.
10 #ifndef _LINUX_AUTO_DEV_IOCTL_H
11 #define _LINUX_AUTO_DEV_IOCTL_H
13 #include <linux/auto_fs.h>
16 #include <linux/string.h>
21 #define AUTOFS_DEVICE_NAME "autofs"
23 #define AUTOFS_DEV_IOCTL_VERSION_MAJOR 1
24 #define AUTOFS_DEV_IOCTL_VERSION_MINOR 0
26 #define AUTOFS_DEVID_LEN 16
28 #define AUTOFS_DEV_IOCTL_SIZE sizeof(struct autofs_dev_ioctl)
171 #define AUTOFS_IOCTL 0x93
173 #define AUTOFS_DEV_IOCTL_VERSION \
174 _IOWR(AUTOFS_IOCTL, \
175 AUTOFS_DEV_IOCTL_VERSION_CMD, struct autofs_dev_ioctl)
177 #define AUTOFS_DEV_IOCTL_PROTOVER \
178 _IOWR(AUTOFS_IOCTL, \
179 AUTOFS_DEV_IOCTL_PROTOVER_CMD, struct autofs_dev_ioctl)
181 #define AUTOFS_DEV_IOCTL_PROTOSUBVER \
182 _IOWR(AUTOFS_IOCTL, \
183 AUTOFS_DEV_IOCTL_PROTOSUBVER_CMD, struct autofs_dev_ioctl)
185 #define AUTOFS_DEV_IOCTL_OPENMOUNT \
186 _IOWR(AUTOFS_IOCTL, \
187 AUTOFS_DEV_IOCTL_OPENMOUNT_CMD, struct autofs_dev_ioctl)
189 #define AUTOFS_DEV_IOCTL_CLOSEMOUNT \
190 _IOWR(AUTOFS_IOCTL, \
191 AUTOFS_DEV_IOCTL_CLOSEMOUNT_CMD, struct autofs_dev_ioctl)
193 #define AUTOFS_DEV_IOCTL_READY \
194 _IOWR(AUTOFS_IOCTL, \
195 AUTOFS_DEV_IOCTL_READY_CMD, struct autofs_dev_ioctl)
197 #define AUTOFS_DEV_IOCTL_FAIL \
198 _IOWR(AUTOFS_IOCTL, \
199 AUTOFS_DEV_IOCTL_FAIL_CMD, struct autofs_dev_ioctl)
201 #define AUTOFS_DEV_IOCTL_SETPIPEFD \
202 _IOWR(AUTOFS_IOCTL, \
203 AUTOFS_DEV_IOCTL_SETPIPEFD_CMD, struct autofs_dev_ioctl)
205 #define AUTOFS_DEV_IOCTL_CATATONIC \
206 _IOWR(AUTOFS_IOCTL, \
207 AUTOFS_DEV_IOCTL_CATATONIC_CMD, struct autofs_dev_ioctl)
209 #define AUTOFS_DEV_IOCTL_TIMEOUT \
210 _IOWR(AUTOFS_IOCTL, \
211 AUTOFS_DEV_IOCTL_TIMEOUT_CMD, struct autofs_dev_ioctl)
213 #define AUTOFS_DEV_IOCTL_REQUESTER \
214 _IOWR(AUTOFS_IOCTL, \
215 AUTOFS_DEV_IOCTL_REQUESTER_CMD, struct autofs_dev_ioctl)
217 #define AUTOFS_DEV_IOCTL_EXPIRE \
218 _IOWR(AUTOFS_IOCTL, \
219 AUTOFS_DEV_IOCTL_EXPIRE_CMD, struct autofs_dev_ioctl)
221 #define AUTOFS_DEV_IOCTL_ASKUMOUNT \
222 _IOWR(AUTOFS_IOCTL, \
223 AUTOFS_DEV_IOCTL_ASKUMOUNT_CMD, struct autofs_dev_ioctl)
225 #define AUTOFS_DEV_IOCTL_ISMOUNTPOINT \
226 _IOWR(AUTOFS_IOCTL, \
227 AUTOFS_DEV_IOCTL_ISMOUNTPOINT_CMD, struct autofs_dev_ioctl)