Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 7 files:
- fs/xfs/scrub/bmap.c, line 338
- fs/xfs/scrub/rgsuper.c, line 74
- fs/xfs/scrub/rtbitmap.c, line 73
- fs/xfs/scrub/rtrefcount.c, line 56
- fs/xfs/scrub/rtrmap.c, line 61
- fs/xfs/scrub/rtrmap_repair.c, line 603
- fs/xfs/scrub/rtsummary.c, line 88
Smatch caller information:
fs/xfs/scrub/bmap.c xchk_bmap_rt_iextent_xref() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 13 |
| BIT_INFO | 0 | sc->sm->sm_flags | 0x0,0xfffffffd |
fs/xfs/scrub/rtrmap.c xchk_setup_rtrmapbt() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 3746040804808499200,5840378514548297728 |
| PARAM_VALUE | 0 | sc->sm->sm_type | 0-32 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 0 | sc->tp->t_highest_agno | u32max |
| PARAM_VALUE | 0 | sc->tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_pflags | 0,262144 |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 13 |
| BUF_SIZE | 0 | sc | 240 |
| DATA_SOURCE | 0 | sc | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/rtbitmap.c xchk_setup_rtbitmap() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_rootip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->mp->m_rootip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 3746040804808499200,5840378514548297728 |
| PARAM_VALUE | 0 | sc->sm->sm_type | 0-32 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->error_remove_folio | 0,373303432983703552,3650281484867371008,6933238642996355072,7934844886813757440 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->free_folio | 0,87018317492477952,1576041750683152384,3223952723663937536,4787850423793061888 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->is_dirty_writeback | 0,7518438349615988736,8867638692533350400 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->is_partially_uptodate | 0,1933474595957665792,7182876493439184896 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->launder_folio | 0,122107076755599360,327075084911996928,858079631894568960,7268098942548045824 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->swap_deactivate | 0,1546359495696728064,3888069641387622400,7359158453655175168,8604917376913055744 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->swap_rw | 0,4986685196838862848,8487923053812363264 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 13 |
| BUF_SIZE | 0 | sc | 240 |
| BUF_SIZE | 0 | sc->buf | 208-4294967500 |
| DATA_SOURCE | 0 | sc | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_bufoffset | 0-s32max[c] |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_fileoffset | 0-1431655765[c] |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_id | 0-4294967295[c] |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/rtsummary.c xchk_setup_rtsummary() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->buf | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_rootip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->mp->m_rootip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 3746040804808499200,5840378514548297728 |
| PARAM_VALUE | 0 | sc->sm->sm_type | 0-32 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->tempip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->error_remove_folio | 0,373303432983703552,3650281484867371008,6933238642996355072,7934844886813757440 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->free_folio | 0,87018317492477952,1576041750683152384,3223952723663937536,4787850423793061888 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->is_dirty_writeback | 0,7518438349615988736,8867638692533350400 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->is_partially_uptodate | 0,1933474595957665792,7182876493439184896 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->launder_folio | 0,122107076755599360,327075084911996928,858079631894568960,7268098942548045824 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->swap_deactivate | 0,1546359495696728064,3888069641387622400,7359158453655175168,8604917376913055744 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_mapping->a_ops->swap_rw | 0,4986685196838862848,8487923053812363264 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->get_acl | 0,434817594022129664,1176132492164517888,2308293591809245184,2352177825799393280,5894181231315005440,7161457072544161792,8358186677320523776 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->get_offset_ctx | 0,2606890545167454208 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->readlink | 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256 |
| PARAM_VALUE | 0 | sc->tempip->i_vnode.i_op->sync_lazytime | 0,6951464784224747520 |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->xfile | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 1 |
| BUF_SIZE | 0 | sc | 240 |
| BUF_SIZE | 0 | sc->buf | 192-17179869372 |
| DATA_SOURCE | 0 | sc | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_bufoffset | 0-s32max[c] |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_fileoffset | 0-1431655765[c] |
| USER_DATA | 0 | sc->tempip->i_pdquot->q_id | 0-4294967295[c] |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/rgsuper.c xchk_rgsuperblock() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sm->sm_agno | 0 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 2,5 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| DATA_SOURCE | 0 | sc | $0 |
| FUZZY_MAX | 2 | rtglock_flags | 5 |
| HARD_MAX | 2 | rtglock_flags | 5 |
| USER_DATA | 0 | sc->sm->sm_agno | 0 |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/rtrmap_repair.c xrep_rtrmap_find_rmaps() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->sm | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sr.refc_cur | 0 |
| PARAM_VALUE | 0 | sc->sr.rmap_cur | 0 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->sr.rtlock_flags | 0 |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 0 | sc->tp->t_highest_agno | u32max |
| PARAM_VALUE | 0 | sc->tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_pflags | 0,262144 |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->refc_cur | 0 |
| PARAM_VALUE | 1 | sr->rmap_cur | 0 |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtlock_flags | 0 |
| PARAM_VALUE | 2 | rtglock_flags | 13 |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.refc_cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.refc_cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.refc_cur->bc_tp->t_rtx_res_used | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.rmap_cur->bc_tp->t_blk_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.rmap_cur->bc_tp->t_rtx_res | |
| NO_OVERFLOW_SIMPLE | 0 | sc->sr.rmap_cur->bc_tp->t_rtx_res_used |
fs/xfs/scrub/rtrefcount.c xchk_setup_rtrefcountbt() -> xchk_rtgroup_lock()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->file->f_path.dentry | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flush_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->flusher_overflow.prev->next | 2906673126597898240 |
| PARAM_VALUE | 0 | sc->mp->m_inodegc_wq->work_color | s32min-s32max |
| PARAM_VALUE | 0 | sc->ops | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ops->repair_eval | 0,2592533893225459712,5830863107202789376 |
| PARAM_VALUE | 0 | sc->sa.agf_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sa.agi_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | sc->sm | 3746040804808499200,5840378514548297728 |
| PARAM_VALUE | 0 | sc->sm->sm_type | 0-32 |
| PARAM_VALUE | 0 | sc->sr.rtg | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_flags | 0,4,16,20,32,36,64,68,80,84 |
| PARAM_VALUE | 0 | sc->tp->t_highest_agno | u32max |
| PARAM_VALUE | 0 | sc->tp->t_mountp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp->t_pflags | 0,262144 |
| PARAM_VALUE | 1 | sr | 4096-ptr_max |
| PARAM_VALUE | 1 | sr->rtg | 4096-ptr_max |
| PARAM_VALUE | 2 | rtglock_flags | 13 |
| BUF_SIZE | 0 | sc | 240 |
| DATA_SOURCE | 0 | sc | $0 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | sc->sm->sm_agno | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_gen | 0-u32max |
| USER_DATA | 0 | sc->sm->sm_ino | 0-u64max |
| USER_DATA | 0 | sc->sm->sm_type | 0-32 |
| USER_PTR | 0 | sc->sm->sm_reserved |