Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/xen/gntdev.c gntdev_alloc_map() -> gnttab_alloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 1-65536
PARAM_VALUE 1 pages 1-18446744073709551614
BUF_SIZE 1 pages 8-524288
BUF_SIZE 1 pages 8-524288
CAPPED_DATA 0 nr_pages 1
DATA_SOURCE 0 nr_pages $1
DATA_SOURCE 1 pages r __kvmalloc_node_noprof
NOSPEC 0 nr_pages
NOSPEC 0 nr_pages
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

drivers/net/xen-netback/interface.c xenvif_init_queue() -> gnttab_alloc_pages()

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 256
BUF_SIZE 1 pages 2048
TASK_NOT_RUNNING
LOCK2 global &xenwatch_mutex

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

Type Parameter Key Value
PARAM_VALUE 0 nr_pages 1
DATA_SOURCE 1 pages $1
RX_PATH
TASK_NOT_RUNNING