Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/ufs/core/ufshcd-crypto.c ufshcd_crypto_keyslot_evict() -> ufshcd_program_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 1 | cfg | 2582992182112014336 |
| DATA_SOURCE | 0 | hba | r ufs_hba_from_crypto_profile |
| DATA_SOURCE | 2 | slot | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 2 | slot | |
| HALF_LOCKED2 | &profile->lock |
drivers/ufs/core/ufshcd-crypto.c ufshcd_crypto_keyslot_program() -> ufshcd_program_key()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hba | 4096-ptr_max |
| PARAM_VALUE | 0 | hba->crypto_capabilities.num_crypto_cap | 1-255 |
| PARAM_VALUE | 1 | cfg | 3805286543059054592 |
| PARAM_VALUE | 1 | cfg->config_enable | 128 |
| PARAM_VALUE | 1 | cfg->crypto_cap_idx | 0-254 |
| CAPPED_DATA | 0 | hba->crypto_capabilities.num_crypto_cap | 1 |
| DATA_SOURCE | 0 | hba | r ufs_hba_from_crypto_profile |
| DATA_SOURCE | 2 | slot | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &profile->lock | ||
| TYPE_LOCK | (struct blk_crypto_profile)->lock |