Lines Matching refs:enabled
105 bool enabled; member
231 nt->enabled = true; in alloc_param_target()
281 return sysfs_emit(buf, "%d\n", to_target(item)->enabled); in enabled_show()
354 bool enabled; in enabled_store() local
358 err = kstrtobool(buf, &enabled); in enabled_store()
363 if ((bool)enabled == nt->enabled) { in enabled_store()
365 nt->enabled ? "started" : "stopped"); in enabled_store()
369 if (enabled) { /* true */ in enabled_store()
395 nt->enabled = false; in enabled_store()
400 nt->enabled = enabled; in enabled_store()
417 if (nt->enabled) { in release_store()
445 if (nt->enabled) { in extended_store()
472 if (nt->enabled) { in dev_name_store()
497 if (nt->enabled) { in local_port_store()
520 if (nt->enabled) { in remote_port_store()
542 if (nt->enabled) { in local_ip_store()
578 if (nt->enabled) { in remote_ip_store()
615 if (nt->enabled) { in remote_mac_store()
634 CONFIGFS_ATTR(, enabled);
717 if (nt->enabled) in drop_netconsole_target()
780 nt->enabled = false; in netconsole_netdev_event()
902 if (nt->extended && nt->enabled && netif_running(nt->np.dev)) in write_ext_msg()
922 if (!nt->extended && nt->enabled && netif_running(nt->np.dev)) { in write_msg()