Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/isci/probe_roms.c isci_get_efi_var() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 3911811519911518208
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 3347889795914665984
PARAM_VALUE 2 *attr 0
PARAM_VALUE 3 data_size 2473758307815190528
PARAM_VALUE 3 *data_size 1024
PARAM_VALUE 4 data 1-u64max
BUF_SIZE 0 name 14
BUF_SIZE 4 data 1024
DATA_SOURCE 4 data r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex

sound/hda/codecs/side-codecs/tas2781_hda.c tas2781_save_calibration() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 1 vendor 1708627826565427200
PARAM_VALUE 2 attr 1577615295957139456
PARAM_VALUE 3 data_size 4623500821352833024
PARAM_VALUE 4 data 0
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

sound/hda/codecs/side-codecs/tas2781_hda.c tas2781_save_calibration() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 1 vendor 1708627826565427200
PARAM_VALUE 2 attr 1577615295957139456
PARAM_VALUE 3 data_size 4096-ptr_max
PARAM_VALUE 4 data 4096-ptr_max
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

arch/x86/xen/efi.c xen_efi_get_secureboot() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 2022954991055417344
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 1853149490896162816
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 5071259742233178112
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 4816199082978770944
BUF_SIZE 0 name 26
STR_LEN 0 name 12
TERMINATED 0 name 1
HALF_LOCKED2 irq

drivers/bluetooth/btbcm.c btbcm_set_bdaddr_from_efi() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 4911493087665012736
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 7192143803110334464
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 131825007787905024
PARAM_VALUE 3 *data_size 6
PARAM_VALUE 4 data 7156237368110260224
BUF_SIZE 0 name 14
BUF_SIZE 4 data 6
STR_LEN 0 name 6
TERMINATED 0 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c gmin_get_config_var() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 7511107471146004480
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 4546741127840051200
PARAM_VALUE 3 *data_size 64
PARAM_VALUE 4 data 4157544271090073600
BUF_SIZE 0 name 128
BUF_SIZE 4 data 65
DATA_SOURCE 3 data_size $4
DATA_SOURCE 4 data $3
RX_PATH
TASK_NOT_RUNNING

drivers/infiniband/hw/hfi1/efivar.c read_efi_var() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
PARAM_VALUE 1 vendor 752543519281147904
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 6713662760842215424
PARAM_VALUE 3 *data_size 4096
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 0 name 256
BUF_SIZE 0 name 256
BUF_SIZE 4 data 4096
BUF_SIZE 4 data 4096
DATA_SOURCE 0 name r _kzalloc_noprof
DATA_SOURCE 4 data r _kzalloc_noprof

drivers/net/wireless/intel/iwlwifi/fw/uefi.c iwl_uefi_get_variable() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 2167034290711420928,7712146775141015552
PARAM_VALUE 3 *data_size 0
PARAM_VALUE 4 data 0
BUF_SIZE 0 name 10,32,36,44,48,50,62
BUF_SIZE 0 name 10,32,36,44,48,50,62
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 3 data_size $2
STR_LEN 0 name (-1),3-4,13,21,24
STR_LEN 0 name (-1),3-4,13,21,24
STR_LEN 1 vendor (-1),3-4,13,21
STR_LEN 1 vendor (-1),3-4,13,21
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/intel/iwlwifi/fw/uefi.c iwl_uefi_get_variable() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 4096-ptr_max
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 2167034290711420928,7712146775141015552
PARAM_VALUE 3 *data_size 1-4000000
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 0 name 10,32,36,44,48,50,62
BUF_SIZE 0 name 10,32,36,44,48,50,62
BUF_SIZE 4 data 1-u64max
BUF_SIZE 4 data 1-u64max
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 3 data_size $2
DATA_SOURCE 4 data r _kmalloc_noprof
STR_LEN 0 name (-1),3-4,13,21,24
STR_LEN 0 name (-1),3-4,13,21,24
STR_LEN 1 vendor (-1),3-4,13,21
STR_LEN 1 vendor (-1),3-4,13,21
RX_PATH
TASK_NOT_RUNNING

arch/x86/kernel/kvm.c setup_efi_kvm_sev_migration() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 7030338226090459136
PARAM_VALUE 1 vendor 3489245572888014848
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 2912105832665583616
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 2940242359133396992
BUF_SIZE 0 name 96
STR_LEN 0 name 23
TERMINATED 0 name 1

drivers/bluetooth/btintel.c btintel_uefi_get_dsbr() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 3524399844929048576
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 936724534952427520
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 5225648750342144
PARAM_VALUE 3 *data_size 5
PARAM_VALUE 4 data 7941518961297416192
BUF_SIZE 0 name 36
BUF_SIZE 4 data 5
STR_LEN 0 name 17
TERMINATED 0 name 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &hdev->req_lock
TYPE_LOCK (struct hci_dev)->req_lock

