Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/scsi/bnx2fc/bnx2fc_fcoe.c bnx2fc_xmit() -> fc_fcoe_set_mac()

Type Parameter Key Value
PARAM_VALUE 0 mac 0-u32max
PARAM_VALUE 1 did 4096-ptr_max
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &ep->ex_lock
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &rdata->rp_mutex

drivers/scsi/qedf/qedf_attr.c fcoe_mac_show() -> fc_fcoe_set_mac()

Type Parameter Key Value
PARAM_VALUE 0 mac 8949023276469891072
PARAM_VALUE 1 did 4096-ptr_max
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/bnx2fc/bnx2fc_els.c bnx2fc_flogi_resp() -> fc_fcoe_set_mac()

Type Parameter Key Value
PARAM_VALUE 0 mac 571548989055291392
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &pool->lock

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_els_send() -> fc_fcoe_set_mac()

Type Parameter Key Value
PARAM_VALUE 0 mac 6144923627417440256
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &ep->ex_lock
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &rdata->rp_mutex
HALF_LOCKED2 bh
HALF_LOCKED2 lport->host->host_lock

drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_recv_flogi() -> fc_fcoe_set_mac()

Type Parameter Key Value
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &pool->lock

drivers/scsi/qedf/qedf_main.c qedf_set_data_src_addr() -> fc_fcoe_set_mac()

Type Parameter Key Value
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &pool->lock

drivers/scsi/qedf/qedf_main.c qedf_xmit() -> fc_fcoe_set_mac()

Type Parameter Key Value
PARAM_VALUE 0 mac 0-u32max
PARAM_VALUE 1 did 4096-ptr_max
BUF_SIZE 0 mac 6
BUF_SIZE 1 did 3
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 *did 0-255
USER_PTR 1 did
HALF_LOCKED2 &ep->ex_lock
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &lport->lp_mutex
HALF_LOCKED2 &rdata->rp_mutex
HALF_LOCKED2 bh