Searched refs:monitor (Results 1 - 4 of 4) sorted by relevance
/systemd/src/rfkill/ |
H A D | rfkill.c | 93 _cleanup_udev_monitor_unref_ struct udev_monitor *monitor = NULL; local 112 monitor = udev_monitor_new_from_netlink(udev, "udev"); 113 if (!monitor) 114 return log_error_errno(errno, "Failed to acquire monitor: %m"); 116 r = udev_monitor_filter_add_match_subsystem_devtype(monitor, "rfkill", NULL); 118 return log_error_errno(r, "Failed to add rfkill udev match to monitor: %m"); 120 r = udev_monitor_enable_receiving(monitor); 124 watch_fd = udev_monitor_get_fd(monitor); 145 return log_error_errno(r, "Failed to watch udev monitor: %m"); 147 t = udev_monitor_receive_device(monitor); [all...] |
/systemd/src/udev/ |
H A D | udevd.c | 88 struct udev_monitor *monitor; member in struct:Manager 148 struct udev_monitor *monitor; member in struct:worker 194 udev_monitor_unref(worker->monitor); 227 /* close monitor, but keep address around */ 229 worker->monitor = udev_monitor_ref(worker_monitor); 311 udev_monitor_unref(manager->monitor); 343 udev_monitor_allow_unicast_sender(worker_monitor, manager->monitor); 368 manager->monitor = udev_monitor_unref(manager->monitor); 565 count = udev_monitor_send_device(manager->monitor, worke 1321 _cleanup_udev_monitor_unref_ struct udev_monitor *monitor = NULL; local [all...] |
/systemd/src/network/ |
H A D | networkd-manager.c | 229 struct udev_monitor *monitor = m->udev_monitor; local 232 device = udev_monitor_receive_device(monitor); 259 return log_error_errno(r, "Could not add udev monitor filter: %m"); 263 log_error("Could not enable udev monitor");
|
/systemd/src/libsystemd/sd-bus/ |
H A D | busctl.c | 1083 static int monitor(sd_bus *bus, char *argv[], int (*dump)(sd_bus_message *m, FILE *f)) { function 1170 r = monitor(bus, argv, message_pcap); 1714 " monitor [SERVICE...] Show bus traffic\n" 1945 if (streq(argv[optind], "monitor")) 1946 return monitor(bus, argv + optind, message_dump); 1993 if (streq_ptr(argv[optind], "monitor") || 1998 log_error_errno(r, "Failed to set monitor mode: %m");
|
Completed in 42 milliseconds