Lines Matching refs:enabled
102 bool enabled; member
200 nt->enabled = true; in alloc_param_target()
249 return snprintf(buf, PAGE_SIZE, "%d\n", to_target(item)->enabled); in enabled_show()
317 int enabled; in enabled_store() local
321 err = kstrtoint(buf, 10, &enabled); in enabled_store()
326 if (enabled < 0 || enabled > 1) in enabled_store()
328 if ((bool)enabled == nt->enabled) { in enabled_store()
330 nt->enabled ? "started" : "stopped"); in enabled_store()
334 if (enabled) { /* true */ in enabled_store()
357 nt->enabled = false; in enabled_store()
362 nt->enabled = enabled; in enabled_store()
379 if (nt->enabled) { in extended_store()
410 if (nt->enabled) { in dev_name_store()
435 if (nt->enabled) { in local_port_store()
458 if (nt->enabled) { in remote_port_store()
480 if (nt->enabled) { in local_ip_store()
516 if (nt->enabled) { in remote_ip_store()
553 if (nt->enabled) { in remote_mac_store()
572 CONFIGFS_ATTR(, enabled);
663 if (nt->enabled) in drop_netconsole_target()
726 nt->enabled = false; in netconsole_netdev_event()
831 if (nt->extended && nt->enabled && netif_running(nt->np.dev)) in write_ext_msg()
851 if (!nt->extended && nt->enabled && netif_running(nt->np.dev)) { in write_msg()