Defined in 2 files as a prototype:
- arch/arm64/include/asm/hugetlb.h, line 19 (as a prototype)
- arch/riscv/include/asm/hugetlb.h, line 15 (as a prototype)
Defined in 2 files as a macro:
- arch/arm64/include/asm/hugetlb.h, line 18 (as a macro)
- arch/riscv/include/asm/hugetlb.h, line 16 (as a macro)
Defined in 4 files as a function:
- arch/arm64/mm/hugetlbpage.c, line 65 (as a function)
- arch/riscv/mm/hugetlbpage.c, line 434 (as a function)
- include/linux/hugetlb.h, line 898 (as a function)
- include/linux/hugetlb.h, line 909 (as a function)
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c hugepage_migration_supported() -> arch_hugetlb_migration_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h->order | 9,18 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &state.ctx->map_changing_lock | ||
| HALF_LOCKED2 | global &hugetlb_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &h->resize_lock |
mm/page_isolation.c hugepage_migration_supported() -> arch_hugetlb_migration_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 3469904130518499328-18446744073709547519 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &zone->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| TYPE_LOCK | (struct zone)->lock |
mm/mempolicy.c hugepage_migration_supported() -> arch_hugetlb_migration_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/migrate.c hugepage_migration_supported() -> arch_hugetlb_migration_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 0,3469904130518499328-18446744073709547519 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/memfd.c hugepage_migration_supported() -> arch_hugetlb_migration_supported()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | h | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | _T->lock |