Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/xen/grant-table.c gnttab_alloc_pages() -> gnttab_pages_set_private()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 1-65536
PARAM_VALUE 1 *pages 4096-ptr_max
BUF_SIZE 1 pages (-1),8-524288
BUF_SIZE 1 pages (-1),8-524288
CAPPED_DATA 0 nr_pages 1
DATA_SOURCE 0 nr_pages $0
DATA_SOURCE 1 pages $1
NOSPEC 0 nr_pages
NOSPEC 0 nr_pages
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 nr_pages 2-65536[c]
NO_OVERFLOW_SIMPLE 0 nr_pages
UNITS 0 nr_pages unit_array_size
ELEM_COUNT 1 ==pages0 8051
HALF_LOCKED2 global &xenwatch_mutex

drivers/xen/grant-table.c gnttab_dma_alloc_pages() -> gnttab_pages_set_private()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 1-65536
PARAM_VALUE 1 pages 16,4096-ptr_max
BUF_SIZE 1 pages 8-524288
CAPPED_DATA 0 nr_pages 1
NOSPEC 0 nr_pages
NO_OVERFLOW_SIMPLE 0 nr_pages
UNITS 0 nr_pages unit_page