Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/xfs_log_cil.c xlog_cil_write_chain() -> xlog_write()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 1 ctx 4096-ptr_max
PARAM_VALUE 1 ctx->busy_extents.extent_list.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->handoff_set 1
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->type 0-1
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.owner (-1)
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 ctx->cil->xc_log 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_push_commit_stable 0
PARAM_VALUE 1 ctx->cil->xc_push_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ctx->committing.next 4096-ptr_max
PARAM_VALUE 1 ctx->committing.prev 4096-ptr_max
PARAM_VALUE 1 ctx->log_items.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.next 6165952390718570496
PARAM_VALUE 1 ctx->lv_chain.next->prev 6165952390718570496
PARAM_VALUE 1 ctx->lv_chain.prev 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ctx->ticket 4096-ptr_max
PARAM_VALUE 2 lv_chain 4096-ptr_max
PARAM_VALUE 2 lv_chain->next 6165952390718570496
PARAM_VALUE 2 lv_chain->prev 4096-ptr_max
PARAM_VALUE 3 ticket 4096-ptr_max
CAPPED_DATA 1 ctx->lv_chain.prev 1
CAPPED_DATA 1 ctx->sequence 1
DATA_SOURCE 1 ctx $0
DATA_SOURCE 4 len $1
HALF_LOCKED2 &pool->lock

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

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PARAM_VALUE 1 ctx 0,4096-ptr_max
PARAM_VALUE 1 ctx->busy_extents.extent_list.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_commit_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_commit_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_commit_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_committing.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->handoff_set 1
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->list.next 2624917664208203776
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->list.prev 2624917664208203776
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.first_waiter->type 0-1
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.owner (-1)
PARAM_VALUE 1 ctx->cil->xc_ctx_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 ctx->cil->xc_log 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_log->l_cilp->xc_push_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_curr_cycle 0-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio->bi_bdev->bd_queue->io_lockdep_map.name 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio->bi_crypt_context->bc_dun 1-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio->bi_io_vec->codec->alpha_to 0-u16max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio->bi_io_vec->codec->genpoly 0-u16max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio->bi_io_vec->codec->index_of 0-u16max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_bdev->bd_disk->queue 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_bdev->bd_disk->queue->blkg_list.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_io_vec->_refcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_io_vec->codec->users s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_io_vec->header_page->_refcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_io_vec->header_page->page_type 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_io_vec->page_type 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_iter.bi_bvec_done 0-4294967294
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_count.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->_entire_mapcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->_large_mapcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->_mapcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->mapping->wb_err 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->page._refcount.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->page.page_type 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->private->codec->users s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->private->hdr.front_len 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_folio->private->wb_kref s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_mmb->mapping->wb_err 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->b_private->pending_writes.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->completion.callback 6452105974677680128
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->completion.callback_thread_id 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->completion.parent->thread_id 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->completion.priority 0-2
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->completion.result s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->context->thread_id 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->sd_log_in_flight.counter s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->sd_withdraw_work.flags 0-4294967295
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->sd_withdraw_work.is_queued 0-1
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->vio.completion.callback_thread_id 0-255
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->vio.completion.priority 0-2
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_bio.bi_private->vio.completion.result s32min-s32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_log->l_covered_state 0-1,3
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.first_waiter->list.next 5349227543279349760
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.first_waiter->list.prev 5349227543279349760
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.first_waiter->list.prev->next 5349227543279349760
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.first_waiter->up 0-1
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.lock.owner (-1)
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_sema.lock.owner_cpu u32max
PARAM_VALUE 1 ctx->cil->xc_log->l_iclog->ic_state 0-5
PARAM_VALUE 1 ctx->cil->xc_log->l_icloglock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_push_commit_stable 0
PARAM_VALUE 1 ctx->cil->xc_push_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 ctx->cil->xc_push_wait.head.next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->cil->xc_start_wait.head.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ctx->commit_iclog 4096-ptr_max
PARAM_VALUE 1 ctx->commit_iclog->ic_callbacks.prev 4096-ptr_max
PARAM_VALUE 1 ctx->commit_iclog->ic_state 0-1
PARAM_VALUE 1 ctx->committing.next 4096-ptr_max
PARAM_VALUE 1 ctx->committing.prev 4096-ptr_max
PARAM_VALUE 1 ctx->iclog_entry.next 4096-ptr_max
PARAM_VALUE 1 ctx->log_items.next->prev 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.next 6165952390718570496
PARAM_VALUE 1 ctx->lv_chain.next->prev 6165952390718570496
PARAM_VALUE 1 ctx->lv_chain.prev 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.prev->next 4096-ptr_max
PARAM_VALUE 1 ctx->lv_chain.prev->next->next 4096-ptr_max
PARAM_VALUE 1 ctx->ticket 4096-ptr_max
PARAM_VALUE 2 lv_chain 1989349989547880448
PARAM_VALUE 2 lv_chain->next 555271379130642432,1989349989547880448
PARAM_VALUE 2 lv_chain->prev 1989349989547880448
PARAM_VALUE 3 ticket 4096-ptr_max
PARAM_VALUE 4 len 12,20
DATA_SOURCE 0 log $0
DATA_SOURCE 1 ctx $1
DATA_SOURCE 3 ticket $3
RX_PATH
NO_OVERFLOW_SIMPLE 0 log->l_iclog_size
UNITS 4 len unit_byte