Searched refs:ageing_time (Results 1 – 12 of 12) sorted by relevance
/net/dsa/ |
D | switch.c | 18 unsigned int ageing_time) in dsa_switch_fastest_ageing_time() argument 25 if (dp->ageing_time && dp->ageing_time < ageing_time) in dsa_switch_fastest_ageing_time() 26 ageing_time = dp->ageing_time; in dsa_switch_fastest_ageing_time() 29 return ageing_time; in dsa_switch_fastest_ageing_time() 35 unsigned int ageing_time = info->ageing_time; in dsa_switch_ageing_time() local 37 if (ds->ageing_time_min && ageing_time < ds->ageing_time_min) in dsa_switch_ageing_time() 40 if (ds->ageing_time_max && ageing_time > ds->ageing_time_max) in dsa_switch_ageing_time() 44 ageing_time = dsa_switch_fastest_ageing_time(ds, ageing_time); in dsa_switch_ageing_time() 47 return ds->ops->set_ageing_time(ds, ageing_time); in dsa_switch_ageing_time()
|
D | port.c | 690 unsigned int ageing_time = jiffies_to_msecs(ageing_jiffies); in dsa_port_ageing_time() local 694 info.ageing_time = ageing_time; in dsa_port_ageing_time() 700 dp->ageing_time = ageing_time; in dsa_port_ageing_time()
|
D | dsa_priv.h | 50 unsigned int ageing_time; member
|
D | slave.c | 302 ret = dsa_port_ageing_time(dp, attr->u.ageing_time); in dsa_slave_port_attr_set()
|
/net/bridge/ |
D | br_stp.c | 604 .u.ageing_time = jiffies_to_clock_t(t), in __set_ageing_time() 623 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time) in br_set_ageing_time() argument 625 unsigned long t = clock_t_to_jiffies(ageing_time); in br_set_ageing_time() 634 br->ageing_time = t; in br_set_ageing_time() 651 return jiffies_to_clock_t(br->ageing_time); in br_get_ageing_time() 678 br->ageing_time = t; in __br_set_topology_change()
|
D | br_ioctl.c | 162 b.ageing_time = jiffies_to_clock_t(br->ageing_time); in br_dev_siocdevprivate()
|
D | br_stp_if.c | 43 err = __set_ageing_time(p->dev, p->br->ageing_time); in br_init_port()
|
D | br_sysfs_br.c | 133 return sprintf(buf, "%lu\n", jiffies_to_clock_t(br->ageing_time)); in ageing_time_show() 148 static DEVICE_ATTR_RW(ageing_time);
|
D | br_netlink.c | 1522 u32 ageing_time = jiffies_to_clock_t(br->ageing_time); in br_fill_info() local 1547 nla_put_u32(skb, IFLA_BR_AGEING_TIME, ageing_time) || in br_fill_info()
|
D | br_device.c | 526 br->bridge_ageing_time = br->ageing_time = BR_DEFAULT_AGEING_TIME; in br_dev_setup()
|
D | br_private.h | 482 unsigned long ageing_time; member 1812 int br_set_ageing_time(struct net_bridge *br, clock_t ageing_time);
|
D | br_fdb.c | 72 return br->topology_change ? br->forward_delay : br->ageing_time; in hold_time()
|