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 void fio_options_free(struct thread_data *);
21 static inline int o_match(struct fio_option *o, const char *opt)
23 if (!strcmp(o->name, opt))
25 else if (o->alias && !strcmp(o->alias, opt))
31 static inline struct fio_option *find_option(struct fio_option *options,
36 for (o = &options[0]; o->name; o++)