/freebsd/sys/dev/qlxgb/ |
H A D | qla_misc.c | 193 uint32_t addr; member 213 __func__, addr); in qla_rdwr_indreg32() 220 __func__, addr); in qla_rdwr_indreg32() 315 val = addr; in qla_rd_flash32() 366 uint32_t addr; in qla_int_to_pci_addr_map() local 375 return (addr); in qla_int_to_pci_addr_map() 389 (addr == 0x00112040) || in qla_filter_pci_addr() 390 (addr == 0x00112048) || in qla_filter_pci_addr() 394 (addr == 0x022021FC) || in qla_filter_pci_addr() 401 (addr == 0x03B0001C)) in qla_filter_pci_addr() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/intel/axm/ |
H A D | axm5516-cpus.dtsi | 77 cpu-release-addr = <0>; // Fixed by the boot loader 85 cpu-release-addr = <0>; // Fixed by the boot loader 93 cpu-release-addr = <0>; // Fixed by the boot loader 101 cpu-release-addr = <0>; // Fixed by the boot loader 109 cpu-release-addr = <0>; // Fixed by the boot loader 117 cpu-release-addr = <0>; // Fixed by the boot loader 125 cpu-release-addr = <0>; // Fixed by the boot loader 133 cpu-release-addr = <0>; // Fixed by the boot loader 141 cpu-release-addr = <0>; // Fixed by the boot loader 149 cpu-release-addr = <0>; // Fixed by the boot loader [all …]
|
/freebsd/sys/netpfil/pf/ |
H A D | pf_lb.c | 144 xdst = &r->rpool.cur->addr; in pf_match_translation() 435 raddr = &rpool->cur->addr.v.a.addr; in pf_map_addr() 534 raddr = &rpool->cur->addr.v.a.addr; in pf_map_addr() 630 naddr = &(*nkp)->addr[1]; in pf_get_translation() 668 if (r->rpool.cur->addr.p.dyn-> in pf_get_translation() 672 &r->rpool.cur->addr.p.dyn-> in pf_get_translation() 674 &r->rpool.cur->addr.p.dyn-> in pf_get_translation() 680 if (r->rpool.cur->addr.p.dyn-> in pf_get_translation() 684 &r->rpool.cur->addr.p.dyn-> in pf_get_translation() 693 &r->rpool.cur->addr.v.a.addr, in pf_get_translation() [all …]
|
/freebsd/sys/dev/sdio/ |
H A D | sdiob.c | 156 fn, addr, wr, *val)); in sdiob_rw_direct_sc() 159 arg = SD_IO_RW_FUNC(fn) | SD_IO_RW_ADR(addr); in sdiob_rw_direct_sc() 406 addr += len; in sdiob_rw_extended_sc() 421 addr += len; in sdiob_rw_extended_sc() 667 uint32_t addr; in sdio_func_read_cis() local 679 addr = cis_addr; in sdio_func_read_cis() 699 addr += 2; in sdio_func_read_cis() 734 ret = sdio_read_direct_sc(sc, 0, addr, &v); in sdio_func_read_cis() 756 addr += 0x0b; in sdio_func_read_cis() 809 } else if (error == 0 && addr != NULL) in sdio_get_common_cis_addr() [all …]
|
/freebsd/sys/amd64/amd64/ |
H A D | ptrace_machdep.c | 171 error = copyout(savefpu, addr, in cpu_ptrace_xstate() 181 error = copyin(addr, savefpu, data); in cpu_ptrace_xstate() 198 error = copyout(&info32, addr, data); in cpu_ptrace_xstate() 209 error = copyout(&info, addr, data); in cpu_ptrace_xstate() 227 error = copyin(addr, savefpu, data); in cpu_ptrace_xstate() 303 error = copyout(&r, addr, sizeof(r)); in cpu32_ptrace() 312 error = copyin(addr, &r, sizeof(r)); in cpu32_ptrace() 336 return (cpu32_ptrace(td, req, addr, data)); in cpu_ptrace() 360 error = copyout(r, addr, sizeof(*r)); in cpu_ptrace() 365 error = copyin(addr, &rv, sizeof(rv)); in cpu_ptrace() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVInstrInfoZa.td | 73 def : Pat<(!cast<PatFrag>(AtomicOp#"_monotonic") (vt GPR:$addr), 76 (!cast<RVInst>(BaseInst) GPR:$cmp, GPR:$addr, GPR:$new)>; 77 def : Pat<(!cast<PatFrag>(AtomicOp#"_acquire") (vt GPR:$addr), 81 def : Pat<(!cast<PatFrag>(AtomicOp#"_release") (vt GPR:$addr), 85 def : Pat<(!cast<PatFrag>(AtomicOp#"_acq_rel") (vt GPR:$addr), 89 def : Pat<(!cast<PatFrag>(AtomicOp#"_seq_cst") (vt GPR:$addr), 95 def : Pat<(!cast<PatFrag>(AtomicOp#"_monotonic") (vt GPR:$addr), 99 def : Pat<(!cast<PatFrag>(AtomicOp#"_acquire") (vt GPR:$addr), 103 def : Pat<(!cast<PatFrag>(AtomicOp#"_release") (vt GPR:$addr), 107 def : Pat<(!cast<PatFrag>(AtomicOp#"_acq_rel") (vt GPR:$addr), [all …]
|
/freebsd/tools/test/stress2/misc/ |
H A D | mmap9.sh | 65 char *addr; 71 addr = mmap(NULL, sz, PROT_READ | PROT_WRITE, MAP_ANON, 73 if (addr == NULL) 75 memset(addr, 0, sz); 78 if (mlock(addr, sz)) 80 if (mprotect(addr, sz, PROT_READ)) 82 if (mprotect(addr, sz, PROT_READ | PROT_WRITE)) 84 if (mprotect(addr, sz, PROT_READ)) 86 if (mprotect(addr, sz, PROT_READ | PROT_WRITE))
|
H A D | datagram3.sh | 62 struct sockaddr_un addr; 67 memset(&addr, 0, sizeof(addr)); 68 addr.sun_family = AF_UNIX; 69 strncpy(addr.sun_path, filename, 104); 74 if (bind(sockfd, (struct sockaddr *) &addr, 75 sizeof(addr)) == -1) 78 if (connect(sockfd, (struct sockaddr *) &addr, 79 sizeof(addr)) == -1)
|
/freebsd/sbin/ipf/libipf/ |
H A D | printlookup.c | 13 printlookup(char *base, i6addr_t *addr, i6addr_t *mask) in printlookup() argument 17 switch (addr->iplookuptype) in printlookup() 29 PRINTF("lookup(%x)=", addr->iplookuptype); in printlookup() 33 if (addr->iplookupsubtype == 0) in printlookup() 34 PRINTF("%u", addr->iplookupnum); in printlookup() 35 else if (addr->iplookupsubtype == 1) { in printlookup() 36 strncpy(name, base + addr->iplookupname, sizeof(name)); in printlookup()
|
/freebsd/usr.bin/sdiotool/ |
H A D | cam_sdio.h | 64 uint32_t addr, 71 uint32_t addr, 76 uint8_t sdio_read_1(struct cam_device *dev, uint8_t func_number, uint32_t addr, int *ret); 77 int sdio_write_1(struct cam_device *dev, uint8_t func_number, uint32_t addr, uint8_t val); 78 uint16_t sdio_read_2(struct cam_device *dev, uint8_t func_number, uint32_t addr, int *ret); 79 int sdio_write_2(struct cam_device *dev, uint8_t func_number, uint32_t addr, uint16_t val); 80 uint32_t sdio_read_4(struct cam_device *dev, uint8_t func_number, uint32_t addr, int *ret); 81 int sdio_write_4(struct cam_device *dev, uint8_t func_number, uint32_t addr, uint32_t val); 82 int sdio_read_bool_for_func(struct cam_device *dev, uint32_t addr, uint8_t func_number, uint8_t *is… 83 int sdio_set_bool_for_func(struct cam_device *dev, uint32_t addr, uint8_t func_number, int enable);
|
/freebsd/contrib/bearssl/src/x509/ |
H A D | x509_decoder.t0 | 62 addr: decoded 63 addr: notbefore_days 65 addr: notafter_days 67 addr: isCA 68 addr: copy_dn 85 cc: read-blob-inner ( addr len -- addr len ) { 92 if (addr != 0) { 105 : addr-len-pkey_data ( -- addr len ) 183 read-date addr-notbefore_seconds set32 addr-notbefore_days set32 184 read-date addr-notafter_seconds set32 addr-notafter_days set32 [all …]
|
/freebsd/contrib/opencsd/decoder/source/etmv3/ |
H A D | trc_pkt_elem_etmv3.cpp | 57 m_pkt_data.addr.pkt_bits = 0; in Clear() 87 m_pkt_data.addr.pkt_bits = updateBits; in UpdateAddress() 88 m_pkt_data.addr.val &= ~validMask; in UpdateAddress() 90 if(updateBits > m_pkt_data.addr.valid_bits) in UpdateAddress() 99 m_pkt_data.addr.pkt_bits = valid_bits; in UpdateDataAddress() 100 m_pkt_data.addr.val &= ~validMask; in UpdateDataAddress() 300 m_pkt_data.data.addr.val,true,m_pkt_data.data.addr.pkt_bits); in toString() 309 m_pkt_data.data.addr.val,true,m_pkt_data.data.addr.pkt_bits); in toString() 323 m_pkt_data.data.addr.val,true,m_pkt_data.data.addr.pkt_bits); in toString() 489 m_pkt_data.addr.val,true,m_pkt_data.addr.pkt_bits); in getBranchAddressStr() [all …]
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_packer.c | 76 __be32 *addr; in ib_pack() local 87 addr = (__be32 *) buf + desc[i].offset_words; in ib_pack() 88 *addr = (*addr & ~mask) | (cpu_to_be32(val) & mask); in ib_pack() 93 __be64 *addr; in ib_pack() local 105 *addr = (*addr & ~mask) | (cpu_to_be64(val) & mask); in ib_pack() 165 __be32 *addr; in ib_unpack() local 169 addr = (__be32 *) buf + desc[i].offset_words; in ib_unpack() 170 val = (be32_to_cpup(addr) & mask) >> shift; in ib_unpack() 179 __be64 *addr; in ib_unpack() local 183 addr = (__be64 *) buf + desc[i].offset_words; in ib_unpack() [all …]
|
H A D | ib_cma.c | 750 cma_translate_ib(addr, &id_priv->id.route.addr.dev_addr); in cma_resolve_ib_dev() 1077 ret = cma_zero_addr(addr) || cma_loopback_addr(addr); in cma_any_addr() 1677 const struct rdma_addr *addr = &id->route.addr; in cma_match_net_dev() local 2757 struct rdma_addr *addr = &route->addr; in cma_resolve_iboe_route() local 3472 if (addr->sa_family != AF_INET && addr->sa_family != AF_INET6 && in rdma_bind_addr() 3480 ret = cma_check_linklocal(&id->route.addr.dev_addr, addr); in rdma_bind_addr() 3484 memcpy(cma_src_addr(id_priv), addr, rdma_addr_size(addr)); in rdma_bind_addr() 3486 ret = cma_translate_addr(addr, &id->route.addr.dev_addr); in rdma_bind_addr() 4311 struct sockaddr *addr = (struct sockaddr *)&mc->addr; in cma_iboe_join_multicast() local 4405 memcpy(&mc->addr, addr, rdma_addr_size(addr)); in rdma_join_multicast() [all …]
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | crypto_module_tests.c | 89 const u8 *addr[3]; in test_siv() local 93 addr[0] = ad; in test_siv() 119 addr[0] = ad1_2; in test_siv() 121 addr[1] = ad2_2; in test_siv() 123 addr[2] = nonce_2; in test_siv() 227 const u8 *addr[3]; in test_omac1_vector() local 238 addr[0] = tv->msg; in test_omac1_vector() 251 addr[0] = tv->msg; in test_omac1_vector() 267 addr[0] = &msg[0]; in test_omac1_vector() 269 addr[1] = &msg[1]; in test_omac1_vector() [all …]
|
/freebsd/sys/amd64/include/ |
H A D | cpufunc.h | 73 clflush(u_long addr) in clflush() argument 80 clflushopt(u_long addr) in clflushopt() argument 87 clwb(u_long addr) in clwb() argument 156 : "+D" (addr), "+c" (count) in insb() 165 : "+D" (addr), "+c" (count) in insw() 174 : "+D" (addr), "+c" (count) in insl() 210 : "+S" (addr), "+c" (count) in outsb() 507 invlpg(u_long addr) in invlpg() argument 521 uint64_t addr; member 684 loc = (char *)addr; in sgdt() [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | debug_monitor.c | 65 vm_offset_t addr); 67 vm_offset_t addr); 195 kdb_cpu_set_breakpoint(vm_offset_t addr) in kdb_cpu_set_breakpoint() argument 298 uint64_t addr; in dbg_show_breakpoint() local 311 addr); in dbg_show_breakpoint() 358 uint64_t addr; in dbg_show_watchpoint() local 372 dbg_watchtype_len(len), addr); in dbg_show_watchpoint() 412 vm_offset_t addr) in dbg_find_slot() argument 434 if (reg_addr[i] == addr && in dbg_find_slot() 463 monitor->dbg_bvr[i] = addr; in dbg_setup_breakpoint() [all …]
|
/freebsd/sys/gdb/ |
H A D | gdb_main.c | 109 intmax_t addr, size; in gdb_do_mem_search() local 631 intmax_t addr, length; in gdb_z_insert() local 685 intmax_t addr, length; in gdb_z_remove() local 773 uintmax_t addr; in gdb_trap() local 776 pc = addr; in gdb_trap() 784 uintmax_t addr, sig; in gdb_trap() local 788 pc = addr; in gdb_trap() 942 uintmax_t addr; in gdb_trap() local 945 pc = addr; in gdb_trap() 953 uintmax_t addr, sig; in gdb_trap() local [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Sparc/ |
H A D | SparcInstr64Bit.td | 247 def : Pat<(i64 (zextloadi1 ADDRrr:$addr)), (LDUBrr ADDRrr:$addr)>; 248 def : Pat<(i64 (zextloadi1 ADDRri:$addr)), (LDUBri ADDRri:$addr)>; 249 def : Pat<(i64 (extloadi1 ADDRrr:$addr)), (LDUBrr ADDRrr:$addr)>; 250 def : Pat<(i64 (extloadi1 ADDRri:$addr)), (LDUBri ADDRri:$addr)>; 266 def : Pat<(i64 (zextloadi32 ADDRrr:$addr)), (LDrr ADDRrr:$addr)>; 267 def : Pat<(i64 (zextloadi32 ADDRri:$addr)), (LDri ADDRri:$addr)>; 268 def : Pat<(i64 (extloadi32 ADDRrr:$addr)), (LDrr ADDRrr:$addr)>; 269 def : Pat<(i64 (extloadi32 ADDRri:$addr)), (LDri ADDRri:$addr)>; 285 // store 0, addr -> store %g0, addr 473 // atomic_load_64 addr -> load addr [all …]
|
/freebsd/contrib/netbsd-tests/lib/libpthread_dbg/ |
H A D | h_common.h | 53 dummy_proc_read(void *arg, caddr_t addr, void *buf, size_t size) in dummy_proc_read() argument 59 dummy_proc_write(void *arg, caddr_t addr, void *buf, size_t size) in dummy_proc_write() argument 65 dummy_proc_lookup(void *arg, const char *sym, caddr_t *addr) in dummy_proc_lookup() argument 91 basic_proc_read(void *arg, caddr_t addr, void *buf, size_t size) in basic_proc_read() argument 93 memcpy(buf, addr, size); in basic_proc_read() 99 basic_proc_write(void *arg, caddr_t addr, void *buf, size_t size) in basic_proc_write() argument 101 memcpy(addr, buf, size); in basic_proc_write() 107 basic_proc_lookup(void *arg, const char *sym, caddr_t *addr) in basic_proc_lookup() argument 123 *addr = (caddr_t)(uintptr_t)symbol; in basic_proc_lookup()
|
/freebsd/usr.sbin/kldxref/ |
H A D | ef_amd64.c | 48 GElf_Addr addr, addend; in ef_amd64_reloc() local 92 addr = EF_SYMADDR(ef, symidx) + addend; in ef_amd64_reloc() 93 le64enc(where, addr); in ef_amd64_reloc() 96 addr = EF_SYMADDR(ef, symidx) + addend; in ef_amd64_reloc() 97 le32enc(where, addr); in ef_amd64_reloc() 100 addr = EF_SYMADDR(ef, symidx); in ef_amd64_reloc() 101 le64enc(where, addr); in ef_amd64_reloc() 104 addr = relbase + addend; in ef_amd64_reloc() 105 le64enc(where, addr); in ef_amd64_reloc()
|
/freebsd/contrib/blocklist/libexec/ |
H A D | blacklistd-helper | 41 addr="$4" 47 addr=${4#::ffff:} 56 echo block in quick $proto from $addr/$mask to \ 64 /sbin/ipfw table $tname create type addr 2>/dev/null 65 /sbin/ipfw -q table $tname add "$addr/$mask" 74 "$addr/$mask" to any $port 83 /sbin/pfctl -qa "$2/$6" -t "port$6" -T add "$addr/$mask" && \ 84 /sbin/pfctl -qk "$addr" && echo OK 92 echo block in quick $proto from $addr/$mask to \ 97 /sbin/ipfw table "port$6" delete "$addr/$mask" 2>/dev/null && \ [all …]
|
/freebsd/stand/ficl/softwords/ |
H A D | jhlocal.fr | 23 : ?-- ( c-addr u -- c-addr u flag ) 25 : ?} ( c-addr u -- c-addr u flag ) 27 : ?| ( c-addr u -- c-addr u flag ) 34 : ?2loc ( c-addr u -- c-addr u flag ) 45 : ?delim ( c-addr u -- state | c-addr u 0 ) 61 parse-word \ ( nLocals c-addr u ) 64 rot 1+ \ ( c-addr u ... c-addr u nLocals )
|
/freebsd/tools/tools/ncpus/ |
H A D | biosmptable.c | 51 static mpcth_t biosmptable_check_mpcth(off_t addr); 148 memread(off_t addr, void* entry, size_t size) in memread() argument 150 if ((size_t)pread(pfd, entry, size, addr) != size) { in memread() 151 warn("pread (%zu @ 0x%jx)", size, (intmax_t)addr); in memread() 165 uint16_t addr; in biosmptable_find_mpfps() local 168 if (!memread(PTOV(0x40E), &addr, sizeof(addr))) in biosmptable_find_mpfps() 222 biosmptable_check_mpcth(off_t addr) in biosmptable_check_mpcth() argument 229 if ((u_int32_t)addr >= 1024 * 1024) { in biosmptable_check_mpcth() 230 warnx("bad mpcth address (0x%jx)\n", (intmax_t)addr); in biosmptable_check_mpcth() 239 if (!memread(addr, mpcth, sizeof(*mpcth))) in biosmptable_check_mpcth() [all …]
|
/freebsd/lib/libutil/ |
H A D | realhostname.c | 110 if (addr->sa_family == AF_INET6 && in realhostname_sa() 112 IN6_IS_ADDR_V4MAPPED(&SOCKADDR_IN6(addr)->sin6_addr)) { in realhostname_sa() 115 sin6 = SOCKADDR_IN6(addr); in realhostname_sa() 123 addr = (struct sockaddr *)&lsin; in realhostname_sa() 135 hints.ai_family = addr->sa_family; in realhostname_sa() 157 sa->sa_family == addr->sa_family) { in realhostname_sa() 158 SOCKINET(sa)->si_port = SOCKINET(addr)->si_port; in realhostname_sa() 167 SOCKADDR_IN6(addr)->sin6_scope_id; in realhostname_sa() 169 if (!memcmp(sa, addr, sa->sa_len)) { in realhostname_sa() 179 addr->sa_family == AF_INET) { in realhostname_sa() [all …]
|