Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/target/target_core_configfs.c target_wwn_vpd_assoc_logical_unit_show() -> transport_dump_vpd_ident()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vpd | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->association | 0 |
| PARAM_VALUE | 1 | p_buf | 0,5051781023961559040 |
| PARAM_VALUE | 2 | p_buf_len | 254 |
| BUF_SIZE | 1 | p_buf | 254 |
| CAPPED_DATA | 0 | &vpd->vpd_list | 1 |
| STR_LEN | 0 | vpd | 0-18446744073709551613 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &t10_wwn->t10_vpd_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct t10_wwn)->t10_vpd_lock |
drivers/target/target_core_configfs.c target_wwn_vpd_assoc_scsi_target_device_show() -> transport_dump_vpd_ident()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vpd | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->association | 32 |
| PARAM_VALUE | 1 | p_buf | 0,4987043538287198208 |
| PARAM_VALUE | 2 | p_buf_len | 254 |
| BUF_SIZE | 1 | p_buf | 254 |
| CAPPED_DATA | 0 | &vpd->vpd_list | 1 |
| STR_LEN | 0 | vpd | 0-18446744073709551613 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &t10_wwn->t10_vpd_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct t10_wwn)->t10_vpd_lock |
drivers/target/target_core_configfs.c target_wwn_vpd_assoc_target_port_show() -> transport_dump_vpd_ident()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vpd | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->association | 16 |
| PARAM_VALUE | 1 | p_buf | 0,7131418759710720000 |
| PARAM_VALUE | 2 | p_buf_len | 254 |
| BUF_SIZE | 1 | p_buf | 254 |
| CAPPED_DATA | 0 | &vpd->vpd_list | 1 |
| STR_LEN | 0 | vpd | 0-18446744073709551613 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &t10_wwn->t10_vpd_lock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct t10_wwn)->t10_vpd_lock |
drivers/target/target_core_transport.c transport_set_vpd_ident() -> transport_dump_vpd_ident()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | vpd | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->association | 0,16-48 |
| PARAM_VALUE | 0 | vpd->device_identifier_code_set | 0-15 |
| PARAM_VALUE | 0 | vpd->device_identifier_type | 0-4,8 |
| PARAM_VALUE | 0 | vpd->vpd_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->vpd_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->vpd_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->vpd_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | vpd->vpd_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | p_buf | 0 |
| PARAM_VALUE | 2 | p_buf_len | 0 |
| BUF_SIZE | 0 | vpd | 296 |
| DATA_SOURCE | 0 | vpd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | sh->host_lock | ||
| HALF_LOCKED2 | &buffer->mutex | ||
| HALF_LOCKED2 | &frag->frag_sem |