Home
last modified time | relevance | path

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

12345678910>>...40

/illumos-gate/usr/src/test/util-tests/tests/mdb/format/
H A Dtst.format-j.mdb.out80 +-- bit 0 mask 0x1
87 ||||||| ||| || |||||| | || ||+--- bit 1 mask 0x00000002
88 ||||||| ||| || |||||| | || |+---- bit 2 mask 0x00000004
89 ||||||| ||| || |||||| | || +----- bit 3 mask 0x00000008
90 ||||||| ||| || |||||| | |+-------- bit 6 mask 0x00000040
91 ||||||| ||| || |||||| | +--------- bit 7 mask 0x00000080
92 ||||||| ||| || |||||| +----------- bit 9 mask 0x00000200
93 ||||||| ||| || |||||+------------- bit 11 mask 0x00000800
94 ||||||| ||| || ||||+-------------- bit 12 mask 0x00001000
95 ||||||| ||| || |||+--------------- bit 13 mask 0x00002000
[all …]
/illumos-gate/usr/src/lib/krb5/kadm5/
H A Dalt_prof.c448 params.mask |= KADM5_CONFIG_REALM;
535 params.mask |= KADM5_CONFIG_DBNAME;
590 params.mask |= KADM5_CONFIG_ACL_FILE;
659 params.mask |= KADM5_CONFIG_ENCTYPE;
668 params.mask |= KADM5_CONFIG_ENCTYPE;
702 params.mask |= KADM5_CONFIG_MAX_LIFE;
738 params.mask |= KADM5_CONFIG_FLAGS;
773 params.mask |= KADM5_CONFIG_FLAGS;
844 params.mask |=
848 params.mask |=
[all …]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_endint.h125 get_bit8(bits8_t v, uint8_t mask) in get_bit8() argument
127 return ((v.bit_val & mask) != 0); in get_bit8()
130 set_bit8(bits8_t *v, uint8_t mask) in set_bit8() argument
132 v->bit_val |= mask; in set_bit8()
137 v->bit_val &= ~mask; in clear_bit8()
170 v->bit_val |= BE_16(mask); in set_bit16()
175 v->bit_val &= BE_16(~mask); in clear_bit16()
208 v->bit_val |= BE_32(mask); in set_bit32()
213 v->bit_val &= BE_32(~mask); in clear_bit32()
286 v->bit_val |= BE_64(mask); in set_bit64()
[all …]
/illumos-gate/usr/src/uts/i86pc/cpu/amd_opteron/
H A Dao_mca_disp.in31 mask on = AMD_BANK_STAT_CECC
47 mask on = AMD_BANK_STAT_CECC
64 mask off = AMD_BANK_STAT_CECC
161 mask on = MSR_MC_STATUS_UC
177 mask on = MSR_MC_STATUS_UC
325 mask on =
341 mask on =
375 mask on =
391 mask on =
407 mask on =
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dmisc.c126 uint32_t mask, i; in rtsa_to_str() local
136 if (!(i & mask)) in rtsa_to_str()
140 switch (i & mask) { in rtsa_to_str()
152 mask ^= RTSA_MAXSL; in rtsa_to_str()
252 mask |= RTSA_MINSL; in rtsa_keyword()
269 mask |= RTSA_MAXSL; in rtsa_keyword()
303 mask |= RTSA_DOI; in rtsa_keyword()
312 mask |= RTSA_CIPSO; in rtsa_keyword()
320 mask |= RTSA_CIPSO; in rtsa_keyword()
352 if (mask & RTSA_DOI) in rtsa_keyword()
[all …]
/illumos-gate/usr/src/compat/bhyve/amd64/machine/
H A Dcpufunc.h22 bsfq(u_long mask) in bsfq() argument
31 bsrl(u_int mask) in bsrl() argument
40 bsrq(u_long mask) in bsrq() argument
83 ffsl(long mask) in ffsl() argument
85 return (mask == 0 ? mask : (int)bsfq((u_long)mask) + 1); in ffsl()
89 fls(int mask) in fls() argument
91 return (mask == 0 ? mask : (int)bsrl((u_int)mask) + 1); in fls()
95 flsl(long mask) in flsl() argument
97 return (mask == 0 ? mask : (int)bsrq((u_long)mask) + 1); in flsl()
101 flsll(long long mask) in flsll() argument
[all …]
/illumos-gate/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
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_policy.c70 if (mask & KADM5_REF_COUNT) in kadm5_create_policy()
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()
158 if (!(mask & KADM5_REF_COUNT)) in kadm5_create_policy_internal()
208 if (mask & KADM5_REF_COUNT) in kadm5_modify_policy()
229 if((mask & KADM5_POLICY)) in kadm5_modify_policy_internal()
237 if ((mask & KADM5_PW_MAX_LIFE)) in kadm5_modify_policy_internal()
[all …]
H A Dsvr_principal.c224 if(!(mask & KADM5_PRINCIPAL) || (mask & KADM5_MOD_NAME) || in kadm5_create_principal_3()
226 (mask & KADM5_MKVNO) || (mask & KADM5_POLICY_CLR) || in kadm5_create_principal_3()
227 (mask & KADM5_AUX_ATTRIBUTES) || (mask & KADM5_KEY_DATA) || in kadm5_create_principal_3()
425 kdb.mask = mask | KADM5_KEY_DATA | KADM5_PRINCIPAL ; in kadm5_create_principal_3()
519 (mask & KADM5_MOD_TIME) || (mask & KADM5_MOD_NAME) || in kadm5_modify_principal()
520 (mask & KADM5_MKVNO) || (mask & KADM5_AUX_ATTRIBUTES) || in kadm5_modify_principal()
526 if((mask & KADM5_POLICY) && (mask & KADM5_POLICY_CLR)) in kadm5_modify_principal()
630 if (((mask & KADM5_POLICY) || (mask & KADM5_POLICY_CLR)) && in kadm5_modify_principal()
676 kdb.mask = mask; in kadm5_modify_principal()
754 long mask; in kadm5_get_principal() local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dfmtmsglib.c46 unsigned int mask;
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)
297 if ((mask & MM_text) && text)
300 if ((mask & MM_action) && action || (mask & MM_tag) && (label || tag))
[all …]
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_pfc.h220 } 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
247 #define ip4_noport_mask mask.ipv4.noport
248 #define ip4_proto_mask mask.ipv4.protocol
249 #define ip4_l4_hdr_mask mask.ipv4.l4_hdr
251 #define ip4_dest_mask mask.ipv4.ip_daddr
263 #define ip6_proto_mask mask.ipv6.protocol
[all …]
/illumos-gate/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()
224 if (mask == 0) { in t_insert()
231 key &= mask; /* apply mask */ in t_insert()
438 c_node->mask = 0; in t_traverse_delete()
485 c_node->mask = 0; in t_traverse_delete()
528 c_node->mask |= c_node->zero->mask; in t_traverse_delete()
554 c_node->mask |= c_node->one->mask; in t_traverse_delete()
586 c_node->mask = 0; in t_traverse_delete()
[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()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_realm.c393 int mask;
416 if (mask == 0)
463 if (mask & LDAP_REALM_SUBTREE) {
482 if (mask & LDAP_REALM_CONTREF) {
579 if (mask & LDAP_REALM_KDCSERVERS || mask & LDAP_REALM_ADMINSERVERS ||
580 mask & LDAP_REALM_PASSWDSERVERS) {
1197 int *mask;
1246 *mask = 0;
1301 *mask |= LDAP_REALM_SUBTREE;
1377 if ((!(*mask & LDAP_REALM_MAXTICKETLIFE && *mask & LDAP_REALM_MAXRENEWLIFE &&
[all …]
/illumos-gate/usr/src/cmd/bhyve/
H A Dvga.c417 uint8_t mask; in vga_mem_wr_handler() local
477 c0 = (enb_set_reset & 1) ? (c0 & ~mask) : (val & mask); in vga_mem_wr_handler()
478 c1 = (enb_set_reset & 2) ? (c1 & ~mask) : (val & mask); in vga_mem_wr_handler()
479 c2 = (enb_set_reset & 4) ? (c2 & ~mask) : (val & mask); in vga_mem_wr_handler()
480 c3 = (enb_set_reset & 8) ? (c3 & ~mask) : (val & mask); in vga_mem_wr_handler()
536 c0 &= ~mask; in vga_mem_wr_handler()
537 c1 &= ~mask; in vga_mem_wr_handler()
538 c2 &= ~mask; in vga_mem_wr_handler()
539 c3 &= ~mask; in vga_mem_wr_handler()
595 c0 &= ~mask; in vga_mem_wr_handler()
[all …]
/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dnetmasks.c110 NSS_XbyY_INIT(&arg, mask, NULL, 0, str2addr); in getnetmaskbykey()
159 if (getnetmaskbykey(net1, mask) == 0) { in getnetmaskbynet()
162 if (getnetmaskbykey(net2, mask) == 0) { in getnetmaskbynet()
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()
213 return (getnetmaskbynet(addr, mask)); in getnetmaskbyaddr()
227 struct in_addr *mask = (struct in_addr *)ent; in str2addr() local
261 if (mask) { in str2addr()
[all …]
/illumos-gate/usr/src/lib/libsec/common/
H A Dacltext.c180 int mask; in aclent_printacl() local
190 mask = tp->a_perm; in aclent_printacl()
460 if (mask & ACE_READ_DATA) in ace_perm_txt()
468 if (mask & ACE_EXECUTE) in ace_perm_txt()
476 if (mask & ACE_DELETE) in ace_perm_txt()
500 if (mask & ACE_READ_ACL) in ace_perm_txt()
504 if (mask & ACE_WRITE_ACL) in ace_perm_txt()
1219 *mask = perm_val; in compute_values()
1311 *mask = 0; in compute_aclent_perms()
1315 *mask = (o_mode_t)pmask; in compute_aclent_perms()
[all …]
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_nic.c668 EFX_AND_OWORD(reg, rsp->mask); in efx_nic_test_registers()
683 EFX_OR_OWORD(reg, rsp->mask); in efx_nic_test_registers()
784 efx_qword_t mask; in efx_loopback_mask() local
833 EFX_ZERO_QWORD(mask); in efx_loopback_mask()
878 *maskp = mask; in efx_loopback_mask()
889 efx_qword_t mask; in efx_mcdi_get_loopback_modes() local
920 EFX_AND_QWORD(mask, in efx_mcdi_get_loopback_modes()
924 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
928 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
932 EFX_AND_QWORD(modes, mask); in efx_mcdi_get_loopback_modes()
[all …]
/illumos-gate/usr/src/lib/libc/port/locale/
H A Disdigit.c37 #define ISTYPE_L(c, mask, loc) \ argument
38 (isascii(c) ? (__ctype_mask[c] & (mask)) : \
40 (loc->ctype->lc_ctype_mask[c] & mask))
42 #define ISTYPE(c, mask) ISTYPE_L(c, mask, uselocale(NULL)) argument
44 #define DEFN_ISTYPE(type, mask) \ argument
48 return (ISTYPE_L(c, mask, l)); \
54 return (ISTYPE(c, mask)); \
/illumos-gate/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()
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_policy.c62 int mask = 0; in init_ldap_realm() local
88 &mask); in init_ldap_realm()
114 int mask = 0; local
172 mask |= LDAP_POLICY_TKTFLAGS;
181 mask |= LDAP_POLICY_TKTFLAGS;
190 mask |= LDAP_POLICY_TKTFLAGS;
199 mask |= LDAP_POLICY_TKTFLAGS;
208 mask |= LDAP_POLICY_TKTFLAGS;
344 unsigned int mask = 0; local
708 unsigned int mask = 0; local
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dstty.c126 unsigned long mask; member
499 if(sp->c_cflag&tp->mask) in output()
501 if(tty.c_cflag&tp->mask) in output()
505 if(sp->c_iflag&tp->mask) in output()
507 if(tty.c_iflag&tp->mask) in output()
561 if(tp->mask==ispeed) in output()
658 sp->c_cc[tp->mask] = c; in set()
710 if(tp->mask) in set()
754 sp->c_cc[tp->mask] = c; in set()
764 sp->c_cflag |= tp->mask; in set()
[all …]

12345678910>>...40