Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 38 files:

Smatch caller information:

drivers/usb/gadget/function/u_ether.c get_ether_addr() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/gadget/function/u_ether.c get_ether_addr() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

sound/pci/riptide/riptide.c atoh() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

lib/bitmap-str.c bitmap_get_x32_reverse() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &powerclamp_lock
HALF_LOCKED2 global &rdtgroup_mutex

lib/bitmap-str.c bitmap_get_x32_reverse() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &powerclamp_lock
HALF_LOCKED2 global &rdtgroup_mutex

drivers/platform/x86/intel/wmi/thunderbolt.c force_power_store() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/qla2xxx/tcm_qla2xxx.c tcm_qla2xxx_npiv_extract_wwn() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex

drivers/net/ethernet/chelsio/cxgb3/t3_hw.c get_vpd_params() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/net/ethernet/chelsio/cxgb3/t3_hw.c get_vpd_params() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

net/core/pktgen.c hex32_arg() -> hex_to_bin()

Type Parameter Key Value
USER_DATA 0 ch 0-255

lib/hexdump.c hex2bin() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch 0-255
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &opts->lock
HALF_LOCKED2 &serio->lock
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &key_construction_mutex
HALF_LOCKED2 irq
HALF_LOCKED2 su_mutex

lib/hexdump.c hex2bin() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &host->add_target_mutex
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &opts->lock
HALF_LOCKED2 &serio->lock
HALF_LOCKED2 &subsys->su_mutex
HALF_LOCKED2 global &key_construction_mutex
HALF_LOCKED2 irq
HALF_LOCKED2 su_mutex

drivers/target/target_core_spc.c spc_gen_naa_6h_vendor_specific() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-255
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 rcu_read

fs/efivarfs/vars.c validate_load_option() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 0-127
LOCK2 &inode->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

kernel/debug/gdbstub.c gdb_cmd_reg_set() -> hex_to_bin()

Type Parameter Key Value
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c get_packet() -> hex_to_bin()

Type Parameter Key Value
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c get_packet() -> hex_to_bin()

Type Parameter Key Value
LOCK2 rcu_read
HALF_LOCKED2 flags
HALF_LOCKED2 global &dbg_master_lock
HALF_LOCKED2 global &dbg_slave_lock

kernel/debug/gdbstub.c kgdb_hex2long() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-255
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

kernel/debug/gdbstub.c kgdb_hex2mem() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

kernel/debug/gdbstub.c kgdb_hex2mem() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

drivers/auxdisplay/hd44780_common.c hd44780_common_redefine_char() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/media/cec/usb/rainshadow/rainshadow-cec.c rain_process_msg() -> hex_to_bin()

Type Parameter Key Value
HALF_LOCKED2 &pool->lock

lib/string_helpers.c unescape_hex() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &namespace_sem

lib/string_helpers.c unescape_hex() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &namespace_sem

drivers/scsi/aacraid/rx.c aac_rx_check_health() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/scsi/aacraid/rx.c aac_rx_check_health() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/ueagle-atm.c uea_getesi() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/ueagle-atm.c uea_getesi() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

lib/net_utils.c mac_pton() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch 0-255
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &dynamic_netconsole_mutex

lib/net_utils.c mac_pton() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch 0-255
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &mvm->mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &dynamic_netconsole_mutex

security/selinux/selinuxfs.c sel_write_create() -> hex_to_bin()

Type Parameter Key Value

security/selinux/selinuxfs.c sel_write_create() -> hex_to_bin()

Type Parameter Key Value

lib/uuid.c __uuid_parse() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &of->mutex

lib/uuid.c __uuid_parse() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &of->mutex

drivers/media/usb/pvrusb2/pvrusb2-debugifc.c debugifc_parse_unsigned_number() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/tty/vt/vt.c do_con_trol() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-6,16-23,25,28-126,128-154,156-255
DATA_SOURCE 0 ch $2
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch 1-6,16-23,25,28-126,128-154,156-255
LOCK2 global &console_sem
HALF_LOCKED2 &tty->atomic_write_lock
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->legacy_mutex
HALF_LOCKED2 &tty->port->buf.lock
HALF_LOCKED2 &tty->termios_rwsem
HALF_LOCKED2 _T->lock

net/sunrpc/cache.c qword_get() -> hex_to_bin()

Type Parameter Key Value
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 global &nfsd_mutex

net/sunrpc/cache.c qword_get() -> hex_to_bin()

Type Parameter Key Value
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 global &nfsd_mutex

drivers/nvme/target/configfs.c nvmet_ns_device_nguid_store() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 &subsys->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem
TYPE_LOCK (struct nvmet_subsys)->lock

drivers/nvme/target/configfs.c nvmet_ns_device_nguid_store() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 &subsys->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem
TYPE_LOCK (struct nvmet_subsys)->lock

drivers/gpio/gpio-macsmc.c macsmc_gpio_nr() -> hex_to_bin()

Type Parameter Key Value
CAPPED_DATA 0 ch 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &bank->deferred_lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &hdev->driver_input_lock

drivers/gpio/gpio-macsmc.c macsmc_gpio_nr() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock
HALF_LOCKED2 &bank->deferred_lock
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 &hdev->driver_input_lock

drivers/auxdisplay/lcd2s.c lcd2s_redefine_char() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/silabs/wfx/fwio.c get_firmware() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/silabs/wfx/fwio.c get_firmware() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

sound/usb/6fire/firmware.c usb6fire_fw_ihex_hex() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

sound/usb/6fire/firmware.c usb6fire_fw_ihex_hex() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/can327.c can327_parse_frame() -> hex_to_bin()

Type Parameter Key Value
PREEMPT_ADD
HALF_LOCKED2 &elm->lock
HALF_LOCKED2 bh

drivers/net/can/slcan/slcan-core.c slcan_bump_frame() -> hex_to_bin()

Type Parameter Key Value
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/net/can/slcan/slcan-core.c slcan_bump_frame() -> hex_to_bin()

Type Parameter Key Value
HALF_LOCKED2 &tty->ldisc_sem
HALF_LOCKED2 &tty->port->buf.lock

drivers/scsi/scsi_transport_fc.c fc_parse_wwn() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/usb/atm/speedtch.c speedtch_atm_start() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/usb/atm/speedtch.c speedtch_atm_start() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/comedi/drivers/jr3_pci.c read_idm_word() -> hex_to_bin()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dev->mutex
TYPE_LOCK (struct comedi_device)->mutex

drivers/net/ethernet/micrel/ksz884x.c get_mac_addr() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-255
RX_PATH
TASK_NOT_RUNNING

net/core/utils.c xdigit2bin() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-45,47-57,59-255
DATA_SOURCE 0 ch $0
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 ch 1-45,47-57,59-255
HALF_LOCKED2 &cls_conn->ep_mutex
HALF_LOCKED2 global &rx_queue_mutex

drivers/target/tcm_fc/tfc_conf.c ft_parse_wwn() -> hex_to_bin()

Type Parameter Key Value
PARAM_VALUE 0 ch 1-255
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &buffer->mutex
HALF_LOCKED2 &frag->frag_sem
HALF_LOCKED2 &subsys->su_mutex