Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 15 files:
- arch/arm64/kvm/pmu-emul.c
- drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c
- drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h, line 2040
- drivers/iio/adc/ade9000.c, line 1422
- drivers/irqchip/irq-sun6i-r.c
- drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c, line 207
- drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c, line 190
- drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c
- drivers/net/wan/fsl_qmc_hdlc.c, line 475
- drivers/pci/controller/pci-tegra.c, line 1780
- drivers/pci/controller/pcie-rcar-host.c, line 1069
- lib/bitmap.c, line 845
- lib/test_bitmap.c
- net/ethtool/bitset.c
- net/ethtool/ioctl.c
Smatch caller information:
drivers/pci/controller/pcie-rcar-host.c rcar_pcie_resume() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 905624741778751488 |
| PARAM_VALUE | 2 | nbits | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu11/smu_v11_0.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8744870598543855616 |
| PARAM_VALUE | 2 | nbits | 64-u32max |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| FUZZY_MAX | 2 | nbits | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
net/ethtool/ioctl.c store_link_ksettings_for_user() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bitmap | 0 |
| PARAM_VALUE | 2 | nbits | 125 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 1 | bitmap | 16 |
| NOCHECK_CALL |
net/ethtool/ioctl.c store_link_ksettings_for_user() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bitmap | 0 |
| PARAM_VALUE | 2 | nbits | 125 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 1 | bitmap | 16 |
| NOCHECK_CALL |
net/ethtool/ioctl.c store_link_ksettings_for_user() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | bitmap | 0 |
| PARAM_VALUE | 2 | nbits | 125 |
| BUF_SIZE | 0 | buf | 16 |
| BUF_SIZE | 1 | bitmap | 16 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu14/smu_v14_0.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 2578117509536436224 |
| PARAM_VALUE | 2 | nbits | 64-u32max |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| FUZZY_MAX | 2 | nbits | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu13/smu_v13_0.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 5794144058321383424 |
| PARAM_VALUE | 2 | nbits | 64-u32max |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| FUZZY_MAX | 2 | nbits | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 9066285424830676992 |
| PARAM_VALUE | 2 | nbits | 64 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| HALF_LOCKED2 | &m->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex |
lib/test_bitmap.c test_bitmap_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8495572224075268096 |
| PARAM_VALUE | 1 | bitmap | 3698964507464785920 |
| PARAM_VALUE | 2 | nbits | 1-959 |
| BUF_SIZE | 0 | buf | 120 |
| BUF_SIZE | 1 | bitmap | 120 |
| FUZZY_MAX | 2 | nbits | 959 |
| HARD_MAX | 2 | nbits | 959 |
| NOCHECK_CALL |
lib/test_bitmap.c test_zero_nbits() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 0 |
| PARAM_VALUE | 1 | bitmap | 0 |
| PARAM_VALUE | 2 | nbits | 0 |
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c sparx5_update_fwd() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4924368405939630080 |
| PARAM_VALUE | 2 | nbits | 65 |
| BUF_SIZE | 0 | buf | 12 |
| BUF_SIZE | 1 | bitmap | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c sparx5_update_fwd() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4924368405939630080 |
| PARAM_VALUE | 1 | bitmap | 7810186281352773632 |
| PARAM_VALUE | 2 | nbits | 65 |
| BUF_SIZE | 0 | buf | 12 |
| BUF_SIZE | 1 | bitmap | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c sparx5_update_fwd() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 4924368405939630080 |
| PARAM_VALUE | 1 | bitmap | 7810186281352773632 |
| PARAM_VALUE | 2 | nbits | 65 |
| BUF_SIZE | 0 | buf | 12 |
| BUF_SIZE | 1 | bitmap | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/microchip/sparx5/sparx5_vlan.c sparx5_vlant_set_mask() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7413953412349767680 |
| PARAM_VALUE | 2 | nbits | 65 |
| BUF_SIZE | 0 | buf | 12 |
| BUF_SIZE | 1 | bitmap | 16 |
| NOCHECK_CALL |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu_cmn.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 3564178587749666816 |
| PARAM_VALUE | 2 | nbits | 64 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &adev->pm.mutex | ||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct amdgpu_pm)->mutex | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/gpu/drm/amd/amdgpu/../pm/swsmu/smu15/smu_v15_0.c smu_feature_bits_to_arr32() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1784297380126846976 |
| PARAM_VALUE | 2 | nbits | 64-u32max |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 0 | buf | 8 |
| BUF_SIZE | 1 | bitmap | 16 |
| DATA_SOURCE | 0 | buf | $1 |
| DATA_SOURCE | 2 | nbits | $2 |
| FUZZY_MAX | 2 | nbits | 64 |
| NOCHECK_CALL |
drivers/pci/controller/pci-tegra.c tegra_pcie_enable_msi() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1257400686047358976 |
| PARAM_VALUE | 2 | nbits | 256 |
| BUF_SIZE | 0 | buf | 32 |
| BUF_SIZE | 1 | bitmap | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mlxsw_sp_acl_erp_master_mask_update() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 924073593522901024 |
| PARAM_VALUE | 2 | nbits | 768 |
| BUF_SIZE | 0 | buf | 96 |
| BUF_SIZE | 0 | buf | 96 |
| BUF_SIZE | 1 | bitmap | 96 |
| DATA_SOURCE | 0 | buf | r mlxsw_reg_percr_master_mask_data |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/net/ethernet/broadcom/bnge/bnge_hwrm_lib.c bnge_hwrm_func_drv_rgtr() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 1352866219356061696 |
| PARAM_VALUE | 1 | bitmap | 724776568951255040 |
| PARAM_VALUE | 2 | nbits | 256 |
| BUF_SIZE | 0 | buf | 32 |
| BUF_SIZE | 1 | bitmap | 32 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
drivers/iio/adc/ade9000.c ade9000_waveform_buffer_config() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 6219381239742341120 |
| PARAM_VALUE | 1 | bitmap | 0,16,4096-ptr_max |
| BUF_SIZE | 1 | bitmap | 8-2048 |
| BUF_SIZE | 1 | bitmap | 8-2048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c cpt_print_engines_mask() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 8376347753549152256 |
| PARAM_VALUE | 2 | nbits | 1-64,2147483648-u32max |
| BUF_SIZE | 0 | buf | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &eng_grp->g->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c print_dbg_info() -> bitmap_to_arr32()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | buf | 7269344426713903104 |
| BUF_SIZE | 0 | buf | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HOST_DATA | 2 | nbits | 0[c] |
| HALF_LOCKED2 | &eng_grps->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pdev->dev.mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &pci_rescan_remove_lock |