Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/xfs/xfs_trans_ail.c xfsaild_resubmit_item() -> xfs_buf_trylock()

Type Parameter Key Value
PREEMPT_ADD
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock

fs/xfs/xfs_buf_item.c xfs_buf_item_push() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_pin_count.counter 0
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock

fs/xfs/xfs_buf.c xfs_buf_delwri_submit_nowait() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_ops->name 4096-ptr_max
PARAM_VALUE 0 bp->b_ops->verify_read 4096-ptr_max
PARAM_VALUE 0 bp->b_ops->verify_struct 0,4096-ptr_max
PARAM_VALUE 0 bp->b_ops->verify_write 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.first_waiter->up 0-1
CAPPED_DATA 0 &bp->b_list 1
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_find_lock() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 0,4096-ptr_max
PARAM_VALUE 0 bp->b_lockref.count 1-s32max
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_buf.c xfs_buf_readahead_map() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_lockref.count 1-s32max
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 bp->b_map_count

fs/xfs/xfs_dquot.c xfs_dquot_use_attached_buf() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 1-u64max
RX_PATH
LOCK2 &dqp->q_qlock
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &qi->qi_tree_lock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/xfs_inode_item.c xfs_inode_item_push() -> xfs_buf_trylock()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_pin_count.counter 0
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock