Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/page_alloc.c __folio_alloc_noprof() -> __alloc_pages_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 0,262144-u32max |
| PARAM_VALUE | 4 | alloc_flags | 0 |
| DATA_SOURCE | 1 | order | $1 |
| DATA_SOURCE | 2 | preferred_nid | $2 |
| DATA_SOURCE | 3 | nodemask | $3 |
| BIT_INFO | 0 | gfp | 0x40000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | order | 0-1292716[c] |
| USER_DATA | 1 | order | 0-u32max[c] |
mm/page_alloc.c alloc_pages_bulk_noprof() -> __alloc_pages_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| PARAM_VALUE | 3 | nodemask | 0,4096-ptr_max |
| PARAM_VALUE | 4 | alloc_flags | 0 |
| BUF_SIZE | 3 | nodemask | (-1),128 |
| BUF_SIZE | 3 | nodemask | (-1),128 |
| DATA_SOURCE | 0 | gfp | $0 [m] |
| DATA_SOURCE | 2 | preferred_nid | $1 |
| DATA_SOURCE | 3 | nodemask | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &bo->mutex | ||
| HALF_LOCKED2 | &gbuf_resize_mutex | ||
| HALF_LOCKED2 | &inode->i_rwsem |
mm/page_alloc.c alloc_pages_node_noprof() -> __alloc_pages_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 3 | nodemask | 0 |
| PARAM_VALUE | 4 | alloc_flags | 0 |
| DATA_SOURCE | 0 | gfp | $1 |
| DATA_SOURCE | 1 | order | $2 |
| DATA_SOURCE | 2 | preferred_nid | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | order | 1-32[c] |
| HOST_DATA | 2 | preferred_nid | s32min-(-2),0-s32max |
| USER_DATA | 1 | order | 0-32[c] |
| USER_DATA | 2 | preferred_nid | 0-s32max[c] |
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &espfix_init_mutex | ||
| HALF_LOCKED2 | global &pcpu_alloc_mutex | ||
| HALF_LOCKED2 | global &ublk_ctl_mutex | ||
| HALF_LOCKED2 | rcu_read |
mm/page_frag_cache.c __page_frag_cache_refill() -> __alloc_pages_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 3 |
| PARAM_VALUE | 3 | nodemask | 0 |
| PARAM_VALUE | 4 | alloc_flags | 0 |
| BIT_INFO | 0 | gfp | 0xd2000,0xfffffbff |
| BIT_INFO | 1 | order | 0x3,0x3 |
| BIT_INFO | 2 | preferred_nid | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &call->conn->tx_data_alloc_lock | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | &xprt->xpt_mutex |
mm/page_frag_cache.c __page_frag_cache_refill() -> __alloc_pages_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| PARAM_VALUE | 3 | nodemask | 0 |
| PARAM_VALUE | 4 | alloc_flags | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &call->conn->tx_data_alloc_lock | ||
| HALF_LOCKED2 | &vq->mutex | ||
| HALF_LOCKED2 | &xprt->xpt_mutex |