Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- lib/hexdump.c, line 64 (as a function)
- tools/testing/selftests/bpf/test_tag.c, line 78 (as a function)
Referenced in 38 files:
- arch/mips/kernel/setup.c, line 756
- crypto/asymmetric_keys/asymmetric_type.c, line 225
- crypto/krb5/selftest.c, line 97
- drivers/bus/moxtet.c, line 530
- drivers/infiniband/ulp/srp/ib_srp.c, line 3440
- drivers/infiniband/ulp/srpt/ib_srpt.c, line 3482
- drivers/input/touchscreen/iqs5xx.c
- drivers/md/dm-crypt.c, line 2619
- drivers/md/dm-inlinecrypt.c, line 226
- drivers/md/dm-integrity.c, line 4430
- drivers/md/dm-verity-target.c
- drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c
- drivers/media/cec/usb/rainshadow/rainshadow-cec.c, line 78
- drivers/net/ethernet/chelsio/cxgb3/t3_hw.c, line 699
- drivers/net/netdevsim/dev.c, line 201
- drivers/net/usb/r8152.c, line 2113
- drivers/net/usb/usbnet.c, line 167
- drivers/net/wireless/intel/iwlwifi/fw/debugfs.c, line 262
- drivers/net/wireless/intel/iwlwifi/mld/debugfs.c
- drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c
- drivers/net/wireless/realtek/rtw89/debug.c, line 3540
- drivers/scsi/libsas/sas_scsi_host.c, line 1250
- drivers/target/iscsi/iscsi_target_auth.c
- drivers/target/target_core_fabric_lib.c
- drivers/thunderbolt/switch.c, line 1969
- drivers/usb/gadget/function/uvc_configfs.c, line 1721
- drivers/usb/typec/ucsi/debugfs.c, line 128
- drivers/usb/typec/ucsi/ucsi_ccg.c, line 1267
- fs/fat/namei_vfat.c, line 537
- fs/overlayfs/namei.c, line 659
- init/initramfs.c, line 202
- lib/hexdump.c, line 80
- security/ipe/digest.c, line 58
- security/keys/encrypted-keys/encrypted.c
- security/keys/trusted-keys/trusted_core.c, line 121
- security/keys/trusted-keys/trusted_tpm1.c
- security/loadpin/loadpin.c, line 337
- tools/testing/selftests/bpf/test_tag.c, line 106
Smatch caller information:
drivers/net/wireless/intel/iwlwifi/mld/debugfs.c _iwl_dbgfs_inject_beacon_ie() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 1-u64max |
| PARAM_VALUE | 2 | count | 1-254,18446744071562067968-u64max |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| DATA_SOURCE | 1 | src | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/net/wireless/intel/iwlwifi/mld/debugfs.c iwl_dbgfs_inject_packet_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &rdev->wiphy.mtx |
drivers/thunderbolt/switch.c key_store() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 6089883365984190464 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 32 |
| BUF_SIZE | 0 | dst | 32 |
| DATA_SOURCE | 1 | src | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/net/ethernet/chelsio/cxgb3/t3_hw.c get_vpd_params() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 6 |
| BUF_SIZE | 0 | dst | 6 |
| BUF_SIZE | 1 | src | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c _iwl_dbgfs_inject_beacon_ie() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 0,8254648097242161152 |
| PARAM_VALUE | 2 | count | 1-254 |
| BUF_SIZE | 1 | src | (-1),512 |
| BUF_SIZE | 1 | src | (-1),512 |
| DATA_SOURCE | 1 | src | $1 |
| DATA_SOURCE | 2 | count | $2 [m] |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 1-254[c] |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | src | |
| LOCK2 | &mvm->mutex | ||
| TYPE_LOCK | (struct iwl_mvm)->mutex |
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_indirection_tbl_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 1759976082434789376 |
| PARAM_VALUE | 2 | count | 0-127 |
| BUF_SIZE | 0 | dst | 128 |
| BUF_SIZE | 1 | src | 256 |
| BUF_SIZE | 1 | src | 256 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | src | $1 |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 1-127[c] |
| USER_PTR | 1 | src |
drivers/net/wireless/intel/iwlwifi/mvm/debugfs.c iwl_dbgfs_inject_packet_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 18379471554275704832,18446612682070032384 |
| PARAM_VALUE | 1 | src | 5239764106057875456 |
| PARAM_VALUE | 2 | count | 0-255 |
| BUF_SIZE | 1 | src | 512 |
| BUF_SIZE | 1 | src | 512 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | src | $1 |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 1-255[c] |
| USER_PTR | 1 | src |
init/initramfs.c parse_header() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 7768540699523874816 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 52 |
| BUF_SIZE | 0 | dst | 52 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
drivers/net/usb/usbnet.c usbnet_get_ethernet_addr() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2924029260108013568 |
| PARAM_VALUE | 1 | src | 5959393032068194304 |
| PARAM_VALUE | 1 | *src | 0 |
| PARAM_VALUE | 2 | count | 6 |
| BUF_SIZE | 0 | dst | 6 |
| BUF_SIZE | 1 | src | 13 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
crypto/krb5/selftest.c load_buf() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-505050 |
| BUF_SIZE | 0 | dst | 1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | src | $1 |
| STR_LEN | 0 | dst | 0-1010101 |
| UNITS | 0 | dst | unit_byte |
| UNITS | 2 | count | unit_byte |
drivers/bus/moxtet.c output_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 5948120287129485312 |
| PARAM_VALUE | 1 | src | 5813659912017063936 |
| PARAM_VALUE | 2 | count | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | dst | 10 |
| BUF_SIZE | 1 | src | 21 |
security/keys/encrypted-keys/encrypted.c encrypted_init() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 1-u64max |
| PARAM_VALUE | 2 | count | 20-4096 |
| BUF_SIZE | 0 | dst | 53-69664 |
| DATA_SOURCE | 1 | src | $6 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c encrypted_key_decrypt() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 1-u64max |
| DATA_SOURCE | 1 | src | $2 |
| STR_LEN | 0 | dst | 0-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dst | unit_byte |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c encrypted_key_decrypt() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dst | unit_byte |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
security/keys/encrypted-keys/encrypted.c encrypted_key_decrypt() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | dst | unit_byte |
| LOCK2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | &keyring->sem | ||
| HALF_LOCKED2 | global &key_types_sem |
drivers/media/cec/usb/rainshadow/rainshadow-cec.c rain_process_msg() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | *src | 1-255 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 1 | src | (-1),253 |
| BUF_SIZE | 1 | src | (-1),253 |
| UNITS | 0 | dst | unit_byte |
| HALF_LOCKED2 | &pool->lock |
drivers/net/usb/r8152.c vendor_mac_passthru_addr_read() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4323978891958857728 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 6 |
| BUF_SIZE | 0 | dst | 6 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/target/iscsi/iscsi_target_auth.c chap_server_compute_hash() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 1 | src | 1660553179511803904 |
| PARAM_VALUE | 1 | *src | 0 |
| PARAM_VALUE | 2 | count | 0-1999999 |
| BUF_SIZE | 0 | dst | 0-1999999 |
| BUF_SIZE | 0 | dst | 0-1999999 |
| BUF_SIZE | 1 | src | 128 |
| DATA_SOURCE | 0 | dst | r _kzalloc_noprof |
| STR_LEN | 0 | dst | 0-127 |
| BYTE_COUNT | 0 | ==dst2 | 8050 |
| HALF_LOCKED2 | &pool->lock |
drivers/target/iscsi/iscsi_target_auth.c chap_server_compute_hash() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | *src | 0 |
| PARAM_VALUE | 2 | count | 1-1024,18446744071562067968-u64max |
| BUF_SIZE | 0 | dst | 4096 |
| BUF_SIZE | 0 | dst | 4096 |
| BUF_SIZE | 1 | src | 4096 |
| BUF_SIZE | 1 | src | 4096 |
| DATA_SOURCE | 0 | dst | r _kzalloc_noprof |
| DATA_SOURCE | 1 | src | r _kzalloc_noprof |
| STR_LEN | 0 | dst | 0-18446744073709551613 |
| HALF_LOCKED2 | &pool->lock |
drivers/usb/gadget/function/uvc_configfs.c uvcg_format_bma_controls_store() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 1 | src | 4094 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &buffer->mutex | ||
| LOCK2 | &frag->frag_sem | ||
| LOCK2 | &opts->lock | ||
| LOCK2 | su_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct configfs_buffer)->mutex | ||
| TYPE_LOCK | (struct configfs_fragment)->frag_sem | ||
| TYPE_LOCK | (struct f_uvc_opts)->lock |
drivers/net/wireless/realtek/rtw89/debug.c rtw89_hex2bin() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-4000000 |
| BUF_SIZE | 0 | dst | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 0 | dst | 0-s32max,18446744071562067968-u64max |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| DATA_SOURCE | 0 | dst | r _kmalloc_noprof |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 1-1999999[c] |
| USER_PTR | 1 | src |
drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c extron_add_edid() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | *src | 1-255 |
| PARAM_VALUE | 2 | count | 1 |
| BUF_SIZE | 1 | src | (-1),256 |
| BUF_SIZE | 1 | src | (-1),256 |
| DATA_SOURCE | 1 | src | $1 [m] |
| TERMINATED | 1 | src | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &serio->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct serio)->lock |
drivers/media/cec/usb/extron-da-hd-4k-plus/extron-da-hd-4k-plus.c extron_process_received() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &serio->lock | ||
| LOCK2 | irq | ||
| TYPE_LOCK | (struct serio)->lock |
drivers/target/target_core_fabric_lib.c fc_get_pr_transport_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_fabric_lib.c sas_get_pr_transport_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 8 |
| BUF_SIZE | 1 | src | 220 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_fabric_lib.c sbp_get_pr_transport_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 8 |
| BUF_SIZE | 1 | src | 224 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/target/target_core_fabric_lib.c srp_get_pr_transport_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 0-16 |
| BUF_SIZE | 1 | src | (-1),224 |
| BUF_SIZE | 1 | src | (-1),224 |
| CAPPED_DATA | 2 | count | 1 |
| STR_LEN | 0 | dst | 0-1010100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
drivers/usb/typec/ucsi/debugfs.c ucsi_message_out_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-256 |
| BUF_SIZE | 0 | dst | 256 |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| BUF_SIZE | 1 | src | 1-1000000001,2147479553 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | src | r memdup_user_nul |
| TERMINATED | 1 | src | 1 |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 0-255[c] |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | src |
drivers/net/netdevsim/dev.c nsim_dev_trap_fa_cookie_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 1-ptr_max |
| PARAM_VALUE | 2 | count | 0-3999996 |
| BUF_SIZE | 0 | dst | 0-499999999,1073739775,9223372036854775807 |
| BUF_SIZE | 1 | src | 0-1000000000,2147479552 |
| BUF_SIZE | 1 | src | 0-1000000000,2147479552 |
| DATA_SOURCE | 1 | src | r memdup_user |
| BIT_INFO | 2 | count | 0x0,0x7fffffffffffffff |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 0-3999996 |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | src |
drivers/input/touchscreen/iqs5xx.c iqs5xx_fw_file_parse() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 7847112817316200448 |
| PARAM_VALUE | 2 | count | 4 |
| BUF_SIZE | 0 | dst | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/touchscreen/iqs5xx.c iqs5xx_fw_file_parse() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 1748564119690366976 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| BUF_SIZE | 0 | dst | 255 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/input/touchscreen/iqs5xx.c iqs5xx_fw_file_parse() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 2658446211550613504 |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/usb/typec/ucsi/ucsi_ccg.c do_flash() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 260 |
| BUF_SIZE | 0 | dst | 260 |
| BUF_SIZE | 0 | dst | 260 |
| DATA_SOURCE | 0 | dst | r _kzalloc_noprof |
| UNITS | 1 | src | unit_byte |
| HALF_LOCKED2 | &pool->lock |
security/keys/trusted-keys/trusted_tpm1.c getoptions() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 0-9 |
| BUF_SIZE | 0 | dst | 64 |
| BUF_SIZE | 1 | src | 19 |
security/keys/trusted-keys/trusted_tpm1.c getoptions() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 20 |
| BUF_SIZE | 0 | dst | 20 |
| BUF_SIZE | 1 | src | 19 |
security/keys/trusted-keys/trusted_tpm1.c getoptions() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | count | 20 |
| BUF_SIZE | 0 | dst | 20 |
| BUF_SIZE | 1 | src | 19 |
security/keys/trusted-keys/trusted_tpm1.c getoptions() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | dst | 64 |
| BUF_SIZE | 1 | src | 19 |
drivers/md/dm-integrity.c get_alg_and_key() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-4000000 |
| BUF_SIZE | 0 | dst | 0-u32max |
| BUF_SIZE | 0 | dst | 0-u32max |
| DATA_SOURCE | 0 | dst | r _kmalloc_noprof |
| STR_LEN | 0 | dst | 0-18446744073709551613 |
drivers/infiniband/ulp/srpt/ib_srpt.c srpt_parse_i_port_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-16 |
| BUF_SIZE | 1 | src | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | src | s32min-(-1),1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| STR_LEN | 0 | dst | 0-1010100 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &subsys->su_mutex | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| TYPE_LOCK | (struct configfs_subsystem)->su_mutex |
drivers/infiniband/ulp/srp/ib_srp.c srp_parse_options() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 16 |
| BUF_SIZE | 0 | dst | 16 |
| DATA_SOURCE | 1 | src | r match_strdup |
| STR_LEN | 0 | dst | 32 |
| STR_LEN | 1 | src | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &host->add_target_mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex | ||
| TYPE_LOCK | (struct srp_host)->add_target_mutex |
drivers/md/dm-crypt.c crypt_set_key() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 1-u32max |
| DATA_SOURCE | 1 | src | $1 |
| STR_LEN | 0 | dst | 0-1010101 |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &md->io_barrier |
security/ipe/digest.c ipe_digest_parse() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-505051 |
| BUF_SIZE | 0 | dst | 0-505051 |
| BUF_SIZE | 0 | dst | 0-505051 |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | dst | r _kzalloc_noprof |
| STR_LEN | 0 | dst | 0-1010101 |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &root->i_rwsem |
fs/fat/namei_vfat.c xlate_to_uni() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4225309252153794560 |
| PARAM_VALUE | 2 | count | 2 |
| BUF_SIZE | 0 | dst | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | src | unit_byte |
drivers/scsi/libsas/sas_scsi_host.c sas_request_addr() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-8 |
| BUF_SIZE | 0 | dst | 8 |
| BUF_SIZE | 0 | dst | 8 |
| BUF_SIZE | 1 | src | 1-s32max |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | dst | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | src | unit_byte |
| HALF_LOCKED2 | &pool->lock |
security/keys/trusted-keys/trusted_core.c datablob_parse() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 1-u64max |
| PARAM_VALUE | 2 | count | 0-512 |
| BUF_SIZE | 0 | dst | 512 |
| DATA_SOURCE | 1 | src | r strsep |
| FUZZY_MAX | 2 | count | 512 |
| STR_LEN | 0 | dst | 0-18446744073709551613 |
| HARD_MAX | 2 | count | 512 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &key->sem | ||
| HALF_LOCKED2 | global &key_construction_mutex | ||
| HALF_LOCKED2 | global &key_types_sem |
security/loadpin/loadpin.c read_trusted_verity_root_digests() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 1-u64max |
| PARAM_VALUE | 2 | count | 0-505050 |
| BUF_SIZE | 0 | dst | 0-505050 |
| DATA_SOURCE | 1 | src | r strsep |
| STR_LEN | 0 | dst | 0-505050 |
fs/overlayfs/namei.c ovl_verify_index() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 21-3999997 |
| BUF_SIZE | 1 | src | s32min-(-2),1-s32max |
| BIT_INFO | 2 | count | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | src | unit_byte |
| HALF_LOCKED2 | &fc->uapi_mutex | ||
| HALF_LOCKED2 | &index->d_lockref.lock | ||
| HALF_LOCKED2 | &indexdir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &ofs->workdir->d_lockref.lock | ||
| HALF_LOCKED2 | &sb->s_umount |
drivers/net/wireless/intel/iwlwifi/fw/debugfs.c iwl_dbgfs_send_hcmd_write() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 1 | src | 2893127732350652416 |
| PARAM_VALUE | 2 | count | 0-255 |
| BUF_SIZE | 0 | dst | 0-255,9223372036854775807 |
| BUF_SIZE | 0 | dst | 0-255,9223372036854775807 |
| BUF_SIZE | 1 | src | 512 |
| BUF_SIZE | 1 | src | 512 |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 0 | dst | r _kmalloc_noprof |
| DATA_SOURCE | 1 | src | $1 |
| BIT_INFO | 2 | count | 0x0,0x7fffffffffffffff |
| NOSPEC | 2 | count | |
| USER_DATA | 1 | *src | 0-255 |
| USER_DATA | 2 | count | 0-254[c] |
| USER_PTR | 1 | src |
crypto/asymmetric_keys/asymmetric_type.c __asymmetric_key_hex_to_key_id() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-505050 |
| BUF_SIZE | 0 | dst | 0-505050 |
| CAPPED_DATA | 2 | count | 1 |
| CAPPED_DATA | 2 | count | 1 |
| DATA_SOURCE | 1 | src | $0 |
| DATA_SOURCE | 2 | count | $2 |
| FUZZY_MAX | 2 | count | 10 |
| STR_LEN | 0 | dst | (-1)-1010101 |
| STR_LEN | 1 | src | (-1)-1010101 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | *src | 1-255 |
| UNITS | 1 | src | unit_byte |
| UNITS | 2 | count | unit_byte |
| USER_PTR | 1 | src |
drivers/md/dm-inlinecrypt.c inlinecrypt_get_key() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-128 |
| BUF_SIZE | 0 | dst | 128 |
| DATA_SOURCE | 0 | dst | $1 |
| DATA_SOURCE | 1 | src | $0 |
| DATA_SOURCE | 2 | count | $2 |
| FUZZY_MAX | 2 | count | 128 |
| HARD_MAX | 2 | count | 128 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-verity-target.c verity_ctr() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-4000000 |
| BUF_SIZE | 0 | dst | 0-u32max |
| BUF_SIZE | 0 | dst | 0-u32max |
| DATA_SOURCE | 0 | dst | r _kmalloc_noprof |
| UNITS | 2 | count | unit_byte |
| BYTE_COUNT | 0 | ==dst2 | 8050 |
| HALF_LOCKED2 | &md->type_lock |
drivers/md/dm-verity-target.c verity_setup_salt_and_hashstate() -> hex2bin()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 16,4096-ptr_max |
| PARAM_VALUE | 2 | count | 0-4000000 |
| BUF_SIZE | 0 | dst | 0-u32max |
| BUF_SIZE | 0 | dst | 0-u32max |
| DATA_SOURCE | 0 | dst | r _kmalloc_noprof |
| DATA_SOURCE | 1 | src | $1 |
| STR_LEN | 0 | dst | 0-18446744073709551613 |
| UNITS | 2 | count | unit_byte |
| HALF_LOCKED2 | &md->type_lock |