Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/target/tcm_fc/tfc_sess.c ft_sess_create() -> ft_format_wwn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8456017593324957696 |
| PARAM_VALUE | 1 | len | 224 |
| BUF_SIZE | 0 | buf | 224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdata->rp_mutex | ||
| LOCK2 | global &ft_lport_lock | ||
| HALF_LOCKED2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &fc_prov_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/target/tcm_fc/tfc_sess.c ft_sess_get_port_name() -> ft_format_wwn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 1 | len | $2 |
drivers/target/tcm_fc/tfc_conf.c ft_add_wwn() -> ft_format_wwn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | len | 32 |
| PARAM_VALUE | 2 | wwn | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | buf | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &subsys->su_mutex | ||
| LOCK2 | global &ft_lport_lock | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/target/tcm_fc/tfc_conf.c ft_wwn_show() -> ft_format_wwn()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1-u64max |
| PARAM_VALUE | 1 | len | 4094 |
| BUF_SIZE | 0 | buf | (-1),4096 |
| BUF_SIZE | 0 | buf | (-1),4096 |
| DATA_SOURCE | 0 | buf | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | len | unit_byte |
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem |