Home
last modified time | relevance | path

Searched refs:sigset (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/tools/testing/selftests/kvm/
Ddirty_log_test.c526 struct kvm_signal_mask *sigmask = alloca(offsetof(struct kvm_signal_mask, sigset) in vcpu_worker()
528 sigset_t *sigset = (sigset_t *) &sigmask->sigset; in vcpu_worker() local
536 pthread_sigmask(0, NULL, sigset); in vcpu_worker()
537 sigdelset(sigset, SIG_IPI); in vcpu_worker()
540 sigemptyset(sigset); in vcpu_worker()
541 sigaddset(sigset, SIG_IPI); in vcpu_worker()
553 sigwait(sigset, &sig); in vcpu_worker()
876 sigset_t sigset; in main() local
936 sigemptyset(&sigset); in main()
937 sigaddset(&sigset, SIG_IPI); in main()
[all …]
/linux-6.6.21/arch/um/os-Linux/
Dsignal.c258 sigset_t sigset; in change_sig() local
260 sigemptyset(&sigset); in change_sig()
261 sigaddset(&sigset, signal); in change_sig()
262 if (sigprocmask(on ? SIG_UNBLOCK : SIG_BLOCK, &sigset, NULL) < 0) in change_sig()
/linux-6.6.21/tools/accounting/
Dgetdelays.c301 sigset_t sigset; in main() local
359 if (sigemptyset(&sigset) == -1) in main()
361 if (sigaddset(&sigset, SIGCHLD)) in main()
363 sigprocmask(SIG_BLOCK, &sigset, NULL); in main()
436 sigwait(&sigset, &sig_received); in main()
/linux-6.6.21/virt/kvm/
Dkvm_main.c3404 sigprocmask(SIG_SETMASK, &vcpu->sigset, &current->real_blocked); in kvm_sigset_activate()
4054 static int kvm_vcpu_ioctl_set_sigmask(struct kvm_vcpu *vcpu, sigset_t *sigset) in kvm_vcpu_ioctl_set_sigmask() argument
4056 if (sigset) { in kvm_vcpu_ioctl_set_sigmask()
4057 sigdelsetmask(sigset, sigmask(SIGKILL)|sigmask(SIGSTOP)); in kvm_vcpu_ioctl_set_sigmask()
4059 vcpu->sigset = *sigset; in kvm_vcpu_ioctl_set_sigmask()
4268 sigset_t sigset, *p; in kvm_vcpu_ioctl() local
4277 if (kvm_sigmask.len != sizeof(sigset)) in kvm_vcpu_ioctl()
4280 if (copy_from_user(&sigset, sigmask_arg->sigset, in kvm_vcpu_ioctl()
4281 sizeof(sigset))) in kvm_vcpu_ioctl()
4283 p = &sigset; in kvm_vcpu_ioctl()
[all …]
/linux-6.6.21/tools/testing/selftests/x86/
Dldt_gdt.c478 unsigned char sigset[8]; member
497 sizeof(ksa.sigset)) != 0) in fix_sa_restorer()
/linux-6.6.21/tools/testing/selftests/rseq/
Dparam_test.c1190 sigset_t sigset; in set_signal_handler() local
1192 ret = sigemptyset(&sigset); in set_signal_handler()
1199 sa.sa_mask = sigset; in set_signal_handler()
/linux-6.6.21/tools/include/uapi/linux/
Dkvm.h646 __u8 sigset[]; member
/linux-6.6.21/include/uapi/linux/
Dkvm.h646 __u8 sigset[]; member
/linux-6.6.21/tools/testing/selftests/filesystems/epoll/
Depoll_wakeup_test.c33 const sigset_t *sigset, size_t sigsetsize) in sys_epoll_pwait2() argument
36 sigset, sigsetsize); in sys_epoll_pwait2()
/linux-6.6.21/include/linux/
Dkvm_host.h346 sigset_t sigset; member
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst732 __u8 sigset[0];