Defined in 1 files as a function:
Referenced in 11 files:
- arch/mips/mm/cache.c, line 109
- arch/nios2/mm/cacheflush.c, line 189
- arch/parisc/kernel/cache.c, line 483
- arch/sh/mm/cache-sh4.c, line 116
- arch/sh/mm/cache-sh7705.c, line 140
- arch/sparc/mm/init_64.c, line 472
- arch/xtensa/mm/cache.c, line 136
- fs/ceph/inode.c, line 848
- fs/hugetlbfs/inode.c
- fs/nfs/file.c, line 895
- mm/memory.c
Smatch caller information:
fs/nfs/file.c do_setlk() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes |
fs/ceph/inode.c ceph_fill_file_size() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &ci->i_ceph_lock | ||
| HALF_LOCKED2 | &mdsc->snap_rwsem |
mm/memory.c unmap_mapping_folio() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mapping->writeback_index | 0-524287[c] |
| LOCK2 | 0 | &mapping->i_mmap_rwsem | |
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem |
mm/memory.c unmap_mapping_pages() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| LOCK2 | 0 | &mapping->i_mmap_rwsem | |
| HALF_LOCKED2 | &vnode->validate_lock | ||
| HALF_LOCKED2 | 0 | &mapping->host->i_rwsem | |
| HALF_LOCKED2 | 0 | &mapping->invalidate_lock | |
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem |
fs/hugetlbfs/inode.c hugetlb_vmtruncate() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &mapping->i_mmap_rwsem | |
| HALF_LOCKED2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem |
fs/hugetlbfs/inode.c hugetlbfs_punch_hole() -> mapping_mapped()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| LOCK2 | 0 | &mapping->i_mmap_rwsem | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct address_space)->i_mmap_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |