Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

fs/xfs/xfs_log_recover.c xlog_finish_defer_ops() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 1 shutdown_flags 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &fc->uapi_mutex

fs/xfs/xfs_log_recover.c xlog_recover_finish() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_mp 0,4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 log->l_mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
DATA_SOURCE 0 log $0
NOCHECK_CALL

fs/xfs/xfs_log_recover.c xlog_recover_finish() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_mp 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 log->l_mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 log->l_mp->m_log 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_log->l_cilp 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
DATA_SOURCE 0 log $0
NOCHECK_CALL

fs/xfs/xfs_log_cil.c xlog_cil_insert_items() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_cilp 4096-ptr_max
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.dep_map->name 0-255
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.first_waiter->type 0-1
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.wait_lock.owner (-1)
PARAM_VALUE 0 log->l_cilp->xc_ctx_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 log->l_mp 0,4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
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_write_commit_record() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_cilp->xc_push_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 log->l_curr_cycle 0-s32max
PARAM_VALUE 0 log->l_flush_wait.head.prev 4096-ptr_max
PARAM_VALUE 0 log->l_flush_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 0 log->l_flush_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_bdev->bd_queue->io_lockdep_map.name 0-255
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_crypt_context->bc_dun 1-4294967295
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_io_vec->codec->alpha_to 0-u16max
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_io_vec->codec->genpoly 0-u16max
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_io_vec->codec->index_of 0-u16max
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_io_vec->con->private->o_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 log->l_iclog->ic_bio->bi_io_vec->con->private->s_auth.authorizer->session_key.key (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 log->l_iclog->ic_bio.bi_bdev->bd_disk->queue 4096-ptr_max
PARAM_VALUE 0 log->l_iclog->ic_bio.bi_bdev->bd_disk->queue->blkg_list.next->prev 4096-ptr_max
PARAM_VALUE 0 log->l_iclog->ic_log->l_covered_state 0-1,3
PARAM_VALUE 0 log->l_iclog->ic_sema.first_waiter->list.next 5349227543279349760
PARAM_VALUE 0 log->l_iclog->ic_sema.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 0 log->l_iclog->ic_sema.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 0 log->l_iclog->ic_sema.first_waiter->up 0-1
PARAM_VALUE 0 log->l_iclog->ic_sema.lock.owner (-1)
PARAM_VALUE 0 log->l_iclog->ic_sema.lock.owner_cpu u32max
PARAM_VALUE 0 log->l_iclog->ic_state 0-1
PARAM_VALUE 0 log->l_icloglock.rlock.dep_map->name 0-255
PARAM_VALUE 1 shutdown_flags 2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_log.c xlog_ioend_work() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_mp 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_errortag 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
NOCHECK_CALL
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_log.c xlog_write() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_mp 0,4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
DATA_SOURCE 0 log $0
RX_PATH
NOCHECK_CALL

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

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_iclog->ic_sema.first_waiter->up 0-1
PARAM_VALUE 0 log->l_icloglock.rlock.dep_map->name 0-255
PARAM_VALUE 0 log->l_mp 4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_errortag 4096-ptr_max
PARAM_VALUE 0 log->l_targ 4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2
CAPPED_DATA 0 log->l_iclog_bufs 1
CAPPED_DATA 0 log->l_targ 1
DATA_SOURCE 0 log $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &iclog->ic_sema
HALF_LOCKED2 &log->l_icloglock
TYPE_LOCK (struct xlog_in_core)->ic_sema

fs/xfs/xfs_fsops.c xfs_do_force_shutdown() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 1 shutdown_flags 1,4,6,8,16,32
DATA_SOURCE 1 shutdown_flags $1
HARD_MAX 1 shutdown_flags 32
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_trans_ail.c xfs_trans_ail_delete() -> xlog_force_shutdown()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 0 log->l_mp 0,4096-ptr_max
PARAM_VALUE 0 log->l_mp->m_super 0,4096-ptr_max
PARAM_VALUE 1 shutdown_flags 2,8
DATA_SOURCE 1 shutdown_flags $1
BIT_INFO 1 shutdown_flags 0x0,0xb
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL