Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/libxfs/xfs_parent.c
- fs/xfs/scrub/attr_repair.c, line 676
- fs/xfs/scrub/parent_repair.c, line 1033
- fs/xfs/xfs_xattr.c, line 128
Smatch caller information:
fs/xfs/scrub/attr_repair.c xrep_xattr_insert_rec() -> xfs_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 2617648626453458944 |
| PARAM_VALUE | 0 | args->blkno | 0 |
| PARAM_VALUE | 0 | args->blkno2 | 0 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->filetype | 0 |
| PARAM_VALUE | 0 | args->index | 0 |
| PARAM_VALUE | 0 | args->index2 | 0 |
| PARAM_VALUE | 0 | args->inumber | 0 |
| PARAM_VALUE | 0 | args->name | 4096-ptr_max |
| PARAM_VALUE | 0 | args->new_name | 0 |
| PARAM_VALUE | 0 | args->new_namelen | 0 |
| PARAM_VALUE | 0 | args->new_value | 0 |
| PARAM_VALUE | 0 | args->new_valuelen | 0 |
| PARAM_VALUE | 0 | args->op_flags | 8,72 |
| PARAM_VALUE | 0 | args->rmtblkcnt | 0 |
| PARAM_VALUE | 0 | args->rmtblkno | 0 |
| PARAM_VALUE | 0 | args->rmtvaluelen | 0 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->trans | 0 |
| PARAM_VALUE | 0 | args->whichfork | 1 |
| PARAM_VALUE | 1 | op | 2 |
| PARAM_VALUE | 2 | rsvd | 0 |
fs/xfs/xfs_xattr.c xfs_attr_change() -> xfs_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 723211545615044608,1626525534258675712,7424337454025605120,7487811804324171776 |
| PARAM_VALUE | 0 | args->blkno | 0 |
| PARAM_VALUE | 0 | args->blkno2 | 0 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_lock.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | args->dp->i_lock.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_sb_bp->b_ops->name | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_sb_bp->b_ops->verify_read | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_sb_bp->b_ops->verify_write | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount->m_sb_bp->b_sema.first_waiter->up | 0-1 |
| PARAM_VALUE | 0 | args->filetype | 0 |
| PARAM_VALUE | 0 | args->index | 0 |
| PARAM_VALUE | 0 | args->index2 | 0 |
| PARAM_VALUE | 0 | args->inumber | 0 |
| PARAM_VALUE | 0 | args->name | 1-u64max |
| PARAM_VALUE | 0 | args->new_name | 0 |
| PARAM_VALUE | 0 | args->new_namelen | 0 |
| PARAM_VALUE | 0 | args->new_value | 0 |
| PARAM_VALUE | 0 | args->new_valuelen | 0 |
| PARAM_VALUE | 0 | args->op_flags | 8,72 |
| PARAM_VALUE | 0 | args->rmtblkcnt | 0 |
| PARAM_VALUE | 0 | args->rmtblkno | 0 |
| PARAM_VALUE | 0 | args->rmtvaluelen | 0 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->trans | 0 |
| PARAM_VALUE | 0 | args->whichfork | 1 |
| PARAM_VALUE | 1 | op | 0-3 |
| DATA_SOURCE | 0 | args | $0 |
| DATA_SOURCE | 1 | op | $1 |
| FUZZY_MAX | 0 | args->op_flags | 8 |
| BIT_INFO | 0 | args->op_flags | 0x8,0xffffffffffffffff |
| BIT_INFO | 2 | rsvd | 0x0,0x6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | args->hashval | 0-u32max[c] |
| USER_DATA | 0 | args->valuelen | 0-65536 |
| USER_PTR | 0 | args->name | |
| USER_PTR | 0 | args->value |
fs/xfs/libxfs/xfs_parent.c xfs_parent_set() -> xfs_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->attr_filter | 8 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->namelen | 0-255 |
| PARAM_VALUE | 0 | args->op_flags | 72 |
| PARAM_VALUE | 0 | args->trans | 0 |
| PARAM_VALUE | 0 | args->value | 2264652115994169352,6077995541550436360 |
| PARAM_VALUE | 0 | args->valuelen | 12 |
| PARAM_VALUE | 0 | args->whichfork | 1 |
| PARAM_VALUE | 1 | op | 2 |
| PARAM_VALUE | 2 | rsvd | 0 |
| DATA_SOURCE | 0 | args | $4 |
| MEM_ZERO | 0 | args | |
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res |
fs/xfs/libxfs/xfs_parent.c xfs_parent_unset() -> xfs_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 4096-ptr_max |
| PARAM_VALUE | 0 | args->attr_filter | 8 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->dp->i_mount | 4096-ptr_max |
| PARAM_VALUE | 0 | args->namelen | 0-255 |
| PARAM_VALUE | 0 | args->op_flags | 72 |
| PARAM_VALUE | 0 | args->trans | 0 |
| PARAM_VALUE | 0 | args->value | 2264652115994169352,6077995541550436360 |
| PARAM_VALUE | 0 | args->valuelen | 12 |
| PARAM_VALUE | 0 | args->whichfork | 1 |
| PARAM_VALUE | 1 | op | 0 |
| PARAM_VALUE | 2 | rsvd | 0 |
| DATA_SOURCE | 0 | args | $4 |
| MEM_ZERO | 0 | args | |
| NO_OVERFLOW_SIMPLE | 0 | args->trans->t_blk_res |
fs/xfs/scrub/parent_repair.c xrep_parent_insert_xattr() -> xfs_attr_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | args | 8707016372046581760 |
| PARAM_VALUE | 0 | args->blkno | 0 |
| PARAM_VALUE | 0 | args->blkno2 | 0 |
| PARAM_VALUE | 0 | args->dp | 4096-ptr_max |
| PARAM_VALUE | 0 | args->filetype | 0 |
| PARAM_VALUE | 0 | args->index | 0 |
| PARAM_VALUE | 0 | args->index2 | 0 |
| PARAM_VALUE | 0 | args->inumber | 0 |
| PARAM_VALUE | 0 | args->name | 4096-ptr_max |
| PARAM_VALUE | 0 | args->new_name | 0 |
| PARAM_VALUE | 0 | args->new_namelen | 0 |
| PARAM_VALUE | 0 | args->new_value | 0 |
| PARAM_VALUE | 0 | args->new_valuelen | 0 |
| PARAM_VALUE | 0 | args->op_flags | 8 |
| PARAM_VALUE | 0 | args->rmtblkcnt | 0 |
| PARAM_VALUE | 0 | args->rmtblkno | 0 |
| PARAM_VALUE | 0 | args->rmtvaluelen | 0 |
| PARAM_VALUE | 0 | args->total | 0 |
| PARAM_VALUE | 0 | args->trans | 0 |
| PARAM_VALUE | 0 | args->whichfork | 1 |
| PARAM_VALUE | 1 | op | 1 |
| PARAM_VALUE | 2 | rsvd | 0 |