+extern int __fio_option_is_set(struct thread_options *, unsigned int off);
+
+#define fio_option_is_set(__td, name) \
+({ \
+ const unsigned int off = td_var_offset(name); \
+ int __r = __fio_option_is_set((__td), off); \
+ if (__r == -1) { \
+ dprint(FD_PARSE, "option %s/%u not found in map\n", \
+ __fio_stringify(name), off); \
+ __r = 0; \
+ } \
+ __r; \
+})
+
+extern void fio_option_mark_set(struct thread_options *, struct fio_option *);
+