Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- fs/xfs/libxfs/xfs_attr.c
- fs/xfs/libxfs/xfs_attr.h
- fs/xfs/libxfs/xfs_exchmaps.c, line 438
- fs/xfs/scrub/listxattr.c, line 316
- fs/xfs/xfs_attr_list.c, line 577
Smatch caller information:
fs/xfs/scrub/listxattr.c xchk_xattr_walk() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| DATA_SOURCE | 0 | ip | $1 |
| HALF_LOCKED2 | &dl->lock |
fs/xfs/libxfs/xfs_exchmaps.c xfs_exchmaps_attr_to_sf() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/xfs/xfs_attr_list.c xfs_attr_list_ilocked() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| TASK_NOT_RUNNING |
fs/xfs/libxfs/xfs_attr.c xfs_attr_get_ilocked() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr.c xfs_attr_init_add_state() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr.c xfs_attr_leaf_addname() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr.c xfs_attr_leaf_shrink() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/libxfs/xfs_attr.c xfs_attr_lookup() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| PARAM_VALUE | 0 | ip->i_itemp | 1-u64max |
| PARAM_VALUE | 0 | ip->i_mount | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/xfs_attr_item.c xfs_attr_init_add_state() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_forkoff | 1-255 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_sema.first_waiter->up | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
fs/xfs/xfs_attr_item.c xfs_attr_init_remove_state() -> xfs_attr_is_leaf()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_af.if_format | (-128)-0,2-127 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ip->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_mount->m_sb_bp->b_sema.first_waiter->up | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |