Home
last modified time | relevance | path

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

/openbmc/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()
/openbmc/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()
/openbmc/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()
616 table[3].data = &net->ipv4.fqdir->max_dist; in ip4_frags_ns_ctl_register()
691 net->ipv4.fqdir->max_dist = 64; in ipv4_frags_init_net()
/openbmc/linux/include/net/
H A Dinet_frag.h18 int max_dist; member
/openbmc/u-boot/include/fsl-mc/
H A Dfsl_dpni.h478 uint16_t max_dist; member
/openbmc/linux/kernel/sched/
H A Dfair.c1651 int node, max_dist; in score_nearby_nodes() local
1661 max_dist = READ_ONCE(sched_max_numa_distance); in score_nearby_nodes()
1674 if (dist >= max_dist || node == nid) in score_nearby_nodes()
1702 faults *= (max_dist - dist); in score_nearby_nodes()
1703 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()