#include <linux/export.h>
#include <linux/slab.h>
#include <linux/regset.h>
static int __regset_get(struct task_struct *target,
const struct user_regset *regset,
unsigned int size,
void **data)
{ … }
int regset_get(struct task_struct *target,
const struct user_regset *regset,
unsigned int size,
void *data)
{ … }
EXPORT_SYMBOL(…);
int regset_get_alloc(struct task_struct *target,
const struct user_regset *regset,
unsigned int size,
void **data)
{ … }
EXPORT_SYMBOL(…);
int copy_regset_to_user(struct task_struct *target,
const struct user_regset_view *view,
unsigned int setno,
unsigned int offset, unsigned int size,
void __user *data)
{ … }