|
@@ -280,16 +280,16 @@ static inline void obd_ioctl_freedata(char *buf, int len)
|
|
|
#define OBD_IOC_DATA_TYPE long
|
|
|
|
|
|
#define OBD_IOC_CREATE _IOWR('f', 101, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_DESTROY _IOW ('f', 104, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_DESTROY _IOW('f', 104, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_PREALLOCATE _IOWR('f', 105, OBD_IOC_DATA_TYPE)
|
|
|
|
|
|
-#define OBD_IOC_SETATTR _IOW ('f', 107, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_SETATTR _IOW('f', 107, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_GETATTR _IOWR ('f', 108, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_READ _IOWR('f', 109, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_WRITE _IOWR('f', 110, OBD_IOC_DATA_TYPE)
|
|
|
|
|
|
#define OBD_IOC_STATFS _IOWR('f', 113, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_SYNC _IOW ('f', 114, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_SYNC _IOW('f', 114, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_READ2 _IOWR('f', 115, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_FORMAT _IOWR('f', 116, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_PARTITION _IOWR('f', 117, OBD_IOC_DATA_TYPE)
|
|
@@ -308,13 +308,13 @@ static inline void obd_ioctl_freedata(char *buf, int len)
|
|
|
#define OBD_IOC_GETDTNAME OBD_IOC_GETNAME
|
|
|
|
|
|
#define OBD_IOC_LOV_GET_CONFIG _IOWR('f', 132, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_CLIENT_RECOVER _IOW ('f', 133, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_PING_TARGET _IOW ('f', 136, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_CLIENT_RECOVER _IOW('f', 133, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_PING_TARGET _IOW('f', 136, OBD_IOC_DATA_TYPE)
|
|
|
|
|
|
#define OBD_IOC_DEC_FS_USE_COUNT _IO ('f', 139)
|
|
|
-#define OBD_IOC_NO_TRANSNO _IOW ('f', 140, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_SET_READONLY _IOW ('f', 141, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_ABORT_RECOVERY _IOR ('f', 142, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_NO_TRANSNO _IOW('f', 140, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_SET_READONLY _IOW('f', 141, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_ABORT_RECOVERY _IOR('f', 142, OBD_IOC_DATA_TYPE)
|
|
|
|
|
|
#define OBD_IOC_ROOT_SQUASH _IOWR('f', 143, OBD_IOC_DATA_TYPE)
|
|
|
|
|
@@ -324,27 +324,27 @@ static inline void obd_ioctl_freedata(char *buf, int len)
|
|
|
|
|
|
#define OBD_IOC_CLOSE_UUID _IOWR ('f', 147, OBD_IOC_DATA_TYPE)
|
|
|
|
|
|
-#define OBD_IOC_CHANGELOG_SEND _IOW ('f', 148, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_CHANGELOG_SEND _IOW('f', 148, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_GETDEVICE _IOWR ('f', 149, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_FID2PATH _IOWR ('f', 150, OBD_IOC_DATA_TYPE)
|
|
|
/* see also <lustre/lustre_user.h> for ioctls 151-153 */
|
|
|
/* OBD_IOC_LOV_SETSTRIPE: See also LL_IOC_LOV_SETSTRIPE */
|
|
|
-#define OBD_IOC_LOV_SETSTRIPE _IOW ('f', 154, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_LOV_SETSTRIPE _IOW('f', 154, OBD_IOC_DATA_TYPE)
|
|
|
/* OBD_IOC_LOV_GETSTRIPE: See also LL_IOC_LOV_GETSTRIPE */
|
|
|
-#define OBD_IOC_LOV_GETSTRIPE _IOW ('f', 155, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_LOV_GETSTRIPE _IOW('f', 155, OBD_IOC_DATA_TYPE)
|
|
|
/* OBD_IOC_LOV_SETEA: See also LL_IOC_LOV_SETEA */
|
|
|
-#define OBD_IOC_LOV_SETEA _IOW ('f', 156, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_LOV_SETEA _IOW('f', 156, OBD_IOC_DATA_TYPE)
|
|
|
/* see <lustre/lustre_user.h> for ioctls 157-159 */
|
|
|
/* OBD_IOC_QUOTACHECK: See also LL_IOC_QUOTACHECK */
|
|
|
-#define OBD_IOC_QUOTACHECK _IOW ('f', 160, int)
|
|
|
+#define OBD_IOC_QUOTACHECK _IOW('f', 160, int)
|
|
|
/* OBD_IOC_POLL_QUOTACHECK: See also LL_IOC_POLL_QUOTACHECK */
|
|
|
-#define OBD_IOC_POLL_QUOTACHECK _IOR ('f', 161, struct if_quotacheck *)
|
|
|
+#define OBD_IOC_POLL_QUOTACHECK _IOR('f', 161, struct if_quotacheck *)
|
|
|
/* OBD_IOC_QUOTACTL: See also LL_IOC_QUOTACTL */
|
|
|
#define OBD_IOC_QUOTACTL _IOWR('f', 162, struct if_quotactl)
|
|
|
/* see also <lustre/lustre_user.h> for ioctls 163-176 */
|
|
|
-#define OBD_IOC_CHANGELOG_REG _IOW ('f', 177, struct obd_ioctl_data)
|
|
|
-#define OBD_IOC_CHANGELOG_DEREG _IOW ('f', 178, struct obd_ioctl_data)
|
|
|
-#define OBD_IOC_CHANGELOG_CLEAR _IOW ('f', 179, struct obd_ioctl_data)
|
|
|
+#define OBD_IOC_CHANGELOG_REG _IOW('f', 177, struct obd_ioctl_data)
|
|
|
+#define OBD_IOC_CHANGELOG_DEREG _IOW('f', 178, struct obd_ioctl_data)
|
|
|
+#define OBD_IOC_CHANGELOG_CLEAR _IOW('f', 179, struct obd_ioctl_data)
|
|
|
#define OBD_IOC_RECORD _IOWR('f', 180, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_ENDRECORD _IOWR('f', 181, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_PARSE _IOWR('f', 182, OBD_IOC_DATA_TYPE)
|
|
@@ -352,7 +352,7 @@ static inline void obd_ioctl_freedata(char *buf, int len)
|
|
|
#define OBD_IOC_PROCESS_CFG _IOWR('f', 184, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_DUMP_LOG _IOWR('f', 185, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_CLEAR_LOG _IOWR('f', 186, OBD_IOC_DATA_TYPE)
|
|
|
-#define OBD_IOC_PARAM _IOW ('f', 187, OBD_IOC_DATA_TYPE)
|
|
|
+#define OBD_IOC_PARAM _IOW('f', 187, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_POOL _IOWR('f', 188, OBD_IOC_DATA_TYPE)
|
|
|
#define OBD_IOC_REPLACE_NIDS _IOWR('f', 189, OBD_IOC_DATA_TYPE)
|
|
|
|