Lines Matching refs:bit
212 /* This assumes 32 bit __sa_handler is of type sig_t */
334 int bit, error=0;
344 bit = sigmask(signum);
346 if ((ps->ps_sigonstack & bit) != 0)
348 if ((ps->ps_sigintr & bit) == 0)
350 if (ps->ps_siginfo & bit)
352 if (ps->ps_signodefer & bit)
354 if (ps->ps_64regset & bit)
389 clear_procsiglist(proc_t p, int bit)
401 uth->uu_siglist &= ~bit;
409 uth->uu_siglist &= ~bit;
420 unblock_procsigmask(proc_t p, int bit)
432 uth->uu_sigmask &= ~bit;
434 p->p_sigmask &= ~bit;
440 uth->uu_sigmask &= ~bit;
442 p->p_sigmask &= ~bit;
450 block_procsigmask(proc_t p, int bit)
462 uth->uu_sigmask |= bit;
464 p->p_sigmask |= bit;
470 uth->uu_sigmask |= bit;
472 p->p_sigmask |= bit;
480 set_procsigmask(proc_t p, int bit)
492 uth->uu_sigmask = bit;
494 p->p_sigmask = bit;
500 uth->uu_sigmask = bit;
502 p->p_sigmask = bit;
514 int bit;
519 bit = sigmask(signum);
527 ps->ps_siginfo |= bit;
529 ps->ps_siginfo &= ~bit;
531 ps->ps_64regset |= bit;
533 ps->ps_64regset &= ~bit;
535 ps->ps_sigintr |= bit;
537 ps->ps_sigintr &= ~bit;
539 ps->ps_sigonstack |= bit;
541 ps->ps_sigonstack &= ~bit;
543 ps->ps_usertramp |= bit;
545 ps->ps_usertramp &= ~bit;
547 ps->ps_sigreset |= bit;
549 ps->ps_sigreset &= ~bit;
551 ps->ps_signodefer |= bit;
553 ps->ps_signodefer &= ~bit;
574 * Set bit in p_sigignore for signals that are set to SIG_IGN,
582 clear_procsiglist(p, bit);
584 p->p_sigignore |= bit; /* easier in psignal */
585 p->p_sigcatch &= ~bit;
587 p->p_sigignore &= ~bit;
589 p->p_sigcatch &= ~bit;
591 p->p_sigcatch |= bit;