Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 9 files:

Smatch caller information:

fs/xfs/libxfs/xfs_sb.c xfs_sb_read_secondary() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 0
NOCHECK_CALL

fs/xfs/libxfs/xfs_bmap.c xfs_bmap_read_buf() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/libxfs/xfs_btree.c xfs_btree_set_refs() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 lru_ref 1-3
DATA_SOURCE 0 bp $1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_map_count

fs/xfs/libxfs/xfs_da_btree.c xfs_da3_node_read_mapped() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 1
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/xfs/libxfs/xfs_da_btree.c xfs_da3_node_read_mapped() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/xfs/libxfs/xfs_da_btree.c xfs_da_read_buf() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 0-4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 lru_ref 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_da_btree.c xfs_da_read_buf() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 0-4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 lru_ref 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &bp->b_sema

fs/xfs/libxfs/xfs_alloc.c xfs_alloc_read_agfl() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/libxfs/xfs_alloc.c xfs_read_agf() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 global &dax_srcu

fs/xfs/scrub/quota_repair.c xrep_quota_item_fill_bmap_hole() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_error 0
PARAM_VALUE 0 bp->b_flags 0,32-4294967295
PARAM_VALUE 0 bp->b_map_count 0-s32max
PARAM_VALUE 0 bp->b_ops 5083309936992202752
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 1
BUF_SIZE 0 bp->b_ops 40
NOCHECK_CALL
LOCK2 &dq->q_qlock
TYPE_LOCK (struct xfs_dquot)->q_qlock

fs/xfs/libxfs/xfs_ialloc.c xfs_read_agi() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu u32max
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 4
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/xfs_dquot.c xfs_dquot_disk_alloc() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_addr->dd_crc 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_btimer 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_bwarns 0-u16max
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_id 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_itimer 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_iwarns 0-u16max
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_magic 0-u16max
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_pad 0-u16max
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_pad0 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_rtbtimer 0-4294967295
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_rtbwarns 0-u16max
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_type 0-255
PARAM_VALUE 0 bp->b_addr->dd_diskdq.d_version 0-255
PARAM_VALUE 0 bp->b_error 0
PARAM_VALUE 0 bp->b_flags 0,32-4294967295
PARAM_VALUE 0 bp->b_iodone 8399946854380957696
PARAM_VALUE 0 bp->b_log_item->bli_flags 0,2-u32max
PARAM_VALUE 0 bp->b_map_count 0-s32max
PARAM_VALUE 0 bp->b_ops 5083309936992202752
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 0 *bp->b_addr 0
PARAM_VALUE 1 lru_ref 1
BUF_SIZE 0 bp->b_ops 40
CAPPED_DATA 0 bp->b_log_item->bli_format_count 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/xfs_dquot.c xfs_dquot_disk_read() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_sema.lock.owner (-1)
PARAM_VALUE 0 bp->b_sema.lock.owner_cpu 4294967295
PARAM_VALUE 0 bp->b_sema.lock.raw_lock.val.counter 0-s32max
PARAM_VALUE 1 lru_ref 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &bp->b_sema

fs/xfs/xfs_icache.c xfs_iget_cache_miss() -> xfs_buf_set_ref()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 lru_ref 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_map_count