1USER_REGSET_ACTIVE_F(9)          Machine State         USER_REGSET_ACTIVE_F(9)
2
3
4

NAME

6       user_regset_active_fn - type of active function in struct user_regset
7

SYNOPSIS

9       typedef int user_regset_active_fn(struct task_struct * target,
10                                         const struct user_regset * regset);
11

ARGUMENTS

13       target
14           thread being examined
15
16       regset
17           regset being examined
18

DESCRIPTION

20       Return -ENODEV if not available on the hardware found. Return 0 if no
21       interesting state in this thread. Return >0 number of size units of
22       interesting state. Any get call fetching state beyond that number will
23       see the default initialization state for this data, so a caller that
24       knows what the default state is need not copy it all out. This call is
25       optional; the pointer is NULL if there is no inexpensive check to yield
26       a value < n.
27
28
29
30Kernel Hackers Manual 2.6.       November 2011         USER_REGSET_ACTIVE_F(9)
Impressum