Home
last modified time | relevance | path

Searched refs:oset (Results 1 – 25 of 50) sorted by relevance

12

/freebsd/contrib/libedit/
H A Dsig.c75 sigset_t nset, oset; in sig_handler() local
80 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sig_handler()
109 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_handler()
122 sigset_t *nset, oset; in sig_init() local
133 (void) sigprocmask(SIG_BLOCK, nset, &oset); in sig_init()
141 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_init()
166 sigset_t oset; in sig_set() local
174 (void) sigprocmask(SIG_BLOCK, &el->el_signal->sig_set, &oset); in sig_set()
182 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in sig_set()
193 sigset_t oset; in sig_clr() local
[all …]
/freebsd/contrib/tcpdump/
H A Dprint-ascii.c106 const u_char *cp, u_int length, u_int oset) in hex_and_ascii_print_with_offset() argument
138 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE, in hex_and_ascii_print_with_offset()
141 oset += HEXDUMP_BYTES_PER_LINE; in hex_and_ascii_print_with_offset()
157 ident, oset, HEXDUMP_HEXSTUFF_PER_LINE, in hex_and_ascii_print_with_offset()
177 u_int oset) in hex_print_with_offset() argument
193 ND_PRINT("%s0x%04x: ", ident, oset); in hex_print_with_offset()
194 oset += HEXDUMP_BYTES_PER_LINE; in hex_print_with_offset()
204 ND_PRINT("%s0x%04x: ", ident, oset); in hex_print_with_offset()
/freebsd/usr.sbin/bsdinstall/runconsoles/
H A Dchild.c83 sigset_t set, oset; in wait_all_descendants() local
95 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_descendants()
99 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_descendants()
165 grandchild_run(const char **argv, const sigset_t *oset) in grandchild_run() argument
193 sigprocmask(SIG_SETMASK, oset, NULL); in grandchild_run()
222 const sigset_t *oset, struct pipe_barrier *start_children_barrier) in child_leader_run() argument
269 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run()
361 grandchild_run(argv, oset); in child_leader_run()
372 sigprocmask(SIG_SETMASK, oset, NULL); in child_leader_run()
H A Drunconsoles.c109 sigset_t set, oset; in kill_consoles() local
113 sigprocmask(SIG_BLOCK, &set, &oset); in kill_consoles()
118 sigprocmask(SIG_SETMASK, &oset, NULL); in kill_consoles()
134 sigset_t set, oset; in wait_all_consoles() local
147 sigprocmask(SIG_UNBLOCK, &set, &oset); in wait_all_consoles()
151 sigprocmask(SIG_SETMASK, &oset, NULL); in wait_all_consoles()
389 const sigset_t *oset) in start_console() argument
441 sigset_t set, oset; in start_consoles() local
559 sigprocmask(SIG_BLOCK, &set, &oset); in start_consoles()
562 &start_barrier, &oset); in start_consoles()
[all …]
H A Dchild.h29 const char **argv, const sigset_t *oset,
/freebsd/contrib/netbsd-tests/lib/libc/sys/
H A Dt_select.c89 sigset_t set, oset, nset; in child() local
90 char obuf[sizeof(oset) + 3], nbuf[sizeof(nset) + 3]; in child()
105 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in child()
125 if (memcmp(&oset, &nset, sizeof(oset)) != 0) in child()
129 prmask(&oset, obuf, sizeof(obuf))); in child()
/freebsd/lib/libc/compat-43/
H A Dsigcompat.c68 sigset_t set, oset; in sigsetmask() local
73 n = __libc_sigprocmask(SIG_SETMASK, &set, &oset); in sigsetmask()
76 return (oset.__bits[0]); in sigsetmask()
82 sigset_t set, oset; in sigblock() local
87 n = __libc_sigprocmask(SIG_BLOCK, &set, &oset); in sigblock()
90 return (oset.__bits[0]); in sigblock()
/freebsd/lib/libc/gen/
H A Dpause.c45 sigset_t oset; in __pause() local
47 if (sigprocmask(SIG_BLOCK, NULL, &oset) == -1) in __pause()
49 return (sigsuspend(&oset)); in __pause()
/freebsd/usr.bin/mail/
H A Dpopen.c133 sigset_t nset, oset; in Pclose() local
141 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in Pclose()
143 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in Pclose()
362 sigset_t nset, oset; in wait_child() local
367 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in wait_child()
380 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in wait_child()
394 sigset_t nset, oset; in free_child() local
398 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in free_child()
405 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in free_child()
H A Dfio.c267 static sigset_t nset, oset; variable
280 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in holdsigs()
292 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in relsesigs()
/freebsd/contrib/sendmail/libsm/
H A Dsignal.c123 sigset_t sset, oset;
127 if (sigprocmask(SIG_BLOCK, &sset, &oset) < 0)
130 return sigismember(&oset, sig);
162 sigset_t sset, oset;
166 if (sigprocmask(SIG_UNBLOCK, &sset, &oset) < 0)
169 return sigismember(&oset, sig);
/freebsd/contrib/tcsh/
H A Ddotlock.c130 sigset_t nset, oset; in dot_lock() local
148 (void)sigprocmask(SIG_BLOCK, &nset, &oset); in dot_lock()
150 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in dot_lock()
155 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in dot_lock()
H A Dtw.help.c131 sigset_t oset, set; in do_help() local
142 (void)sigprocmask(SIG_UNBLOCK, &set, &oset); in do_help()
143 cleanup_push(&oset, sigprocmask_cleanup); in do_help()
/freebsd/lib/libc/stdio/
H A Dtmpfile.c50 sigset_t set, oset; in tmpfile() local
67 (void)__libc_sigprocmask(SIG_BLOCK, &set, &oset); in tmpfile()
75 (void)__libc_sigprocmask(SIG_SETMASK, &oset, NULL); in tmpfile()
/freebsd/lib/libc/sys/
H A Dsigprocmask.c41 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument
43 return (INTERPOS_SYS(sigprocmask, how, set, oset)); in sigprocmask()
/freebsd/contrib/xz/src/common/
H A Dmythread.h88 sigset_t *restrict oset) in mythread_sigmask() argument
90 int ret = sigprocmask(how, set, oset); in mythread_sigmask()
145 sigset_t *restrict oset) in mythread_sigmask() argument
150 (void)oset; in mythread_sigmask()
152 int ret = pthread_sigmask(how, set, oset); in mythread_sigmask()
/freebsd/lib/libthr/thread/
H A Dthr_create.c60 sigset_t set, oset; in _pthread_create() local
179 __sys_sigprocmask(SIG_SETMASK, &set, &oset); in _pthread_create()
180 new_thread->sigmask = oset; in _pthread_create()
196 __sys_sigprocmask(SIG_SETMASK, &oset, NULL); in _pthread_create()
/freebsd/libexec/rtld-elf/rtld-libc/
H A Drtld_libc.c70 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument
73 return (__sys_sigprocmask(how, set, oset)); in sigprocmask()
H A Drtld_libc.h81 #define sigprocmask(how, set, oset) __sys_sigprocmask(how, set, oset) argument
/freebsd/contrib/bmake/
H A Dsigaction.c273 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument
294 if (oset) in sigprocmask()
295 *oset = sm; in sigprocmask()
/freebsd/crypto/openssl/crypto/
H A Darmcap.c147 sigset_t oset; in OPENSSL_cpuid_setup() local
228 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); in OPENSSL_cpuid_setup()
267 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
H A Dsparcv9cap.c89 sigset_t all_masked, oset; in OPENSSL_cpuid_setup() local
159 sigprocmask(SIG_SETMASK, &all_masked, &oset); in OPENSSL_cpuid_setup()
219 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
H A Dppccap.c142 sigset_t oset; in OPENSSL_cpuid_setup() local
266 sigprocmask(SIG_SETMASK, &ill_act.sa_mask, &oset); in OPENSSL_cpuid_setup()
314 sigprocmask(SIG_SETMASK, &oset, NULL); in OPENSSL_cpuid_setup()
/freebsd/sys/compat/linux/
H A Dlinux_signal.c313 l_sigset_t lset, oset; in linux_sigprocmask() local
332 args->omask ? &oset : NULL); in linux_sigprocmask()
337 linux_ktrsigset(&oset, sizeof(oset)); in linux_sigprocmask()
339 mask = oset.__mask; in linux_sigprocmask()
350 l_sigset_t oset; in linux_rt_sigprocmask() local
360 args->omask ? &oset : NULL); in linux_rt_sigprocmask()
365 linux_ktrsigset(&oset, sizeof(oset)); in linux_rt_sigprocmask()
367 error = copyout(&oset, args->omask, sizeof(oset)); in linux_rt_sigprocmask()
/freebsd/usr.bin/bc/
H A Dscan.l335 sigset_t oset, nset;
341 sigprocmask(SIG_BLOCK, &nset, &oset);
347 sigprocmask(SIG_SETMASK, &oset, NULL);

12