4 #define FIO_MAX_OPTS 512
10 #define td_var_offset(var) ((size_t) &((struct thread_options *)0)->var)
12 int add_option(struct fio_option *);
13 void invalidate_profile_options(const char *);
14 extern char *exec_profile;
16 void add_opt_posval(const char *, const char *, const char *);
17 void del_opt_posval(const char *, const char *);
19 static inline int o_match(struct fio_option *o, const char *opt)
21 if (!strcmp(o->name, opt))
23 else if (o->alias && !strcmp(o->alias, opt))
29 static inline struct fio_option *find_option(struct fio_option *options,
34 for (o = &options[0]; o->name; o++)