Home
last modified time | relevance | path

Searched refs:monitor (Results 1 – 25 of 30) sorted by relevance

12

/systemd-251/src/libudev/
Dlibudev-monitor.c31 sd_device_monitor *monitor; member
87 .monitor = TAKE_PTR(m), in udev_monitor_new_from_netlink()
105 return sd_device_monitor_filter_update(udev_monitor->monitor); in udev_monitor_filter_update()
119 return device_monitor_enable_receiving(udev_monitor->monitor); in udev_monitor_enable_receiving()
135 return sd_device_monitor_set_receive_buffer_size(udev_monitor->monitor, (size_t) size); in udev_monitor_set_receive_buffer_size()
141 sd_device_monitor_unref(udev_monitor->monitor); in udev_monitor_free()
191 return device_monitor_get_fd(udev_monitor->monitor); in udev_monitor_get_fd()
202 r = device_monitor_receive_device(udev_monitor->monitor, ret); in udev_monitor_receive_sd_device()
208 … r = fd_wait_for_event(device_monitor_get_fd(udev_monitor->monitor), POLLIN, 0); in udev_monitor_receive_sd_device()
272 …r = sd_device_monitor_filter_add_match_subsystem_devtype(udev_monitor->monitor, subsystem, devtype… in udev_monitor_filter_add_match_subsystem_devtype()
[all …]
Dmeson.build10 'libudev-monitor.c',
/systemd-251/src/udev/
Dudevadm-wait.c108 static int device_monitor_handler(sd_device_monitor *monitor, sd_device *device, void *userdata) { in device_monitor_handler() argument
112 assert(monitor); in device_monitor_handler()
121 return check_and_exit(sd_device_monitor_get_event(monitor)); in device_monitor_handler()
147 return check_and_exit(sd_device_monitor_get_event(monitor)); in device_monitor_handler()
158 return check_and_exit(sd_device_monitor_get_event(monitor)); in device_monitor_handler()
168 return check_and_exit(sd_device_monitor_get_event(monitor)); in device_monitor_handler()
175 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in setup_monitor()
181 r = sd_device_monitor_new(&monitor); in setup_monitor()
185 (void) sd_device_monitor_set_receive_buffer_size(monitor, 128*1024*1024); in setup_monitor()
187 r = sd_device_monitor_attach_event(monitor, event); in setup_monitor()
[all …]
Dudevadm-monitor.c29 static int device_monitor_handler(sd_device_monitor *monitor, sd_device *device, void *userdata) { in device_monitor_handler() argument
63 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in setup_monitor()
67 r = device_monitor_new_full(&monitor, sender, -1); in setup_monitor()
71 (void) sd_device_monitor_set_receive_buffer_size(monitor, 128*1024*1024); in setup_monitor()
73 r = sd_device_monitor_attach_event(monitor, event); in setup_monitor()
78 … r = sd_device_monitor_filter_add_match_subsystem_devtype(monitor, subsystem, devtype); in setup_monitor()
85 r = sd_device_monitor_filter_add_match_tag(monitor, tag); in setup_monitor()
90 r = sd_device_monitor_start(monitor, device_monitor_handler, INT_TO_PTR(sender)); in setup_monitor()
94 (void) sd_event_source_set_description(sd_device_monitor_get_event_source(monitor), in setup_monitor()
97 *ret = TAKE_PTR(monitor); in setup_monitor()
Dudevd.c102 sd_device_monitor *monitor; member
155 sd_device_monitor *monitor; member
211 sd_device_monitor_unref(worker->monitor); in worker_free()
233 manager->monitor = sd_device_monitor_unref(manager->monitor); in manager_clear_for_worker()
280 .monitor = sd_device_monitor_ref(worker_monitor), in worker_new()
332 manager->monitor = sd_device_monitor_unref(manager->monitor); in manager_exit()
375 static void device_broadcast(sd_device_monitor *monitor, sd_device *dev, EventResult result) { in device_broadcast() argument
381 if (!monitor) in device_broadcast()
421 r = device_monitor_send_device(monitor, NULL, dev); in device_broadcast()
632 static int worker_device_monitor_handler(sd_device_monitor *monitor, sd_device *dev, void *userdata… in worker_device_monitor_handler() argument
[all …]
Dmeson.build10 'udevadm-monitor.c',
/systemd-251/test/units/
Dtestsuite-17.03.sh43 udevadm monitor --udev --property --subsystem-match=mem >"$TMPDIR"/monitor.txt &
53 cat "$TMPDIR"/monitor.txt
54 grep -q 'UDEV_WORKER_FAILED=1' "$TMPDIR"/monitor.txt
55 grep -q 'UDEV_WORKER_SIGNAL=6' "$TMPDIR"/monitor.txt
56 grep -q 'UDEV_WORKER_SIGNAL_NAME=ABRT' "$TMPDIR"/monitor.txt
/systemd-251/src/cryptsetup/
Dcryptsetup.c738 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in make_security_device_monitor()
755 r = sd_device_monitor_new(&monitor); in make_security_device_monitor()
759 r = sd_device_monitor_filter_add_match_tag(monitor, "security-device"); in make_security_device_monitor()
763 r = sd_device_monitor_attach_event(monitor, event); in make_security_device_monitor()
767 r = sd_device_monitor_start(monitor, NULL, NULL); in make_security_device_monitor()
772 *ret_monitor = TAKE_PTR(monitor); in make_security_device_monitor()
778 sd_device_monitor *monitor) { in run_security_device_monitor() argument
783 assert(monitor); in run_security_device_monitor()
920 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in attach_luks_or_plain_or_bitlk_by_fido2()
1010 if (!monitor) { in attach_luks_or_plain_or_bitlk_by_fido2()
[all …]
/systemd-251/src/shared/
Dudev-util.c161 static int device_monitor_handler(sd_device_monitor *monitor, sd_device *device, void *userdata) { in device_monitor_handler() argument
204 return sd_event_exit(sd_device_monitor_get_event(monitor), 0); in device_monitor_handler()
214 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in device_wait_for_initialization_internal()
249 r = sd_device_monitor_new(&monitor); in device_wait_for_initialization_internal()
260 r = sd_device_monitor_filter_add_match_subsystem_devtype(monitor, subsystem, NULL); in device_wait_for_initialization_internal()
265 r = sd_device_monitor_attach_event(monitor, event); in device_wait_for_initialization_internal()
269 r = sd_device_monitor_start(monitor, device_monitor_handler, &data); in device_wait_for_initialization_internal()
/systemd-251/src/libsystemd/
Dmeson.build127 'sd-device/device-monitor-private.h',
128 'sd-device/device-monitor.c',
297 [files('sd-device/test-sd-device-monitor.c')],
/systemd-251/src/login/
Dlogind.c548 static int manager_dispatch_seat_udev(sd_device_monitor *monitor, sd_device *device, void *userdata… in manager_dispatch_seat_udev() argument
558 static int manager_dispatch_device_udev(sd_device_monitor *monitor, sd_device *device, void *userda… in manager_dispatch_device_udev() argument
568 static int manager_dispatch_vcsa_udev(sd_device_monitor *monitor, sd_device *device, void *userdata… in manager_dispatch_vcsa_udev() argument
586 static int manager_dispatch_button_udev(sd_device_monitor *monitor, sd_device *device, void *userda… in manager_dispatch_button_udev() argument
/systemd-251/shell-completion/bash/
Dudevadm71 local verbs=(info trigger settle control monitor test-builtin test wait lock)
186 'monitor')
Dtimedatectl43 --no-ask-password -H --host -M --machine --monitor
Dbusctl125 [BUSNAME]='status monitor capture tree'
/systemd-251/src/network/
Dnetworkd-link.h240 int manager_udev_process_link(sd_device_monitor *monitor, sd_device *device, void *userdata);
Dnetworkd-link.c1489 int manager_udev_process_link(sd_device_monitor *monitor, sd_device *device, void *userdata) { in manager_udev_process_link() argument
/systemd-251/src/core/
Ddevice.c33 static int device_dispatch_io(sd_device_monitor *monitor, sd_device *dev, void *userdata);
952 static int device_dispatch_io(sd_device_monitor *monitor, sd_device *dev, void *userdata) { in device_dispatch_io() argument
/systemd-251/src/libsystemd/sd-login/
Dtest-login.c263 TEST(monitor) { in TEST() argument
/systemd-251/src/basic/linux/
Dif_bridge.h310 __u32 monitor; member
/systemd-251/shell-completion/zsh/
D_busctl27 "monitor:Show bus traffic"
D_udevadm154 'monitor:listen to kernel and udev events'
/systemd-251/src/busctl/
Dbusctl.c1206 static int monitor(int argc, char **argv, int (*dump)(sd_bus_message *m, FILE *f)) { in monitor() function
1328 …return monitor(argc, argv, (arg_json_format_flags & JSON_FORMAT_OFF) ? message_dump : message_json… in verb_monitor()
1347 r = monitor(argc, argv, message_pcap); in verb_capture()
/systemd-251/src/home/
Dhomework-luks.c3743 static int device_monitor_handler(sd_device_monitor *monitor, sd_device *device, void *userdata) { in device_monitor_handler() argument
3759 (void) sd_event_exit(sd_device_monitor_get_event(monitor), 0); in device_monitor_handler()
Dhomed-manager.c1270 static int manager_on_device(sd_device_monitor *monitor, sd_device *d, void *userdata) { in manager_on_device() argument
/systemd-251/test/
Dtest-functions988 image_install "${ROOTLIBDIR:?}"/system/{blk-availability,lvm2-monitor}.service

12