Home
last modified time | relevance | path

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

/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.c92 if (q->fqdir->max_dist) { in ip4_frag_init()
223 unsigned int max = qp->q.fqdir->max_dist; in ip_frag_too_far()
608 table[3].data = &net->ipv4.fqdir->max_dist; in ip4_frags_ns_ctl_register()
683 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.c1883 int node, max_dist; in score_nearby_nodes() local
1893 max_dist = READ_ONCE(sched_max_numa_distance); in score_nearby_nodes()
1906 if (dist >= max_dist || node == nid) in score_nearby_nodes()
1934 faults *= (max_dist - dist); in score_nearby_nodes()
1935 faults /= (max_dist - LOCAL_DISTANCE); in score_nearby_nodes()