Home
last modified time | relevance | path

Searched refs:dm (Results 1 – 2 of 2) sorted by relevance

/net/ipv4/
Dtcp_illinois.c140 static u32 alpha(struct illinois *ca, u32 da, u32 dm) in alpha() argument
142 u32 d1 = dm / 100; /* Low threshold */ in alpha()
178 dm -= d1; in alpha()
180 return (dm * ALPHA_MAX) / in alpha()
181 (dm + (da * (ALPHA_MAX - ALPHA_MIN)) / ALPHA_MIN); in alpha()
192 static u32 beta(u32 da, u32 dm) in beta() argument
196 d2 = dm / 10; in beta()
200 d3 = (8 * dm) / 10; in beta()
231 u32 dm = max_delay(ca); in update_params() local
234 ca->alpha = alpha(ca, da, dm); in update_params()
[all …]
/net/netfilter/ipvs/
Dip_vs_ctl.c2441 struct ip_vs_daemon_user *dm = (struct ip_vs_daemon_user *)arg; in do_ip_vs_set_ctl() local
2448 if (strscpy(cfg.mcast_ifn, dm->mcast_ifn, in do_ip_vs_set_ctl()
2451 cfg.syncid = dm->syncid; in do_ip_vs_set_ctl()
2452 ret = start_sync_thread(ipvs, &cfg, dm->state); in do_ip_vs_set_ctl()
2454 ret = stop_sync_thread(ipvs, dm->state); in do_ip_vs_set_ctl()