Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
io_uring/memmap.c alloc_pages_bulk_node_noprof() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 4206016 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-s32max |
| PARAM_VALUE | 4 | page_array | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_array | 0-s32max |
| BUF_SIZE | 4 | page_array | 0-s32max |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 1 | preferred_nid | $1 [m] |
| DATA_SOURCE | 3 | nr_pages | $2 |
| DATA_SOURCE | 4 | page_array | $3 |
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
| ELEM_COUNT | 4 | ==page_array3 | 8051 |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
drivers/staging/media/atomisp/pci/hmm/hmm_bo.c alloc_private_pages() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 4 | page_array | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_array | 0-s32max |
| BUF_SIZE | 4 | page_array | 0-s32max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| LOCK2 | &bo->mutex | ||
| TYPE_LOCK | (struct hmm_buffer_object)->mutex |
net/sunrpc/svc_xprt.c svc_fill_pages() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| DATA_SOURCE | 3 | nr_pages | $2 |
| DATA_SOURCE | 4 | page_array | $1 |
| UNITS | 3 | nr_pages | unit_page |
| UNITS | 4 | page_array | unit_page |
fs/splice.c copy_splice_read() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 1051840 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-524287 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| PARAM_COMPARE | 3 | nr_pages | < $4 |
| PARAM_COMPARE | 4 | page_array | > $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | nr_pages | 2-524287[c] |
| NO_OVERFLOW_SIMPLE | 3 | nr_pages |
drivers/firewire/core-iso.c fw_iso_buffer_alloc() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3524 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 4 | page_array | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_array | 0-u64max |
| DATA_SOURCE | 3 | nr_pages | $1 |
| DATA_SOURCE | 4 | page_array | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
| ELEM_COUNT | 4 | ==page_array3 | 8051 |
fs/erofs/zutil.c z_erofs_gbuf_growsize() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-2048 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| BUF_SIZE | 4 | page_array | 8-16384 |
| BUF_SIZE | 4 | page_array | 8-16384 |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 3 | nr_pages | $0 |
| DATA_SOURCE | 4 | page_array | r _kzalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
| LOCK2 | &gbuf_resize_mutex | ||
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &sb->s_umount |
net/core/page_pool.c alloc_pages_bulk_node_noprof() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 2080,3264,10272,10276,10528,11456,133152,141344 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 64 |
| BUF_SIZE | 4 | page_array | 1024 |
| BUF_SIZE | 4 | page_array | 1024 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 1 | preferred_nid | $1 [m] |
| DATA_SOURCE | 3 | nr_pages | $2 |
| DATA_SOURCE | 4 | page_array | $3 |
| FUZZY_MAX | 0 | gfp | 10272 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | rcu_read |
fs/nfsd/nfs4state.c alloc_init_dir_deleg() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1 |
fs/fuse/readdir.c fuse_readdir_alloc_buf() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-1048575 |
| PARAM_VALUE | 4 | page_array | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_array | 8 |
| DATA_SOURCE | 4 | page_array | r _kmalloc_array_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 3 | nr_pages | 3-524288[c] |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
drivers/vfio/pci/mlx5/cmd.c mlx5vf_add_pages() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 4197568 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| HALF_LOCKED2 | &mvdev->state_mutex | ||
| TYPE_LOCK | (struct mlx5vf_pci_core_device)->state_mutex |
fs/btrfs/extent_io.c btrfs_alloc_page_array() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3136,10248,35912 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | s32min-(-1),1-s32max |
| BUF_SIZE | 4 | page_array | (-1)-s32max |
| BUF_SIZE | 4 | page_array | (-1)-s32max |
| DATA_SOURCE | 0 | gfp | $2 |
| DATA_SOURCE | 3 | nr_pages | $0 |
| DATA_SOURCE | 4 | page_array | $1 |
| BIT_INFO | 0 | gfp | 0x800,0xac48 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
| HALF_LOCKED2 | &fs_info->remap_mutex |
lib/tests/kunit_iov_iter.c iov_kunit_create_buffer() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 256,512 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| BUF_SIZE | 4 | page_array | 2048,4096 |
| BUF_SIZE | 4 | page_array | 2048,4096 |
| DATA_SOURCE | 3 | nr_pages | $2 |
| DATA_SOURCE | 4 | page_array | r _kzalloc_noprof |
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
block/blk-crypto-fallback.c blk_crypto_alloc_enc_bio() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-256 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 3 | nr_pages | $1 |
| MEM_ZERO | 4 | page_array | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | page_array | unit_byte |
| HALF_LOCKED2 | &md->io_barrier |
drivers/firewire/ohci.c ar_context_init() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3268 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 8 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| BUF_SIZE | 4 | page_array | 80 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
lib/test_vmalloc.c vm_map_ram_test() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 3264 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-s32max |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| BUF_SIZE | 4 | page_array | 8-17179869176 |
| BUF_SIZE | 4 | page_array | 8-17179869176 |
| DATA_SOURCE | 4 | page_array | r _kzalloc_noprof |
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| UNITS | 3 | nr_pages | unit_array_size |
| ELEM_COUNT | 4 | ==page_array3 | 8051 |
mm/mempolicy.c alloc_pages_bulk_interleave() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-101 |
| CAPPED_DATA | 1 | preferred_nid | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 4 | page_array | $3 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
mm/mempolicy.c alloc_pages_bulk_interleave() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-100 |
| CAPPED_DATA | 1 | preferred_nid | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 4 | page_array | $3 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
mm/mempolicy.c alloc_pages_bulk_mempolicy_noprof() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 0,8192-u32max |
| PARAM_VALUE | 2 | nodemask | 0,4096-ptr_max |
| PARAM_VALUE | 3 | nr_pages | 1-100 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| BUF_SIZE | 2 | nodemask | (-1),128 |
| BUF_SIZE | 2 | nodemask | (-1),128 |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 2 | nodemask | r policy_nodemask |
| DATA_SOURCE | 3 | nr_pages | $1 |
| DATA_SOURCE | 4 | page_array | $2 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/mempolicy.c alloc_pages_bulk_preferred_many() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 8192-u32max |
| PARAM_VALUE | 2 | nodemask | 4096-ptr_max |
| PARAM_VALUE | 3 | nr_pages | 1-100 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 1 | preferred_nid | $1 |
| DATA_SOURCE | 3 | nr_pages | $3 |
| DATA_SOURCE | 4 | page_array | $4 |
| BIT_INFO | 0 | gfp | 0x2000,0xffff7bff |
mm/mempolicy.c alloc_pages_bulk_preferred_many() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-100 |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
mm/mempolicy.c alloc_pages_bulk_weighted_interleave() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | preferred_nid | s16min-s16max |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-100 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 4 | page_array | $3 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
| UNITS | 3 | nr_pages | unit_page |
mm/mempolicy.c alloc_pages_bulk_weighted_interleave() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | preferred_nid | 0-64 |
| PARAM_VALUE | 2 | nodemask | 0 |
| CAPPED_DATA | 1 | preferred_nid | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 1 | preferred_nid | r __next_node_in |
| DATA_SOURCE | 4 | page_array | $3 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
| UNITS | 3 | nr_pages | unit_page |
mm/vmalloc.c alloc_pages_bulk_node_noprof() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 0,8192-u32max |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 1-100 |
| PARAM_VALUE | 4 | page_array | 4096-ptr_max |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 0 | gfp | $0 |
| DATA_SOURCE | 1 | preferred_nid | $1 [m] |
| DATA_SOURCE | 3 | nr_pages | $2 |
| DATA_SOURCE | 4 | page_array | $3 |
| BIT_INFO | 0 | gfp | 0x2000,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | preferred_nid | s32min-(-2),0-s32max[c] |
| USER_DATA | 1 | preferred_nid | 0-s32max |
drivers/vfio/pci/virtio/migrate.c virtiovf_add_migration_pages() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 4197568 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | 0-512 |
| PARAM_VALUE | 4 | page_array | 16,4096-ptr_max |
| BUF_SIZE | 4 | page_array | 0-4096 |
| BUF_SIZE | 4 | page_array | 0-4096 |
| CAPPED_DATA | 3 | nr_pages | 1 |
| DATA_SOURCE | 4 | page_array | r __kvmalloc_node_noprof |
| NO_OVERFLOW_SIMPLE | 3 | nr_pages | |
| HALF_LOCKED2 | &migf->lock | ||
| HALF_LOCKED2 | &migf->virtvdev->state_mutex | ||
| TYPE_LOCK | (struct virtiovf_pci_core_device)->state_mutex |
mm/kasan/shadow.c ___alloc_pages_bulk() -> alloc_pages_bulk_noprof()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | gfp | 0,32-17558752 |
| PARAM_VALUE | 2 | nodemask | 0 |
| PARAM_VALUE | 3 | nr_pages | (-2147483646)-(-1),1-512 |
| PARAM_VALUE | 4 | *page_array | 4096-ptr_max |
| DATA_SOURCE | 0 | gfp | $2 |
| DATA_SOURCE | 3 | nr_pages | $1 [m] |
| DATA_SOURCE | 4 | page_array | $0 [m] |
| BIT_INFO | 0 | gfp | 0x0,0x10bece0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &pcpu_alloc_mutex |