Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

fs/btrfs/inode.c btrfs_inode_lock() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 inode->i_bytes

fs/fuse/dax.c fuse_dax_write_iter() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/ocfs2/alloc.c __ocfs2_flush_truncate_log() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_rwsem.osq.tail.counter 0-s32max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/alloc.c ocfs2_truncate_log_append() -> inode_trylock()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &tl_inode->i_rwsem
HALF_LOCKED2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

fs/ocfs2/file.c ocfs2_file_write_iter() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
PARAM_VALUE 0 inode->i_size s64min-(-1),1-s64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/exfat/file.c exfat_page_mkwrite() -> inode_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/locks.c generic_add_lease() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx 1-u64max
PARAM_VALUE 0 inode->i_flctx->flc_flock.next 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx->flc_flock.prev 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx->flc_lease.next 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx->flc_lease.prev 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx->flc_posix.next 4096-ptr_max
PARAM_VALUE 0 inode->i_flctx->flc_posix.prev 4096-ptr_max
PARAM_VALUE 0 inode->i_lock.rlock.dep_map->name 0-255
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_healthmon.c xfs_healthmon_read_iter() -> inode_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/f2fs/file.c f2fs_file_write_iter() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_sb 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/ext4/file.c ext4_dax_write_iter() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/ext4/file.c ext4_dio_write_iter() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
PARAM_VALUE 0 inode->i_size s64min-(-2),0-s64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/ntfs/file.c ntfs_file_write_iter() -> inode_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/zonefs/file.c zonefs_file_buffered_write() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/zonefs/file.c zonefs_file_dio_write() -> inode_trylock()

Type Parameter Key Value
PARAM_VALUE 0 inode 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/ntfs3/file.c ntfs_file_mmap_prepare() -> inode_trylock()

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

fs/ntfs3/file.c ntfs_file_write_iter() -> inode_trylock()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock