Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/xfs/scrub/attr_repair.c xrep_xattr_recover_leaf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 32,80 |
| BUF_SIZE | 1 | map | 1-536870912 |
| DATA_SOURCE | 3 | len | r xfs_attr3_leaf_hdr_size |
| MEM_ZERO | 1 | map | |
| NOCHECK_CALL |
fs/xfs/scrub/attr_repair.c xrep_xattr_recover_leaf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| CAPPED_DATA | 2 | start | 1 |
| BIT_INFO | 2 | start | 0x0,0x7fffffffffffffff |
| MEM_ZERO | 1 | map | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_recover_sf() -> xchk_xattr_set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 1 | map | 1-536870912 |
| MEM_ZERO | 1 | map | |
| NOCHECK_CALL | |||
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_recover_sf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| MEM_ZERO | 1 | map | |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_salvage_local_attr() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| PARAM_VALUE | 2 | start | 0-u16max |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->ip | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | len | r xfs_attr_leaf_entsize_local |
| BIT_INFO | 3 | len | 0x0,0x7fffffff |
| UNITS | 2 | start | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_salvage_remote_attr() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| PARAM_VALUE | 2 | start | 0-u16max |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->ip | 1 |
| CAPPED_DATA | 2 | start | 1 |
| DATA_SOURCE | 2 | start | $2 |
| DATA_SOURCE | 3 | len | r xfs_attr_leaf_entsize_remote |
| BIT_INFO | 3 | len | 0x0,0x7fffffff |
| UNITS | 2 | start | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_salvage_sf_attr() -> xchk_xattr_set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp | 4096-ptr_max |
| BUF_SIZE | 1 | map | 1-536870912 |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr_repair.c xrep_xattr_salvage_sf_attr() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr.c xchk_xattr_block() -> xchk_xattr_set_map()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sc | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 32,80 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 3 | len | 1 |
| DATA_SOURCE | 3 | len | r xfs_attr3_leaf_hdr_size |
| MEM_ZERO | 1 | map | |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr.c xchk_xattr_block() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 8 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| CAPPED_DATA | 2 | start | 1 |
| BIT_INFO | 0 | sc->sm->sm_flags | 0x0,0xfffffffd |
| BIT_INFO | 2 | start | 0x0,0x7fffffffffffffff |
| MEM_ZERO | 1 | map | |
| UNITS | 3 | len | unit_byte |
fs/xfs/scrub/attr.c xchk_xattr_block() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0-u16max |
| PARAM_VALUE | 3 | len | 0-u16max |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| BIT_INFO | 0 | sc->sm->sm_flags | 0x0,0xfffffffd |
| MEM_ZERO | 1 | map |
fs/xfs/scrub/attr.c xchk_xattr_check_sf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 2 | start | 0 |
| PARAM_VALUE | 3 | len | 4 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 1 | map | 1-536870912 |
| DATA_SOURCE | 0 | sc | $0 |
| MEM_ZERO | 1 | map | |
| NOCHECK_CALL | |||
| 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 |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/attr.c xchk_xattr_check_sf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 3 | len | 3 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 1 | map | 1-536870912 |
| DATA_SOURCE | 0 | sc | $0 |
| MEM_ZERO | 1 | map | |
| 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 |
| UNITS | 2 | start | unit_byte |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/attr.c xchk_xattr_check_sf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| MEM_ZERO | 1 | map | |
| 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 |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/attr.c xchk_xattr_check_sf() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 0 | sc | (-1),240 |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| DATA_SOURCE | 0 | sc | $0 |
| MEM_ZERO | 1 | map | |
| 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 |
| UNITS | 3 | len | unit_byte |
| USER_PTR | 0 | sc->sm->sm_reserved |
fs/xfs/scrub/attr.c xchk_xattr_entry() -> xchk_xattr_set_map()
| 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_attr_geo | 4096-ptr_max |
| PARAM_VALUE | 0 | sc->mp->m_attr_geo->blksize | 1-u32max |
| PARAM_VALUE | 2 | start | 0-u16max |
| BUF_SIZE | 1 | map | 1-536870912 |
| CAPPED_DATA | 0 | sc->mp->m_attr_geo->blksize | 1 |
| CAPPED_DATA | 2 | start | 1 |
| BIT_INFO | 3 | len | 0x0,0x7fffffff |
| UNITS | 2 | start | unit_byte |