Defined in 1 files as a function:
Referenced in 6 files:
- drivers/scsi/libfc/fc_elsct.c, line 55
- drivers/scsi/libfc/fc_exch.c
- drivers/scsi/libfc/fc_fcp.c
- drivers/scsi/libfc/fc_rport.c, line 1294
- drivers/target/tcm_fc/tfc_cmd.c
- drivers/target/tcm_fc/tfc_io.c, line 161
Smatch caller information:
drivers/scsi/libfc/fc_exch.c fc_exch_abort_locked() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 129 |
| PARAM_VALUE | 3 | sid | 1-u32max |
| PARAM_VALUE | 4 | type | 0 |
| PARAM_VALUE | 5 | f_ctl | 589824 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &ep->ex_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &fsp->scsi_pkt_lock | ||
| TYPE_LOCK | (struct fc_exch)->ex_lock |
drivers/scsi/libfc/fc_exch.c fc_exch_rrq() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 34 |
| PARAM_VALUE | 4 | type | 1 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libfc/fc_exch.c fc_seq_send_last() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 132 |
| PARAM_VALUE | 4 | type | 0 |
| PARAM_VALUE | 5 | f_ctl | 0,65536-u32max |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | $1 |
| DATA_SOURCE | 1 | r_ctl | $2 |
| DATA_SOURCE | 4 | type | $3 |
| BIT_INFO | 5 | f_ctl | 0x190000,0xffffffff |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &ep->ex_lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct fc_exch)->ex_lock |
drivers/scsi/libfc/fc_rport.c fc_rport_enter_prli() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 34 |
| PARAM_VALUE | 2 | did | 0-16776191 |
| PARAM_VALUE | 4 | type | 1 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| CAPPED_DATA | 0 | fp->skb.len | 1 |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| HARD_MAX | 2 | did | 16776191 |
| RX_PATH | |||
| NOCHECK_CALL | |||
| LOCK2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | &lport->lp_mutex | ||
| TYPE_LOCK | (struct fc_rport_priv)->rp_mutex |
drivers/scsi/libfc/fc_fcp.c fc_fcp_cmd_send() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 6 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_fcp_frame_alloc |
| PREEMPT_ADD | <- disables preempt | ||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_fcp.c fc_fcp_complete_locked() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 3 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 1638400 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_fcp_frame_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_fcp.c fc_fcp_rec() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 34 |
| PARAM_VALUE | 4 | type | 1 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_fcp_frame_alloc |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_fcp.c fc_fcp_send_data() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 1 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 8,589832 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| FUZZY_MAX | 5 | f_ctl | 8 |
| BIT_INFO | 5 | f_ctl | 0x8,0xfffff |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | fp->skb.len | 0-u32max[c][u] |
| USER_DATA | 6 | parm_offset | 0-u32max[c] |
| UNITS | 6 | parm_offset | unit_byte |
| USER_PTR | 0 | fp->skb.data | |
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/scsi/libfc/fc_fcp.c fc_fcp_srr() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 50 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_fcp_frame_alloc |
| PREEMPT_ADD | |||
| NOCHECK_CALL | |||
| LOCK2 | &fsp->scsi_pkt_lock | ||
| LOCK2 | bh | ||
| TYPE_LOCK | (struct fc_fcp_pkt)->scsi_pkt_lock |
drivers/target/tcm_fc/tfc_io.c ft_queue_data_in() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 0,4096-ptr_max |
| PARAM_VALUE | 0 | fp->skb->sk->sk_callback_lock.owner | (-4611686018427387904)-4611686018427387903 |
| PARAM_VALUE | 0 | fp->skb.cb | 4096-ptr_max |
| PARAM_VALUE | 0 | fp->skb.data->fh_ox_id | 0-u16max |
| PARAM_VALUE | 0 | fp->skb.data->fh_r_ctl | 0-255 |
| PARAM_VALUE | 0 | fp->skb.data->fh_rx_id | 0-u16max |
| PARAM_VALUE | 0 | fp->skb.data->fh_seq_cnt | 0-u16max |
| PARAM_VALUE | 0 | fp->skb.data->fh_seq_id | 0-255 |
| PARAM_VALUE | 0 | fp->skb.data->fh_type | 0-255 |
| PARAM_VALUE | 0 | fp->skb.sk->__sk_common.skc_net.net->notrefcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | fp->skb.sk->__sk_common.skc_net.net->refcnt_tracker.dead | 1 |
| PARAM_VALUE | 0 | fp->skb.sk->ns_tracker->alloc_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | fp->skb.sk->ns_tracker->dead | 0-1 |
| PARAM_VALUE | 0 | fp->skb.sk->ns_tracker->free_stack_handle | 0-4294967295 |
| PARAM_VALUE | 0 | fp->skb.sk->sk_bpf_storage->owner_refcnt.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | fp->skb.sk->sk_callback_lock.owner | (-1) |
| PARAM_VALUE | 0 | fp->skb.sk->sk_callback_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | fp->skb.sk->sk_callback_lock.raw_lock.cnts.counter | 0-s32max |
| PARAM_VALUE | 0 | fp->skb.sk->sk_rcu.next | 0 |
| PARAM_VALUE | 1 | r_ctl | 1 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 8388616,8912904 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| FUZZY_MAX | 5 | f_ctl | 8388616 |
| BIT_INFO | 5 | f_ctl | 0x800008,0xffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | fp->skb.len | |
| NO_OVERFLOW_SIMPLE | 6 | parm_offset | |
| USER_PTR | 0 | fp->skb.data | |
| HALF_LOCKED2 | &pool->lock |
drivers/target/tcm_fc/tfc_cmd.c ft_queue_status() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 7 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 9961472 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/target/tcm_fc/tfc_cmd.c ft_write_pending() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 5 |
| PARAM_VALUE | 4 | type | 8 |
| PARAM_VALUE | 5 | f_ctl | 8978432 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | r fc_frame_alloc |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/scsi/libfc/fc_elsct.c fc_elsct_send() -> fc_fill_fc_hdr()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | fp | 4096-ptr_max |
| PARAM_VALUE | 1 | r_ctl | 2,34 |
| PARAM_VALUE | 4 | type | 1,32 |
| PARAM_VALUE | 5 | f_ctl | 2686976 |
| PARAM_VALUE | 6 | parm_offset | 0 |
| BUF_SIZE | 0 | fp | 0-s32max |
| BUF_SIZE | 0 | fp | 0-s32max |
| DATA_SOURCE | 0 | fp | $2 |
| DATA_SOURCE | 2 | did | $1 [m] |
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 2 | did | 0-16777215[c] |
| HALF_LOCKED2 | &disc->disc_mutex | ||
| HALF_LOCKED2 | &fsp->scsi_pkt_lock | ||
| HALF_LOCKED2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &lport->lp_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &rdata->rp_mutex | ||
| HALF_LOCKED2 | bh |