Home
last modified time | relevance | path

Searched refs:addrmask (Results 1 – 22 of 22) sorted by relevance

/netbsd-src/sys/dev/pci/
H A Dtga_conf.c143 int deep, addrmask, wide; in tga_identify() local
150 addrmask = (gder >> 2) & 0x7; /* XXX */ in tga_identify()
159 if (addrmask == 0x0) { in tga_identify()
166 } else if (addrmask == 0x1) { in tga_identify()
171 } else if (addrmask == 0x3) { in tga_identify()
179 if (addrmask == 0x00 && tga2 && wide) { in tga_identify()
184 if (addrmask == 0x3) { in tga_identify()
191 } else if (addrmask == 0x7) { in tga_identify()
/netbsd-src/usr.sbin/mrouted/
H A Dcfparse.y58 struct addrmask { struct
65 struct addrmask bound; argument
79 struct addrmask addrmask; member
91 %token <addrmask> ADDRMASK
95 %type <addrmask> bound boundary addrmask
263 | ALTNET addrmask {
388 addrmask : ADDRMASK { $$ = $1; }
518 yylval.addrmask.mask = n; in yylex()
519 yylval.addrmask.addr = addr; in yylex()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dreloc.c451 bfd_vma fieldmask, addrmask, signmask, ss, a; in bfd_check_overflow() local
463 addrmask = N_ONES (addrsize) | (fieldmask << rightshift); in bfd_check_overflow()
464 a = (relocation & addrmask) >> rightshift; in bfd_check_overflow()
484 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in bfd_check_overflow()
1221 bfd_vma addrmask, fieldmask, signmask, ss; in _bfd_relocate_contents() local
1230 addrmask = (N_ONES (bfd_arch_bits_per_address (input_bfd)) in _bfd_relocate_contents()
1232 a = (relocation & addrmask) >> rightshift; in _bfd_relocate_contents()
1233 b = (x & howto->src_mask & addrmask) >> bitpos; in _bfd_relocate_contents()
1234 addrmask >>= rightshift; in _bfd_relocate_contents()
1252 if (ss != 0 && ss != (addrmask & signmask)) in _bfd_relocate_contents()
[all …]
H A Dcoff-rs6000.c3505 bfd_vma addrmask, fieldmask, signmask, ss; in xcoff_complain_overflow_signed_func() local
3513 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_signed_func()
3517 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_signed_func()
3524 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask)) in xcoff_complain_overflow_signed_func()
3540 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_signed_func()
3566 bfd_vma addrmask, fieldmask; in xcoff_complain_overflow_unsigned_func() local
3574 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_unsigned_func()
3589 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_unsigned_func()
3590 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_unsigned_func()
3591 sum = (a + b) & addrmask; in xcoff_complain_overflow_unsigned_func()
H A Delfnn-kvx.c1840 bfd_vma addrmask, fieldmask, signmask, ss; in check_signed_overflow() local
1893 addrmask = (N_ONES (bfd_arch_bits_per_address (input_bfd)) in check_signed_overflow()
1895 a = (relocation & addrmask) >> rightshift; in check_signed_overflow()
1896 b = (x & src_mask & addrmask) >> bitpos; in check_signed_overflow()
1897 addrmask >>= rightshift; in check_signed_overflow()
1915 if (ss != 0 && ss != (addrmask & signmask)) in check_signed_overflow()
1946 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in check_signed_overflow()
1962 sum = (a + b) & addrmask; in check_signed_overflow()
H A Delf32-csky.c4013 bfd_vma addrmask; in csky_relocate_contents() local
4027 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in csky_relocate_contents()
4028 a = (relocation & addrmask) >> rightshift; in csky_relocate_contents()
4031 b = (x & howto->src_mask & addrmask) >> bitpos; in csky_relocate_contents()
4049 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in csky_relocate_contents()
4080 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in csky_relocate_contents()
4095 sum = (a + b) & addrmask; in csky_relocate_contents()
H A Delf32-nds32.c4571 bfd_vma addrmask, fieldmask, signmask, ss; in nds32_relocate_contents() local
4580 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in nds32_relocate_contents()
4581 a = (relocation & addrmask) >> rightshift; in nds32_relocate_contents()
4582 b = (x & howto->src_mask & addrmask) >> bitpos; in nds32_relocate_contents()
4600 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in nds32_relocate_contents()
4631 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in nds32_relocate_contents()
4648 sum = (a + b) & addrmask; in nds32_relocate_contents()
H A DChangeLog-20102880 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2882 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dreloc.c446 bfd_vma fieldmask, addrmask, signmask, ss, a; in bfd_check_overflow() local
458 addrmask = N_ONES (addrsize) | (fieldmask << rightshift); in bfd_check_overflow()
459 a = (relocation & addrmask) >> rightshift; in bfd_check_overflow()
479 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in bfd_check_overflow()
1398 bfd_vma addrmask, fieldmask, signmask, ss; in _bfd_relocate_contents() local
1407 addrmask = (N_ONES (bfd_arch_bits_per_address (input_bfd)) in _bfd_relocate_contents()
1409 a = (relocation & addrmask) >> rightshift; in _bfd_relocate_contents()
1410 b = (x & howto->src_mask & addrmask) >> bitpos; in _bfd_relocate_contents()
1411 addrmask >>= rightshift; in _bfd_relocate_contents()
1429 if (ss != 0 && ss != (addrmask & signmask)) in _bfd_relocate_contents()
[all …]
H A Dcoff-rs6000.c3416 bfd_vma addrmask, fieldmask, signmask, ss; in xcoff_complain_overflow_signed_func() local
3424 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_signed_func()
3428 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_signed_func()
3435 if (ss != 0 && ss != ((addrmask >> howto->rightshift) & signmask)) in xcoff_complain_overflow_signed_func()
3451 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_signed_func()
3477 bfd_vma addrmask, fieldmask; in xcoff_complain_overflow_unsigned_func() local
3485 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in xcoff_complain_overflow_unsigned_func()
3500 a = (a & addrmask) >> howto->rightshift; in xcoff_complain_overflow_unsigned_func()
3501 b = (b & addrmask) >> howto->bitpos; in xcoff_complain_overflow_unsigned_func()
3502 sum = (a + b) & addrmask; in xcoff_complain_overflow_unsigned_func()
H A Delf32-csky.c4024 bfd_vma addrmask; in csky_relocate_contents() local
4038 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in csky_relocate_contents()
4039 a = (relocation & addrmask) >> rightshift; in csky_relocate_contents()
4042 b = (x & howto->src_mask & addrmask) >> bitpos; in csky_relocate_contents()
4060 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in csky_relocate_contents()
4091 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in csky_relocate_contents()
4106 sum = (a + b) & addrmask; in csky_relocate_contents()
H A Delf32-nds32.c4571 bfd_vma addrmask, fieldmask, signmask, ss; in nds32_relocate_contents() local
4580 addrmask = N_ONES (bfd_arch_bits_per_address (input_bfd)) | fieldmask; in nds32_relocate_contents()
4581 a = (relocation & addrmask) >> rightshift; in nds32_relocate_contents()
4582 b = (x & howto->src_mask & addrmask) >> bitpos; in nds32_relocate_contents()
4600 if (ss != 0 && ss != ((addrmask >> rightshift) & signmask)) in nds32_relocate_contents()
4631 if (((~(a ^ b)) & (a ^ sum)) & signmask & addrmask) in nds32_relocate_contents()
4648 sum = (a + b) & addrmask; in nds32_relocate_contents()
H A DChangeLog-20102880 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2882 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
/netbsd-src/external/bsd/ipf/dist/tools/
H A Dippool_y.y91 %type <adrmsk> addrmask
269 | addrmask next grouplist { $$ = calloc(1, sizeof(iphtent_t));
276 | addrmask next { $$ = calloc(1, sizeof(iphtent_t));
298 addrmask ',' setgroup { $$ = calloc(1, sizeof(iphtent_t));
313 range: addrmask { $$ = calloc(1, sizeof(*$$));
318 | '!' addrmask { $$ = calloc(1, sizeof(*$$));
338 addrmask { $$ = calloc(1, sizeof(iphtent_t));
353 addrmask:
/netbsd-src/sys/netinet6/
H A Din6_src.c977 if (in6_mask2len(&ent0.addrmask.sin6_addr, NULL) < 0) in in6_src_ioctl()
982 ent0.addrmask.sin6_addr.s6_addr32[i]; in in6_src_ioctl()
1026 IN6_ARE_ADDR_EQUAL(&newpolicy->addrmask.sin6_addr, in add_addrsel_policyent()
1027 &pol->ape_policy.addrmask.sin6_addr)) { in add_addrsel_policyent()
1052 IN6_ARE_ADDR_EQUAL(&key->addrmask.sin6_addr, in delete_addrsel_policyent()
1053 &pol->ape_policy.addrmask.sin6_addr)) { in delete_addrsel_policyent()
1109 mp = (u_char *)&pol->addrmask.sin6_addr; in match_addrsel_policy()
H A Din6_var.h155 struct sockaddr_in6 addrmask; /* prefix mask */ member
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Daddr_families.c482 krb5_addresses addrmask; in arange_parse_addr() local
489 ret = krb5_parse_address(context, buf, &addrmask); in arange_parse_addr()
492 if(addrmask.len != 1) { in arange_parse_addr()
493 krb5_free_addresses(context, &addrmask); in arange_parse_addr()
501 krb5_free_addresses(context, &addrmask); in arange_parse_addr()
505 ret = krb5_address_prefixlen_boundary(context, &addrmask.val[0], num, in arange_parse_addr()
507 krb5_free_addresses(context, &addrmask); in arange_parse_addr()
/netbsd-src/usr.sbin/ip6addrctl/
H A Dip6addrctl.c170 if ((plen = mask2plen(&pol->addrmask)) < 0) { in dump_policy()
290 plen2mask(&pol->addrmask, plen); in parse_prefix()
/netbsd-src/external/mpl/dhcp/dist/keama/
H A Dconfparse.c98 static struct string *addrmask(const struct string *, const struct string *);
2415 prefix = addrmask(address, netmask); in parse_subnet_declaration()
4446 addrmask(const struct string *address, const struct string *netmask) in addrmask() function
/netbsd-src/lib/libc/net/
H A Dgetaddrinfo.c840 mp = (void *)&pol->addrmask.sin6_addr; in match_addrselectpolicy()
/netbsd-src/external/gpl3/gdb.old/dist/bfd/
H A DChangeLog-20102880 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2882 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all
/netbsd-src/external/gpl3/gdb/dist/bfd/
H A DChangeLog-20102880 * reloc.c (bfd_check_overflow): When forming addrmask, shift
2882 (_bfd_relocate_contents): Likewise. Use rightshift addrmask in all