Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 27 files:
- block/blk-wbt.c, line 413
- drivers/comedi/drivers/vmk80xx.c, line 545
- drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c, line 118
- drivers/gpu/drm/i915/selftests/i915_gem_gtt.c, line 419
- drivers/hid/wacom_wac.c
- drivers/iio/frequency/adf41513.c, line 658
- drivers/iio/proximity/sx9324.c, line 623
- drivers/iio/proximity/sx9360.c, line 507
- drivers/md/bcache/bset.c, line 1189
- drivers/media/dvb-frontends/tc90522.c, line 269
- drivers/media/pci/cx88/cx88-dsp.c
- drivers/net/wireless/broadcom/b43/phy_lp.c, line 1743
- drivers/net/wireless/broadcom/b43/phy_n.c, line 4547
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c, line 1237
- drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c, line 26158
- drivers/thermal/tegra/tegra30-tsensor.c, line 214
- drivers/video/fbdev/core/fbmon.c, line 1120
- fs/ceph/super.h, line 1020
- fs/nfs/write.c, line 2183
- fs/nfsd/nfscache.c, line 75
- include/linux/math.h, line 207
- kernel/rcu/tree_nocb.h, line 1518
- lib/math/int_sqrt.c
- lib/math/prime_numbers.c, line 80
- lib/math/tests/int_sqrt_kunit.c
- mm/page_alloc.c, line 6731
- mm/vmscan.c, line 2265
Smatch caller information:
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c wlc_phy_calc_rx_iq_comp_nphy() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | bh |
kernel/rcu/tree.c rcu_organize_nocb_kthreads() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|
drivers/iio/proximity/sx9324.c sx9324_write_thresh() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/dma/map_benchmark.c int_sqrt64() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0 |
| DATA_SOURCE | 0 | x | $0 |
| USER_DATA | 0 | x | 0[c] |
drivers/hid/wacom_wac.c int_dist() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-130050,18446744073709421566-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/hid/wacom_wac.c wacom_bpt3_touch_msg() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-664785 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &hdev->dev.driver_data->dyn_callback_lock | ||
| HALF_LOCKED2 | &hdev->dev.driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_data->mutex | ||
| HALF_LOCKED2 | &hdev->driver_input_lock | ||
| HALF_LOCKED2 | &hdev->ll_open_lock |
drivers/gpu/drm/i915/i915_gem_gtt.c fill_hole() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-281474976710655 |
| CAPPED_DATA | 0 | x | 1 |
| CAPPED_DATA | 0 | x | 1 |
drivers/md/bcache/bset.c bch_bset_sort_state_init() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &bch_register_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
drivers/media/dvb-frontends/tc90522.c tc90522s_get_frontend() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0,65536-4098293760 |
| BIT_INFO | 0 | x | 0x0,0xffff0000 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/thermal/tegra/tegra30-tsensor.c tegra_tsensor_temp_to_counter() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &tz->lock |
drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_calc_rx_iq_comp() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/iio/temperature/mlx90632.c int_sqrt64() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
lib/math/prime_numbers.c slow_is_prime_number() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $0 |
mm/page_alloc.c calculate_min_free_kbytes() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex |
drivers/gpu/drm/i915/display/intel_snps_hdmi_pll.c get_ana_cp_int_prop() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/vmscan.c inactive_is_low() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 10-703687441776630 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/broadcom/b43/phy_lp.c lpphy_calc_rx_iq_comp() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &wl->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct b43_wl)->mutex |
drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c wlc_lcnphy_calc_rx_iq_comp() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-s32max,18446744071562067968-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &wl->lock | ||
| HALF_LOCKED2 | bh |
drivers/iio/frequency/adf41513.c adf41513_set_phase_resync() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | r mul_u64_add_u64_div_u64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
fs/ceph/debugfs.c int_sqrt64() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &s->lock | ||
| TYPE_LOCK | (struct seq_file)->lock |
drivers/comedi/drivers/vmk80xx.c vmk80xx_cnt_insn_write() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 8-64782 |
| USER_DATA | 0 | x | 8-64782[c] |
| LOCK2 | &dev->mutex | ||
| LOCK2 | &devpriv->limit_sem | ||
| TYPE_LOCK | (struct comedi_device)->mutex | ||
| TYPE_LOCK | (struct vmk80xx_private)->limit_sem |
fs/nfs/write.c nfs_init_writepagecache() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|
fs/nfsd/nfscache.c nfsd_cache_size_limit() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &nfsd_mutex |
lib/math/tests/int_sqrt_kunit.c int_sqrt_test() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|
block/blk-wbt.c rwb_arm_timer() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0,256-s32max,18446744071562067968-18446744073709551360 |
| BIT_INFO | 0 | x | 0x0,0xffffff00 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/media/pci/cx88/cx88-dsp.c freq_magnitude() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | r int_goertzel |
drivers/media/pci/cx88/cx88-dsp.c noise_magnitude() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-u32max |
drivers/iio/temperature/mlx90635.c int_sqrt64() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | x | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
fs/ceph/super.c default_congestion_kb() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/proximity/sx9360.c sx9360_write_thresh() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | x | 0-u32max |
| 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/video/fbdev/core/fbmon.c fb_get_hblank_by_dclk() -> int_sqrt()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |