Defined in 1 files as a function:

Referenced in 12 files:

Smatch caller information:

fs/xfs/xfs_log_recover.c xlog_do_io() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
BUF_SIZE 0 log->l_mp (-1),1-s32max
DATA_SOURCE 0 log $0
STR_LEN 0 log->l_mp->m_super (-1),8
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 log->l_targ->bt_hash.key_len 0-64[c]
USER_DATA 0 log->l_targ->bt_hash.p.key_len 1-64[c]
USER_DATA 0 log->l_targ->bt_hash.p.nelem_hint 0-u16max
NO_OVERFLOW_SIMPLE 0 log->l_iclog_size

fs/xfs/xfs_log_recover.c xlog_do_recover() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
BUF_SIZE 0 log 1216
DATA_SOURCE 0 log $0
STR_LEN 0 log->l_mp->m_super (-1)
POWER_OF_TWO 0 *log
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/xfs_log_recover.c xlog_do_recover() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
BUF_SIZE 0 log 1216
DATA_SOURCE 0 log $0
STR_LEN 0 log->l_mp->m_super (-1)
POWER_OF_TWO 0 *log
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bp->b_sema
HALF_LOCKED2 &fc->uapi_mutex
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_log_cil.c xlog_cil_ail_insert() -> xlog_is_shutdown()

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

fs/xfs/xfs_log_cil.c xlog_cil_commit() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cil->xc_ctx_lock
HALF_LOCKED2 &mp->m_growlock
TYPE_LOCK (struct xfs_cil)->xc_ctx_lock

fs/xfs/xfs_log_cil.c xlog_cil_committed() -> xlog_is_shutdown()

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

fs/xfs/xfs_log_cil.c xlog_cil_force_seq() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 log->l_iclog_size
LOCK2 &cil->xc_push_lock
TYPE_LOCK (struct xfs_cil)->xc_push_lock

fs/xfs/xfs_log_cil.c xlog_cil_order_write() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
LOCK2 &cil->xc_push_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xfs_cil)->xc_push_lock

fs/xfs/xfs_log_cil.c xlog_cil_push_work() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_log_cil.c xlog_cil_write_commit_record() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_log.c xfs_log_cover() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
RX_PATH
HALF_LOCKED2 &sb->s_umount

fs/xfs/xfs_log.c xfs_log_force() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
CAPPED_DATA 0 log->l_cilp->xc_current_sequence 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &log->l_icloglock
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &eb->eb_lock
HALF_LOCKED2 &qi->qi_tree_lock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xfs_log_mount_finish() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max

fs/xfs/xfs_log.c xfs_log_regrant() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dq->q_qlock
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_log.c xfs_log_reserve() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_log.c xfs_log_space_wake() -> xlog_is_shutdown()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_log.c xfs_log_unmount_write() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
RX_PATH

fs/xfs/xfs_log.c xfs_log_writable() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
RX_PATH
NO_OVERFLOW_SIMPLE 0 log->l_iclog_size

fs/xfs/xfs_log.c xlog_force_lsn() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &log->l_icloglock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_grant_head_wait() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &head->lock
TYPE_LOCK (struct xlog_grant_head)->lock

fs/xfs/xfs_log.c xlog_grant_head_wait() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &head->lock
TYPE_LOCK (struct xlog_grant_head)->lock

fs/xfs/xfs_log.c xlog_lsn_sub() -> xlog_is_shutdown()

Type Parameter Key Value
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_log.c xlog_state_do_callback() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
CAPPED_DATA 0 log->l_iclog 1
DATA_SOURCE 0 log $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &log->l_icloglock
HALF_LOCKED2 &iclog->ic_sema
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_state_done_syncing() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &log->l_icloglock
HALF_LOCKED2 &iclog->ic_sema
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_state_get_iclog_space() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
RX_PATH
LOCK2 0 &log->l_icloglock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_state_release_iclog() -> xlog_is_shutdown()

Type Parameter Key Value
DATA_SOURCE 0 log $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &log->l_icloglock
HALF_LOCKED2 0 &log->l_icloglock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_wait_on_iclog() -> xlog_is_shutdown()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &log->l_icloglock
TYPE_LOCK (struct xlog)->l_icloglock

fs/xfs/xfs_log.c xlog_wait_on_iclog() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &log->l_icloglock

fs/xfs/xfs_log.c xlog_write_iclog() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
CAPPED_DATA 0 log->l_iclog_bufs 1
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &iclog->ic_sema
HALF_LOCKED2 &log->l_icloglock
TYPE_LOCK (struct xlog_in_core)->ic_sema

fs/xfs/xfs_fsops.c xlog_shutdown_wait() -> xlog_is_shutdown()

Type Parameter Key Value
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &mp->m_sb_bp->b_sema
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &dax_srcu

fs/xfs/xfs_fsops.c xlog_shutdown_wait() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ailp->ail_lock
HALF_LOCKED2 &bp->b_sema
HALF_LOCKED2 &dqp->q_qlock
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &mp->m_sb_bp->b_sema
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &sb->s_umount
HALF_LOCKED2 global &dax_srcu

fs/xfs/xfs_qm.c xfs_qm_dqpurge() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
LOCK2 &dqp->q_qlock
LOCK2 &qi->qi_tree_lock
HALF_LOCKED2 &dqp->q_logitem.qli_item.li_buf->b_sema
TYPE_LOCK (struct xfs_dquot)->q_qlock
TYPE_LOCK (struct xfs_quotainfo)->qi_tree_lock

fs/xfs/xfs_trans.c __xfs_trans_commit() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_trans.c __xfs_trans_commit() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dq->q_qlock
HALF_LOCKED2 &mp->m_growlock

fs/xfs/xfs_trans.c xfs_trans_cancel() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &mp->m_growlock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &rr->lock
HALF_LOCKED2 global &dax_srcu

fs/xfs/xfs_trans_ail.c __xfs_ail_assign_tail_lsn() -> xlog_is_shutdown()

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

fs/xfs/xfs_trans_ail.c xfs_trans_ail_delete() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/xfs/xfs_trans_ail.c xfsaild() -> xlog_is_shutdown()

Type Parameter Key Value

fs/xfs/xfs_trans_ail.c xlog_lsn_sub() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 0 log $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock

fs/xfs/xfs_inode.c xfs_iflush_cluster() -> xlog_is_shutdown()

Type Parameter Key Value
LOCK2 &ailp->ail_lock
LOCK2 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_inode.c xfs_ifree_mark_inode_stale() -> xlog_is_shutdown()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
LOCK2 &ip->i_flags_lock
LOCK2 &pool->lock
LOCK2 rcu_read
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_buf_item.c xfs_buf_item_release() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cil->xc_ctx_lock

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

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buf_read_map() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &bp->b_sema
TYPE_LOCK (struct xfs_buf)->b_sema

fs/xfs/xfs_buf.c xfs_buf_submit() -> xlog_is_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 1-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &*bpp->b_sema
HALF_LOCKED2 &bp->b_sema

fs/xfs/xfs_buf.c xfs_buftarg_drain() -> xlog_is_shutdown()

Type Parameter Key Value
RX_PATH

fs/xfs/xfs_inode_item.c xfs_iflush_ail_updates() -> xlog_is_shutdown()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock

fs/xfs/xfs_icache.c xfs_reclaim_inode() -> xlog_is_shutdown()

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