Home
last modified time | relevance | path

Searched refs:omask (Results 1 – 25 of 54) sorted by relevance

123

/dragonfly/contrib/openbsd_libm/arch/amd64/
H A Dfenv.c357 unsigned int mxcsr, omask; in feenableexcept() local
365 omask = ~(control | (mxcsr >> _SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in feenableexcept()
372 return (omask); in feenableexcept()
378 unsigned int mxcsr, omask; in fedisableexcept() local
386 omask = ~(control | (mxcsr >> _SSE_MASK_SHIFT)) & FE_ALL_EXCEPT; in fedisableexcept()
393 return (omask); in fedisableexcept()
/dragonfly/contrib/bmake/
H A Dsigcompat.c232 sigset_t m, omask; in sigsetmask() local
238 n = sigprocmask(SIG_SETMASK, (sigset_t *) & m, (sigset_t *) & omask); in sigsetmask()
243 return ss2m(&omask); in sigsetmask()
251 sigset_t m, omask; in sigblock() local
258 n = sigprocmask(SIG_BLOCK, (sigset_t *) ((mask) ? &m : 0), (sigset_t *) & omask); in sigblock()
262 return ss2m(&omask); in sigblock()
/dragonfly/libexec/rbootd/
H A Drbootd.c66 int c, fd, omask, maxfds; in main() local
190 omask = sigblock(sigmask(SIGHUP)); /* prevent reconfig's */ in main()
203 (void) sigsetmask(omask); /* allow reconfig's */ in main()
248 omask = sigblock(sigmask(SIGHUP)); in main()
263 (void) sigsetmask(omask); in main()
269 (void) sigsetmask(omask); in main()
H A Dparseconf.c85 int omask, linecnt = 0; in ParseConfig() local
105 omask = sigblock(sigmask(SIGHUP)); in ParseConfig()
207 (void) sigsetmask(omask); /* reset signal mask */ in ParseConfig()
H A Dutils.c80 int i, omask; in DispPkt() local
87 omask = sigblock(sigmask(SIGHUP)|sigmask(SIGUSR1)|sigmask(SIGUSR2)); in DispPkt()
90 (void) sigsetmask(omask); in DispPkt()
175 (void) sigsetmask(omask); /* reset old signal mask */ in DispPkt()
/dragonfly/usr.sbin/ppp/
H A Dtimer.c70 sigset_t mask, omask; in timer_Stop() local
74 sigprocmask(SIG_BLOCK, &mask, &omask); in timer_Stop()
76 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Stop()
85 sigset_t mask, omask; in timer_Start() local
89 sigprocmask(SIG_BLOCK, &mask, &omask); in timer_Start()
96 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Start()
132 sigprocmask(SIG_SETMASK, &omask, NULL); in timer_Start()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5210/
H A Dar5210_interrupts.c92 uint32_t omask = ahp->ah_maskReg; in ar5210SetInterrupts() local
96 __func__, omask, ints); in ar5210SetInterrupts()
103 if (omask & HAL_INT_GLOBAL) { in ar5210SetInterrupts()
133 return omask; in ar5210SetInterrupts()
/dragonfly/usr.bin/tip/
H A Dtipout.c117 int omask; in tipout() local
127 for (omask = 0;; sigsetmask(omask)) { in tipout()
151 omask = sigblock(ALLSIGS); in tipout()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5211/
H A Dar5211_interrupts.c109 uint32_t omask = ahp->ah_maskReg; in ar5211SetInterrupts() local
113 __func__, omask, ints); in ar5211SetInterrupts()
120 if (omask & HAL_INT_GLOBAL) { in ar5211SetInterrupts()
159 return omask; in ar5211SetInterrupts()
/dragonfly/contrib/ncurses/ncurses/base/
H A Dsigaction.c55 _nc_sigprocmask(int mode, sigset_t * mask, sigset_t * omask) in _nc_sigprocmask() argument
59 if (omask) in _nc_sigprocmask()
60 *omask = current; in _nc_sigprocmask()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5212/
H A Dar5212_interrupts.c141 uint32_t omask = ahp->ah_maskReg; in ar5212SetInterrupts() local
145 __func__, omask, ints); in ar5212SetInterrupts()
147 if (omask & HAL_INT_GLOBAL) { in ar5212SetInterrupts()
200 return omask; in ar5212SetInterrupts()
/dragonfly/usr.bin/apply/
H A Dapply.c230 int omask, pstat; in exec_shell() local
236 omask = sigblock(sigmask(SIGCHLD)); in exec_shell()
241 (void)sigsetmask(omask); in exec_shell()
249 sigsetmask(omask); in exec_shell()
/dragonfly/tools/tools/ath/athstats/
H A Dmain.c125 int line, omask; in main() local
146 omask = sigblock(sigmask(SIGALRM)); in main()
149 sigsetmask(omask); in main()
/dragonfly/contrib/ncurses/ncurses/tty/
H A Dlib_tstp.c141 sigset_t mask, omask; in handle_SIGTSTP() local
180 (void) sigprocmask(SIG_BLOCK, &mask, &omask); in handle_SIGTSTP()
183 sigttou_blocked = sigismember(&omask, SIGTTOU); in handle_SIGTSTP()
237 (void) sigprocmask(SIG_SETMASK, &omask, NULL); in handle_SIGTSTP()
/dragonfly/usr.sbin/rpcbind/
H A Dwarmstart.c73 mode_t omask; in write_struct() local
75 omask = umask(077); in write_struct()
90 umask(omask); in write_struct()
/dragonfly/usr.bin/ktrace/
H A Dktrace.c58 mode_t omask; in main() local
127 omask = umask(S_IRWXG|S_IRWXO); in main()
141 umask(omask); in main()
/dragonfly/usr.bin/systat/
H A Dcmds.c47 int omask; in command() local
50 omask = sigblock(sigmask(SIGALRM)); in command()
137 sigsetmask(omask); in command()
/dragonfly/libexec/ftpd/
H A Dpopen.c172 int fdes, omask, status; in ftpd_pclose() local
182 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP)); in ftpd_pclose()
185 sigsetmask(omask); in ftpd_pclose()
/dragonfly/usr.sbin/cron/cron/
H A Dpopen.c214 int omask; in cron_pclose() local
225 omask = sigblock(sigmask(SIGINT)|sigmask(SIGQUIT)|sigmask(SIGHUP)); in cron_pclose()
228 sigsetmask(omask); in cron_pclose()
/dragonfly/contrib/cvs-1.12/src/
H A Dfilesubr.c219 int omask = 0; in isaccessible() local
241 omask |= S_IROTH; in isaccessible()
247 omask |= S_IWOTH; in isaccessible()
253 omask |= S_IXOTH; in isaccessible()
256 mask = sb.st_uid == uid ? umask : sb.st_gid == getegid() ? gmask : omask; in isaccessible()
H A Dfileattr.c563 mode_t omask; in fileattr_write() local
612 omask = umask (cvsumask); in fileattr_write()
626 (void) umask (omask); in fileattr_write()
638 (void) umask (omask); in fileattr_write()
643 (void) umask (omask); in fileattr_write()
/dragonfly/sys/dev/netif/ath/ath_hal/ar5416/
H A Dar5416_interrupts.c267 uint32_t omask = ahp->ah_maskReg; in ar5416SetInterrupts() local
271 __func__, omask, ints); in ar5416SetInterrupts()
273 if (omask & HAL_INT_GLOBAL) { in ar5416SetInterrupts()
377 return omask; in ar5416SetInterrupts()
/dragonfly/tools/tools/net80211/wlanstats/
H A Dmain.c202 int line, omask; in main() local
222 omask = sigblock(sigmask(SIGALRM)); in main()
225 sigsetmask(omask); in main()
/dragonfly/lib/libc/gen/
H A Dsyslog.c429 int omask; in setlogmask() local
432 omask = LogMask; in setlogmask()
436 return (omask); in setlogmask()
/dragonfly/usr.sbin/sa/
H A Dmain.c208 sigset_t nmask, omask; in main() local
221 (sigprocmask(SIG_BLOCK, &nmask, &omask) == -1)) { in main()
251 (sigprocmask(SIG_SETMASK, &omask, NULL) == -1)) { in main()

123