Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 5 files:

Smatch caller information:

drivers/nvme/host/auth.c nvme_auth_process_dhchap_challenge() -> nvme_auth_hmac_name()

Type Parameter Key Value
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/host/auth.c nvme_auth_process_dhchap_success1() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/target/auth.c nvmet_setup_auth() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-255
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
LOCK2 global &nvmet_config_sem

drivers/nvme/target/auth.c nvmet_setup_auth() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-255
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
LOCK2 global &nvmet_config_sem

drivers/nvme/target/fabrics-cmd-auth.c nvmet_auth_negotiate() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_derive_tls_psk() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 3
DATA_SOURCE 0 hmac_id $0
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
HALF_LOCKED2 &pool->lock

drivers/nvme/common/auth.c nvme_auth_generate_digest() -> nvme_auth_hmac_name()

Type Parameter Key Value
PARAM_VALUE 0 hmac_id 1-3
DATA_SOURCE 0 hmac_id $0
STR_LEN 0 hmac_id (-1),9
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size

drivers/nvme/target/configfs.c nvmet_host_dhchap_hash_show() -> nvme_auth_hmac_name()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hmac_id unit_array_size
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem