Searched refs:sigact (Results 1 – 9 of 9) sorted by relevance
/openbmc/linux/tools/testing/selftests/resctrl/ |
H A D | resctrl_val.c | 505 struct sigaction sigact = {}; in signal_handler_register() local 510 sigact.sa_sigaction = ctrlc_handler; in signal_handler_register() 511 sigemptyset(&sigact.sa_mask); in signal_handler_register() 512 sigact.sa_flags = SA_SIGINFO; in signal_handler_register() 529 struct sigaction sigact = {}; in signal_handler_unregister() local 531 sigact.sa_handler = SIG_DFL; in signal_handler_unregister() 532 sigemptyset(&sigact.sa_mask); in signal_handler_unregister() 713 struct sigaction sigact; in resctrl_val() local 757 sigfillset(&sigact.sa_mask); in resctrl_val() 761 sigact.sa_flags = SA_SIGINFO; in resctrl_val() [all …]
|
/openbmc/linux/tools/testing/selftests/powerpc/pmu/sampling_tests/ |
H A D | mmcr2_fcs_fch_test.c | 32 struct sigaction sigact = { in mmcr2_fcs_fch() local 39 FAIL_IF(sigaction(SIGUSR2, &sigact, NULL)); in mmcr2_fcs_fch()
|
/openbmc/qemu/accel/hvf/ |
H A D | hvf-accel-ops.c | 390 struct sigaction sigact; in hvf_init_vcpu() local 392 memset(&sigact, 0, sizeof(sigact)); in hvf_init_vcpu() 393 sigact.sa_handler = dummy_signal; in hvf_init_vcpu() 394 sigaction(SIG_IPI, &sigact, NULL); in hvf_init_vcpu()
|
/openbmc/qemu/tests/unit/ |
H A D | test-replication.c | 551 struct sigaction sigact; in setup_sigabrt_handler() 553 sigact = (struct sigaction) { in setup_sigabrt_handler() 557 sigemptyset(&sigact.sa_mask); in setup_sigabrt_handler() 558 sigaction(SIGABRT, &sigact, NULL); in setup_sigabrt_handler()
|
/openbmc/qemu/qga/ |
H A D | commands.c | 276 struct sigaction sigact; in guest_exec_task_setup() local 292 memset(&sigact, 0, sizeof(struct sigaction)); in guest_exec_task_setup() 293 sigact.sa_handler = SIG_DFL; in guest_exec_task_setup() 295 if (sigaction(SIGPIPE, &sigact, NULL) != 0) { in guest_exec_task_setup()
|
H A D | main.c | 204 struct sigaction sigact; in register_signal_handlers() local 207 memset(&sigact, 0, sizeof(struct sigaction)); in register_signal_handlers() 208 sigact.sa_handler = quit_handler; in register_signal_handlers() 210 ret = sigaction(SIGINT, &sigact, NULL); in register_signal_handlers() 214 ret = sigaction(SIGTERM, &sigact, NULL); in register_signal_handlers() 219 sigact.sa_handler = SIG_IGN; in register_signal_handlers() 220 if (sigaction(SIGPIPE, &sigact, NULL) != 0) { in register_signal_handlers()
|
/openbmc/qemu/target/i386/nvmm/ |
H A D | nvmm-all.c | 901 struct sigaction sigact; in nvmm_init_cpu_signals() local 905 memset(&sigact, 0, sizeof(sigact)); in nvmm_init_cpu_signals() 906 sigact.sa_handler = nvmm_ipi_signal; in nvmm_init_cpu_signals() 907 sigaction(SIG_IPI, &sigact, NULL); in nvmm_init_cpu_signals()
|
/openbmc/qemu/accel/kvm/ |
H A D | kvm-all.c | 3578 struct sigaction sigact; in kvm_init_cpu_signals() local 3580 memset(&sigact, 0, sizeof(sigact)); in kvm_init_cpu_signals() 3581 sigact.sa_handler = kvm_ipi_signal; in kvm_init_cpu_signals() 3582 sigaction(SIG_IPI, &sigact, NULL); in kvm_init_cpu_signals()
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_progs.c | 1640 struct sigaction sigact = { in main() local 1646 sigaction(SIGSEGV, &sigact, NULL); in main()
|