/freebsd/sys/compat/linuxkpi/common/include/linux/ |
H A D | io.h | 76 __raw_readb(const volatile void *addr) in __raw_readb() argument 78 return (*(const volatile uint8_t *)addr); in __raw_readb() 80 #define __raw_readb(addr) __raw_readb(addr) argument 83 __raw_writeb(uint8_t v, volatile void *addr) in __raw_writeb() argument 85 *(volatile uint8_t *)addr = v; in __raw_writeb() 87 #define __raw_writeb(v, addr) __raw_writeb(v, addr) argument 90 __raw_readw(const volatile void *addr) in __raw_readw() argument 92 return (*(const volatile uint16_t *)addr); in __raw_readw() 94 #define __raw_readw(addr) __raw_readw(addr) argument 97 __raw_writew(uint16_t v, volatile void *addr) in __raw_writew() argument [all …]
|
/freebsd/contrib/unbound/util/ |
H A D | as112.c | 45 "10.in-addr.arpa.", 46 "16.172.in-addr.arpa.", 47 "17.172.in-addr.arpa.", 48 "18.172.in-addr.arpa.", 49 "19.172.in-addr.arpa.", 50 "20.172.in-addr.arpa.", 51 "21.172.in-addr.arpa.", 52 "22.172.in-addr.arpa.", 53 "23.172.in-addr.arpa.", 54 "24.172.in-addr.arpa.", [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan_abi/ |
H A D | asan_abi_shim.cpp | 72 void __asan_report_load1(uptr addr) { in __asan_report_load1() argument 73 __asan_abi_report_load_n((void *)addr, 1, true); in __asan_report_load1() 75 void __asan_report_load2(uptr addr) { in __asan_report_load2() argument 76 __asan_abi_report_load_n((void *)addr, 2, true); in __asan_report_load2() 78 void __asan_report_load4(uptr addr) { in __asan_report_load4() argument 79 __asan_abi_report_load_n((void *)addr, 4, true); in __asan_report_load4() 81 void __asan_report_load8(uptr addr) { in __asan_report_load8() argument 82 __asan_abi_report_load_n((void *)addr, 8, true); in __asan_report_load8() 84 void __asan_report_load16(uptr addr) { in __asan_report_load16() argument 85 __asan_abi_report_load_n((void *)addr, 16, true); in __asan_report_load16() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_interface.inc | 21 void __tsan_read1(void *addr) { 22 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 1, kAccessRead); 25 void __tsan_read2(void *addr) { 26 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 2, kAccessRead); 29 void __tsan_read4(void *addr) { 30 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 4, kAccessRead); 33 void __tsan_read8(void *addr) { 34 MemoryAccess(cur_thread(), CALLERPC, (uptr)addr, 8, kAccessRead); 37 void __tsan_read16(void *addr) { 38 MemoryAccess16(cur_thread(), CALLERPC, (uptr)addr, kAccessRead); [all …]
|
H A D | tsan_interface_java.cpp | 40 MBlock *JavaHeapBlock(uptr addr, uptr *start) { in JavaHeapBlock() argument 41 if (!jctx || addr < jctx->heap_begin || in JavaHeapBlock() 42 addr >= jctx->heap_begin + jctx->heap_size) in JavaHeapBlock() 44 for (uptr p = RoundDown(addr, kMetaShadowCell); p >= jctx->heap_begin; in JavaHeapBlock() 49 if (p + b->siz <= addr) in JavaHeapBlock() 162 void __tsan_java_mutex_lock(jptr addr) { in __tsan_java_mutex_lock() argument 164 DPrintf("#%d: java_mutex_lock(0x%zx)\n", thr->tid, addr); in __tsan_java_mutex_lock() 166 DCHECK_GE(addr, jctx->heap_begin); in __tsan_java_mutex_lock() 167 DCHECK_LT(addr, jctx->heap_begin + jctx->heap_size); in __tsan_java_mutex_lock() 169 MutexPostLock(thr, 0, addr, in __tsan_java_mutex_lock() [all …]
|
H A D | tsan_rtl_mutex.cpp | 26 void ReportDestroyLocked(ThreadState *thr, uptr pc, uptr addr, 47 s->dd.ctx = s->addr; in DDMutexInit() 51 uptr addr, StackID creation_stack_id) { in ReportMutexMisuse() argument 60 rep.AddMutex(addr, creation_stack_id); in ReportMutexMisuse() 64 rep.AddLocation(addr, 1); in ReportMutexMisuse() 68 static void RecordMutexLock(ThreadState *thr, uptr pc, uptr addr, in RecordMutexLock() argument 76 TraceMutexLock(thr, typ, pc, addr, stack_id); in RecordMutexLock() 77 thr->mset.AddAddr(addr, stack_id, write); in RecordMutexLock() 80 static void RecordMutexUnlock(ThreadState *thr, uptr addr) { in RecordMutexUnlock() argument 82 TraceMutexUnlock(thr, addr); in RecordMutexUnlock() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGBuilder.h | 58 llvm::Value *emitRawPointerFromAddress(Address Addr) const { in emitRawPointerFromAddress() argument 59 return Addr.getBasePointer(); in emitRawPointerFromAddress() 63 Address createConstGEP2_32(Address Addr, unsigned Idx0, unsigned Idx1, in createConstGEP2_32() argument 69 Addr.getElementType(), emitRawPointerFromAddress(Addr), Idx0, Idx1, in createConstGEP2_32() 73 Addr.getElementType(), emitRawPointerFromAddress(Addr), Idx0, Idx1, in createConstGEP2_32() 76 DL.getIndexSizeInBits(Addr.getType()->getPointerAddressSpace()), 0, in createConstGEP2_32() 81 Addr.getAlignment().alignmentAtOffset( in createConstGEP2_32() 83 IsInBounds ? Addr.isKnownNonNull() : NotKnownNonNull); in createConstGEP2_32() 107 llvm::LoadInst *CreateLoad(Address Addr, const llvm::Twine &Name = "") { 108 return CreateAlignedLoad(Addr.getElementType(), [all …]
|
/freebsd/stand/forth/ |
H A D | support.4th | 28 \ initialize ( addr len -- ) as above, plus load_conf_files 29 \ load_conf ( addr len -- ) load conf file given 40 \ cell .addr string address 62 \ strdup ( addr len -- addr' len) similar to strdup(3) 63 \ strcat ( addr len addr' len' -- addr len+len' ) similar to strcat(3) 64 \ s' ( | string' -- addr len | ) similar to s" 108 ptr .addr 111 0 over .addr ! 139 int pf.addr 171 : strdup { addr len -- addr' len' } [all …]
|
H A D | menu.4th | 170 : +c! ( N C-ADDR/U K -- C-ADDR/U ) 171 3 pick 3 pick ( n c-addr/u k -- n c-addr/u k n c-addr ) 172 rot + c! ( n c-addr/u k n c-addr -- n c-addr/u ) 173 rot drop ( n c-addr/u -- c-addr/u ) 179 : namespace ( C-ADDR/U N -- ) also menu-namespace +c! evaluate previous ; 180 : menukeyN ( N -- ADDR ) s" menukeyN" 7 namespace ; 181 : init_stateN ( N -- ADDR ) s" init_stateN" 10 namespace ; 182 : toggle_stateN ( N -- ADDR ) s" toggle_stateN" 12 namespace ; 183 : cycle_stateN ( N -- ADDR ) s" cycle_stateN" 11 namespace ; 184 : init_textN ( N -- C-ADDR ) s" init_textN" 9 namespace ; [all …]
|
/freebsd/sys/contrib/dev/rtw88/ |
H A D | hci.h | 25 u8 (*read8)(struct rtw_dev *rtwdev, u32 addr); 26 u16 (*read16)(struct rtw_dev *rtwdev, u32 addr); 27 u32 (*read32)(struct rtw_dev *rtwdev, u32 addr); 28 void (*write8)(struct rtw_dev *rtwdev, u32 addr, u8 val); 29 void (*write16)(struct rtw_dev *rtwdev, u32 addr, u16 val); 30 void (*write32)(struct rtw_dev *rtwdev, u32 addr, u32 val); 87 static inline u8 rtw_read8(struct rtw_dev *rtwdev, u32 addr) in rtw_read8() argument 89 return rtwdev->hci.ops->read8(rtwdev, addr); in rtw_read8() 92 static inline u16 rtw_read16(struct rtw_dev *rtwdev, u32 addr) in rtw_read16() argument 94 return rtwdev->hci.ops->read16(rtwdev, addr); in rtw_read16() [all …]
|
/freebsd/tests/sys/netinet/ |
H A D | so_reuseport_lb_test.c | 44 * for "addr", try connecting to "addr" in a loop and verify that connections 48 lb_simple_accept_loop(int domain, const struct sockaddr *addr, int sds[], in lb_simple_accept_loop() argument 70 error = connect(sd, addr, addr->sa_len); in lb_simple_accept_loop() 130 struct sockaddr_in addr; in ATF_TC_BODY() local 139 memset(&addr, 0, sizeof(addr)); in ATF_TC_BODY() 140 addr.sin_len = sizeof(addr); in ATF_TC_BODY() 141 addr.sin_family = AF_INET; in ATF_TC_BODY() 142 addr.sin_port = htons(0); in ATF_TC_BODY() 143 addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in ATF_TC_BODY() 144 error = bind(sds[0], (const struct sockaddr *)&addr, sizeof(addr)); in ATF_TC_BODY() [all …]
|
/freebsd/sys/powerpc/powerpc/ |
H A D | bus_machdep.c | 56 bus_addr_t addr; member 71 bs_gen_map(bus_addr_t addr, bus_size_t size, int flags, in bs_gen_map() argument 83 earlyboot_mappings[earlyboot_map_idx].addr = addr; in bs_gen_map() 85 pmap_early_io_map(addr, size); in bs_gen_map() 100 *bshp = (bus_space_handle_t)pmap_mapdev_attr(addr, size, ma); in bs_gen_map() 115 spa = earlyboot_mappings[i].addr; in bs_remap_earlyboot() 189 volatile uint8_t *addr; in native_bs_rs_1() local 192 addr = __ppc_ba(bsh, ofs); in native_bs_rs_1() 193 res = *addr; in native_bs_rs_1() 202 volatile uint16_t *addr; in native_bs_rs_2() local [all …]
|
/freebsd/sys/ddb/ |
H A D | db_examine.c | 54 db_examine_cmd(db_expr_t addr, bool have_addr, db_expr_t count, char *modif) in db_examine_cmd() argument 62 db_examine((db_addr_t) addr, db_examine_format, count); in db_examine_cmd() 66 db_examine(db_addr_t addr, char *fmt, int count) in db_examine() argument 96 db_prev = addr; in db_examine() 97 db_printsym(addr, DB_STGY_ANY); in db_examine() 103 db_printsym(addr, DB_STGY_ANY); in db_examine() 105 db_prev = addr; in db_examine() 111 value = db_get_value(addr, size, true); in db_examine() 112 addr += size; in db_examine() 116 value = db_get_value(addr, size, false); in db_examine() [all …]
|
/freebsd/contrib/jemalloc/src/ |
H A D | pages.c | 51 static void os_pages_unmap(void *addr, size_t size); 56 os_pages_map(void *addr, size_t size, size_t alignment, bool *commit) { in os_pages_map() argument 57 assert(ALIGNMENT_ADDR2BASE(addr, os_page) == addr); in os_pages_map() 71 ret = VirtualAlloc(addr, size, MEM_RESERVE | (*commit ? MEM_COMMIT : 0), in os_pages_map() 81 ret = mmap(addr, size, prot, mmap_flags, -1, 0); in os_pages_map() 87 } else if (addr != NULL && ret != addr) { in os_pages_map() 95 assert(ret == NULL || (addr == NULL && ret != addr) || (addr != NULL && in os_pages_map() 96 ret == addr)); in os_pages_map() 101 os_pages_trim(void *addr, size_t alloc_size, size_t leadsize, size_t size, in os_pages_trim() argument 103 void *ret = (void *)((uintptr_t)addr + leadsize); in os_pages_trim() [all …]
|
/freebsd/contrib/capsicum-test/ |
H A D | socket.cc | 147 struct sockaddr_in addr; in TEST() local 148 memset(&addr, 0, sizeof(addr)); in TEST() 149 addr.sin_family = AF_INET; in TEST() 150 addr.sin_port = htons(0); in TEST() 151 addr.sin_addr.s_addr = htonl(INADDR_ANY); in TEST() 152 socklen_t len = sizeof(addr); in TEST() 155 EXPECT_NOTCAPABLE(bind_(cap_sock_rw, (struct sockaddr *)&addr, len)); in TEST() 156 EXPECT_OK(bind_(cap_sock_all, (struct sockaddr *)&addr, len)); in TEST() 158 getsockname(cap_sock_all, (struct sockaddr *)&addr, &len); in TEST() 159 int port = ntohs(addr.sin_port); in TEST() [all …]
|
/freebsd/usr.sbin/mtest/ |
H A D | mtest.8 | 46 .It Ic a Ar ifname Ar mac-addr 48 .Ar mac-addr 53 .It Ic d Ar ifname Ar mac-addr 55 .Ar mac-addr 66 .It Ic j Ar mcast-addr Ar ifname Op Ar source-addr 68 .Ar mcast-addr 73 .Ar source-addr 80 .It Ic l Ar mcast-addr Ar ifname Op Ar source-addr 82 .Ar mcast-addr 86 .Ar source-addr [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/ |
H A D | asan_descriptions.cpp | 71 static bool GetShadowKind(uptr addr, ShadowKind *shadow_kind) { in GetShadowKind() argument 72 CHECK(!AddrIsInMem(addr)); in GetShadowKind() 73 if (AddrIsInShadowGap(addr)) { in GetShadowKind() 75 } else if (AddrIsInHighShadow(addr)) { in GetShadowKind() 77 } else if (AddrIsInLowShadow(addr)) { in GetShadowKind() 85 bool DescribeAddressIfShadow(uptr addr) { in DescribeAddressIfShadow() argument 87 if (!GetShadowAddressInformation(addr, &descr)) return false; in DescribeAddressIfShadow() 92 bool GetShadowAddressInformation(uptr addr, ShadowAddressDescription *descr) { in GetShadowAddressInformation() argument 93 if (AddrIsInMem(addr)) return false; in GetShadowAddressInformation() 95 if (!GetShadowKind(addr, &shadow_kind)) return false; in GetShadowAddressInformation() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/VE/ |
H A D | VEISelDAGToDAG.cpp | 84 bool VEDAGToDAGISel::selectADDRrri(SDValue Addr, SDValue &Base, SDValue &Index, in INITIALIZE_PASS() 86 if (Addr.getOpcode() == ISD::FrameIndex) in INITIALIZE_PASS() 88 if (Addr.getOpcode() == ISD::TargetExternalSymbol || in INITIALIZE_PASS() 89 Addr.getOpcode() == ISD::TargetGlobalAddress || in INITIALIZE_PASS() 90 Addr.getOpcode() == ISD::TargetGlobalTLSAddress) in INITIALIZE_PASS() 94 if (matchADDRri(Addr, LHS, RHS)) { in INITIALIZE_PASS() 102 if (matchADDRrr(Addr, LHS, RHS)) { in INITIALIZE_PASS() 121 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in INITIALIZE_PASS() 127 bool VEDAGToDAGISel::selectADDRrii(SDValue Addr, SDValue &Base, SDValue &Index, in selectADDRrii() argument 129 if (matchADDRri(Addr, Base, Offset)) { in selectADDRrii() [all …]
|
/freebsd/usr.sbin/ppp/ |
H A D | cbcp.c | 226 char addr[sizeof ((struct cbcp_data *)0)->addr_start - 1]; /* ASCIIZ */ member 235 struct cbcp_addr *addr; in cbcp_data_Show() local 238 addr = (struct cbcp_addr *)data->addr_start; in cbcp_data_Show() 245 while (addr->addr < end) { in cbcp_data_Show() 246 if (addr->type == CBCP_ADDR_PSTN) in cbcp_data_Show() 247 log_Printf(LogCBCP, " ADDR %s\n", addr->addr); in cbcp_data_Show() 249 log_Printf(LogCBCP, " ADDR type %d ??\n", (int)addr->type); in cbcp_data_Show() 250 addr = (struct cbcp_addr *)(addr->addr + strlen(addr->addr) + 1); in cbcp_data_Show() 259 struct cbcp_addr *addr; in cbcp_SendReq() local 274 addr = (struct cbcp_addr *)data.addr_start; in cbcp_SendReq() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARC/ |
H A D | ARCISelDAGToDAG.cpp | 52 bool SelectFrameADDR_ri(SDValue Addr, SDValue &Base, SDValue &Offset); 53 bool SelectAddrModeS9(SDValue Addr, SDValue &Base, SDValue &Offset); 54 bool SelectAddrModeImm(SDValue Addr, SDValue &Base, SDValue &Offset); 55 bool SelectAddrModeFar(SDValue Addr, SDValue &Base, SDValue &Offset); 82 bool ARCDAGToDAGISel::SelectAddrModeImm(SDValue Addr, SDValue &Base, in SelectAddrModeImm() argument 84 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeImm() 85 Base = Addr.getOperand(0); in SelectAddrModeImm() 86 Offset = CurDAG->getTargetConstant(0, SDLoc(Addr), MVT::i32); in SelectAddrModeImm() 92 bool ARCDAGToDAGISel::SelectAddrModeS9(SDValue Addr, SDValue &Base, in SelectAddrModeS9() argument 94 if (Addr.getOpcode() == ARCISD::GAWRAPPER) { in SelectAddrModeS9() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/go/ |
H A D | tsan_go.cpp | 26 bool IsExpectedReport(uptr addr, uptr size) { in IsExpectedReport() argument 52 SymbolizedStack *SymbolizeCode(uptr addr) { in SymbolizeCode() argument 53 SymbolizedStack *first = SymbolizedStack::New(addr); in SymbolizeCode() 58 cbctx.pc = addr; in SymbolizeCode() 69 if (cbctx.pc == addr) // outermost (non-inlined) function in SymbolizeCode() 71 addr = cbctx.pc; in SymbolizeCode() 73 SymbolizedStack *s2 = SymbolizedStack::New(addr); in SymbolizeCode() 81 uptr addr; member 91 ReportLocation *SymbolizeData(uptr addr) { in SymbolizeData() argument 94 cbctx.addr = addr; in SymbolizeData() [all …]
|
/freebsd/stand/libsa/ |
H A D | smbios.c | 143 caddr_t addr; member 164 smbios_checksum(const caddr_t addr, const uint8_t len) in smbios_checksum() argument 170 sum += SMBIOS_GET8(addr, i); in smbios_checksum() 175 smbios_sigsearch(const caddr_t addr, const uint32_t len) in smbios_sigsearch() argument 180 for (cp = addr; cp < addr + len; cp += SMBIOS_STEP) { in smbios_sigsearch() 201 smbios_getstring(caddr_t addr, const int offset) in smbios_getstring() argument 206 idx = SMBIOS_GET8(addr, offset); in smbios_getstring() 208 cp = SMBIOS_GETSTR(addr); in smbios_getstring() 217 smbios_setenv(const char *name, caddr_t addr, const int offset) in smbios_setenv() argument 221 val = smbios_getstring(addr, offset); in smbios_setenv() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/Disassembler/ |
H A D | AArch64Disassembler.cpp | 145 uint64_t Addr, 148 uint64_t Addr, 151 uint64_t Addr, 154 uint64_t Addr, 157 uint64_t Addr, 160 uint64_t Addr, 163 uint64_t Addr, 166 uint64_t Addr, 169 uint64_t Addr, 172 uint64_t Addr, [all …]
|
/freebsd/crypto/openssl/include/openssl/ |
H A D | params.h | 27 # define OSSL_PARAM_DEFN(key, type, addr, sz) \ argument 28 { (key), (type), (addr), (sz), OSSL_PARAM_UNMODIFIED } 31 # define OSSL_PARAM_int(key, addr) \ argument 32 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(int)) 33 # define OSSL_PARAM_uint(key, addr) \ argument 34 OSSL_PARAM_DEFN((key), OSSL_PARAM_UNSIGNED_INTEGER, (addr), \ 36 # define OSSL_PARAM_long(key, addr) \ argument 37 OSSL_PARAM_DEFN((key), OSSL_PARAM_INTEGER, (addr), sizeof(long int)) 38 # define OSSL_PARAM_ulong(key, addr) \ argument 39 OSSL_PARAM_DEFN((key), OSSL_PARAM_UNSIGNED_INTEGER, (addr), \ [all …]
|
/freebsd/share/man/man4/ |
H A D | ddb.4 | 125 .Oo Ar addr Oc Ns Op , Ns Ar count 132 .Ar addr 137 .Ar addr 194 .Oo Ar addr Oc Ns Op , Ns Ar count 198 .Oo Ar addr Oc Ns Op , Ns Ar count 270 .Ar addr Ns s 279 .Ar addr 303 .It Ic pprint struct Ns Oo Li / Ns Cm d depth Ic Oc Oo Ar name Oc Ns Op Ns Ar addr 305 .Ar addr 318 .Ar addr expr1 Op Ar expr2 ... [all …]
|