Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 6 files:
- arch/powerpc/platforms/powernv/memtrace.c, line 212
- arch/x86/virt/vmx/tdx/tdx.c, line 669
- drivers/virtio/virtio_mem.c, line 1214
- mm/debug_vm_pgtable.c, line 980
- mm/kfence/core.c
- mm/page_alloc.c, line 7667
Smatch caller information:
mm/kfence/core.c kfence_init_late() -> free_contig_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr_pages | 77 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |
| HALF_LOCKED2 | &of->mutex |
mm/kfence/core.c kfence_init_late() -> free_contig_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr_pages | unit_page |
| HALF_LOCKED2 | &of->mutex |
drivers/virtio/virtio_mem.c virtio_mem_fake_online() -> free_contig_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-9007201402224636 |
| PARAM_VALUE | 1 | nr_pages | 0-s32max,18446744071562067968-u64max |
| CAPPED_DATA | 0 | pfn | 1 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock | ||
| LOCK2 | &vm->hotplug_mutex | ||
| TYPE_LOCK | (struct virtio_mem)->hotplug_mutex |
arch/x86/virt/vmx/tdx/tdx.c free_pamt() -> free_contig_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-4503599627370495 |
| PARAM_VALUE | 1 | nr_pages | 0-4503599627370495 |
| NOCHECK_CALL | |||
| UNITS | 0 | pfn | unit_page |
| UNITS | 1 | nr_pages | unit_page |
mm/debug_vm_pgtable.c debug_vm_pgtable_free_huge_page() -> free_contig_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | pfn | 0-12384898975268863,9223396226110586880-18446744073709551614 |
| PARAM_VALUE | 1 | nr_pages | 512,262144 |
| DATA_SOURCE | 0 | pfn | $1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |