Home
last modified time | relevance | path

Searched refs:tol (Results 1 – 3 of 3) sorted by relevance

/net/tipc/
Dlink.h122 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol,
Dlink.c2608 u32 tol; in tipc_nl_parse_link_prop() local
2610 tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_parse_link_prop()
2611 if ((tol < TIPC_MIN_LINK_TOL) || (tol > TIPC_MAX_LINK_TOL)) in tipc_nl_parse_link_prop()
2885 void tipc_link_set_tolerance(struct tipc_link *l, u32 tol, in tipc_link_set_tolerance() argument
2888 l->tolerance = tol; in tipc_link_set_tolerance()
2890 l->bc_rcvlink->tolerance = tol; in tipc_link_set_tolerance()
2892 tipc_link_build_proto_msg(l, STATE_MSG, 0, 0, 0, tol, 0, xmitq); in tipc_link_set_tolerance()
Dnode.c617 unsigned long tol = tipc_link_tolerance(l); in tipc_node_calculate_timer() local
618 unsigned long intv = ((tol / 4) > 500) ? 500 : tol / 4; in tipc_node_calculate_timer()
625 tipc_link_set_abort_limit(l, tol / n->keepalive_intv); in tipc_node_calculate_timer()
2471 u32 tol; in tipc_nl_node_set_link() local
2473 tol = nla_get_u32(props[TIPC_NLA_PROP_TOL]); in tipc_nl_node_set_link()
2474 tipc_link_set_tolerance(link, tol, &xmitq); in tipc_nl_node_set_link()