Defined in 1 files as a function:
Referenced in 6 files:
- fs/dax.c, line 423
- lib/test_hmm.c, line 1857
- mm/huge_memory.c, line 3726
- mm/hugetlb.c, line 3986
- mm/page_alloc.c, line 1179
- mm/util.c, line 1365
Smatch caller information:
mm/huge_memory.c __split_folio_to_order() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | page | unit_page |
| LOCK2 | irq | ||
| HALF_LOCKED2 | &mapping->i_mmap_rwsem | ||
| HALF_LOCKED2 | rcu_read |
fs/dax.c dax_folio_reset_order() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | irq |
lib/test_hmm.c dmirror_devmem_folio_split() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | rcu_read |
mm/util.c snapshot_page() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 2191852909504176384,3759170620264775936,7704045231304634624 |
| NOCHECK_CALL |
mm/hugetlb.c demote_free_hugetlb_folios() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dst->resize_lock | ||
| LOCK2 | &of->mutex | ||
| LOCK2 | &src->resize_lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/page_alloc.c free_tail_page_prepare() -> clear_compound_head()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| DATA_SOURCE | 0 | page | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | page | unit_page |