Home
last modified time | relevance | path

Searched refs:oldmask (Results 1 – 25 of 32) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/sigwaitinfo/
Dsigwaitinfo01.c211 sigset_t sigs, oldmask; in test_masked_matching() local
221 &oldmask); in test_masked_matching()
235 SIG_SETMASK, &oldmask, &oldmask); in test_masked_matching()
239 if (sigismember(&oldmask, signo)) in test_masked_matching()
248 sigset_t sigs, oldmask; in test_masked_matching_rt() local
262 &oldmask); in test_masked_matching_rt()
289 SIG_SETMASK, &oldmask, &oldmask); in test_masked_matching_rt()
293 if (sigismember(&oldmask, signo)) in test_masked_matching_rt()
302 sigset_t sigs, oldmask; in test_masked_matching_noinfo() local
311 &oldmask); in test_masked_matching_noinfo()
[all …]
/external/libfuse/lib/
Dmount_util.c91 sigset_t oldmask; in add_mount() local
95 res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); in add_mount()
109 sigprocmask(SIG_SETMASK, &oldmask, NULL); in add_mount()
131 sigprocmask(SIG_SETMASK, &oldmask, NULL); in add_mount()
150 sigset_t oldmask; in exec_umount() local
154 res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); in exec_umount()
168 sigprocmask(SIG_SETMASK, &oldmask, NULL); in exec_umount()
196 sigprocmask(SIG_SETMASK, &oldmask, NULL); in exec_umount()
222 sigset_t oldmask; in remove_mount() local
226 res = sigprocmask(SIG_BLOCK, &blockmask, &oldmask); in remove_mount()
[all …]
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl15.c107 sigset_t newmask, zeromask, oldmask; in dochild1() local
131 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild1()
159 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild1()
208 sigset_t newmask, zeromask, oldmask; in dofork() local
214 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dofork()
233 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dofork()
244 sigset_t newmask, zeromask, oldmask; in dochild2() local
282 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) < 0) { in dochild2()
310 if (sigprocmask(SIG_SETMASK, &oldmask, NULL) < 0) { in dochild2()
363 sigset_t newmask, zeromask, oldmask; in run_test() local
[all …]
/external/strace/linux/i386/
Darch_sigreturn.c11 uint32_t oldmask; in arch_sigreturn() member
20 uint32_t mask[2] = { frame.oldmask, frame.extramask }; in arch_sigreturn()
/external/strace/linux/powerpc/
Darch_sigreturn.c13 unsigned int oldmask; in arch_sigreturn() member
26 sc.oldmask, in arch_sigreturn()
/external/kernel-headers/original/uapi/asm-x86/asm/
Dsigcontext.h231 __u32 oldmask; member
263 __u64 oldmask; member
321 __u32 oldmask; member
378 __u64 oldmask; member
/external/mesa3d/src/panfrost/midgard/
Dmidgard_opt_dce.c80 unsigned oldmask = ins->mask; in midgard_opt_dead_code_eliminate_block() local
90 progress |= (ins->mask != oldmask); in midgard_opt_dead_code_eliminate_block()
/external/rust/crates/nix/src/sys/
Dsignal.rs459 let mut oldmask = mem::MaybeUninit::uninit(); in thread_get_mask() localVariable
460 do_pthread_sigmask(SigmaskHow::SIG_SETMASK, None, Some(oldmask.as_mut_ptr()))?; in thread_get_mask()
461 Ok(unsafe{ SigSet{sigset: oldmask.assume_init()}}) in thread_get_mask()
481 let mut oldmask = mem::MaybeUninit::uninit(); in thread_swap_mask() localVariable
482 do_pthread_sigmask(how, Some(self), Some(oldmask.as_mut_ptr()))?; in thread_swap_mask()
483 Ok(unsafe{ SigSet{sigset: oldmask.assume_init()}}) in thread_swap_mask()
1031 let oldmask = mask2.thread_swap_mask(SigmaskHow::SIG_SETMASK) in test_thread_signal_swap() localVariable
1034 assert!(oldmask.contains(SIGUSR1)); in test_thread_signal_swap()
1035 assert!(!oldmask.contains(SIGUSR2)); in test_thread_signal_swap()
/external/libiio/src/tests/
Diio_readdev.c159 sigset_t mask, oldmask; in setup_sig_handler() local
176 pthread_sigmask(SIG_BLOCK, &mask, &oldmask); in setup_sig_handler()
181 pthread_sigmask(SIG_SETMASK, &oldmask, NULL); in setup_sig_handler()
Diio_writedev.c170 sigset_t mask, oldmask; in setup_sig_handler() local
187 pthread_sigmask(SIG_BLOCK, &mask, &oldmask); in setup_sig_handler()
192 pthread_sigmask(SIG_SETMASK, &oldmask, NULL); in setup_sig_handler()
/external/strace/linux/microblaze/
Darch_sigreturn.c11 addr += offsetof(struct sigcontext, oldmask); in arch_sigreturn()
/external/kernel-headers/original/uapi/asm-arm/asm/
Dsigcontext.h13 unsigned long oldmask; member
/external/igt-gpu-tools/tests/
Dkms_cursor_legacy.c661 cpu_set_t mask, oldmask; in flip_vs_cursor() local
703 sched_getaffinity(0, sizeof(oldmask), &oldmask); in flip_vs_cursor()
760 sched_setaffinity(0, sizeof(oldmask), &oldmask); in flip_vs_cursor()
/external/python/cffi/demo/
D_curses.py861 oldmask = ffi.new("mmask_t *")
862 availmask = lib.mousemask(newmask, oldmask)
863 return (availmask, oldmask)
/external/python/cpython2/Lib/test/
Dtest_import.py116 oldmask = os.umask(022)
134 os.umask(oldmask)
Dtest_curses.py290 (availmask, oldmask) = curses.mousemask(curses.BUTTON1_PRESSED)
/external/libcups/backend/
Dusb-darwin.c2101 oldmask; /* Old signal mask */ in run_legacy_backend() local
2113 sigprocmask(SIG_BLOCK, &newmask, &oldmask); in run_legacy_backend()
2139 posix_spawnattr_setsigdefault(&attrs, &oldmask); in run_legacy_backend()
2180 sigprocmask(SIG_SETMASK, &oldmask, NULL); in run_legacy_backend()
/external/rust/crates/libc/src/unix/linux_like/android/b32/
Darm.rs10 pub oldmask: ::c_ulong,
/external/rust/crates/libc/src/unix/linux_like/android/b32/x86/
Dmod.rs26 pub oldmask: ::c_ulong,
/external/python/cpython3/Objects/
Dsetobject.c221 Py_ssize_t oldmask = so->mask; in set_table_resize() local
277 for (entry = oldtable; entry <= oldtable + oldmask; entry++) { in set_table_resize()
284 for (entry = oldtable; entry <= oldtable + oldmask; entry++) { in set_table_resize()
/external/python/cpython3/Modules/
D_cursesmodule.c3514 mmask_t oldmask, availmask; in _curses_mousemask_impl() local
3517 availmask = mousemask((mmask_t)newmask, &oldmask); in _curses_mousemask_impl()
3519 (unsigned long)availmask, (unsigned long)oldmask); in _curses_mousemask_impl()
/external/python/cpython2/Modules/
D_cursesmodule.c2217 mmask_t oldmask, availmask; in PyCurses_MouseMask() local
2222 availmask = mousemask((mmask_t)newmask, &oldmask); in PyCurses_MouseMask()
2224 (unsigned long)availmask, (unsigned long)oldmask); in PyCurses_MouseMask()
/external/python/cpython3/Lib/test/
Dtest_curses.py305 (availmask, oldmask) = curses.mousemask(curses.BUTTON1_PRESSED)
/external/python/cpython3/Lib/test/support/
D__init__.py964 oldmask = os.umask(umask)
968 os.umask(oldmask)
/external/rust/crates/libc/src/unix/linux_like/linux/gnu/b32/x86/
Dmod.rs114 pub oldmask: ::c_ulong,

12