Searched refs:addr (Results 1 - 25 of 3656) sorted by relevance

1234567891011>>

/freebsd-head/contrib/libcxxrt/
H A Datomic.h13 #define ATOMIC_SWAP(addr, val)\
14 __c11_atomic_exchange(reinterpret_cast<_Atomic(__typeof__(val))*>(addr), val, __ATOMIC_ACQ_REL)
16 #define ATOMIC_SWAP(addr, val)\
17 __sync_swap(addr, val)
19 #define ATOMIC_SWAP(addr, val)\
20 __sync_lock_test_and_set(addr, val)
24 #define ATOMIC_LOAD(addr)\
25 __c11_atomic_load(reinterpret_cast<_Atomic(__typeof__(*addr))*>(addr), __ATOMIC_ACQUIRE)
27 #define ATOMIC_LOAD(addr)\
[all...]
/freebsd-head/contrib/ipfilter/lib/
H A Dprintlookup.c13 printlookup(base, addr, mask)
15 i6addr_t *addr, *mask;
19 switch (addr->iplookuptype)
31 PRINTF("lookup(%x)=", addr->iplookuptype);
35 if (addr->iplookupsubtype == 0)
36 PRINTF("%u", addr->iplookupnum);
37 else if (addr->iplookupsubtype == 1) {
38 strncpy(name, base + addr->iplookupname, sizeof(name));
H A Dprinthost.c13 printhost(family, addr)
15 u_32_t *addr;
23 if ((family == -1) || !*addr)
27 void *ptr = addr;
31 ipa.s_addr = *addr;
H A Dprinthostmask.c15 printhostmask(family, addr, mask)
17 u_32_t *addr, *mask;
25 if ((family == -1) || ((!addr || !*addr) && (!mask || !*mask)))
29 void *ptr = addr;
33 ipa.s_addr = *addr;
H A Dprintnataddr.c19 printnataddr(v, base, addr, ifidx)
22 nat_addr_t *addr;
28 if (addr->na_atype == FRI_NORMAL &&
29 addr->na_addr[0].in4.s_addr == 0) {
30 PRINTF("0/%d", count4bits(addr->na_addr[1].in4.s_addr));
32 printaddr(AF_INET, addr->na_atype, base, ifidx,
33 (u_32_t *)&addr->na_addr[0].in4.s_addr,
34 (u_32_t *)&addr->na_addr[1].in4.s_addr);
39 printaddr(AF_INET6, addr->na_atype, base, ifidx,
40 (u_32_t *)&addr
[all...]
/freebsd-head/sys/contrib/ncsw/inc/flib/common/
H A Dgeneral.h45 #define iowrite32be(val, addr) WRITE_UINT32(*addr, val)
46 #define ioread32be(addr) GET_UINT32(*addr)
49 #define ether_crc(len, addr) get_mac_addr_crc(*(uint64_t *)(addr)>>16)
/freebsd-head/contrib/gdb/gdb/config/i386/
H A Dnm-i386.h39 extern int i386_insert_watchpoint (CORE_ADDR addr, int len, int type);
44 extern int i386_remove_watchpoint (CORE_ADDR addr, int len, int type);
48 extern int i386_region_ok_for_watchpoint (CORE_ADDR addr, int len);
61 extern int i386_insert_hw_breakpoint (CORE_ADDR addr, void *shadow);
65 extern int i386_remove_hw_breakpoint (CORE_ADDR addr, void *shadow);
89 #define TARGET_REGION_OK_FOR_HW_WATCHPOINT(addr, len) \
90 i386_region_ok_for_watchpoint (addr, len)
104 #define target_insert_watchpoint(addr, len, type) \
105 i386_insert_watchpoint (addr, len, type)
107 #define target_remove_watchpoint(addr, le
[all...]
/freebsd-head/contrib/compiler-rt/include/sanitizer/
H A Dtsan_interface.h24 void __tsan_acquire(void *addr);
25 void __tsan_release(void *addr);
72 void __tsan_mutex_create(void *addr, unsigned flags);
78 void __tsan_mutex_destroy(void *addr, unsigned flags);
85 void __tsan_mutex_pre_lock(void *addr, unsigned flags);
94 void __tsan_mutex_post_lock(void *addr, unsigned flags, int recursion);
100 int __tsan_mutex_pre_unlock(void *addr, unsigned flags);
105 void __tsan_mutex_post_unlock(void *addr, unsigned flags);
109 void __tsan_mutex_pre_signal(void *addr, unsigned flags);
110 void __tsan_mutex_post_signal(void *addr, unsigne
[all...]
/freebsd-head/sys/compat/linuxkpi/common/include/linux/
H A Dio.h74 __raw_readb(const volatile void *addr) argument
76 return (*(const volatile uint8_t *)addr);
78 #define __raw_readb(addr) __raw_readb(addr)
81 __raw_writeb(uint8_t v, volatile void *addr) argument
83 *(volatile uint8_t *)addr = v;
85 #define __raw_writeb(v, addr) __raw_writeb(v, addr)
88 __raw_readw(const volatile void *addr) argument
90 return (*(const volatile uint16_t *)addr);
95 __raw_writew(uint16_t v, volatile void *addr) argument
102 __raw_readl(const volatile void *addr) argument
109 __raw_writel(uint32_t v, volatile void *addr) argument
117 __raw_readq(const volatile void *addr) argument
124 __raw_writeq(uint64_t v, volatile void *addr) argument
137 readb(const volatile void *addr) argument
150 writeb(uint8_t v, volatile void *addr) argument
160 readw(const volatile void *addr) argument
173 writew(uint16_t v, volatile void *addr) argument
176 __raw_writew(htole16(v), addr); local
183 readl(const volatile void *addr) argument
196 writel(uint32_t v, volatile void *addr) argument
199 __raw_writel(htole32(v), addr); local
208 readq(const volatile void *addr) argument
220 writeq(uint64_t v, volatile void *addr) argument
223 __raw_writeq(htole64(v), addr); local
233 readb_relaxed(const volatile void *addr) argument
241 writeb_relaxed(uint8_t v, volatile void *addr) argument
249 readw_relaxed(const volatile void *addr) argument
257 writew_relaxed(uint16_t v, volatile void *addr) argument
259 __raw_writew(htole16(v), addr); local
265 readl_relaxed(const volatile void *addr) argument
273 writel_relaxed(uint32_t v, volatile void *addr) argument
275 __raw_writel(htole32(v), addr); local
283 readq_relaxed(const volatile void *addr) argument
290 writeq_relaxed(uint64_t v, volatile void *addr) argument
292 __raw_writeq(htole64(v), addr); local
301 ioread8(const volatile void *addr) argument
309 ioread16(const volatile void *addr) argument
317 ioread16be(const volatile void *addr) argument
331 ioread32(const volatile void *addr) argument
339 ioread32be(const volatile void *addr) argument
353 iowrite8(uint8_t v, volatile void *addr) argument
361 iowrite16(uint16_t v, volatile void *addr) argument
369 iowrite32(uint32_t v, volatile void *addr) argument
377 iowrite32be(uint32_t v, volatile void *addr) argument
380 __raw_writel(htobe32(v), addr); local
459 void *addr = NULL; local
475 memunmap(void *addr) argument
[all...]
H A Detherdevice.h55 is_zero_ether_addr(const u8 * addr) argument
57 return ((addr[0] + addr[1] + addr[2] + addr[3] + addr[4] + addr[5]) == 0x00);
61 is_multicast_ether_addr(const u8 * addr) argument
63 return (0x01 & addr[0]);
67 is_broadcast_ether_addr(const u8 * addr) argument
73 is_valid_ether_addr(const u8 * addr) argument
[all...]
/freebsd-head/contrib/compiler-rt/lib/tsan/rtl/
H A Dtsan_interface_inl.h20 void __tsan_read1(void *addr) { argument
21 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog1);
24 void __tsan_read2(void *addr) { argument
25 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog2);
28 void __tsan_read4(void *addr) { argument
29 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog4);
32 void __tsan_read8(void *addr) { argument
33 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
36 void __tsan_write1(void *addr) { argument
37 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog
40 __tsan_write2(void *addr) argument
44 __tsan_write4(void *addr) argument
48 __tsan_write8(void *addr) argument
52 __tsan_read1_pc(void *addr, void *pc) argument
56 __tsan_read2_pc(void *addr, void *pc) argument
60 __tsan_read4_pc(void *addr, void *pc) argument
64 __tsan_read8_pc(void *addr, void *pc) argument
68 __tsan_write1_pc(void *addr, void *pc) argument
72 __tsan_write2_pc(void *addr, void *pc) argument
76 __tsan_write4_pc(void *addr, void *pc) argument
80 __tsan_write8_pc(void *addr, void *pc) argument
118 __tsan_read_range(void *addr, uptr size) argument
122 __tsan_write_range(void *addr, uptr size) argument
[all...]
H A Dtsan_interface.cc35 void __tsan_read16(void *addr) { argument
36 MemoryRead(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
37 MemoryRead(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8);
40 void __tsan_write16(void *addr) { argument
41 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr, kSizeLog8);
42 MemoryWrite(cur_thread(), CALLERPC, (uptr)addr + 8, kSizeLog8);
45 void __tsan_read16_pc(void *addr, void *pc) { argument
46 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr, kSizeLog8);
47 MemoryRead(cur_thread(), (uptr)pc, (uptr)addr + 8, kSizeLog8);
50 void __tsan_write16_pc(void *addr, voi argument
57 __tsan_unaligned_read2(const void *addr) argument
61 __tsan_unaligned_read4(const void *addr) argument
65 __tsan_unaligned_read8(const void *addr) argument
69 __tsan_unaligned_read16(const void *addr) argument
73 __tsan_unaligned_write2(void *addr) argument
77 __tsan_unaligned_write4(void *addr) argument
81 __tsan_unaligned_write8(void *addr) argument
85 __tsan_unaligned_write16(void *addr) argument
93 __sanitizer_unaligned_load16(const uu16 *addr) argument
99 __sanitizer_unaligned_load32(const uu32 *addr) argument
105 __sanitizer_unaligned_load64(const uu64 *addr) argument
111 __sanitizer_unaligned_store16(uu16 *addr, u16 v) argument
117 __sanitizer_unaligned_store32(uu32 *addr, u32 v) argument
123 __sanitizer_unaligned_store64(uu64 *addr, u64 v) argument
154 __tsan_acquire(void *addr) argument
158 __tsan_release(void *addr) argument
[all...]
H A Dtsan_symbolize.h22 SymbolizedStack *SymbolizeCode(uptr addr);
23 ReportLocation *SymbolizeData(uptr addr);
26 ReportStack *NewReportStackEntry(uptr addr);
H A Dtsan_interface_ann.h25 SANITIZER_INTERFACE_ATTRIBUTE void __tsan_acquire(void *addr);
26 SANITIZER_INTERFACE_ATTRIBUTE void __tsan_release(void *addr);
/freebsd-head/contrib/wpa/src/eap_common/
H A Dchap.c18 const u8 *addr[3]; local
21 addr[0] = &id;
23 addr[1] = secret;
25 addr[2] = challenge;
27 return md5_vector(3, addr, len, response);
/freebsd-head/contrib/gcclibs/libgomp/config/linux/x86/
H A Dfutex.h39 futex_wait (int *addr, int val) argument
46 : "0"(SYS_futex), "D" (addr), "S"(FUTEX_WAIT),
52 futex_wake (int *addr, int count) argument
58 : "0"(SYS_futex), "D" (addr), "S"(FUTEX_WAKE), "d"(count)
69 sys_futex0 (int *addr, int op, int val) argument
77 : "0"(SYS_futex), "r" (addr), "c"(op),
85 sys_futex0 (int *addr, int op, int val) argument
91 : "0"(SYS_futex), "b" (addr), "c"(op),
99 futex_wait (int *addr, int val) argument
101 sys_futex0 (addr, FUTEX_WAI
105 futex_wake(int *addr, int count) argument
[all...]
/freebsd-head/crypto/heimdal/lib/roken/
H A Dinet_aton.c42 inet_aton(const char *cp, struct in_addr *addr) argument
44 addr->s_addr = inet_addr(cp);
45 return (addr->s_addr == INADDR_NONE) ? 0 : 1;
/freebsd-head/lib/libc/i386/sys/
H A Di386_get_fsbase.c35 i386_get_fsbase(void **addr) argument
38 return (sysarch(I386_GET_FSBASE, addr));
H A Di386_get_gsbase.c35 i386_get_gsbase(void **addr) argument
38 return (sysarch(I386_GET_GSBASE, addr));
H A Di386_set_fsbase.c35 i386_set_fsbase(void *addr) argument
38 return (sysarch(I386_SET_FSBASE, &addr));
H A Di386_set_gsbase.c35 i386_set_gsbase(void *addr) argument
38 return (sysarch(I386_SET_GSBASE, &addr));
/freebsd-head/sys/ddb/
H A Ddb_access.h41 db_expr_t db_get_value(db_addr_t addr, int size, bool is_signed);
42 void db_put_value(db_addr_t addr, int size, db_expr_t value);
/freebsd-head/sys/sys/
H A Dkern_prefetch.h32 kern_prefetch(const volatile void *addr, void* before) argument
35 __asm __volatile("prefetcht1 (%1)":"=rm"(*((int32_t *)before)):"r"(addr):);
37 /* __builtin_prefetch(addr);*/
/freebsd-head/contrib/gdb/gdb/
H A Dmem-break.c45 default_memory_insert_breakpoint (CORE_ADDR addr, char *contents_cache) argument
52 bp = BREAKPOINT_FROM_PC (&addr, &bplen);
57 val = target_read_memory (addr, contents_cache, bplen);
61 val = target_write_memory (addr, (char *) bp, bplen);
68 default_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache) argument
74 bp = BREAKPOINT_FROM_PC (&addr, &bplen);
78 return target_write_memory (addr, contents_cache, bplen);
83 memory_insert_breakpoint (CORE_ADDR addr, char *contents_cache) argument
85 return MEMORY_INSERT_BREAKPOINT(addr, contents_cache);
89 memory_remove_breakpoint (CORE_ADDR addr, cha argument
[all...]
/freebsd-head/contrib/wpa/src/utils/
H A Dip_addr.c14 const char * hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf, argument
17 if (buflen == 0 || addr == NULL)
20 if (addr->af == AF_INET) {
21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen);
26 if (addr->af == AF_INET6) {
27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL)
36 int hostapd_parse_ip_addr(const char *txt, struct hostapd_ip_addr *addr) argument
39 if (inet_aton(txt, &addr->u.v4)) {
40 addr->af = AF_INET;
45 if (inet_pton(AF_INET6, txt, &addr
[all...]

Completed in 280 milliseconds

1234567891011>>