Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/nsswitch/dns/common/
H A Dgethostent.c141 sigset_t oldmask; local
143 switch_resolver_setup(&mt_disabled, &oldmask, &old_retry);
170 switch_resolver_reset(mt_disabled, oldmask, old_retry);
201 sigset_t oldmask; local
206 switch_resolver_setup(&mt_disabled, &oldmask, &old_retry);
243 switch_resolver_reset(mt_disabled, oldmask, old_retry);
267 sigset_t oldmask, newmask; local
276 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
284 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL);
301 sigset_t oldmask, newmask; local
[all …]
H A Dgethostent6.c287 sigset_t oldmask; local
299 switch_resolver_setup(&mt_disabled, &oldmask, &old_retry);
315 switch_resolver_reset(mt_disabled, oldmask, old_retry);
324 switch_resolver_reset(mt_disabled, oldmask, old_retry);
335 switch_resolver_reset(mt_disabled, oldmask, old_retry);
374 switch_resolver_reset(mt_disabled, oldmask,
392 switch_resolver_reset(mt_disabled, oldmask,
448 switch_resolver_reset(mt_disabled, oldmask, old_retry);
508 sigset_t oldmask, newmask; local
513 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
[all …]
H A Ddns_mt.c271 switch_resolver_setup(int *mt_disabled, sigset_t *oldmask, int *old_retry) { in switch_resolver_setup() argument
281 (void) thr_sigsetmask(SIG_SETMASK, &newmask, oldmask); in switch_resolver_setup()
299 switch_resolver_reset(int mt_disabled, sigset_t oldmask, int old_retry) { in switch_resolver_reset() argument
303 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); in switch_resolver_reset()
/titanic_41/usr/src/uts/i86pc/os/
H A Dmemnode.c74 mnodeset_t newmask, oldmask; in mem_node_add_slice() local
102 oldmask = memnodes_mask; in mem_node_add_slice()
104 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice()
105 oldmask); in mem_node_add_slice()
226 mnodeset_t newmask, oldmask; in mem_node_alloc() local
244 oldmask = memnodes_mask; in mem_node_alloc()
246 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()
/titanic_41/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c161 sigset_t oldmask, newmask; local
164 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
171 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL);
197 sigset_t oldmask, newmask; local
200 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
207 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL);
331 sigset_t oldmask, newmask; local
334 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
351 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL);
470 sigset_t oldmask, newmask; local
[all …]
H A Dgetrpcent.c81 sigset_t oldmask, newmask; local
84 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
88 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, (sigset_t *)NULL);
98 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
102 (void) thr_sigsetmask(SIG_SETMASK, &oldmask,
H A Dgetservent.c160 sigset_t oldmask, newmask; local
163 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
167 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL);
191 (void) thr_sigsetmask(SIG_SETMASK, &newmask, &oldmask);
195 (void) thr_sigsetmask(SIG_SETMASK, &oldmask,
/titanic_41/usr/src/uts/sun4/os/
H A Dmemnode.c71 mnodeset_t newmask, oldmask; in mem_node_add_slice() local
99 oldmask = memnodes_mask; in mem_node_add_slice()
101 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != in mem_node_add_slice()
102 oldmask); in mem_node_add_slice()
217 mnodeset_t newmask, oldmask; in mem_node_alloc() local
235 oldmask = memnodes_mask; in mem_node_alloc()
237 } while (atomic_cas_64(&memnodes_mask, oldmask, newmask) != oldmask); in mem_node_alloc()
/titanic_41/usr/src/lib/libbc/libc/gen/sys5/
H A Dsighold.c84 int oldmask; variable
88 oldmask = sigblock(0);
93 newmask = oldmask;
114 if (oldmask & sigmask(sig))
/titanic_41/usr/src/lib/libc/amd64/fp/
H A Dfpsetmask.c45 fp_except oldmask; in fpsetmask() local
49 oldmask = (fp_except)(~cw.mask & EXCPMASK); in fpsetmask()
55 return (oldmask); in fpsetmask()
/titanic_41/usr/src/lib/libc/i386/fp/
H A Dfpsetmask.c46 fp_except oldmask; in fpsetmask() local
50 oldmask = (fp_except)(~cw.mask & EXCPMASK); in fpsetmask()
58 return (oldmask); in fpsetmask()
/titanic_41/usr/src/lib/libumem/common/
H A Dumem_update_thread.c122 sigset_t sigmask, oldmask; in umem_create_update_thread() local
132 (void) thr_sigsetmask(SIG_BLOCK, &sigmask, &oldmask); in umem_create_update_thread()
144 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); in umem_create_update_thread()
161 (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); in umem_create_update_thread()
/titanic_41/usr/src/cmd/backup/lib/
H A Dmyrcmd.c78 sigset_t oldmask; in myrcmd() local
139 (void) sigprocmask(SIG_BLOCK, &newmask, &oldmask); in myrcmd()
170 (void) sigprocmask(SIG_SETMASK, &oldmask, in myrcmd()
213 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in myrcmd()
278 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in myrcmd()
286 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in myrcmd()
/titanic_41/usr/src/lib/libtnfctl/
H A Dcontinue.c41 tnfctl_event_t *evt, sigset_t *oldmask, boolean_t watch_forks);
62 sigset_t newmask, oldmask; in tnfctl_continue() local
86 if (sigprocmask(SIG_BLOCK, &newmask, &oldmask) == -1) in tnfctl_continue()
96 prexstat = _tnfctl_continue(hndl, &my_evt, &oldmask, in tnfctl_continue()
168 _tnfctl_continue(tnfctl_handle_t *hndl, tnfctl_event_t *evt, sigset_t *oldmask, in _tnfctl_continue() argument
194 prbstat = prb_proc_wait(proc_p, B_TRUE, oldmask); in _tnfctl_continue()
/titanic_41/usr/src/lib/libsocket/inet/
H A Drcmd.c116 sigset_t oldmask; in rcmd_af() local
121 int oldmask; in rcmd_af() local
165 (void) sigprocmask(SIG_BLOCK, &newmask, &oldmask); in rcmd_af()
167 oldmask = _sigblock(sigmask(SIGURG)); in rcmd_af()
196 (void) sigprocmask(SIG_SETMASK, &oldmask, in rcmd_af()
199 sigsetmask(oldmask); in rcmd_af()
265 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in rcmd_af()
267 sigsetmask(oldmask); in rcmd_af()
393 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in rcmd_af()
395 sigsetmask(oldmask); in rcmd_af()
[all …]
/titanic_41/usr/src/lib/libbc/libc/net/
H A Drcmd.c41 int s, timo = 1, pid, oldmask, retval; in rcmd() local
54 oldmask = sigblock(sigmask(SIGURG)); in rcmd()
62 sigsetmask(oldmask); in rcmd()
96 sigsetmask(oldmask); in rcmd()
157 sigsetmask(oldmask); in rcmd()
164 sigsetmask(oldmask); in rcmd()
/titanic_41/usr/src/uts/common/rpc/
H A Drpc_subr.c445 k_sigset_t oldmask; in portmap_getport() local
468 sigreplace(&newmask, &oldmask); in portmap_getport()
472 sigreplace(&oldmask, (k_sigset_t *)NULL); in portmap_getport()
481 sigreplace(&oldmask, (k_sigset_t *)NULL); in portmap_getport()
515 k_sigset_t oldmask; in rpcbind_getaddr() local
581 sigreplace(&newmask, &oldmask); in rpcbind_getaddr()
586 sigreplace(&oldmask, (k_sigset_t *)NULL); in rpcbind_getaddr()
595 sigreplace(&oldmask, (k_sigset_t *)NULL); in rpcbind_getaddr()
/titanic_41/usr/src/cmd/svc/configd/
H A Dmaindoor.c144 mode_t oldmask; in setup_main_door() local
171 oldmask = umask(000); /* disable umask temporarily */ in setup_main_door()
173 (void) umask(oldmask); in setup_main_door()
/titanic_41/usr/src/lib/libast/common/uwin/
H A Drcmd.c105 long oldmask; in rcmd() local
137 oldmask = sigblock(sigmask(SIGURG)); in rcmd()
165 sigsetmask(oldmask); in rcmd()
223 sigsetmask(oldmask); in rcmd()
300 sigsetmask(oldmask); in rcmd()
313 sigsetmask(oldmask); in rcmd()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd_med.c546 k_sigset_t oldmask; in med_get_pmap_addr() local
576 sigreplace(&newmask, &oldmask); in med_get_pmap_addr()
581 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_pmap_addr()
606 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_pmap_addr()
612 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_pmap_addr()
648 k_sigset_t oldmask; in med_get_rpcb_addr() local
692 sigreplace(&newmask, &oldmask); in med_get_rpcb_addr()
697 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_rpcb_addr()
711 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_rpcb_addr()
717 sigreplace(&oldmask, (k_sigset_t *)NULL); in med_get_rpcb_addr()
[all …]
/titanic_41/usr/src/uts/common/syscall/
H A Dsigtimedwait.c96 k_sigset_t oldmask; in sigtimedwait() local
145 oldmask = t->t_hold; in sigtimedwait()
161 t->t_hold = oldmask; in sigtimedwait()
/titanic_41/usr/src/lib/libzonecfg/common/
H A Dscratchops.c85 mode_t oldmask = umask(0); in zonecfg_open_scratch() local
121 (void) umask(oldmask); in zonecfg_open_scratch()
129 (void) umask(oldmask); in zonecfg_open_scratch()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c280 int options = 0, oldmask; in main() local
626 oldmask = sigblock(sigmask(SIGURG) | sigmask(SIGUSR1)); in main()
758 doit(oldmask); in main()
763 doit(int oldmask) in doit() argument
795 if (reader(oldmask) == 0) { in doit()
827 sigsetmask(oldmask); in doit()
1242 reader(int oldmask) in reader() argument
1265 sigsetmask(oldmask); in reader()
/titanic_41/usr/src/cmd/fs.d/smbclnt/smbiod/
H A Dsmbiod.c75 sigset_t oldmask, tmpmask; in main() local
111 sigprocmask(SIG_BLOCK, &tmpmask, &oldmask); in main()
/titanic_41/usr/src/cmd/cmd-inet/common/
H A Dkcmd.c91 sigset_t oldmask, urgmask; in kcmd() local
154 (void) sigprocmask(SIG_BLOCK, &urgmask, &oldmask); in kcmd()
411 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in kcmd()
436 (void) sigprocmask(SIG_SETMASK, &oldmask, (sigset_t *)0); in kcmd()

12