Home
last modified time | relevance | path

Searched refs:mask (Results 1 – 25 of 903) sorted by relevance

12345678910>>...37

/titanic_44/usr/src/lib/libbc/libc/sys/common/
H A Dsignalmap.c119 sigsetmask(int mask) in sigsetmask() argument
122 ret = ucbsigsetmask(maptonewmask(mask)); in sigsetmask()
127 sigblock(int mask) in sigblock() argument
130 ret = ucbsigblock(maptonewmask(mask)); in sigblock()
136 sigpause(int mask) in sigpause() argument
139 return (ucbsigpause(maptonewmask(mask))); in sigpause()
232 maptooldmask(int mask) in maptooldmask() argument
236 omask = mask & 0x7FFF; /* these signo are same */ in maptooldmask()
238 if (mask & sigmask(XSIGURG)) in maptooldmask()
240 if (mask & sigmask(XSIGSTOP)) in maptooldmask()
[all …]
/titanic_44/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c439 if (params_in->mask & KADM5_CONFIG_REALM) {
442 params.mask |= KADM5_CONFIG_REALM;
448 params.mask |= KADM5_CONFIG_REALM;
485 if (params_in->mask & KADM5_CONFIG_ADMIN_SERVER) {
488 params.mask |= KADM5_CONFIG_ADMIN_SERVER;
492 params.mask |= KADM5_CONFIG_ADMIN_SERVER;
509 params.mask |= KADM5_CONFIG_ADMIN_SERVER;
511 params.mask |= KADM5_CONFIG_KADMIND_PORT;
516 if ((params.mask & KADM5_CONFIG_ADMIN_SERVER) && dnsret) {
521 params.mask |= KADM5_CONFIG_KADMIND_PORT;
[all …]
/titanic_44/usr/src/cmd/ssh/libopenbsd-compat/common/
H A Dsigact.c52 sigemptyset (sigset_t * mask) in sigemptyset() argument
54 *mask = 0; in sigemptyset()
59 sigprocmask (int mode, sigset_t * mask, sigset_t * omask) in sigprocmask() argument
66 current |= *mask; in sigprocmask()
68 current &= ~*mask; in sigprocmask()
70 current = *mask; in sigprocmask()
77 sigsuspend (sigset_t * mask) in sigsuspend() argument
79 return sigpause(*mask); in sigsuspend()
83 sigdelset (sigset_t * mask, int sig) in sigdelset() argument
85 *mask &= ~sigmask(sig); in sigdelset()
[all …]
/titanic_44/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca_disp.in31 mask on = AMD_BANK_STAT_CECC
32 mask off = MSR_MC_STATUS_UC, AMD_BANK_STAT_UECC
47 mask on = AMD_BANK_STAT_CECC
48 mask off = MSR_MC_STATUS_UC, AMD_BANK_STAT_UECC
63 mask on = MSR_MC_STATUS_UC, AMD_BANK_STAT_UECC
64 mask off = AMD_BANK_STAT_CECC
79 mask on = MSR_MC_STATUS_UC, AMD_BANK_STAT_UECC
80 mask off = AMD_BANK_STAT_CECC
95 mask on = AMD_BANK_STAT_CECC, AMD_BANK_STAT_SCRUB
96 mask off = MSR_MC_STATUS_UC, AMD_BANK_STAT_UECC
[all …]
/titanic_44/usr/src/lib/libtsnet/common/
H A Dmisc.c126 uint32_t mask, i; in rtsa_to_str() local
131 mask = rtsa->rtsa_mask; in rtsa_to_str()
133 for (i = 1; mask != 0 && i != 0 && slen < len - 1; i <<= 1) { in rtsa_to_str()
136 if (!(i & mask)) in rtsa_to_str()
140 switch (i & mask) { in rtsa_to_str()
142 if ((mask & RTSA_MAXSL) && in rtsa_to_str()
152 mask ^= RTSA_MAXSL; in rtsa_to_str()
185 uint32_t mask = 0, doi; in rtsa_keyword() local
239 if (mask & RTSA_MINSL) { in rtsa_keyword()
252 mask |= RTSA_MINSL; in rtsa_keyword()
[all …]
/titanic_44/usr/src/head/
H A Ddeflt.h73 #define TURNON(flags, mask) ((flags) |= (mask)) argument
74 #define TURNOFF(flags, mask) ((flags) &= ~(mask)) argument
75 #define ISON(flags, mask) (((flags) & (mask)) == (mask)) argument
76 #define ISOFF(flags, mask) (((flags) & (mask)) != (mask)) argument
/titanic_44/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c64 kadm5_policy_ent_t entry, long mask) in kadm5_create_policy() argument
70 if (mask & KADM5_REF_COUNT) in kadm5_create_policy()
73 return kadm5_create_policy_internal(server_handle, entry, mask); in kadm5_create_policy()
98 kadm5_policy_ent_t entry, long mask) in kadm5_create_policy_internal() argument
111 if (!(mask & KADM5_POLICY)) in kadm5_create_policy_internal()
122 if (!(mask & KADM5_PW_MAX_LIFE)) in kadm5_create_policy_internal()
126 if (!(mask & KADM5_PW_MIN_LIFE)) in kadm5_create_policy_internal()
129 if((mask & KADM5_PW_MAX_LIFE)) { in kadm5_create_policy_internal()
135 if (!(mask & KADM5_PW_MIN_LENGTH)) in kadm5_create_policy_internal()
142 if (!(mask & KADM5_PW_MIN_CLASSES)) in kadm5_create_policy_internal()
[all …]
H A Dsvr_principal.c202 kadm5_principal_ent_t entry, long mask, in kadm5_create_principal() argument
206 kadm5_create_principal_3(server_handle, entry, mask, in kadm5_create_principal()
211 kadm5_principal_ent_t entry, long mask, in kadm5_create_principal_3() argument
230 if(!(mask & KADM5_PRINCIPAL) || (mask & KADM5_MOD_NAME) || in kadm5_create_principal_3()
231 (mask & KADM5_MOD_TIME) || (mask & KADM5_LAST_PWD_CHANGE) || in kadm5_create_principal_3()
232 (mask & KADM5_MKVNO) || (mask & KADM5_POLICY_CLR) || in kadm5_create_principal_3()
233 (mask & KADM5_AUX_ATTRIBUTES) || (mask & KADM5_KEY_DATA) || in kadm5_create_principal_3()
234 (mask & KADM5_LAST_SUCCESS) || (mask & KADM5_LAST_FAILED) || in kadm5_create_principal_3()
235 (mask & KADM5_FAIL_AUTH_COUNT)) in kadm5_create_principal_3()
237 if((mask & ~ALL_PRINC_MASK)) in kadm5_create_principal_3()
[all …]
/titanic_44/usr/src/lib/libast/common/comp/
H A Dfmtmsglib.c46 unsigned int mask;
189 display(register const MM_table_t* tab, int value, int mask)
193 if (value == tab->value || mask && (value & tab->value))
211 unsigned int mask;
219 mm.mask = MM_default;
226 mm.mask = MM_default;
231 mm.mask |= p->value;
282 mask = MM_all;
289 mask = mm.mask;
292 if ((mask & MM_label) && label)
[all …]
/titanic_44/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.h72 #define WRITE_TCAM_REG_MASK0(handle, mask) \ argument
73 REG_PIO_WRITE64(handle, PFC_TCAM_MASK0, mask)
74 #define WRITE_TCAM_REG_MASK1(handle, mask) \ argument
75 REG_PIO_WRITE64(handle, PFC_TCAM_MASK1, mask)
220 } key, mask; member
227 #define mask_reg0 mask.regs.reg0
228 #define mask_reg1 mask.regs.reg1
232 #define mask0 mask.regs.reg0
233 #define mask1 mask.regs.reg1
244 #define ip4_class_mask mask.ipv4.class_code
[all …]
/titanic_44/usr/src/lib/libc/port/locale/
H A Disdigit.c44 isctype_l(int c, int mask, locale_t loc) in isctype_l() argument
46 return ((unsigned)c > 255 ? 0 : (loc->ctype->lc_ctype_mask[c] & mask)); in isctype_l()
49 #define ISTYPE_L(c, mask, loc) \ argument
50 (isascii(c) ? (__ctype_mask[c] & (mask)) : isctype_l(c, mask, loc))
52 #define ISTYPE(c, mask) ISTYPE_L(c, mask, uselocale(NULL)) argument
54 #define DEFN_ISTYPE(type, mask) \ argument
58 return (ISTYPE_L(c, mask, l)); \
64 return (ISTYPE(c, mask)); \
/titanic_44/usr/src/uts/common/ipp/ipgpc/
H A Dtrie.c66 buf->mask = 0; in create_node()
164 SETBIT(nodep->zero->mask, in t_split()
190 SETBIT(nodep->one->mask, in t_split()
200 UNSETBIT(nodep->mask, i, key_len); in t_split()
216 t_insert(trie_id_t *tid, key_t id, uint32_t key, uint32_t mask) in t_insert() argument
224 if (mask == 0) { in t_insert()
231 key &= mask; /* apply mask */ in t_insert()
236 if (EXTRACTBIT(mask, (pos - 1), key_len) != 1) { in t_insert()
287 SETBIT(c_node->mask, (pos - 1), 1, key_len); in t_insert()
301 SETBIT(c_node->mask, (pos - 1), 1, key_len); in t_insert()
[all …]
H A Dba_table.c45 ba_insert(ba_table_id_t *bataid, int filter_id, uint8_t val, uint8_t mask) in ba_insert() argument
47 uint8_t mskd_val = val & mask; in ba_insert()
51 if (mask == 0) { in ba_insert()
66 (void) ipgpc_list_insert(&table->masks, mask); in ba_insert()
98 if ((num_found = ipgpc_mark_found(bataid->info.mask, in ba_retrieve()
114 if ((ret = ipgpc_mark_found(bataid->info.mask, filter_list, in ba_retrieve()
131 ba_remove(ba_table_id_t *bataid, int filter_id, uint8_t value, uint8_t mask) in ba_remove() argument
133 uint8_t masked_value = value & mask; in ba_remove()
137 if (mask == 0) { in ba_remove()
155 (void) ipgpc_list_remove(&table->masks, mask); in ba_remove()
/titanic_44/usr/src/lib/libbsm/common/
H A Dau_usermask.c67 au_user_mask(char *user, au_mask_t *mask) in au_user_mask() argument
72 if (mask == NULL) { in au_user_mask()
81 if (auditon(A_GETAMASK, (caddr_t)mask, sizeof (*mask)) == -1) { in au_user_mask()
97 mask->as_success |= per_user.au_always.as_success; in au_user_mask()
98 mask->as_failure |= per_user.au_always.as_failure; in au_user_mask()
99 mask->as_success &= ~(per_user.au_never.as_success); in au_user_mask()
100 mask->as_failure &= ~(per_user.au_never.as_failure); in au_user_mask()
H A Daudit_rshd.c177 struct au_mask mask; in selected() local
179 mask.am_success = mask.am_failure = 0; in selected()
182 (void) auditon(A_GETKMASK, (caddr_t)&mask, sizeof (mask)); in selected()
184 (void) au_user_mask(locuser, &mask); in selected()
195 return (au_preselect(event, &mask, sorf, AU_PRS_REREAD)); in selected()
203 au_mask_t mask; in setup_session() local
221 mask.am_success = 0; in setup_session()
222 mask.am_failure = 0; in setup_session()
223 (void) au_user_mask(locuser, &mask); in setup_session()
225 info.ai_mask.am_success = mask.am_success; in setup_session()
[all …]
/titanic_44/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_realm.c264 int l=0, i=0, j=0, mask=0; local
279 if ((st=krb5_ldap_read_realm_params(context, lrealm, &rparam, &mask)) != 0)
390 krb5_ldap_modify_realm(context, rparams, mask) in krb5_ldap_modify_realm() argument
393 int mask;
416 if (mask == 0)
430 ((mask & LDAP_REALM_SUBTREE) && rparams->subtree == NULL) ||
431 ((mask & LDAP_REALM_CONTREF) && rparams->containerref == NULL) ||
433 ((mask & LDAP_REALM_KDCSERVERS) && rparams->kdcservers == NULL) ||
434 ((mask & LDAP_REALM_ADMINSERVERS) && rparams->adminservers == NULL) ||
435 ((mask & LDAP_REALM_PASSWDSERVERS) && rparams->passwdservers == NULL) ||
[all …]
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dcommon.c44 in_addr_t mask; /* in host byte order */ in getnet() local
90 mask = std_mask(htonl(in.s_addr)); in getnet()
91 if ((~mask & in.s_addr) != 0) in getnet()
92 mask = HOST_MASK; in getnet()
94 mask = (uint32_t)strtoul(mname, &p, 0); in getnet()
95 if (*p != '\0' || mask > 32 || mname == p) in getnet()
97 if (mask != 0) in getnet()
98 mask = HOST_MASK << (32-mask); in getnet()
102 if (mask != 0 && in.s_addr == RIP_DEFAULT) in getnet()
105 if ((~mask & in.s_addr) != 0) in getnet()
[all …]
/titanic_44/usr/src/lib/libsocket/inet/
H A Dnetmasks.c95 getnetmaskbykey(const struct in_addr addr, struct in_addr *mask) in getnetmaskbykey() argument
110 NSS_XbyY_INIT(&arg, mask, NULL, 0, str2addr); in getnetmaskbykey()
127 getnetmaskbynet(const struct in_addr net, struct in_addr *mask) in getnetmaskbynet() argument
159 if (getnetmaskbykey(net1, mask) == 0) { in getnetmaskbynet()
162 if (getnetmaskbykey(net2, mask) == 0) { in getnetmaskbynet()
185 getnetmaskbyaddr(const struct in_addr addr, struct in_addr *mask) in getnetmaskbyaddr() argument
192 mask->s_addr = 0; in getnetmaskbyaddr()
198 if (getnetmaskbykey(net, mask) != 0) { in getnetmaskbyaddr()
199 mask->s_addr = 0; in getnetmaskbyaddr()
202 if (htonl(maskoff) == mask->s_addr) in getnetmaskbyaddr()
[all …]
/titanic_44/usr/src/lib/libsec/common/
H A Dacltext.c180 int mask; in aclent_printacl() local
190 mask = tp->a_perm; in aclent_printacl()
200 aclent_perms((tp->a_perm & mask), perm); in aclent_printacl()
212 aclent_perms(tp->a_perm & mask, perm); in aclent_printacl()
218 aclent_perms(tp->a_perm & mask, perm); in aclent_printacl()
452 ace_perm_txt(dynaclstr_t *dstr, uint32_t mask, in ace_perm_txt() argument
460 if (mask & ACE_READ_DATA) in ace_perm_txt()
464 if (mask & ACE_WRITE_DATA) in ace_perm_txt()
468 if (mask & ACE_EXECUTE) in ace_perm_txt()
472 if (mask & ACE_APPEND_DATA) in ace_perm_txt()
[all …]
/titanic_44/usr/src/lib/libinetutil/common/
H A Dinetutil.c112 plen2mask(uint_t prefixlen, sa_family_t af, struct sockaddr *mask) in plen2mask() argument
119 bzero(mask, sizeof (struct sockaddr_in)); in plen2mask()
120 addr = (uint8_t *)mask; in plen2mask()
125 bzero(mask, sizeof (struct sockaddr_in6)); in plen2mask()
126 addr = (uint8_t *)mask; in plen2mask()
129 mask->sa_family = af; in plen2mask()
150 mask2plen(const struct sockaddr *mask) in mask2plen() argument
157 if (mask->sa_family == AF_INET) { in mask2plen()
159 addr = (uint8_t *)mask; in mask2plen()
163 addr = (uint8_t *)mask; in mask2plen()
/titanic_44/usr/src/lib/libcmd/common/
H A Dmkfifo.c57 register mode_t mask = 0; in b_mkfifo() local
85 mask = umask(0); in b_mkfifo()
88 mode &= ~mask; in b_mkfifo()
89 umask(mask); in b_mkfifo()
90 mask = 0; in b_mkfifo()
95 if (mask) in b_mkfifo()
96 umask(mask); in b_mkfifo()
H A Dstty.c124 unsigned long mask; member
373 sp->c_cflag |= tp->mask; in sane()
375 sp->c_cflag &= ~tp->mask; in sane()
379 sp->c_iflag |= tp->mask; in sane()
381 sp->c_iflag &= ~tp->mask; in sane()
385 sp->c_oflag |= tp->mask; in sane()
387 sp->c_oflag &= ~tp->mask; in sane()
391 sp->c_lflag |= tp->mask; in sane()
393 sp->c_lflag &= ~tp->mask; in sane()
398 sp->c_cc[tp->mask] = cntl(tp->val); in sane()
[all …]
/titanic_44/usr/src/lib/krb5/ss/
H A Dpager.c79 sigset_t mask; in ss_page_stdin() local
96 sigemptyset(&mask); in ss_page_stdin()
97 sigaddset(&mask, SIGINT); in ss_page_stdin()
98 sigprocmask(SIG_UNBLOCK, &mask, (sigset_t *)0); in ss_page_stdin()
100 int mask = sigblock(0); in ss_page_stdin()
101 mask &= ~sigmask(SIGINT); in ss_page_stdin()
102 sigsetmask(mask); in ss_page_stdin()
/titanic_44/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c53 static void print_policy_params(krb5_ldap_policy_params *policyparams, int mask);
62 int mask = 0; in init_ldap_realm() local
88 &mask); in init_ldap_realm()
114 int mask = 0; local
149 mask |= LDAP_POLICY_MAXTKTLIFE;
163 mask |= LDAP_POLICY_MAXRENEWLIFE;
172 mask |= LDAP_POLICY_TKTFLAGS;
181 mask |= LDAP_POLICY_TKTFLAGS;
190 mask |= LDAP_POLICY_TKTFLAGS;
199 mask |= LDAP_POLICY_TKTFLAGS;
[all …]
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Dgraphics.c322 unsigned char mask; in draw_xbmlogo() local
337 mask = 0x80 >> (screenx & 7); in draw_xbmlogo()
347 s1[fb_index] |= mask; in draw_xbmlogo()
348 s2[fb_index] |= mask; in draw_xbmlogo()
349 s4[fb_index] |= mask; in draw_xbmlogo()
350 s8[fb_index] |= mask; in draw_xbmlogo()
369 unsigned char c, base, mask; in read_image() local
533 mask = 0x80 >> (x & 7); in read_image()
536 s1[len + (x >> 3)] |= mask; in read_image()
538 s2[len + (x >> 3)] |= mask; in read_image()
[all …]

12345678910>>...37