Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 25 files:
- block/fops.c, line 573
- fs/9p/vfs_addr.c, line 200
- fs/affs/file.c, line 847
- fs/afs/file.c, line 61
- fs/btrfs/inode.c, line 7659
- fs/ceph/addr.c, line 1958
- fs/ecryptfs/mmap.c, line 512
- fs/exfat/inode.c, line 307
- fs/f2fs/checkpoint.c, line 697
- fs/f2fs/compress.c, line 1899
- fs/f2fs/data.c, line 4437
- fs/f2fs/node.c, line 2334
- fs/fuse/file.c, line 3096
- fs/gfs2/aops.c, line 719
- fs/hostfs/hostfs_kern.c, line 497
- fs/jfs/jfs_metapage.c
- fs/ntfs/aops.c
- fs/ntfs3/inode.c, line 2307
- fs/orangefs/inode.c, line 618
- fs/smb/client/file.c
- fs/ubifs/file.c, line 1632
- fs/vboxsf/file.c, line 357
- fs/xfs/xfs_aops.c, line 859
- fs/zonefs/file.c, line 197
- mm/migrate.c
Smatch caller information:
fs/btrfs/inode.c btrfs_migrate_folio() -> filemap_migrate_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->migrate_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *src->_mm_id | 0-4294967295 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| CAPPED_DATA | 2 | src | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | src | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/migrate.c __buffer_migrate_folio() -> filemap_migrate_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->migrate_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | *dst->_mm_id | 0-4294967295 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *src->_mm_id | 0-4294967295 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | src | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | dst->index |
fs/jfs/jfs_metapage.c __metapage_migrate_folio() -> filemap_migrate_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->migrate_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | *dst->_mm_id | 0-4294967295 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | src->private | 1-u64max |
| PARAM_VALUE | 2 | *src->_mm_id | 0-4294967295 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | src | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | dst->index |
fs/jfs/jfs_metapage.c metapage_migrate_folio() -> filemap_migrate_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->migrate_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | src->private | 0 |
| PARAM_VALUE | 2 | *src->_mm_id | 0-4294967295 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| CAPPED_DATA | 2 | src | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| DATA_SOURCE | 1 | dst | $1 |
| DATA_SOURCE | 2 | src | $2 |
| DATA_SOURCE | 3 | mode | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/migrate.c move_to_new_folio() -> (struct address_space_operations)->migrate_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops | 4096-ptr_max |
| PARAM_VALUE | 0 | mapping->a_ops->migrate_folio | 4096-ptr_max |
| PARAM_VALUE | 1 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 1 | dst->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 1 | *dst->_mm_id | 0-4294967295 |
| PARAM_VALUE | 2 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 2 | src->mapping->i_mmap_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 2 | *src->_mm_id | 0-4294967295 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| CAPPED_DATA | 2 | src | 1 |
| DATA_SOURCE | 0 | mapping | r folio_mapping |
| DATA_SOURCE | 1 | dst | $0 |
| DATA_SOURCE | 2 | src | $1 |
| DATA_SOURCE | 3 | mode | $2 |
| CONTAINER | 0 | -88-296+0 | $(-1) |
| RX_PATH | |||
| TASK_NOT_RUNNING |