Documented in 1 files:

Defined in 2 files as a prototype:

Defined in 1 files as a function:

Referenced in 44 files:

Smatch caller information:

drivers/media/pci/intel/ipu-bridge.c ipu_bridge_instantiate_vcm() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 45
BUF_SIZE 0 s 20
STR_LEN 0 s 19
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &list_lock

drivers/platform/x86/lenovo/think-lmi.c kbdlang_store() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 c 10
DATA_SOURCE 0 s $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/smb/client/cifsroot.c cifs_root_setup() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 c 44
DATA_SOURCE 0 s r strchr
HALF_LOCKED2 irq

drivers/remoteproc/stm32_rproc.c stm32_rproc_prepare() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
BUF_SIZE 0 s s32min,(-10),1-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &rproc->lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct rproc)->lock

mm/slub.c kmem_cache_flags() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 1 c 44
HALF_LOCKED2 global &slab_mutex

net/dsa/conduit.c tagging_store() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 c 10
DATA_SOURCE 0 s $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

lib/vsprintf.c device_node_string() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
STR_LEN 0 s (-1)
STR_LEN 0 s (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING

drivers/net/ethernet/mellanox/mlx5/core/sh_devlink.c mlx5_shd_init() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r kstrndup
RX_PATH
TASK_NOT_RUNNING

drivers/accel/habanalabs/common/firmware_if.c extract_u32_until_given_char() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-18446744073709547521
PARAM_VALUE 1 c 45-46
BUF_SIZE 0 s (-1),128
BUF_SIZE 0 s (-1),128
DATA_SOURCE 0 s $0
DATA_SOURCE 1 c $2
HARD_MAX 1 c 46

drivers/of/fdt.c early_init_dt_scan_chosen_stdout() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-18446744073709547519
PARAM_VALUE 1 c 58
CAPPED_DATA 0 s 1

fs/overlayfs/util.c ovl_get_redirect_xattr() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4097-u64max
PARAM_VALUE 1 c 47

drivers/pci/endpoint/pci-epf-core.c pci_epf_create() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 46
BUF_SIZE 0 s 0-s32max
BUF_SIZE 0 s 0-s32max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex

drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c brcmf_pcie_parse_otp_sys_vendor() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4098-u64max
PARAM_VALUE 1 c 32
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/apcs-msm8916.c qcom_apcs_msm8916_clk_probe() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
RX_PATH
TASK_NOT_RUNNING

fs/namespace.c statmount_opt_process() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 0-18446744073709551614
PARAM_VALUE 1 c 44
CAPPED_DATA 0 s 1
UNITS 0 s unit_byte
LOCK2 global &namespace_sem

drivers/media/platform/renesas/vsp1/vsp1_pipe.c __vsp1_pipeline_dump() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 32
BUF_SIZE 0 s 52
RX_PATH
TASK_NOT_RUNNING
LOCK2 _T->lock

kernel/debug/kdb/kdb_io.c vkdb_printf() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 9051535239494746112
PARAM_VALUE 1 c 10
BUF_SIZE 0 s 256
RX_PATH
TASK_NOT_RUNNING
LOCK2 flags

drivers/pci/pci.c pci_dev_str_match_path() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 59
DATA_SOURCE 0 s $1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->dev.mutex
HALF_LOCKED2 global &resource_alignment_lock

drivers/net/ethernet/mellanox/mlx5/core/devlink.c mlx5_devlink_serial_numbers_put() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r kstrndup
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devlink->lock

fs/smb/server/vfs.c __ksmbd_vfs_kern_path() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 47
HALF_LOCKED2 &pool->lock

drivers/bluetooth/hci_bcm4377.c bcm4377_parse_otp_str() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4098-u64max
PARAM_VALUE 1 c 32
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/overlayfs/namei.c ovl_lookup_layer() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 47
UNITS 0 s unit_byte

drivers/of/base.c __of_find_node_by_full_path() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4097-u64max
PARAM_VALUE 1 c 47
DATA_SOURCE 0 s $1 [m]
STR_LEN 0 s (-1)
STR_LEN 0 s (-1)
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 flags
HALF_LOCKED2 global &devtree_lock
HALF_LOCKED2 global &of_mutex
HALF_LOCKED2 global &of_overlay_phandle_mutex

drivers/of/base.c of_find_node_opts_by_path() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 0-46,48-255
PARAM_VALUE 1 c 47
BUF_SIZE 0 s s32min-s32max
DATA_SOURCE 0 s $0
STR_LEN 0 s (-1),1,4-9,12-16,24-34,37-39,41,43-44,46,51-53,55,62,71,81,84
STR_LEN 0 s (-1),1,4-9,12-16,24-34,37-39,41,43-44,46,51-53,55,62,71,81,84
RX_PATH
TASK_NOT_RUNNING
UNITS 0 s unit_array_size
HALF_LOCKED2 global &of_mutex
HALF_LOCKED2 global &of_overlay_phandle_mutex
HALF_LOCKED2 global &wtd_deferred_reg_mutex
HALF_LOCKED2 irq

drivers/of/base.c of_node_name_eq() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
DATA_SOURCE 0 s r kbasename
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &device->clients_lock
HALF_LOCKED2 flags
HALF_LOCKED2 global &component_mutex
HALF_LOCKED2 global &devfreq_event_list_lock
HALF_LOCKED2 global &devtree_lock
HALF_LOCKED2 global &gpd_list_lock
HALF_LOCKED2 global &of_overlay_phandle_mutex

drivers/base/property.c fwnode_name_eq() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 64
DATA_SOURCE 0 s r fwnode_get_name
RX_PATH
TASK_NOT_RUNNING

drivers/clk/microchip/clk-mpfs-ccc.c mpfs_ccc_register_plls() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
RX_PATH
TASK_NOT_RUNNING

drivers/clk/qcom/a53-pll.c qcom_a53pll_probe() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 64
RX_PATH
TASK_NOT_RUNNING

drivers/iio/adc/qcom-spmi-adc5.c adc5_get_fw_channel_data() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 64
BUF_SIZE 0 s 0-s32max
BUF_SIZE 0 s 0-s32max
CAPPED_DATA 0 s 1
DATA_SOURCE 0 s r devm_kasprintf
TERMINATED 0 s 1
RX_PATH
TASK_NOT_RUNNING

security/integrity/ima/ima_template.c template_desc_init_fields() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 1 c 124
BUF_SIZE 0 s (-1),69
BUF_SIZE 0 s (-1),69

drivers/gpu/drm/i915/intel_wakeref.c intel_ref_tracker_show() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 1 c 10
BUF_SIZE 0 s 4096,u64max
BUF_SIZE 0 s 4096,u64max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &m->lock
TYPE_LOCK (struct seq_file)->lock

security/tomoyo/util.c tomoyo_get_domainname() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4097-u64max
PARAM_VALUE 1 c 32

sound/soc/codecs/rt1320-sdw.c rt1320_dspfw_load_code() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING

sound/soc/codecs/rt1320-sdw.c rt1320_dspfw_load_code() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING

sound/soc/codecs/rt1320-sdw.c rt1320_dspfw_load_code() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING

sound/soc/codecs/rt1320-sdw.c rt1320_rae_load() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/codecs/rt1320-sdw.c rt1320_rae_load() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

sound/soc/codecs/rt1320-sdw.c rt1320_rae_load() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 1-u64max
PARAM_VALUE 1 c 32
DATA_SOURCE 0 s r dmi_get_system_info
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &card->controls_rwsem
HALF_LOCKED2 &card->mutex
HALF_LOCKED2 _T->lock

kernel/module/main.c verify_module_namespace() -> strchrnul()

Type Parameter Key Value
PARAM_VALUE 0 s 4096-ptr_max
PARAM_VALUE 0 *s 1-255
PARAM_VALUE 1 c 44
BUF_SIZE 0 s s32min,(-10),(-1)-s32max
BUF_SIZE 0 s s32min,(-10),(-1)-s32max
DATA_SOURCE 0 s $0 [m]
TASK_NOT_RUNNING
LOCK2 global &module_mutex