Searched defs:mask (Results 1 - 25 of 679) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dntomask.c18 u_32_t mask; local
29 mask = 0;
31 mask = 0xffffffff;
32 mask <<= (32 - nbits);
34 *ap = htonl(mask);
/illumos-gate/usr/src/uts/common/syscall/
H A Dumask.c42 * Mode mask for creation of files.
46 umask(int mask) argument
51 PTOU(curproc)->u_cmask = (mode_t)(mask & PERMMASK);
/illumos-gate/usr/src/boot/sys/sys/
H A Dboot.h39 int mask; member in struct:__anon405
/illumos-gate/usr/src/boot/lib/libc/string/
H A Dffs.c42 ffs(int mask) argument
46 if (mask == 0)
48 for (bit = 1; !(mask & 1); bit++)
49 mask = (unsigned int)mask >> 1;
H A Dfls.c39 fls(int mask) argument
43 if (mask == 0)
45 for (bit = 1; mask != 1; bit++)
46 mask = (unsigned int)mask >> 1;
/illumos-gate/usr/src/lib/libnsl/nsl/
H A Dt_close.c44 sigset_t mask; local
50 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
55 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
67 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
H A Dt_accept.c61 sigset_t mask; local
77 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
83 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
107 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
122 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
129 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
155 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
162 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
174 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
344 (void) thr_sigsetmask(SIG_SETMASK, &mask, NUL
[all...]
H A Dt_bind.c59 sigset_t mask; local
74 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
84 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
96 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
196 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
206 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
H A Dt_connect.c63 sigset_t mask; local
98 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
101 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
116 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
H A Dt_open.c70 sigset_t mask; local
133 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
157 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
163 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
175 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
H A Dt_unbind.c52 sigset_t mask; local
76 (void) thr_sigsetmask(SIG_SETMASK, &fillset, &mask);
86 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
99 (void) thr_sigsetmask(SIG_SETMASK, &mask, NULL);
/illumos-gate/usr/src/cmd/bnu/
H A Dpkdefs.c37 char mask[8] ={ 1,2,4,010,020,040,0100,(char)0200 }; variable
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c23 signalfd(int fd, const sigset_t *mask, int flags) argument
45 if (ioctl(fd, SIGNALFDIOC_MASK, mask) != 0) {
/illumos-gate/usr/src/lib/libshell/common/bltins/
H A Dumask.c22 * umask [-S] [mask]
43 register char *mask; local
61 if(mask = *argv)
64 if(isdigit(*mask))
66 while(c = *mask++)
76 char *cp = mask;
82 errormsg(SH_DICT,ERROR_exit(1),e_format,mask);
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmbtowc.c43 wchar_t mask; local
59 mask = P01;
64 mask = P10;
74 mask = P11;
85 *wchar = intcode | mask;
H A Ddelkey.c55 int mask = 0, cmp, numkeys = cur_term->_ksz; local
63 mask |= 01;
65 mask |= 02;
77 if (cmp == mask) {
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwctype.c47 wctype_t mask; member in struct:__anon3026
74 return (props[i].mask);
/illumos-gate/usr/src/lib/libcmd/common/
H A Dmkfifo.c57 register mode_t mask = 0; local
85 mask = umask(0);
88 mode &= ~mask;
89 umask(mask);
90 mask = 0;
95 if (mask)
96 umask(mask);
/illumos-gate/usr/src/lib/abi/apptrace/common/
H A Dinterceptlib.c61 abilock(sigset_t *mask) argument
72 (void) sigprocmask(SIG_BLOCK, &abisigset, mask);
80 abiunlock(sigset_t *mask) argument
93 (void) sigprocmask(SIG_SETMASK, mask, NULL);
/illumos-gate/usr/src/lib/krb5/ss/
H A Dpager.c79 sigset_t mask; local
96 sigemptyset(&mask);
97 sigaddset(&mask, SIGINT);
98 sigprocmask(SIG_UNBLOCK, &mask, (sigset_t *)0);
100 int mask = sigblock(0); local
101 mask &= ~sigmask(SIGINT);
102 sigsetmask(mask);
/illumos-gate/usr/src/uts/sun4/ml/
H A Dgenconst.c164 bit(long mask) argument
168 for (i = 0; i < sizeof (mask) * NBBY; i++) {
169 if (mask & 1)
171 mask >>= 1;
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb2_ofile.c25 uint_t mask; local
28 mask = ap->sa_mask;
30 ap->sa_mask = mask;
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_private.h11 } addr, mask; member in struct:__res_state_ext::sort_list
/illumos-gate/usr/src/lib/libsec/common/
H A Daclmode.c43 unsigned long mask; local
68 mask = tp->a_perm;
69 if (mask > 07)
71 *modep |= (mask << 3);
/illumos-gate/usr/src/lib/libproc/common/
H A Dpr_memcntl.c42 caddr_t addr, size_t len, int cmd, caddr_t arg, int attr, int mask)
50 return (memcntl(addr, len, cmd, arg, attr, mask));
102 adp++; /* mask argument */
103 adp->arg_value = mask;
41 pr_memcntl(struct ps_prochandle *Pr, caddr_t addr, size_t len, int cmd, caddr_t arg, int attr, int mask) argument

Completed in 74 milliseconds

1234567891011>>