Home
last modified time | relevance | path

Searched refs:brport_attr (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/net/bridge/
H A Dbr_sysfs_if.c297 struct brport_attribute *brport_attr = to_brport_attr(attr); in brport_show() local
300 if (!brport_attr->show) in brport_show()
303 return brport_attr->show(p, buf); in brport_show()
310 struct brport_attribute *brport_attr = to_brport_attr(attr); in brport_store() local
322 if (brport_attr->store_raw) { in brport_store()
331 ret = brport_attr->store_raw(p, buf_copy); in brport_store()
334 } else if (brport_attr->store) { in brport_store()
339 ret = brport_attr->store(p, val); in brport_store()
/kernel/linux/linux-6.6/net/bridge/
H A Dbr_sysfs_if.c304 struct brport_attribute *brport_attr = to_brport_attr(attr); in brport_show() local
307 if (!brport_attr->show) in brport_show()
310 return brport_attr->show(p, buf); in brport_show()
317 struct brport_attribute *brport_attr = to_brport_attr(attr); in brport_store() local
329 if (brport_attr->store_raw) { in brport_store()
338 ret = brport_attr->store_raw(p, buf_copy); in brport_store()
341 } else if (brport_attr->store) { in brport_store()
346 ret = brport_attr->store(p, val); in brport_store()

Completed in 2 milliseconds