Home
last modified time | relevance | path

Searched refs:sset (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dsignal.c123 sigset_t sset, oset;
125 (void) sigemptyset(&sset);
126 (void) sigaddset(&sset, sig);
127 if (sigprocmask(SIG_BLOCK, &sset, &oset) < 0)
162 sigset_t sset, oset;
164 (void) sigemptyset(&sset);
165 (void) sigaddset(&sset, sig);
166 if (sigprocmask(SIG_UNBLOCK, &sset, &oset) < 0)
306 sigset_t sset;
308 (void) sigemptyset(&sset);
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dsset.h16 struct sset { struct
23 extern struct sset *sset_init(unsigned int size, unsigned int off); argument
24 extern void sset_free(struct sset *s);
27 static inline void sset_reset(struct sset *s) in sset_reset()
32 static inline void sset_add(struct sset *s, unsigned int idx) in sset_add()
40 static inline bool sset_test(struct sset *s, unsigned int idx) in sset_test()
48 static inline bool sset_testset(struct sset *s, unsigned int idx) in sset_testset()
H A Dsset.c14 struct sset *sset_init(unsigned int first, unsigned int last) in sset_init()
17 struct sset *s = malloc(sizeof(*s) + size * 2 * sizeof(s->sets[0])); in sset_init()
25 void sset_free(struct sset *s) in sset_free()
H A DMakefile63 LIB_OBJS += sset.o
H A Dssa.c164 static struct sset *processed;
/illumos-gate/usr/src/cmd/svr4pkg/pkgserv/
H A Dpkgserv.c428 sigset_t sset; in main() local
445 (void) sigemptyset(&sset); in main()
446 (void) sigaddset(&sset, SIGUSR1); in main()
447 (void) sigaddset(&sset, SIGCLD); in main()
453 (void) sigprocmask(SIG_BLOCK, &sset, NULL); in main()
471 sig = sigwait(&sset); in main()
/illumos-gate/usr/src/cmd/listen/
H A Dlisten.c835 sigset_t sset; in catch_signals() local
840 (void) sigfillset(&sset); in catch_signals()
841 (void) sigdelset(&sset, SIGTERM); in catch_signals()
842 (void) sigdelset(&sset, SIGCLD); in catch_signals()
843 (void) sigprocmask(SIG_SETMASK, &sset, &Oset); in catch_signals()
847 sigact.sa_mask = sset; in catch_signals()
851 sigact.sa_mask = sset; in catch_signals()
/illumos-gate/usr/src/tools/smatch/
H A DMakefile96 LIB_OBJS += sset.o