Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/page_alloc.c __alloc_pages_direct_compact() -> prep_new_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0-10 |
| PARAM_VALUE | 2 | gfp_flags | 0-33554431 |
| PARAM_VALUE | 3 | alloc_flags | 256-u32max |
| BUF_SIZE | 0 | page | 0 |
| CAPPED_DATA | 1 | order | 1 |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | gfp_flags | $0 |
| DATA_SOURCE | 3 | alloc_flags | $2 |
| FUZZY_MAX | 1 | order | 4 |
| BIT_INFO | 0 | page | 0x0,0x0 |
| NOSPEC | 1 | order | |
| NOSPEC | 1 | order | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | order | 0-10[c] |
| USER_DATA | 1 | order | 0-10[c] |
| UNITS | 0 | page | unit_page |
| UNITS | 1 | order | unit_byte |
mm/page_alloc.c alloc_contig_frozen_range_noprof() -> prep_new_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0-63 |
| PARAM_VALUE | 2 | gfp_flags | 0,3072-u32max |
| PARAM_VALUE | 3 | alloc_flags | 0 |
| CAPPED_DATA | 1 | order | 1 |
| DATA_SOURCE | 1 | order | r __ilog2_u64 |
| DATA_SOURCE | 2 | gfp_flags | r current_gfp_context |
| BIT_INFO | 2 | gfp_flags | 0x40000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | page | unit_page |
| HALF_LOCKED2 | &cma->alloc_mutex | ||
| HALF_LOCKED2 | &vm->hotplug_mutex |
mm/page_alloc.c alloc_pages_bulk_noprof() -> prep_new_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| PARAM_VALUE | 1 | order | 0 |
| PARAM_VALUE | 2 | gfp_flags | 0-34603007 |
| PARAM_VALUE | 3 | alloc_flags | 0 |
| DATA_SOURCE | 0 | page | r __rmqueue_pcplist |
| DATA_SOURCE | 2 | gfp_flags | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &bo->mutex | ||
| HALF_LOCKED2 | &gbuf_resize_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct per_cpu_pages)->lock |
mm/page_alloc.c get_page_from_freelist() -> prep_new_page()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | page | 4096-ptr_max |
| PARAM_VALUE | 0 | page->flags.f | 0-18446744073709551614 |
| PARAM_VALUE | 1 | order | 0-10 |
| PARAM_VALUE | 3 | alloc_flags | 8-u32max |
| CAPPED_DATA | 1 | order | 1 |
| DATA_SOURCE | 0 | page | r rmqueue |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | gfp_flags | $0 |
| DATA_SOURCE | 3 | alloc_flags | $2 [m] |
| FUZZY_MAX | 1 | order | 4 |
| BIT_INFO | 2 | gfp_flags | 0x0,0x1ffffff |
| NOSPEC | 1 | order | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 1 | order | 0-10[c] |
| USER_DATA | 1 | order | 0-10[c] |
| UNITS | 1 | order | unit_byte |
| HALF_LOCKED2 | global &oom_lock |