Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
drivers/md/dm-uevent.c dm_send_uevents() -> dm_copy_name_and_uuid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 1 | name | 128 |
| BUF_SIZE | 2 | uuid | 129 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &_event_lock | ||
| HALF_LOCKED2 | &clone->commit_lock | ||
| HALF_LOCKED2 | &hc->md->io_barrier | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &s->lock | ||
| HALF_LOCKED2 | global &_hash_lock |
drivers/md/dm-sysfs.c dm_attr_name_show() -> dm_copy_name_and_uuid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 1-u64max |
| PARAM_VALUE | 2 | uuid | 0 |
| CAPPED_DATA | 1 | name | 1 |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 1 | name | $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/md/dm-sysfs.c dm_attr_uuid_show() -> dm_copy_name_and_uuid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | md | 4096-ptr_max |
| PARAM_VALUE | 1 | name | 0 |
| PARAM_VALUE | 2 | uuid | 1-u64max |
| CAPPED_DATA | 2 | uuid | 1 |
| DATA_SOURCE | 0 | md | $0 |
| DATA_SOURCE | 2 | uuid | $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 |