Defined in 1 files as a function:
Referenced in 12 files:
- fs/afs/write.c
- fs/ext4/inode.c
- fs/f2fs/data.c, line 4160
- fs/fs-writeback.c
- fs/nfs/write.c, line 1946
- fs/nfsd/filecache.c
- fs/ntfs3/inode.c, line 774
- fs/xfs/xfs_icache.c, line 1246
- fs/xfs/xfs_reflink.h
- include/linux/pagemap.h
- mm/filemap.c, line 383
- mm/page-writeback.c
Smatch caller information:
fs/xfs/xfs_reflink.c xfs_can_free_cowblocks() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_reflink.c xfs_can_free_cowblocks() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/page-writeback.c __folio_end_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r folio_mapping |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mapping->writeback_index | 0-524287[c] |
| LOCK2 | &(&mapping->i_pages)->xa_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &folio->private->lock |
mm/page-writeback.c __folio_start_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| DATA_SOURCE | 0 | mapping | r folio_mapping |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mapping->writeback_index | 0-524287[c] |
| LOCK2 | &((&xas)->xa)->xa_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | &bfs->lock | ||
| HALF_LOCKED2 | &sbi->node_write.internal_rwsem | ||
| HALF_LOCKED2 | flags |
fs/nfsd/filecache.c nfsd_file_check_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/nfsd/filecache.c nfsd_file_check_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/btrfs/inode.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/btrfs/inode.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->vfs_inode.i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inode.c ext4_bmap() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inode.c ext4_do_writepages() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/inode.c ext4_evict_inode() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/afs/write.c afs_prune_wb_keys() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vnode->wb_lock | ||
| TYPE_LOCK | (struct afs_vnode)->wb_lock |
fs/afs/write.c afs_prune_wb_keys() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &vnode->wb_lock | ||
| TYPE_LOCK | (struct afs_vnode)->wb_lock |
fs/f2fs/data.c f2fs_bmap() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/xfs_iomap.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/xfs_iomap.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem |
fs/fs-writeback.c __writeback_single_inode() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_lock |
fs/fs-writeback.c inode_do_switch_wbs() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &(&mapping->i_pages)->xa_lock | ||
| LOCK2 | &bdi->wb_switch_rwsem | ||
| LOCK2 | &inode->i_lock | ||
| LOCK2 | &new_wb->list_lock | ||
| LOCK2 | &old_wb->list_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct backing_dev_info)->wb_switch_rwsem | ||
| TYPE_LOCK | (struct bdi_writeback)->list_lock | ||
| TYPE_LOCK | (struct inode)->i_lock |
fs/fs-writeback.c requeue_inode() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| PREEMPT_ADD | |||
| LOCK2 | &inode->i_lock | ||
| LOCK2 | &pool->lock | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct inode)->i_lock |
fs/fs-writeback.c wait_sb_inodes() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &sb->s_inode_wblist_lock | ||
| LOCK2 | &sb->s_sync_lock | ||
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct super_block)->s_inode_wblist_lock | ||
| TYPE_LOCK | (struct super_block)->s_sync_lock |
fs/fs-writeback.c writeback_single_inode() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 1 |
| BUF_SIZE | 0 | mapping->a_ops | (-1),152 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| LOCK2 | &inode->i_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_lock |
mm/filemap.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/filemap.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/filemap.c filemap_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping | (-1),552 |
| BUF_SIZE | 0 | mapping->a_ops | (-1),152 |
| DATA_SOURCE | 0 | mapping | $0 |
| NOSPEC | 0 | mapping->writeback_index | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | mapping->writeback_index | 0-524287[c] |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &fs_info->delalloc_root_mutex | ||
| HALF_LOCKED2 | &root->delalloc_mutex | ||
| HALF_LOCKED2 | 0 | &mapping->invalidate_lock |
fs/btrfs/direct-io.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
fs/btrfs/direct-io.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
fs/ntfs3/inode.c ntfs_bmap() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/iomap/buffered-io.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 0 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &vi->i_rwsem |
fs/iomap/buffered-io.c filemap_range_needs_writeback() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| DATA_SOURCE | 0 | mapping | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ni->mrec_lock | ||
| HALF_LOCKED2 | &vi->i_rwsem |
fs/nfs/write.c nfs_write_inode() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 1 |
| BUF_SIZE | 0 | mapping->a_ops | (-1),152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_bytes | |
| NO_OVERFLOW_SIMPLE | 0 | mapping->host->i_size | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/xfs/xfs_icache.c xfs_can_free_cowblocks() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_icache.c xfs_can_free_cowblocks() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | tag | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
fs/xfs/xfs_icache.c xfs_inode_free_eofblocks() -> mapping_tagged()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | tag | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |