Lines Matching refs:monitor

738         _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()
1016 r = make_security_device_monitor(&event, &monitor); in attach_luks_or_plain_or_bitlk_by_fido2()
1027 r = run_security_device_monitor(event, monitor); in attach_luks_or_plain_or_bitlk_by_fido2()
1097 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in attach_luks_or_plain_or_bitlk_by_pkcs11()
1155 if (!monitor) { in attach_luks_or_plain_or_bitlk_by_pkcs11()
1161 r = make_security_device_monitor(&event, &monitor); in attach_luks_or_plain_or_bitlk_by_pkcs11()
1173 r = run_security_device_monitor(event, monitor); in attach_luks_or_plain_or_bitlk_by_pkcs11()
1214 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in make_tpm2_device_monitor()
1229 r = sd_device_monitor_new(&monitor); in make_tpm2_device_monitor()
1233 r = sd_device_monitor_filter_add_match_subsystem_devtype(monitor, "tpmrm", NULL); in make_tpm2_device_monitor()
1237 r = sd_device_monitor_attach_event(monitor, event); in make_tpm2_device_monitor()
1241 r = sd_device_monitor_start(monitor, NULL, NULL); in make_tpm2_device_monitor()
1246 *ret_monitor = TAKE_PTR(monitor); in make_tpm2_device_monitor()
1287 _cleanup_(sd_device_monitor_unrefp) sd_device_monitor *monitor = NULL; in attach_luks_or_plain_or_bitlk_by_tpm2()
1419 if (!monitor) { in attach_luks_or_plain_or_bitlk_by_tpm2()
1429 r = make_tpm2_device_monitor(&event, &monitor); in attach_luks_or_plain_or_bitlk_by_tpm2()
1440 r = run_security_device_monitor(event, monitor); in attach_luks_or_plain_or_bitlk_by_tpm2()