Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/scrub/dir_repair.c, line 1866
- fs/xfs/scrub/dirtree_repair.c, line 683
- fs/xfs/scrub/nlinks_repair.c, line 120
- fs/xfs/scrub/parent_repair.c, line 817
Smatch caller information:
fs/xfs/scrub/nlinks_repair.c xrep_nlinks_repair_inode() -> xrep_adoption_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->orphanage | 1-u64max |
| PARAM_VALUE | 0 | sc->orphanage_ilock_flags | 0,2-u32max |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 1 | adopt | 4096-ptr_max |
| CAPPED_DATA | 0 | sc->ip | 1 |
| PARAM_COMPARE | 0 | sc->ip | != $0->ip->i_mount->m_rootip |
| PARAM_COMPARE | 0 | sc->ip | != $0->orphanage |
fs/xfs/scrub/dirtree_repair.c xrep_dirtree_adopt() -> xrep_adoption_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip | 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->orphanage | 1-u64max |
| PARAM_VALUE | 0 | sc->orphanage->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | sc->orphanage->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | sc->tp | 0 |
| PARAM_VALUE | 1 | adopt | 4096-ptr_max |
fs/xfs/scrub/dir_repair.c xrep_dir_move_to_orphanage() -> xrep_adoption_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip | 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->ip->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->orphanage | 1-u64max |
| PARAM_VALUE | 0 | sc->relax.resched_nr | 0-99 |
| PARAM_VALUE | 0 | sc->temp_ilock_flags | 0,2-u32max |
| PARAM_VALUE | 0 | sc->tempip | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->tp | 0 |
| PARAM_VALUE | 1 | adopt | 4096-ptr_max |
fs/xfs/scrub/parent_repair.c xrep_parent_move_to_orphanage() -> xrep_adoption_trans_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->ip | 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->tp | 0 |
| PARAM_VALUE | 1 | adopt | 4096-ptr_max |