Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/xfs/xfs_attr_item.c xfs_attr_create_intent() -> xfs_attri_log_nameval_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | name_len | 0-s16max,4294934528-u32max |
| PARAM_VALUE | 3 | new_name_len | 0-s16max,4294934528-u32max |
| BUF_SIZE | 0 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | new_name | s32min-(-2),1-s32max |
| BUF_SIZE | 4 | value | s32min-(-2),1-s32max |
| BUF_SIZE | 6 | new_value | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name | unit_byte |
| UNITS | 1 | name_len | unit_byte |
| UNITS | 2 | new_name | unit_byte |
| UNITS | 3 | new_name_len | unit_byte |
| UNITS | 4 | value | unit_byte |
| UNITS | 5 | value_len | unit_byte |
| UNITS | 6 | new_value | unit_byte |
| UNITS | 7 | new_value_len | unit_byte |
fs/xfs/xfs_attr_item.c xlog_recover_attri_commit_pass2() -> xfs_attri_log_nameval_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name | 1-u64max |
| PARAM_VALUE | 1 | name_len | 0-255 |
| PARAM_VALUE | 3 | new_name_len | 0-255 |
| PARAM_VALUE | 5 | value_len | 0-65536 |
| PARAM_VALUE | 7 | new_value_len | 0-65536 |
| BUF_SIZE | 0 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | name | s32min-(-2),1-s32max |
| BUF_SIZE | 2 | new_name | s32min-(-2),0-s32max |
| BUF_SIZE | 2 | new_name | s32min-(-2),0-s32max |
| BUF_SIZE | 4 | value | s32min-(-2),0-s32max |
| BUF_SIZE | 4 | value | s32min-(-2),0-s32max |
| BUF_SIZE | 6 | new_value | s32min-(-2),0-s32max |
| BUF_SIZE | 6 | new_value | s32min-(-2),0-s32max |
| CAPPED_DATA | 1 | name_len | 1 |
| CAPPED_DATA | 3 | new_name_len | 1 |
| DATA_SOURCE | 0 | name | r xfs_attri_validate_name_iovec |
| FUZZY_MAX | 3 | new_name_len | 0 |
| FUZZY_MAX | 7 | new_value_len | 0 |
| UNITS | 1 | name_len | unit_byte |
| UNITS | 3 | new_name_len | unit_byte |
| UNITS | 5 | value_len | unit_byte |