/openbmc/linux/lib/math/ |
H A D | int_sqrt.c | 20 unsigned long int_sqrt(unsigned long x) in int_sqrt() function 41 EXPORT_SYMBOL(int_sqrt); 54 return int_sqrt((unsigned long) x); in int_sqrt64()
|
H A D | Makefile | 2 obj-y += div64.o gcd.o lcm.o int_log.o int_pow.o int_sqrt.o reciprocal_div.o
|
H A D | prime_numbers.c | 69 unsigned long y = int_sqrt(x); in slow_is_prime_number()
|
/openbmc/linux/include/linux/ |
H A D | math.h | 197 unsigned long int_sqrt(unsigned long); 204 return (u32)int_sqrt(x); in int_sqrt64()
|
/openbmc/linux/drivers/media/pci/cx88/ |
H A D | cx88-dsp.c | 131 return (u32)int_sqrt(sum); in freq_magnitude() 154 return (u32)int_sqrt(sum / samples); in noise_magnitude()
|
/openbmc/linux/Documentation/translations/zh_CN/core-api/ |
H A D | kernel-api.rst | 166 lib/math/int_sqrt.c
|
/openbmc/linux/drivers/thermal/tegra/ |
H A D | tegra30-tsensor.c | 214 c2 = -ts->calib.r - int_sqrt(ts->calib.r * ts->calib.r - c1); in tegra_tsensor_temp_to_counter()
|
/openbmc/linux/fs/nfsd/ |
H A D | nfscache.c | 73 limit = (16 * int_sqrt(low_pages)) << (PAGE_SHIFT-10); in nfsd_cache_size_limit()
|
/openbmc/linux/Documentation/core-api/ |
H A D | kernel-api.rst | 173 .. kernel-doc:: lib/math/int_sqrt.c
|
/openbmc/linux/block/ |
H A D | blk-wbt.c | 410 int_sqrt((rqd->scale_step + 1) << 8)); in rwb_arm_timer()
|
/openbmc/linux/drivers/iio/proximity/ |
H A D | sx9360.c | 516 val = int_sqrt(2 * val); in sx9360_write_thresh()
|
H A D | sx9324.c | 631 val = int_sqrt(2 * val); in sx9324_write_thresh()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | vmk80xx.c | 545 val = int_sqrt(debtime * 1000 / 115); in vmk80xx_cnt_insn_write()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | tc90522.c | 269 p = int_sqrt(cndat << 16); in tc90522s_get_frontend()
|
/openbmc/linux/fs/ceph/ |
H A D | super.h | 967 congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in default_congestion_kb()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1115 h_period = int_sqrt(h_period); in fb_get_hblank_by_dclk()
|
/openbmc/linux/drivers/md/bcache/ |
H A D | bset.c | 1189 state->crit_factor = int_sqrt(1 << page_order); in bch_bset_sort_state_init()
|
/openbmc/linux/kernel/rcu/ |
H A D | tree_nocb.h | 1548 ls = nr_cpu_ids / int_sqrt(nr_cpu_ids); in rcu_organize_nocb_kthreads()
|
/openbmc/linux/fs/nfs/ |
H A D | write.c | 2190 nfs_congestion_kb = (16*int_sqrt(totalram_pages())) << (PAGE_SHIFT-10); in nfs_init_writepagecache()
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | i915_gem_gtt.c | 418 const unsigned long max_step = max(int_sqrt(max_pages), 2UL); in fill_hole()
|
/openbmc/linux/drivers/hid/ |
H A D | wacom_wac.c | 1234 return int_sqrt(x*x + y*y); in int_dist() 3090 width = 2 * int_sqrt(a * WACOM_CONTACT_AREA_SCALE); in wacom_bpt3_touch_msg()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_lp.c | 1743 tmp4 = -int_sqrt(tmp4); in lpphy_calc_rx_iq_comp()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 1237 b = (s32) int_sqrt((unsigned long) b); in wlc_lcnphy_calc_rx_iq_comp()
|
/openbmc/linux/mm/ |
H A D | page_alloc.c | 5762 new_min_free_kbytes = int_sqrt(lowmem_kbytes * 16); in calculate_min_free_kbytes()
|
H A D | vmscan.c | 2878 inactive_ratio = int_sqrt(10 * gb); in inactive_is_low()
|