Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/nfs/file.c, line 519
- fs/nfs/internal.h, line 696
- include/linux/sched/mm.h, line 294
- mm/huge_memory.c, line 4171
- mm/page_alloc.c
- mm/percpu.c, line 1750
- mm/vmscan.c
Smatch caller information:
mm/huge_memory.c __folio_split() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0,32-17558752 |
| BIT_INFO | 0 | flags | 0x0,0x10bece0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/svc_xprt.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| DATA_SOURCE | 0 | flags | $0 |
fs/f2fs/gc.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sbi->gc_lock.internal_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->cp_rwsem.internal_rwsem | ||
| HALF_LOCKED2 | &sbi->pin_sem.internal_rwsem |
mm/percpu.c pcpu_alloc_noprof() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $3 |
fs/f2fs/inode.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| HALF_LOCKED2 | &sbi->cp_global_sem.internal_rwsem |
fs/f2fs/segment.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | &sbi->cp_rwsem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/f2fs/recovery.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| LOCK2 | &sbi->cp_global_sem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/ext4/extents.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 2080 |
| DATA_SOURCE | 0 | flags | $0 |
fs/nfs/flexfilelayout/flexfilelayout.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/file.c nfs_release_folio() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &folio->private->lock | ||
| HALF_LOCKED2 | global &mf_mutex |
mm/page_alloc.c __alloc_frozen_pages_noprof() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0-33554431 |
| DATA_SOURCE | 0 | flags | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/page_alloc.c alloc_contig_frozen_range_noprof() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0,3264,11456,273600,1321154,1321162,1322178,1322186,2097152-u32max |
| DATA_SOURCE | 0 | flags | $3 |
| FUZZY_MAX | 0 | flags | 11456 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &cma->alloc_mutex | ||
| HALF_LOCKED2 | &vm->hotplug_mutex |
mm/page_alloc.c fs_reclaim_acquire() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $0 |
mm/page_alloc.c fs_reclaim_release() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $0 |
fs/nfs/nfs42proc.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/pagelist.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/vmscan.c node_reclaim() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $1 |
| BIT_INFO | 0 | flags | 0x0,0x1ffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &oom_lock |
mm/vmscan.c try_to_free_mem_cgroup_pages() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
mm/vmscan.c try_to_free_pages() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 0-33554431 |
| DATA_SOURCE | 0 | flags | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/vmscan.c user_proactive_reclaim() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/nfs/write.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_buf.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 16788672,16788928,16854208,16854464 |
| DATA_SOURCE | 0 | flags | $0 |
| FUZZY_MAX | 0 | flags | 16788672 |
| BIT_INFO | 0 | flags | 0x1002cc0,0x1002dc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
fs/nfs/pnfs.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ino->i_lock |
fs/f2fs/super.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dqopt->dqio_sem | ||
| HALF_LOCKED2 | &dquot->dq_lock |
fs/f2fs/node.c memalloc_retry_wait() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3136 |
| DATA_SOURCE | 0 | flags | $0 |
| LOCK2 | &sbi->cp_global_sem.internal_rwsem | ||
| TYPE_LOCK | (struct f2fs_rwsem)->internal_rwsem |
fs/nfs/filelayout/filelayout.c nfs_io_gfp_mask() -> current_gfp_context()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flags | 3264 |
| RX_PATH | |||
| TASK_NOT_RUNNING |