Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/cma.c cma_alloc() -> set_pages_refcounted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 1-u64max |
| PARAM_VALUE | 1 | nr_pages | 1-4503599627370495,18446744071562067968-u64max |
| CAPPED_DATA | 1 | nr_pages | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 0 | page | r cma_alloc_frozen |
| DATA_SOURCE | 1 | nr_pages | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | nr_pages | 1-3145729[c] |
| USER_DATA | 1 | nr_pages | 1-4503599627370495,18446744071562067968-u64max[c] |
| UNITS | 1 | nr_pages | unit_page |
| HALF_LOCKED2 | &attr->mutex |
mm/page_alloc.c alloc_contig_pages_noprof() -> set_pages_refcounted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 1-u64max |
| PARAM_VALUE | 1 | nr_pages | 0-4503599627370495 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| CAPPED_DATA | 1 | nr_pages | 1 |
| DATA_SOURCE | 0 | page | r alloc_contig_frozen_pages_noprof |
| DATA_SOURCE | 1 | nr_pages | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |
mm/page_alloc.c alloc_contig_range_noprof() -> set_pages_refcounted()
| Type | Parameter | Key | Value |
|---|---|---|---|
| CAPPED_DATA | 1 | nr_pages | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vm->hotplug_mutex | ||
| TYPE_LOCK | (struct virtio_mem)->hotplug_mutex |