Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/xattr.c simple_xattr_add_limited() -> simple_xattr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | xattrs | 4096-ptr_max |
| PARAM_VALUE | 2 | new_xattr | 4096-ptr_max |
| PARAM_VALUE | 2 | new_xattr->name | 1-u64max |
| BUF_SIZE | 2 | new_xattr->name | 0-s32max |
| CAPPED_DATA | 2 | new_xattr->name | 1 |
| DATA_SOURCE | 0 | cache | $0 |
| DATA_SOURCE | 1 | xattrs | $1 |
| DATA_SOURCE | 2 | new_xattr | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | new_xattr->size | |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->vh_mutex |
mm/shmem.c shmem_initxattrs() -> simple_xattr_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cache | 4096-ptr_max |
| PARAM_VALUE | 1 | xattrs | 4096-ptr_max |
| PARAM_VALUE | 2 | new_xattr | 4096-ptr_max |
| PARAM_VALUE | 2 | new_xattr->name | 1-u64max |
| BUF_SIZE | 2 | new_xattr | s32min-s32max |
| BUF_SIZE | 2 | new_xattr->name | 0-s32max |
| CAPPED_DATA | 2 | new_xattr->name | 1 |
| DATA_SOURCE | 2 | new_xattr | r class_simple_xattr_constructor |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | new_xattr->size | |
| NO_OVERFLOW_SIMPLE | 2 | *new_xattr->value | |
| HALF_LOCKED2 | &f->sem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &sbi->vh_mutex |