Documented in 1 files:

Defined in 1 files as a function:

Referenced in 44 files:

Smatch caller information:

drivers/iommu/amd/iommu.c get_acpihid_device_id() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
RX_PATH
TASK_NOT_RUNNING

init/do_mounts_rd.c rd_load_image() -> str_plural()

Type Parameter Key Value
CAPPED_DATA 0 num 1
CAPPED_DATA 0 num 1

drivers/pnp/isapnp/core.c isapnp_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max

kernel/debug/kdb/kdb_main.c kdb_summary() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
HALF_LOCKED2 rcu_read

kernel/smp.c smp_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 num r num_node_state

kernel/smp.c smp_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
DATA_SOURCE 0 num r num_online_cpus

drivers/gpu/drm/xe/xe_guc_id_mgr.c xe_guc_id_mgr_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
DATA_SOURCE 0 num $1 [m]
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_guc_db_mgr.c xe_guc_db_mgr_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-4294967294
RX_PATH
TASK_NOT_RUNNING

mm/cma.c cma_declare_contiguous_multi() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max
LOCK2 irq

drivers/usb/usbip/vhci_hcd.c vhci_hcd_suspend() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/net/ethernet/chelsio/cxgb4/t4_hw.c mem_intr_handler() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-u16max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 num 0-u16max
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags

drivers/gpu/drm/xe/xe_force_wake.c xe_force_wake_get() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->eu_stall->stream_lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tlb_inval->seqno_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/xe/xe_force_wake.c xe_force_wake_get() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->eu_stall->stream_lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &tlb_inval->seqno_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/xe/xe_force_wake.c xe_force_wake_put() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->eu_stall->stream_lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &tlb_inval->seqno_lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/gpu/drm/xe/xe_force_wake.c xe_force_wake_put() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-64
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &gt->eu_stall->stream_lock
HALF_LOCKED2 &m->lock
HALF_LOCKED2 &param.hwe->gt->oa.gt_lock
HALF_LOCKED2 &tlb_inval->seqno_lock
HALF_LOCKED2 global &drm_unplug_srcu

drivers/usb/host/xhci-ring.c check_interval() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
LOCK2 &xhci->lock
LOCK2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/usb/host/xhci-ring.c check_interval() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
LOCK2 &xhci->lock
LOCK2 flags
TYPE_LOCK (struct xhci_hcd)->lock

drivers/cxl/core/hdm.c devm_cxl_setup_hdm() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/tegra/sor.c tegra_sor_dp_link_configure() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-31
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/tegra/dp.c drm_dp_link_train_fast() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-31
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

drivers/gpu/drm/tegra/dp.c drm_dp_link_train_full() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-31
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &state->dev->mode_config.connection_mutex
HALF_LOCKED2 &state->dev->mode_config.connection_mutex.mutex

fs/ext4/orphan.c ext4_orphan_cleanup() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max,18446744071562067968-u64max

fs/ext4/orphan.c ext4_orphan_cleanup() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max,18446744071562067968-u64max

drivers/i2c/algos/i2c-algo-bit.c bit_xfer() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
DATA_SOURCE 0 num r readbytes
UNITS 0 num unit_byte
HALF_LOCKED2 &bus->mutex
HALF_LOCKED2 &bus->pad->mutex
HALF_LOCKED2 &i2c_adap->dev.driver_data->ast->modeset_lock
HALF_LOCKED2 &i2c_adap->dev.driver_data->mdev->rmmio_lock
HALF_LOCKED2 &i2c_adap->dev.driver_data->mutex

drivers/i2c/algos/i2c-algo-bit.c bit_xfer() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
DATA_SOURCE 0 num r sendbytes
UNITS 0 num unit_byte
HALF_LOCKED2 &bus->mutex
HALF_LOCKED2 &bus->pad->mutex
HALF_LOCKED2 &i2c_adap->dev.driver_data->ast->modeset_lock
HALF_LOCKED2 &i2c_adap->dev.driver_data->mdev->rmmio_lock
HALF_LOCKED2 &i2c_adap->dev.driver_data->mutex

drivers/usb/core/hub.c hub_configure() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-31
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 num unit_array_size

drivers/iommu/arm/arm-smmu/arm-smmu.c arm_smmu_rmr_install_bypass_smr() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max
RX_PATH
TASK_NOT_RUNNING

drivers/nvme/host/pci.c nvme_setup_host_mem() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 num unit_array_size
HALF_LOCKED2 &of->mutex

