Home
last modified time | relevance | path

Searched refs:ageing_time (Results 1 – 9 of 9) sorted by relevance

/net/dsa/
Dslave.c403 unsigned int ageing_time) in dsa_fastest_ageing_time() argument
410 if (dp && dp->ageing_time && dp->ageing_time < ageing_time) in dsa_fastest_ageing_time()
411 ageing_time = dp->ageing_time; in dsa_fastest_ageing_time()
414 return ageing_time; in dsa_fastest_ageing_time()
423 unsigned long ageing_jiffies = clock_t_to_jiffies(attr->u.ageing_time); in dsa_slave_ageing_time()
424 unsigned int ageing_time = jiffies_to_msecs(ageing_jiffies); in dsa_slave_ageing_time() local
431 ds->ports[p->port].ageing_time = ageing_time; in dsa_slave_ageing_time()
432 ageing_time = dsa_fastest_ageing_time(ds, ageing_time); in dsa_slave_ageing_time()
435 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_slave_ageing_time()
/net/bridge/
Dbr_stp.c573 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time) in br_set_ageing_time() argument
579 .u.ageing_time = ageing_time, in br_set_ageing_time()
581 unsigned long t = clock_t_to_jiffies(ageing_time); in br_set_ageing_time()
588 br->ageing_time = t; in br_set_ageing_time()
Dbr_stp_if.c43 .u.ageing_time = jiffies_to_clock_t(p->br->ageing_time), in br_init_port()
Dbr_ioctl.c148 b.ageing_time = jiffies_to_clock_t(br->ageing_time); in old_dev_ioctl()
Dbr_netlink.c1169 u32 ageing_time = jiffies_to_clock_t(br->ageing_time); in br_fill_info() local
1192 nla_put_u32(skb, IFLA_BR_AGEING_TIME, ageing_time) || in br_fill_info()
Dbr_sysfs_br.c106 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show()
120 static DEVICE_ATTR_RW(ageing_time);
Dbr_private.h304 unsigned long ageing_time; member
995 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time);
Dbr_device.c416 br->ageing_time = BR_DEFAULT_AGEING_TIME; in br_dev_setup()
Dbr_fdb.c65 return br->topology_change ? br->forward_delay : br->ageing_time; in hold_time()
297 unsigned long next_timer = jiffies + br->ageing_time; in br_fdb_cleanup()