drivers/input/keyboard/applespi.c applespi_get_saved_bl_level() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 7785130427493560320
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 6181972674851840000
PARAM_VALUE 3 *data_size 2
PARAM_VALUE 4 data 7929114190360928256
PARAM_VALUE 4 *data 0
BUF_SIZE 0 name 46
BUF_SIZE 4 data 2
STR_LEN 0 name 22
TERMINATED 0 name 1
RX_PATH
TASK_NOT_RUNNING

sound/hda/codecs/side-codecs/tas2781_hda_i2c.c tas2563_save_calibration() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 3006538898207252480
PARAM_VALUE 1 vendor 827404804965380096
PARAM_VALUE 2 attr 7556841381683073024
PARAM_VALUE 3 data_size 1613795954908852224
PARAM_VALUE 3 *data_size 4
PARAM_VALUE 4 data 4096-ptr_max
PARAM_VALUE 4 *data 0-255
BUF_SIZE 0 name 32
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock

sound/soc/codecs/tas2783-sdw.c tas2783_update_calibdata() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 1 vendor 680353949159256064
PARAM_VALUE 2 attr 5417126922090139648
PARAM_VALUE 3 data_size 132516767062257664
PARAM_VALUE 3 *data_size 0
PARAM_VALUE 4 data 0
BUF_SIZE 0 name 64
HALF_LOCKED2 &pool->lock

sound/soc/codecs/tas2783-sdw.c tas2783_update_calibdata() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 1 vendor 680353949159256064
PARAM_VALUE 2 attr 5417126922090139648
PARAM_VALUE 3 data_size 4096-ptr_max
PARAM_VALUE 3 *data_size 0-208
BUF_SIZE 0 name 64
BUF_SIZE 4 data 208
HALF_LOCKED2 &pool->lock

security/integrity/platform_certs/load_uefi.c get_cert_list() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 840054501695254528,2384091284347420672,7274968051455623168,7884960391496335360
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 1500951443671433216,3782714514063536128,6954078231760187392
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 4758977548925505536
PARAM_VALUE 3 *data_size 4
PARAM_VALUE 4 data 2701853233177432064
BUF_SIZE 0 name 6,8,20,22
BUF_SIZE 0 name 6,8,20,22
BUF_SIZE 4 data 32
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
STR_LEN 0 name 2-3,9-10
STR_LEN 0 name 2-3,9-10
TERMINATED 0 name 1

security/integrity/platform_certs/load_uefi.c get_cert_list() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 840054501695254528,2384091284347420672,7274968051455623168,7884960391496335360
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 1500951443671433216,3782714514063536128,6954078231760187392
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 4758977548925505536
PARAM_VALUE 3 *data_size 0-4000000
PARAM_VALUE 4 data 16,4096-ptr_max
BUF_SIZE 0 name 6,8,20,22
BUF_SIZE 0 name 6,8,20,22
BUF_SIZE 4 data 0-u64max
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 4 data r _kmalloc_noprof
STR_LEN 0 name 2-3,9-10
STR_LEN 0 name 2-3,9-10
TERMINATED 0 name 1

security/integrity/platform_certs/load_uefi.c uefi_check_ignore_db() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 8202846618491338752
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 3874274391765991424
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 6067263788970983424
PARAM_VALUE 3 *data_size 4
PARAM_VALUE 4 data 6571187186851328000
PARAM_VALUE 4 *data 0
BUF_SIZE 0 name 24
BUF_SIZE 4 data 4
STR_LEN 0 name 11
TERMINATED 0 name 1

drivers/firmware/efi/test/efi_test.c efi_runtime_get_variable() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 0-ptr_max
PARAM_VALUE 0 *name 0-u16max
PARAM_VALUE 1 vendor 0,2544755307370639360
PARAM_VALUE 2 attr 0,8899771406756261888
PARAM_VALUE 3 data_size 0,5778996196265779200
PARAM_VALUE 4 data 0,16,4096-ptr_max
BUF_SIZE 1 vendor 0,16
BUF_SIZE 1 vendor 0,16
BUF_SIZE 2 attr 0,4
BUF_SIZE 2 attr 0,4
BUF_SIZE 3 data_size 0,8
BUF_SIZE 3 data_size 0,8
BUF_SIZE 4 data 0-u64max
BIT_INFO 1 vendor 0x0,0x2350c978281df000
BIT_INFO 1 vendor 0x0,0x2350c978281df000
BIT_INFO 2 attr 0x0,0x7b8256f101e2b000
BIT_INFO 2 attr 0x0,0x7b8256f101e2b000
BIT_INFO 3 data_size 0x0,0x50331e6c0cc16000
BIT_INFO 3 data_size 0x0,0x50331e6c0cc16000
USER_DATA 3 *data_size 0-u64max
USER_PTR 1 vendor->b
USER_PTR 3 data_size

drivers/firmware/efi/efi.c efivar_ssdt_load() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 1-u64max
PARAM_VALUE 1 vendor 5843120333060374528
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 3948810649028440064
PARAM_VALUE 3 *data_size 0
PARAM_VALUE 4 data 0
BUF_SIZE 0 name 0-u64max

