Defined in 2 files as a function:
- arch/x86/boot/compressed/efi.h, line 108 (as a function)
- include/linux/efi.h, line 702 (as a function)
Referenced in 10 files:
- arch/x86/boot/compressed/efi.c, line 231
- arch/x86/platform/efi/quirks.c
- block/partitions/efi.c
- drivers/firmware/efi/efi-pstore.c, line 197
- drivers/firmware/efi/efi.c
- drivers/firmware/efi/libstub/efi-stub-helper.c, line 501
- drivers/virt/coco/efi_secret/efi_secret.c
- fs/efivarfs/vars.c
- security/integrity/platform_certs/keyring_handler.c
- sound/soc/codecs/cs-amp-lib-test.c
Smatch caller information:
drivers/virt/coco/efi_secret/efi_secret.c efi_secret_securityfs_setup() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/virt/coco/efi_secret/efi_secret.c efi_secret_securityfs_setup() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/firmware/efi/libstub/efi-stub-helper.c get_efi_config_table() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | right | $0 |
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
block/partitions/efi.c compare_gpts() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/efi.c efi_partition() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/efi.c is_pte_valid() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
drivers/firmware/efi/efi-pstore.c efi_pstore_read() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &psi->read_mutex | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &efivars_lock | ||
| HALF_LOCKED2 | global &psinfo_lock | ||
| TYPE_LOCK | (struct pstore_info)->read_mutex |
fs/efivarfs/vars.c efivar_validate() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | left | $0 |
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/efivarfs/vars.c efivar_variable_is_removable() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | right | $0 |
| STR_LEN | 0 | left | (-1)-1010101 |
| STR_LEN | 1 | right | (-1)-1010101 |
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &efivars_lock |
arch/x86/platform/efi/quirks.c efi_reuse_config() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | irq |
arch/x86/platform/efi/quirks.c efi_reuse_config() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | irq |
security/integrity/platform_certs/keyring_handler.c get_handler_for_ca_keys() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_code_signing_keys() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_db() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_dbx() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_dbx() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_dbx() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
security/integrity/platform_certs/keyring_handler.c get_handler_for_mok() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
drivers/firmware/efi/efi.c match_config_table() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | irq |
drivers/firmware/efi/efi.c match_config_table() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | irq |
drivers/firmware/efi/efi.c match_config_table() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
| LOCK2 | irq |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_all_zeros() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_hp_30() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_hp_31() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_lenovo_00() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_lenovo_d0() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_efi_variable_lenovo_d1() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_get_hp_cal_efi_variable() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_set_efi_variable() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |
sound/soc/codecs/cs-amp-lib-test.c cs_amp_lib_test_set_hp_efi_cal_variable() -> efi_guidcmp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BIT_INFO | 0 | left | 0x0,0x0 |
| BIT_INFO | 1 | right | 0x0,0x0 |