Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a member:
Defined in 1 files as a function:
Referenced in 24 files:
- block/bio-integrity.c
- block/blk-crypto-fallback.c, line 161
- drivers/firewire/core-iso.c
- drivers/firewire/ohci.c
- drivers/gpu/drm/radeon/radeon_ttm.c
- drivers/hv/mshv_regions.c
- fs/ceph/addr.c, line 978
- fs/f2fs/data.c, line 3467
- fs/f2fs/node.c
- fs/fuse/notify.c, line 228
- fs/fuse/readdir.c
- fs/ntfs/compress.c
- fs/splice.c, line 378
- include/linux/swap.h, line 436
- io_uring/memmap.c
- lib/alloc_tag.c
- lib/tests/kunit_iov_iter.c
- mm/alloc_tag.c
- mm/folio.c, line 1076
- net/sunrpc/xprtrdma/svc_rdma_recvfrom.c
- net/sunrpc/xprtrdma/svc_rdma_sendto.c, line 276
- tools/testing/selftests/mm/uffd-common.c
- tools/testing/selftests/mm/uffd-stress.c
- tools/testing/selftests/mm/uffd-unit-tests.c
Smatch caller information:
io_uring/memmap.c io_free_region() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-1),1-s64max |
| BUF_SIZE | 0 | arg | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | nr | |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
io_uring/memmap.c io_region_allocate_pages() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-2),1-s64max |
| PARAM_VALUE | 1 | nr | 1-s32max |
| BUF_SIZE | 0 | arg | 0-17179869176 |
| DATA_SOURCE | 0 | arg | r __kvmalloc_node_noprof |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_node_noprof |
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_array_size |
| HALF_LOCKED2 | &ctx->uring_lock | ||
| HALF_LOCKED2 | _T->lock |
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c svc_rdma_read_complete() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | arg | 8 |
| RX_PATH | |||
| NOCHECK_CALL |
net/sunrpc/xprtrdma/svc_rdma_recvfrom.c svc_rdma_recv_ctxt_put() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/splice.c copy_splice_read() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr | 1-s32max |
| CAPPED_DATA | 1 | nr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/firewire/core-iso.c fw_iso_buffer_alloc() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),16,4096-s64max |
| PARAM_VALUE | 1 | nr | 0-s32max |
| DATA_SOURCE | 0 | arg | r _kzalloc_noprof |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_array_size |
drivers/firewire/core-iso.c fw_iso_buffer_destroy() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-1),1-s64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | nr | |
| HALF_LOCKED2 | _T->lock |
fs/fuse/readdir.c fuse_readdir_alloc_buf() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),16,4096-s64max |
| PARAM_VALUE | 1 | nr | 0-1048575 |
| BUF_SIZE | 0 | arg | 8 |
| CAPPED_DATA | 1 | nr | 1 |
| DATA_SOURCE | 0 | arg | r _kmalloc_array_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | nr | 3-524288[c] |
| UNITS | 1 | nr | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/fuse/readdir.c fuse_readdir_uncached() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),16,4096-s64max |
| PARAM_VALUE | 1 | nr | 0-250000 |
| BUF_SIZE | 0 | arg | 8 |
| DATA_SOURCE | 0 | arg | r fuse_readdir_alloc_buf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | nr | 3-250000[c] |
| UNITS | 1 | nr | unit_page |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
lib/tests/kunit_iov_iter.c iov_kunit_create_buffer() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 0-s32max |
| BUF_SIZE | 0 | arg | 2048,4096 |
| CAPPED_DATA | 1 | nr | 1 |
| DATA_SOURCE | 0 | arg | r _kzalloc_noprof |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_array_size |
lib/tests/kunit_iov_iter.c iov_kunit_create_buffer() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 256,512 |
| BUF_SIZE | 0 | arg | 2048,4096 |
| CAPPED_DATA | 1 | nr | 1 |
| DATA_SOURCE | 0 | arg | r _kzalloc_noprof |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_array_size |
block/blk-crypto-fallback.c blk_crypto_fallback_encrypt_endio() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 1-u16max |
| CAPPED_DATA | 1 | nr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | arg | unit_byte |
| UNITS | 1 | nr | unit_page |
fs/fuse/notify.c fuse_retrieve_end() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | arg | 8,16-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | nr | unit_page |
| HALF_LOCKED2 | &fc->killsb |
drivers/firewire/ohci.c ar_context_init() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 0-7,9-s32max |
| BUF_SIZE | 0 | arg | 80 |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/firewire/ohci.c ar_context_init() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 8 |
| BUF_SIZE | 0 | arg | 80 |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/firewire/ohci.c ar_context_init() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | arg | s64min-(-4096),4096-s64max |
| PARAM_VALUE | 1 | nr | 8 |
| BUF_SIZE | 0 | arg | 80 |
| DATA_SOURCE | 1 | nr | r alloc_pages_bulk_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/firewire/ohci.c ar_context_release() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr | 8 |
| BUF_SIZE | 0 | arg | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/gpu/drm/radeon/radeon_ttm.c radeon_ttm_tt_pin_userptr() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | arg | 8,16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | nr | |
| HALF_LOCKED2 | bo->base.resv |
fs/ceph/addr.c writepages_finish() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | arg | 1-8388608 |
| CAPPED_DATA | 1 | nr | 1 |
| DATA_SOURCE | 1 | nr | r calc_pages_for |
| NOCHECK_CALL | |||
| UNITS | 0 | arg | unit_page |
| HALF_LOCKED2 | &pool->lock |
net/sunrpc/xprtrdma/svc_rdma_sendto.c svc_rdma_send_ctxt_release() -> release_pages()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | nr | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | arg | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |