Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 7 files:
- arch/s390/pci/pci_sysfs.c, line 97
- drivers/md/md.c
- drivers/scsi/scsi_sysfs.c, line 754
- drivers/usb/core/port.c
- drivers/usb/core/sysfs.c, line 1239
- fs/sysfs/file.c, line 479
- net/core/net-sysfs.c, line 91
Smatch caller information:
drivers/scsi/scsi_sysfs.c sdev_store_delete() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 2683723894338715648 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/md/md.c md_attr_store() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/md/md.c rdev_attr_store() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | 40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/port.c disable_show() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 7510674045820456960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/port.c disable_store() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | kobj | 4096-ptr_max |
| PARAM_VALUE | 1 | attr | 7510674045820456960 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
net/core/net-sysfs.c sysfs_rtnl_lock() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | kobj | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 0 | kobj | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| BUF_SIZE | 1 | attr | (-1),40,136,480,696,928,1128,1160,1392,1624,1848,8192 |
| DATA_SOURCE | 0 | kobj | $0 |
| DATA_SOURCE | 1 | attr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/core/sysfs.c interface_authorized_store() -> sysfs_break_active_protection()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | attr | 3194427675086319616 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |