Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/scsi/libfc/fc_exch.c
- drivers/scsi/libfc/fc_libfc.c, line 220
- drivers/scsi/libfc/fc_lport.c
- drivers/scsi/libfc/fc_rport.c
- drivers/target/tcm_fc/tfc_cmd.c, line 295
Smatch caller information:
drivers/scsi/libfc/fc_exch.c fc_exch_els_rec() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 36-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_exch.c fc_seq_ls_acc() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | in_fp->skb.len | |
| NO_OVERFLOW_SIMPLE | 1 | in_fp->skb.tail | |
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &rdata->rp_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_exch.c fc_seq_ls_rjt() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $0 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 1 | in_fp->skb.len | |
| NO_OVERFLOW_SIMPLE | 1 | in_fp->skb.tail | |
| USER_PTR | 1 | in_fp->skb.data | |
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &rdata->rp_mutex | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_adisc_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 52-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_flogi_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_PTR | 0 | fp->skb.data | |
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_plogi_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| USER_PTR | 0 | fp->skb.data | |
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_prli_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 44-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_prlo_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 44-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| FUZZY_MAX | 1 | in_fp->skb.len | 45 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_rls_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 32-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_rport.c fc_rport_recv_rtv_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.data->fh_rx_id | 1 |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_echo_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_flogi_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 140-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 1 | in_fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/scsi/libfc/fc_lport.c fc_lport_recv_rnid_req() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 1 | in_fp->skb.data->fh_type | 1-255 |
| PARAM_VALUE | 1 | in_fp->skb.len | 32-u32max |
| PARAM_VALUE | 2 | r_ctl | 35 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_lport)->lp_mutex |
drivers/target/tcm_fc/tfc_cmd.c ft_send_resp_status() -> fc_fill_reply_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | in_fp | 4096-ptr_max |
| PARAM_VALUE | 2 | r_ctl | 7 |
| PARAM_VALUE | 3 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| BUF_SIZE | 1 | in_fp | (-1)-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| DATA_SOURCE | 1 | in_fp | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |