Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/xfs/xfs_buf.c _xfs_buf_read() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_alloc_kmem() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_flags 0-268435456
PARAM_VALUE 1 flags 2097152
BUF_SIZE 0 bp->b_addr 0,512-4095
CAPPED_DATA 0 bp->b_map_count 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->b_flags 0x0,0x1fffffeb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 bp->b_target->bt_hash.key_len 0-64[c]
USER_DATA 0 bp->b_target->bt_hash.p.key_len 1-64[c]
USER_DATA 0 bp->b_target->bt_hash.p.nelem_hint 0-u16max
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_buf.c xfs_buf_delwri_queue() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 4194304
BUF_SIZE 0 bp->b_ops (-1),40
CAPPED_DATA 0 bp 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->b_flags 0x0,0xffbfffff
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 &*bpp->b_sema
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &dqp->q_logitem.qli_item.li_buf->b_sema
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &qi->qi_tree_lock
HALF_LOCKED2 0 &bp->b_sema

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

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 16
CAPPED_DATA 0 &bp->b_list 1
NOCHECK_CALL
LOCK2 0 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_delwri_submit_prep() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 2
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_fail() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 16
CAPPED_DATA 0 bp 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &bp->b_sema
HALF_LOCKED2 &ailp->ail_lock
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_ioend() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 32
BUF_SIZE 0 bp->b_ops (-1)-0,40
CAPPED_DATA 0 bp 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_formats
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_item.li_lv_shadow
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_ioend() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_flags 0,2-u32max
PARAM_VALUE 1 flags 32
BUF_SIZE 0 bp->b_ops (-1)-0,40
CAPPED_DATA 0 bp 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_formats
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_item.li_lv_shadow
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_ioend_handle_error() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 160
BUF_SIZE 0 bp->b_ops (-1)-0,40
CAPPED_DATA 0 bp->b_last_error 1
DATA_SOURCE 0 bp $0
BIT_INFO 0 bp->b_flags 0x10,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_formats
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_item.li_lv_shadow
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_ioend_handle_error() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 32
BUF_SIZE 0 bp->b_ops (-1)-0,40
CAPPED_DATA 0 bp->b_error 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_formats
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_item.li_lv_shadow
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_read_uncached() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 0 bp->b_flags 0-270532608
PARAM_VALUE 1 flags 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
LOCK2 &*bpp->b_sema
HALF_LOCKED2 &mp->m_growlock

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

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 21
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
LOCK2 0 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_set_uptodate() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 1-u64max
PARAM_VALUE 1 flags 32
BUF_SIZE 0 bp->b_ops (-1),40
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
NO_OVERFLOW_SIMPLE 0 bp->b_transp->t_blk_res
NO_OVERFLOW_SIMPLE 0 bp->b_transp->t_rtx_res
NO_OVERFLOW_SIMPLE 0 bp->b_transp->t_rtx_res_used
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_stale() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 64
BUF_SIZE 0 bp->b_ops (-1)-0,40
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_item.li_lv_shadow
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 &*bpp->b_sema
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &bp->b_sema

fs/xfs/xfs_buf.c xfs_bwrite() -> xfs_buf_set_flags()

Type Parameter Key Value
PARAM_VALUE 0 bp 4096-ptr_max
PARAM_VALUE 1 flags 2
BUF_SIZE 0 bp->b_ops (-1),40
CAPPED_DATA 0 bp 1
DATA_SOURCE 0 bp $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 bp->b_log_item->bli_format_count
NO_OVERFLOW_SIMPLE 0 bp->b_map_count
HALF_LOCKED2 &*bpp->b_sema
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &dqp->q_logitem.qli_item.li_buf->b_sema
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &qi->qi_tree_lock
HALF_LOCKED2 0 &bp->b_sema