Home
last modified time | relevance | path

Searched refs:best_dist (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/base/regmap/
H A Dregcache-rbtree.c391 unsigned int dist, best_dist = UINT_MAX; in regcache_rbtree_write() local
417 if (dist < best_dist) { in regcache_rbtree_write()
419 best_dist = dist; in regcache_rbtree_write()
/openbmc/linux/io_uring/
H A Dkbuf.c561 size_t best_dist; in io_lookup_buf_free_entry() local
569 if (!best || dist < best_dist) { in io_lookup_buf_free_entry()
573 best_dist = dist; in io_lookup_buf_free_entry()
/openbmc/linux/drivers/media/i2c/s5c73m3/
H A Ds5c73m3-core.c799 int best_dist = INT_MAX; in s5c73m3_find_frame_size() local
807 if (dist < best_dist) { in s5c73m3_find_frame_size()
808 best_dist = dist; in s5c73m3_find_frame_size()
/openbmc/linux/drivers/video/fbdev/
H A Dsh_mobile_lcdcfb.c1822 unsigned int best_dist = (unsigned int)-1; in sh_mobile_lcdc_check_var() local
1845 if (dist < best_dist) { in sh_mobile_lcdc_check_var()
1848 best_dist = dist; in sh_mobile_lcdc_check_var()
1854 if (best_dist == (unsigned int)-1) in sh_mobile_lcdc_check_var()
/openbmc/linux/drivers/md/
H A Draid1.c601 sector_t best_dist; in read_balance() local
617 best_dist = MaxSector; in read_balance()
670 if (best_dist < MaxSector) in read_balance()
751 if (dist < best_dist) { in read_balance()
752 best_dist = dist; in read_balance()
H A Draid10.c731 sector_t new_distance, best_dist; in read_balance() local
745 best_dist = MaxSector; in read_balance()
794 if (best_dist < MaxSector) in read_balance()
852 if (new_distance < best_dist) { in read_balance()
853 best_dist = new_distance; in read_balance()