Defined in 2 files as a member:

Defined in 3 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/smb/server/auth.c generate_smb3encryptionkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->ops 4096-ptr_max
PARAM_VALUE 0 conn->preferred_auth_mech 1-u32max
PARAM_VALUE 0 conn->session_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->session_lock.first_waiter->type 0-1
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->status 1,5
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8,12,14,16-416
PARAM_VALUE 5 key_size 32
BUF_SIZE 1 sess_key 40
BUF_SIZE 4 key 32
CAPPED_DATA 0 conn 1
DATA_SOURCE 0 conn $0
BIT_INFO 2 label 0x0,0x0
BIT_INFO 3 context 0x0,0x0
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/auth.c generate_smb3encryptionkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->ops 4096-ptr_max
PARAM_VALUE 0 conn->preferred_auth_mech 1-u32max
PARAM_VALUE 0 conn->session_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->session_lock.first_waiter->type 0-1
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->status 1,5
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8,12,14,16-416
PARAM_VALUE 5 key_size 32
BUF_SIZE 1 sess_key 40
BUF_SIZE 4 key 32
CAPPED_DATA 0 conn 1
DATA_SOURCE 0 conn $0
BIT_INFO 2 label 0x0,0x0
BIT_INFO 3 context 0x0,0x0
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/server/auth.c generate_smb3signingkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->ops 4096-ptr_max
PARAM_VALUE 0 conn->ops->generate_encryptionkey 0,3863936581855973376,7797342919105712128
PARAM_VALUE 0 conn->ops->generate_signingkey 4801351377101225984,8174366501739487232
PARAM_VALUE 0 conn->preferred_auth_mech 1-u32max
PARAM_VALUE 0 conn->session_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 conn->session_lock.first_waiter->type 0-1
PARAM_VALUE 0 conn->srv_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 conn->srv_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 conn->status 1,5
PARAM_VALUE 0 conn->vals->req_capabilities 0,4,6,8,12,14,16-416
PARAM_VALUE 5 key_size 16
BUF_SIZE 1 sess_key 40
BUF_SIZE 1 sess_key 40
BUF_SIZE 4 key 16
BUF_SIZE 4 key 16
CAPPED_DATA 0 conn 1
DATA_SOURCE 0 conn $1
BIT_INFO 2 label 0x0,0x0
BIT_INFO 3 context 0x0,0x0
NOCHECK_CALL
LOCK2 &conn->srv_mutex
LOCK2 &pool->lock
TYPE_LOCK (struct ksmbd_conn)->srv_mutex

fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->chan_count 1-u64max
PARAM_VALUE 0 conn->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conn->chans 4096-ptr_max
PARAM_VALUE 0 conn->expired_pwd 0
PARAM_VALUE 0 conn->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conn->ses_status 1
PARAM_VALUE 4 key 16
PARAM_VALUE 5 key_size 16
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 3 context 16
DATA_SOURCE 0 conn $0
BIT_INFO 1 sess_key 0x0,0x0
BIT_INFO 2 label 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->chan_count 1-u64max
PARAM_VALUE 0 conn->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conn->expired_pwd 0
PARAM_VALUE 0 conn->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 4 key 16
PARAM_VALUE 5 key_size 16
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 3 context 16
DATA_SOURCE 0 conn $0
BIT_INFO 1 sess_key 0x0,0x0
BIT_INFO 2 label 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->chan_count 1-u64max
PARAM_VALUE 0 conn->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conn->chans 4096-ptr_max
PARAM_VALUE 0 conn->expired_pwd 0
PARAM_VALUE 0 conn->server 4096-ptr_max
PARAM_VALUE 0 conn->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 4 key 32
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 3 context 32
DATA_SOURCE 0 conn $0
BIT_INFO 1 sess_key 0x0,0x0
BIT_INFO 2 label 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 5 key_size unit_byte
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

fs/smb/client/smb2transport.c generate_smb3signingkey() -> generate_key()

Type Parameter Key Value
PARAM_VALUE 0 conn 4096-ptr_max
PARAM_VALUE 0 conn->chan_count 1-u64max
PARAM_VALUE 0 conn->chan_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 conn->chans 4096-ptr_max
PARAM_VALUE 0 conn->expired_pwd 0
PARAM_VALUE 0 conn->server 4096-ptr_max
PARAM_VALUE 0 conn->ses_lock.rlock.dep_map->name 0-255
PARAM_VALUE 4 key 32
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 0 conn (-1),1584
BUF_SIZE 3 context 32
DATA_SOURCE 0 conn $0
BIT_INFO 1 sess_key 0x0,0x0
BIT_INFO 2 label 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 5 key_size unit_byte
LOCK2 &server->_srv_mutex
LOCK2 &ses->session_mutex
TYPE_LOCK (struct TCP_Server_Info)->_srv_mutex
TYPE_LOCK (struct cifs_ses)->session_mutex

Smatch assignments to (struct blk_crypto_ll_ops)->generate_key:

drivers/mmc/host/cqhci-crypto.c (null)() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/mmc/host/cqhci-crypto.c cqhci_crypto_init() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/ufs/host/tc-dwc-g210-pci.c tc_dwc_g210_pci_probe() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_alloc_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_eh_timed_out() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_err_handler() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_err_handling_prepare() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_gate_work() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_hba_capabilities() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/ufs/core/ufshcd.c ufshcd_hba_exit() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_hba_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_intr() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/ufs/core/ufshcd.c ufshcd_map_queues() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_poll() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_queuecommand() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_runtime_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_runtime_suspend() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_sdev_configure() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_sdev_destroy() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_sdev_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_suspend() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_system_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_system_suspend() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_ungate_work() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd.c ufshcd_wl_shutdown() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/cqhci-core.c cqhci_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/host/ufs-exynos.c exynos_ufs_fmp_init() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/ufs/host/ufs-exynos.c exynos_ufs_init() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/mmc/host/mtk-sd.c msdc_drv_probe() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/mtk-sd.c msdc_execute_tuning() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/sdhci_am654.c sdhci_am654_cqe_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/mxcmmc.c mxcmci_detect_irq() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-brcmstb.c sdhci_brcmstb_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/debugfs.c mmc_clock_opt_get() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/debugfs.c mmc_clock_opt_set() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/debugfs.c mmc_err_state_get() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/debugfs.c mmc_err_stats_show() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/debugfs.c mmc_ios_show() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/omap_hsmmc.c mmc_regs_show() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/mmc.c _mmc_hw_reset() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/mmc.c _mmc_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/mmc.c mmc_attach_mmc() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/mmc.c mmc_runtime_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/mmc.c mmc_shutdown() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/mmc.c mmc_sleep_busy_cb() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdricoh_cs.c sdricoh_pcmcia_detach() -> (struct blk_crypto_ll_ops)->generate_key [ignore]

drivers/mmc/host/sdricoh_cs.c sdricoh_pcmcia_resume() -> (struct blk_crypto_ll_ops)->generate_key [ignore]

drivers/mmc/host/litex_mmc.c litex_mmc_interrupt() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-pci-gli.c gl9763e_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-ioctl.c dev_create() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-ioctl.c dev_remove() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-ioctl.c dm_early_create() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-ioctl.c dm_hash_remove_all() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c __bind() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c alloc_dev() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c cleanup_mapped_device() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c dm_queue_destroy_crypto_profile() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c dm_setup_md_queue() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm.c free_dev() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/sdhci-pci-core.c glk_emmc_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

block/blk-crypto-fallback.c (null)() -> (struct blk_crypto_ll_ops)->generate_key [0]

block/blk-crypto-fallback.c blk_crypto_fallback_init() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-of-dwcmshc.c dwcmshc_cqhci_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufs-debugfs.c ee_usr_mask_get() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/ufs/core/ufs-debugfs.c ee_usr_mask_set() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/core.c mmc_rescan() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/core.c mmc_rescan_try_freq() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/core.c mmc_sw_reset() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sd.c _mmc_sd_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sd.c mmc_attach_sd() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sd.c mmc_sd_hw_reset() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sd.c mmc_sd_runtime_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/core/ufshcd-crypto.c (null)() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/ufs/core/ufshcd-crypto.c ufshcd_hba_init_crypto_capabilities() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-tegra.c sdhci_tegra_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/pxamci.c pxamci_detect_irq() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/sdio.c mmc_attach_sdio() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sdio.c mmc_sdio_hw_reset() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sdio.c mmc_sdio_reinit_card() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sdio.c mmc_sdio_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sdio.c mmc_sdio_runtime_resume() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/sdio.c mmc_sdio_sw_reset() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-table.c device_intersect_crypto_capabilities() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/md/dm-table.c dm_destroy_crypto_profile() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-table.c dm_table_construct_crypto_profile() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/md/dm-table.c dm_table_destroy() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-table.c dm_table_destroy_crypto_profile() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-table.c dm_table_set_restrictions() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/md/dm-table.c dm_update_crypto_profile() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/host/sdhci-esdhc-imx.c sdhci_esdhc_imx_probe() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

block/blk-crypto-profile.c blk_crypto_profile_destroy() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

block/blk-crypto-profile.c blk_crypto_profile_init() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

block/blk-crypto-profile.c devm_blk_crypto_profile_init() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-of-arasan.c sdhci_arasan_add_host() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/mmc/core/slot-gpio.c mmc_gpio_cd_irqt() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-msm.c (null)() -> (struct blk_crypto_ll_ops)->generate_key [0,5358320408220090368]

drivers/mmc/host/sdhci-msm.c sdhci_msm_cqe_add_host() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/host/sdhci-msm.c sdhci_msm_ice_init() -> (struct blk_crypto_ll_ops)->generate_key [0]

drivers/mmc/host/mmc_spi.c mmc_spi_detect_irq() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/host.c devm_mmc_alloc_host() -> (struct blk_crypto_ll_ops)->generate_key [0-u64max]

drivers/mmc/core/host.c mmc_host_classdev_release() -> (struct blk_crypto_ll_ops)->generate_key [min-max]

drivers/ufs/host/ufshcd-pltfrm.c ufshcd_pltfrm_init() -> (struct blk_crypto_ll_ops)->generate_key [min-max]