Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/btrfs/verity.c btrfs_begin_enable_verity() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
NOCHECK_CALL
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/verity.c btrfs_end_enable_verity() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
NOCHECK_CALL
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/verity.c rollback_verity() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648
PARAM_VALUE 0 inode->vfs_inode.i_rwsem.count.counter s64min-(-1),1-s64max
DATA_SOURCE 0 inode $0
NOCHECK_CALL
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/btrfs/ordered-data.c btrfs_get_ordered_extents_for_logging() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_mmap_lock.first_waiter->type 0-1
PARAM_VALUE 0 inode->root 4096-ptr_max
PARAM_VALUE 0 inode->vfs_inode.i_mapping 4096-ptr_max
PARAM_VALUE 0 inode->vfs_inode.i_mapping->host->i_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 inode->vfs_inode.i_rwsem.first_waiter->type 0-1
DATA_SOURCE 0 inode $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 0 &inode->i_mmap_lock
HALF_LOCKED2 0 &inode->vfs_inode.i_rwsem

fs/btrfs/xattr.c btrfs_setxattr() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/tree-log.c btrfs_release_log_ctx_extents() -> btrfs_assert_inode_locked()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &inode->i_mmap_lock
HALF_LOCKED2 &inode->vfs_inode.i_rwsem

fs/btrfs/file.c btrfs_sync_file() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->root 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/btrfs/inode.c btrfs_swap_activate() -> btrfs_assert_inode_locked()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem