Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
fs/sysfs/file.c sysfs_add_bin_file_mode_ns() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 0 | parent->attr.open->nr_mmapped | 0-4294967295 |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 1 | name | 1-s32max |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 1 | name | (-1),4-5 |
| STR_LEN | 1 | name | (-1),4-5 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/sysfs/file.c sysfs_add_file_mode_ns() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 0 | parent->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | parent->priv | 4096-ptr_max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 0 | parent | (-1)-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| BUF_SIZE | 1 | name | (-1)-s32max |
| CAPPED_DATA | 0 | parent | 1 |
| DATA_SOURCE | 0 | parent | $0 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 0 | parent | (-1),2-19,24 |
| STR_LEN | 1 | name | (-1),4,6,10-11,13,16-19 |
| STR_LEN | 1 | name | (-1),4,6,10-11,13,16-19 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/sysfs/dir.c sysfs_create_dir_ns() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 1-s32max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/sysfs/dir.c sysfs_create_mount_point() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 1 | name | 4096-ptr_max |
| BUF_SIZE | 1 | name | 4,6-9,12 |
| BUF_SIZE | 1 | name | 4,6-9,12 |
| DATA_SOURCE | 1 | name | $1 |
| TERMINATED | 1 | name | 1 |
| NOCHECK_CALL |
fs/sysfs/symlink.c sysfs_do_create_link_sd() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 1 | name | 1-u64max |
| BUF_SIZE | 1 | name | s32min,(-10),(-1)-s32max |
| BUF_SIZE | 1 | name | s32min,(-10),(-1)-s32max |
| DATA_SOURCE | 0 | parent | $0 |
| DATA_SOURCE | 1 | name | $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/sysfs/group.c compat_only_sysfs_link_entry_to_kobj() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| BUF_SIZE | 1 | name | (-1),1-s32max |
| BUF_SIZE | 1 | name | (-1),1-s32max |
| DATA_SOURCE | 1 | name | $3 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/sysfs/group.c internal_create_group() -> sysfs_warn_dup()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | parent | 4096-ptr_max |
| PARAM_VALUE | 0 | parent->__parent | 0 |
| PARAM_VALUE | 0 | parent->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 1 | name | 1-u64max |
| BUF_SIZE | 1 | name | 1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |