Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 4 files:
- include/linux/gfp.h
- include/linux/pagemap.h, line 658
- mm/filemap.c, line 1019
- mm/mempolicy.c, line 2589
Smatch caller information:
mm/huge_memory.c alloc_huge_zero_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 10233282 |
| PARAM_VALUE | 1 | order | 9 |
fs/netfs/misc.c netfs_alloc_folioq_buffer() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0-7 |
| DATA_SOURCE | 0 | gfp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dvnode->validate_lock | ||
| HALF_LOCKED2 | &server->_srv_mutex | ||
| HALF_LOCKED2 | &vnode->validate_lock |
fs/netfs/misc.c netfs_alloc_folioq_buffer() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dvnode->validate_lock | ||
| HALF_LOCKED2 | &server->_srv_mutex | ||
| HALF_LOCKED2 | &vnode->validate_lock |
mm/swapfile.c swap_cluster_alloc_table() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3520,527840,532768 |
| PARAM_VALUE | 1 | order | 0 |
| BIT_INFO | 0 | gfp | 0x100,0xfffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ci->lock | ||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/nfs/blocklayout/blocklayout.c bl_alloc_lseg() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH |
lib/test_hmm.c dmirror_device_evict_chunk() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051850 |
| PARAM_VALUE | 1 | order | 0-255 |
| DATA_SOURCE | 1 | order | r folio_order |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mdevice->devmem_lock |
lib/test_hmm.c dmirror_devmem_alloc_page() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051842 |
| PARAM_VALUE | 1 | order | 0,9 |
| FUZZY_MAX | 1 | order | 9 |
| BIT_INFO | 1 | order | 0x0,0x9 |
| HARD_MAX | 1 | order | 9 |
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
fs/nfs/blocklayout/dev.c bl_alloc_deviceid_node() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ntfs3/frecord.c ntfs_lock_new_page() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/fuse/dir.c fuse_get_link() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/test_kho.c kho_test_generate_data() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 68800 |
lib/test_kho.c kho_test_preserve() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0-32 |
fs/nfs/flexfilelayout/flexfilelayout.c ff_layout_alloc_lseg() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH |
drivers/gpu/drm/drm_pagemap.c drm_pagemap_migrate_populate_ram_pfn() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051842 |
| PARAM_VALUE | 1 | order | 0-255 |
| DATA_SOURCE | 1 | order | r folio_order |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | ttm_bo->base.resv |
fs/xfs/xfs_verify_media.c xfs_verify_alloc_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 68800 |
| PARAM_VALUE | 1 | order | 1-32 |
| CAPABLE | 0 | 21 |
fs/xfs/xfs_verify_media.c xfs_verify_alloc_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| CAPABLE | 0 | 21 |
fs/ntfs3/attrib.c attr_wof_frame_info() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ni->file.run_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->base->ni_lock | ||
| TYPE_LOCK | (struct ntfs_inode)->file.run_lock |
fs/btrfs/extent_io.c btrfs_alloc_folio_array() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | gfp | $3 |
| DATA_SOURCE | 1 | order | $1 |
drivers/gpu/drm/i915/i915_gpu_error.c pool_alloc() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 26624 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &capture_mutex |
drivers/gpu/drm/i915/i915_gpu_error.c pool_refill() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 26624 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &capture_mutex |
mm/secretmem.c secretmem_fault() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 0,256-u32max |
| PARAM_VALUE | 1 | order | 0 |
| BIT_INFO | 0 | gfp | 0x100,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mapping->invalidate_lock | ||
| TYPE_LOCK | (struct address_space)->invalidate_lock |
mm/filemap.c filemap_alloc_folio_noprof() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 1 | order | $1 |
| NOSPEC | 1 | order | |
| NOSPEC | 1 | order | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | order | 0-1292716[c] |
| USER_DATA | 1 | order | 0-u32max[c] |
mm/migrate_device.c migrate_device_coherent_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1060032 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/flexfilelayout/flexfilelayoutdev.c nfs4_ff_alloc_deviceid_node() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/nfs42proc.c _nfs42_proc_listxattrs() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| TASK_NOT_RUNNING |
fs/nfs/filelayout/filelayoutdev.c nfs4_fl_alloc_deviceid_node() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_zone_gc.c xfs_zone_gc_data_alloc() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/misc/lkdtm/usercopy.c lkdtm_USERCOPY_FOLIO() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3520 |
| PARAM_VALUE | 1 | order | 1 |
fs/ocfs2/cluster/tcp.c o2net_init() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3520 |
| PARAM_VALUE | 1 | order | 0 |
block/bio.c folio_alloc_greedy() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 76992 |
| PARAM_VALUE | 1 | order | 0-32 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
block/bio.c folio_alloc_greedy() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0-32 |
| DATA_SOURCE | 0 | gfp | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/nouveau/nouveau_dmem.c nouveau_dmem_evict_chunk() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051850 |
| PARAM_VALUE | 1 | order | 0-255 |
| DATA_SOURCE | 1 | order | r folio_order |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &drm->dmem->mutex | ||
| TYPE_LOCK | (struct nouveau_dmem)->mutex |
fs/netfs/buffered_read.c netfs_read_gaps() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfs/dir.c nfs_readdir_folio_array_alloc() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/dir.c nfs_readdir_folio_filler() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/nfs/dir.c nfs_symlink() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051840 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/compression.c btrfs_alloc_compr_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3136,10304 |
| DATA_SOURCE | 0 | gfp | $1 |
| FUZZY_MAX | 0 | gfp | 10304 |
| BIT_INFO | 0 | gfp | 0x840,0x3fff |
| HARD_MAX | 0 | gfp | 10304 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
net/sunrpc/auth_gss/gss_rpc_xdr.c gssx_dec_accept_sec_context() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/dibs/dibs_loopback.c dibs_lo_register_dmb() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 601536 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &smc->sk | ||
| HALF_LOCKED2 | global &smc_client_lgr_pending | ||
| HALF_LOCKED2 | global &smc_server_lgr_pending |
fs/nfs/nfs4proc.c __nfs4_get_acl_uncached() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/fuse/cuse.c cuse_send_init() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3520 |
| PARAM_VALUE | 1 | order | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/fuse/ioctl.c fuse_do_ioctl() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3266 |
| PARAM_VALUE | 1 | order | 0 |
fs/xfs/xfs_buf.c xfs_buf_alloc_folio() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 16788672,16788928,16821440,16821696,16853184,16853440,16854208,16854464,16886976,16887232 |
| PARAM_VALUE | 1 | order | 0-32 |
| DATA_SOURCE | 0 | gfp | $2 |
| FUZZY_MAX | 0 | gfp | 16788672 |
| BIT_INFO | 0 | gfp | 0x10028c0,0x101adc0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &mp->m_growlock |
kernel/liveupdate/kexec_handover.c kho_alloc_preserve() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3520 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 1 | order | r get_order |
| RX_PATH | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | _T->lock |
fs/nfs/filelayout/filelayout.c filelayout_decode_layout() -> folio_alloc_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3072,3136,3264,76992 |
| PARAM_VALUE | 1 | order | 0 |
| DATA_SOURCE | 0 | gfp | $3 |
| RX_PATH |