-static void init_atom(struct syslet_uatom *atom, int nr, void *arg0,
- void *arg1, void *arg2, void *arg3, void *ret_ptr,
- unsigned long flags, void *priv)
-{
- atom->flags = flags;
- atom->nr = nr;
- atom->ret_ptr = ret_ptr;
- atom->next = NULL;
- atom->arg_ptr[0] = arg0;
- atom->arg_ptr[1] = arg1;
- atom->arg_ptr[2] = arg2;
- atom->arg_ptr[3] = arg3;
- atom->arg_ptr[4] = atom->arg_ptr[5] = NULL;
- atom->private = priv;
-}
-
-/*
- * Use seek atom for sync
- */
-static void fio_syslet_prep_sync(struct io_u *io_u, struct fio_file *f)
+static void fio_syslet_prep_sync(struct fio_file *f,
+ struct indirect_registers *regs)