drivers/usb/core/generic.c usb_choose_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/generic.c usb_choose_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-255
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 num unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/usb/core/generic.c usb_choose_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-255
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
UNITS 0 num unit_array_size
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &udev->dev.mutex

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c num_vfs_gen_param() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-63
FUZZY_MAX 0 num 63
HARD_MAX 0 num 63
LOCK2 global &kunit_run_lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c pf_push_vf_buf_klvs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,4294967235
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c pf_push_vf_buf_klvs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,4294967235
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num $2
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c xe_gt_sriov_pf_config_restart() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num r xe_sriov_pf_get_totalvfs
HALF_LOCKED2 &pool->lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_config.c xe_gt_sriov_pf_config_restart() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num r xe_sriov_pf_get_totalvfs
FUZZY_MAX 0 num 1
HALF_LOCKED2 &pool->lock

drivers/char/hpet.c hpet_alloc() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-32
CAPPED_DATA 0 num 1
RX_PATH
UNITS 0 num unit_array_size

drivers/usb/musb/musb_host.c musb_h_ep0_continue() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
UNITS 0 num unit_byte
LOCK2 &musb->lock
HALF_LOCKED2 &desc->request_mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct musb)->lock

drivers/md/raid0.c dump_zones() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
UNITS 0 num unit_array_size

fs/zonefs/super.c zonefs_init_zgroup() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u32max
CAPPED_DATA 0 num 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 num
UNITS 0 num unit_array_size
HALF_LOCKED2 &fc->uapi_mutex

drivers/nvdimm/namespace_devs.c scan_labels() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &nd_mapping->lock
HALF_LOCKED2 &dev->mutex
TYPE_LOCK (struct nd_mapping)->lock

fs/jbd2/recovery.c jbd2_journal_skip_recovery() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max,18446744071562067968-u64max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &fc->uapi_mutex

kernel/trace/trace.c test_graph_storage_single() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-2,4,8
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &trace_types_lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c pf_push_policy_buf_klvs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1
DATA_SOURCE 0 num $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

drivers/gpu/drm/xe/xe_gt_sriov_pf_policy.c pf_push_policy_buf_klvs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1
DATA_SOURCE 0 num $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 _T->lock

fs/ntfs/attrib.c ntfs_attr_make_non_resident() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-9223372036854775807
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ni->mrec_lock

drivers/usb/gadget/function/u_serial.c userial_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 8

drivers/usb/core/config.c usb_parse_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1
UNITS 0 num unit_byte
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/config.c usb_parse_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max
UNITS 0 num unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/config.c usb_parse_configuration() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
UNITS 0 num unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/config.c usb_parse_endpoint() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-32
UNITS 0 num unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/config.c usb_parse_interface() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/usb/core/config.c usb_parse_interface() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-s32max
UNITS 0 num unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &port_dev->status_lock
HALF_LOCKED2 global &usb_bus_idr_lock

drivers/accessibility/speakup/kobjects.c report_char_chartab_status() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
DATA_SOURCE 0 num $3
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/accessibility/speakup/kobjects.c report_msg_status() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
DATA_SOURCE 0 num $3
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/gpu/drm/i915/display/intel_crtc.c intel_crtc_init() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-8
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 &pool->lock

drivers/nvdimm/region.c nd_region_probe() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dev->mutex

drivers/gpu/drm/xe/xe_pci_sriov.c pf_disable_vfs() -> str_plural()

Type Parameter Key Value
DATA_SOURCE 0 num r pci_num_vf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_pci_sriov.c pf_disable_vfs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num r pci_num_vf
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_pci_sriov.c pf_enable_vfs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num $1
NOSPEC 0 num
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_pci_sriov.c pf_enable_vfs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 0-u16max
DATA_SOURCE 0 num r xe_sriov_pf_get_totalvfs
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_pci_sriov.c pf_enable_vfs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num $1
NOSPEC 0 num
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock

drivers/gpu/drm/xe/xe_pci_sriov.c pf_link_vfs() -> str_plural()

Type Parameter Key Value
PARAM_VALUE 0 num 1-u16max
CAPPED_DATA 0 num 1
DATA_SOURCE 0 num $1
NOSPEC 0 num
NOSPEC 0 num
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 num 1-u16max[c]
NO_OVERFLOW_SIMPLE 0 num
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pdev->dev.mutex
HALF_LOCKED2 global &pci_rescan_remove_lock