Home
last modified time | relevance | path

Searched refs:max_dist (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_calendar.c481 int cnt, max_dist; in sparx5_dsm_calendar_check() local
487 max_dist = data->avg_dist[port]; in sparx5_dsm_calendar_check()
510 cnt = distances[idx] - max_dist; in sparx5_dsm_calendar_check()
517 cnt = cnt + distances[jdx] - max_dist; in sparx5_dsm_calendar_check()
520 if (cnt > max_dist) in sparx5_dsm_calendar_check()
529 port, cnt, max_dist); in sparx5_dsm_calendar_check()
/linux/drivers/base/regmap/
H A Dregcache-rbtree.c390 unsigned int max_dist; in regcache_rbtree_write() local
393 max_dist = map->reg_stride * sizeof(*rbnode_tmp) / in regcache_rbtree_write()
395 if (reg < max_dist) in regcache_rbtree_write()
398 min = reg - max_dist; in regcache_rbtree_write()
399 max = reg + max_dist; in regcache_rbtree_write()
/linux/net/ipv4/
H A Dip_fragment.c91 qp->peer = q->fqdir->max_dist ? in ip4_frag_init()
229 unsigned int max = qp->q.fqdir->max_dist; in ip_frag_too_far()
614 table[3].data = &net->ipv4.fqdir->max_dist; in ip4_frags_ns_ctl_register()
689 net->ipv4.fqdir->max_dist = 64; in ipv4_frags_init_net()
/linux/include/net/
H A Dinet_frag.h18 int max_dist; member
/linux/kernel/sched/
H A Dfair.c1687 int node, max_dist; in task_weight()
1697 max_dist = READ_ONCE(sched_max_numa_distance); in group_weight()
1710 if (dist >= max_dist || node == nid) in group_weight()
1738 faults *= (max_dist - dist); in pgdat_free_space_enough()
1739 faults /= (max_dist - LOCAL_DISTANCE); in pgdat_free_space_enough()
1606 int node, max_dist; score_nearby_nodes() local