drivers/firmware/efi/efi.c efivar_ssdt_load() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 1-u64max
PARAM_VALUE 1 vendor 5843120333060374528
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 3948810649028440064
PARAM_VALUE 3 *data_size 1-4000000
PARAM_VALUE 4 data 4096-ptr_max
BUF_SIZE 0 name 0-u64max
BUF_SIZE 4 data 1-u64max
BUF_SIZE 4 data 1-u64max
DATA_SOURCE 4 data r _kmalloc_noprof

sound/soc/codecs/cs-amp-lib.c cs_amp_get_efi_variable() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 2 attr 1-u64max
BUF_SIZE 2 attr (-1),4
BUF_SIZE 2 attr (-1),4
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 2 attr $2 [m]
DATA_SOURCE 3 data_size $3
DATA_SOURCE 4 data $4

drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c brcmf_fw_nvram_from_efi() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 6697916194266800128
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 8874218056564940800
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 1890206921028579328
PARAM_VALUE 3 *data_size 0
PARAM_VALUE 4 data 0
BUF_SIZE 0 name 12
STR_LEN 0 name 5
TERMINATED 0 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c brcmf_fw_nvram_from_efi() -> (struct efi)->get_variable()

Type Parameter Key Value
PARAM_VALUE 0 name 6697916194266800128
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 8874218056564940800
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 1890206921028579328
PARAM_VALUE 3 *data_size 0-4000000
PARAM_VALUE 4 data 16,4096-ptr_max
BUF_SIZE 0 name 12
DATA_SOURCE 4 data r _kmalloc_noprof
STR_LEN 0 name 5
TERMINATED 0 name 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/firmware/efi/vars.c efivar_get_variable() -> (struct efivar_operations)->get_variable()

Type Parameter Key Value
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0,6069307269731504128
PARAM_VALUE 3 data_size 1172135391113969664,3484497353560002560,3667911872578355200,4355757630428180480,5933472992510140416,7412634618884026368
PARAM_VALUE 3 *data_size 0-4000000,18446744073709551612-u64max
PARAM_VALUE 4 data 0,16,20,4096-ptr_max
BUF_SIZE 0 name 1-s32max
BUF_SIZE 0 name 1-s32max
BUF_SIZE 4 data (-1)-s32max
BUF_SIZE 4 data (-1)-s32max
DATA_SOURCE 0 name $0
DATA_SOURCE 1 vendor $1
DATA_SOURCE 2 attr $2
DATA_SOURCE 3 data_size $3
DATA_SOURCE 4 data $4
STR_LEN 0 name (-1),7
STR_LEN 0 name (-1),7
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &psi->read_mutex
HALF_LOCKED2 global &efivars_lock

arch/x86/xen/efi.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 7988345051516456960
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 3642177876260548608
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 8333017580621631488
BUF_SIZE 0 name 22
STR_LEN 0 name 10
TERMINATED 0 name 1
HALF_LOCKED2 irq

arch/x86/xen/efi.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 8615839419266039808
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 3642177876260548608
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 8714797014234341376
PARAM_VALUE 4 *data 0
BUF_SIZE 0 name 20
STR_LEN 0 name 9
TERMINATED 0 name 1
NOCHECK_CALL
HALF_LOCKED2 irq

security/integrity/efi_secureboot.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 7988345051516456960
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 1639785517449056256
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 6358669262766649344
BUF_SIZE 0 name 22
STR_LEN 0 name 10
TERMINATED 0 name 1

security/integrity/efi_secureboot.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 8615839419266039808
PARAM_VALUE 0 *name 0-255
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 1639785517449056256
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 5223804474442985472
PARAM_VALUE 4 *data 0
BUF_SIZE 0 name 20
STR_LEN 0 name 9
TERMINATED 0 name 1
NOCHECK_CALL

drivers/firmware/efi/libstub/secureboot.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 7988345051516456960
PARAM_VALUE 0 *name 0-127,65408-u16max
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 8071576956610498560
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 3140854766145433600
BUF_SIZE 0 name 22
STR_LEN 0 name 10
TERMINATED 0 name 1

drivers/firmware/efi/libstub/secureboot.c efi_get_secureboot_mode() -> efi_get_secureboot_mode param 0()

Type Parameter Key Value
PARAM_VALUE 0 name 8615839419266039808
PARAM_VALUE 0 *name 0-127,65408-u16max
PARAM_VALUE 1 vendor 4096-ptr_max
PARAM_VALUE 2 attr 0
PARAM_VALUE 3 data_size 8071576956610498560
PARAM_VALUE 3 *data_size 1
PARAM_VALUE 4 data 7291483852407296000
PARAM_VALUE 4 *data 0
BUF_SIZE 0 name 20
STR_LEN 0 name 9
TERMINATED 0 name 1
NOCHECK_CALL