1I2O_CNTXT_LIST_ADD(9)        Message-based devices       I2O_CNTXT_LIST_ADD(9)
2
3
4

NAME

6       i2o_cntxt_list_add - Append a pointer to context list and return a id
7

SYNOPSIS

9       u32 i2o_cntxt_list_add(struct i2o_controller * c, void * ptr);
10

ARGUMENTS

12       c
13           controller to which the context list belong
14
15       ptr
16           pointer to add to the context list
17

DESCRIPTION

19       Because the context field in I2O is only 32-bit large, on 64-bit the
20       pointer is to large to fit in the context field. The i2o_cntxt_list
21       functions therefore map pointers to context fields.
22
23       Returns context id > 0 on success or 0 on failure.
24
26Kernel Hackers Manual 3.10         June 2019             I2O_CNTXT_LIST_ADD(9)
Impressum