Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dpclose.c56 sigset_t oset; in sigsetmask() local
61 (void) sigprocmask(SIG_SETMASK, &nset, &oset); in sigsetmask()
62 return (set2mask(&oset)); in sigsetmask()
68 sigset_t oset; in sigblock() local
73 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sigblock()
74 return (set2mask(&oset)); in sigblock()
/illumos-gate/usr/src/cmd/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);
/illumos-gate/usr/src/ucblib/libucb/i386/sys/
H A Dsignal.c202 sigset_t oset; in ucbsigsetmask() local
207 (void) sigprocmask(SIG_SETMASK, &nset, &oset); in ucbsigsetmask()
208 return (set2mask(&oset)); in ucbsigsetmask()
220 sigset_t oset; in ucbsigblock() local
225 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in ucbsigblock()
226 return (set2mask(&oset)); in ucbsigblock()
238 sigset_t set, oset; in ucbsigpause() local
242 oset = set; in ucbsigpause()
245 (void) sigprocmask(SIG_SETMASK, &oset, (sigset_t *)0); in ucbsigpause()
/illumos-gate/usr/src/cmd/csh/i386/
H A Dsignal.c125 sigset_t oset; in sigsetmask() local
130 (void) sigprocmask(SIG_SETMASK, &nset, &oset); in sigsetmask()
131 return set2mask(&oset); in sigsetmask()
137 sigset_t oset; in sigblock() local
142 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sigblock()
143 return set2mask(&oset); in sigblock()
/illumos-gate/usr/src/cmd/sgs/link_audit/common/
H A Dtruss.c250 sigset_t oset; in la_sparcv9_pltenter() local
252 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_sparcv9_pltenter()
270 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in la_sparcv9_pltenter()
288 sigset_t oset; in la_pltexit64() local
293 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_pltexit64()
302 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in la_pltexit64()
H A Dperfcnt.c211 sigset_t oset; in la_pltexit64() local
216 (void) sigprocmask(SIG_BLOCK, &iset, &oset); in la_pltexit64()
237 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in la_pltexit64()
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsigaction.c594 thr_sigsetmask(int how, const sigset_t *set, sigset_t *oset) in thr_sigsetmask() argument
601 if (oset != NULL) in thr_sigsetmask()
602 *oset = self->ul_sigmask; in thr_sigsetmask()
619 if (oset != NULL) in thr_sigsetmask()
642 if (oset != NULL) in thr_sigsetmask()
643 *oset = saveset; in thr_sigsetmask()
652 pthread_sigmask(int how, const sigset_t *set, sigset_t *oset) in pthread_sigmask() argument
654 return (thr_sigsetmask(how, set, oset)); in pthread_sigmask()
659 sigprocmask(int how, const sigset_t *set, sigset_t *oset) in sigprocmask() argument
667 return (__sigprocmask(how, set, oset)); in sigprocmask()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Ddaemon.c58 sigset_t set, oset; in daemonize_init() local
69 (void) sigprocmask(SIG_BLOCK, &set, &oset); in daemonize_init()
103 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in daemonize_init()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignal.c188 sigset_t oset; in sigset() local
198 if (sigprocmask(SIG_BLOCK, &nset, &oset) < 0) in sigset()
222 if (sigprocmask(SIG_UNBLOCK, &nset, &oset) < 0) in sigset()
226 if ((code = sigismember(&oset, sig)) < 0) in sigset()
/illumos-gate/usr/src/cmd/csh/sparc/
H A Dsignal.c149 sigset_t oset; in sigsetmask() local
154 (void) sigprocmask(SIG_SETMASK, &nset, &oset); in sigsetmask()
155 return set2mask(&oset); in sigsetmask()
161 sigset_t oset; in sigblock() local
166 (void) sigprocmask(SIG_BLOCK, &nset, &oset); in sigblock()
167 return set2mask(&oset); in sigblock()
/illumos-gate/usr/src/ucblib/libucb/sparc/sys/
H A Dsignal.c399 sigset_t oset; in ucbsigsetmask() local
404 (void) _sigprocmask(SIG_SETMASK, &nset, &oset); in ucbsigsetmask()
405 return (set2mask(&oset)); in ucbsigsetmask()
417 sigset_t oset; in ucbsigblock() local
422 (void) _sigprocmask(SIG_BLOCK, &nset, &oset); in ucbsigblock()
423 return (set2mask(&oset)); in ucbsigblock()
435 sigset_t set, oset; in ucbsigpause() local
439 oset = set; in ucbsigpause()
442 (void) _sigprocmask(SIG_SETMASK, &oset, (sigset_t *)0); in ucbsigpause()
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_open.c39 sigset_t set, oset; local
88 (void)sigprocmask(SIG_BLOCK, &set, &oset);
101 (void)sigprocmask(SIG_SETMASK, &oset, NULL);
/illumos-gate/usr/src/uts/common/syscall/
H A Dsigprocmask.c96 sigset_t oset; in sigprocmask() local
118 sigktou(&curthread->t_hold, &oset); in sigprocmask()
119 if (copyout((caddr_t)&oset, (caddr_t)osetp, sizeof (sigset_t))) in sigprocmask()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.comsat.c97 sigset_t oset; local
102 (void) sigprocmask(SIG_SETMASK, &nset, &oset);
103 return (set2mask(&oset));
110 sigset_t oset; local
115 (void) sigprocmask(SIG_BLOCK, &nset, &oset);
116 return (set2mask(&oset));
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_open.c399 sigset_t set, oset; in tmp() local
401 int oset; in tmp()
421 (void)sigprocmask(SIG_BLOCK, &set, &oset); in tmp()
423 oset = sigblock(~0); in tmp()
428 (void)sigprocmask(SIG_SETMASK, &oset, NULL); in tmp()
430 sigsetmask(oset); in tmp()
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypserv.c471 sigset_t set, oset; in ypdispatch() local
481 sigprocmask(SIG_BLOCK, &set, &oset); in ypdispatch()
548 sigprocmask(SIG_SETMASK, &oset, (sigset_t *)NULL); in ypdispatch()
555 sigset_t set, oset; in ypolddispatch() local
559 sigprocmask(SIG_BLOCK, &set, &oset); in ypolddispatch()
608 sigprocmask(SIG_SETMASK, &oset, (sigset_t *)NULL); in ypolddispatch()
/illumos-gate/usr/src/uts/common/dtrace/
H A Ddcpc.c354 kcpc_set_t *oset; in dcpc_populate_set() local
390 oset = c->cpu_cpc_ctx->kc_set; in dcpc_populate_set()
392 for (i = 0; i < oset->ks_nreqs; i++) { in dcpc_populate_set()
393 if (strcmp(oset->ks_req[i].kr_event, in dcpc_populate_set()
396 *(oset->ks_req[i].kr_data); in dcpc_populate_set()
501 kcpc_set_t *oset = octx->kc_set; in dcpc_program_cpu_event() local
502 kmem_free(oset->ks_data, oset->ks_nreqs * sizeof (uint64_t)); in dcpc_program_cpu_event()
503 kcpc_free_configs(oset); in dcpc_program_cpu_event()
504 kcpc_free_set(oset); in dcpc_program_cpu_event()
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_thread.c77 sigset_t oset, nset; in fmd_thread_create_cmn() local
93 (void) pthread_sigmask(SIG_SETMASK, &nset, &oset); in fmd_thread_create_cmn()
95 (void) pthread_sigmask(SIG_SETMASK, &oset, NULL); in fmd_thread_create_cmn()
H A Dfmd_main.c83 sigset_t set, oset; in daemonize_init() local
169 (void) sigprocmask(SIG_BLOCK, &set, &oset); in daemonize_init()
198 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in daemonize_init()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Drcmd.c103 sigset_t set, oset; in rcmd() local
135 sigprocmask (SIG_BLOCK, &set, &oset); in rcmd()
162 sigprocmask (SIG_SETMASK, &oset, in rcmd()
221 sigprocmask (SIG_SETMASK, &oset, (sigset_t *)NULL); in rcmd()
298 sigprocmask (SIG_SETMASK, &oset, (sigset_t *)NULL); in rcmd()
311 sigprocmask (SIG_SETMASK, &oset, (sigset_t *)NULL); in rcmd()
/illumos-gate/usr/src/cmd/sh/
H A Dfault.c433 sigset_t set, oset; in sh_sleep() local
443 sigprocmask(SIG_BLOCK, &set, &oset); in sh_sleep()
460 sigsuspend(&oset); in sh_sleep()
469 sigprocmask(SIG_SETMASK, &oset, 0); in sh_sleep()
/illumos-gate/usr/src/cmd/sgs/ldprof/common/
H A Dprofile.c75 prof_mutex_lock(lwp_mutex_t *mp, sigset_t *oset) in prof_mutex_lock() argument
77 if (oset) in prof_mutex_lock()
78 (void) sigprocmask(SIG_BLOCK, &iset, oset); in prof_mutex_lock()
84 prof_mutex_unlock(mutex_t *mp, sigset_t *oset) in prof_mutex_unlock() argument
87 if (oset) in prof_mutex_unlock()
88 (void) sigprocmask(SIG_SETMASK, oset, NULL); in prof_mutex_unlock()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd.c218 sigset_t oset; in daemonize() local
227 (void) sigprocmask(SIG_BLOCK, &set, &oset); in daemonize()
257 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in daemonize()
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_main.c158 sigset_t set, oset; in daemonize_init() local
169 (void) sigprocmask(SIG_BLOCK, &set, &oset); in daemonize_init()
182 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in daemonize_init()
/illumos-gate/usr/src/lib/libinetutil/common/
H A Deh.c276 sigset_t oset; in iu_handle_events() local
288 (void) sigprocmask(SIG_UNBLOCK, &eh->iueh_sig_regset, &oset); in iu_handle_events()
291 (void) sigprocmask(SIG_SETMASK, &oset, NULL); in iu_handle_events()

12