Searched refs:addr (Results 101 - 125 of 3578) sorted by relevance

1234567891011>>

/freebsd-head/contrib/netbsd-tests/lib/libc/sys/
H A Dt_mincore.c83 check_residency(void *addr, size_t npgs) argument
91 ATF_REQUIRE(mincore(addr, npgs * page, vec) == 0);
100 (char *)addr + (i * page), vec[i] ? "" : "not ");
149 void *addr, *addr2, *addr3, *buf; local
178 addr = mmap(NULL, (size_t)st.st_size, PROT_READ,
181 ATF_REQUIRE(addr != MAP_FAILED);
190 (void)check_residency(addr, npgs);
192 rv = mlock(addr, npgs * page);
195 ATF_REQUIRE(munmap(addr, st.st_size) == 0);
200 addr
292 void *addr = NULL; local
[all...]
H A Dt_bind.c51 struct sockaddr_in addr; local
53 /* addr.sin_family = AF_UNSPEC = 0 */
54 memset(&addr, 0, sizeof(addr));
57 * it is not necessary to initialize sin_{addr,port} since
66 ATF_REQUIRE(-1 == bind(sock, (struct sockaddr *)&addr, sizeof(addr)));
/freebsd-head/stand/common/
H A Dmetadata.c68 * Copy the environment into the load area starting at (addr).
73 md_copyenv(vm_offset_t addr) argument
79 archsw.arch_copyin(ep->ev_name, addr, strlen(ep->ev_name));
80 addr += strlen(ep->ev_name);
81 archsw.arch_copyin("=", addr, 1);
82 addr++;
84 archsw.arch_copyin(ep->ev_value, addr, strlen(ep->ev_value));
85 addr += strlen(ep->ev_value);
87 archsw.arch_copyin("", addr, 1);
88 addr
158 md_copymodules(vm_offset_t addr, int kern64) argument
212 vm_offset_t addr; local
[all...]
/freebsd-head/contrib/apr/mmap/unix/
H A Dcommon.c33 APR_DECLARE(apr_status_t) apr_mmap_offset(void **addr, apr_mmap_t *mmap,
39 (*addr) = (char *) mmap->mm + offset;
/freebsd-head/lib/libc/sys/
H A Daccept.c45 accept(int s, struct sockaddr *addr, socklen_t *addrlen) argument
49 __libc_interposing[INTERPOS_accept])(s, addr, addrlen));
H A Dconnect.c45 connect(int s, const struct sockaddr *addr, socklen_t addrlen) argument
49 __libc_interposing[INTERPOS_connect])(s, addr, addrlen));
H A Dmsync.c45 msync(void *addr, size_t len, int flags) argument
49 __libc_interposing[INTERPOS_msync])(addr, len, flags));
H A Dptrace.c44 _ptrace(int request, pid_t pid, caddr_t addr, int data) argument
48 return (__sys_ptrace(request, pid, addr, data));
/freebsd-head/contrib/wpa/src/utils/
H A Dip_addr.h23 const char * hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf,
25 int hostapd_parse_ip_addr(const char *txt, struct hostapd_ip_addr *addr);
/freebsd-head/contrib/ntp/lib/isc/include/isc/
H A Dbacktrace.h53 void *addr; member in struct:isc_backtrace_symmap
109 isc_backtrace_getsymbol(const void *addr, const char **symbolp,
113 * given 'addr'. On success, '*symbolp' will point to the name of function
114 * to which the address 'addr' belong, and '*offsetp' will store the offset
115 * from the function's entry address to 'addr'.
/freebsd-head/sys/arm64/include/
H A Dkdb.h44 kdb_cpu_sync_icache(unsigned char *addr, size_t size) argument
47 cpu_icache_sync_range((vm_offset_t)addr, size);
/freebsd-head/contrib/ntp/libntp/
H A Dis_ip_address.c30 sockaddr_u * addr
41 REQUIRE(addr != NULL);
43 ZERO_SOCK(addr);
56 AF(addr) = AF_INET;
57 SET_ADDR4N(addr, in4.s_addr);
76 AF(addr) = AF_INET6;
78 SET_ADDR6N(addr, resaddr6->sin6_addr);
79 SET_SCOPE(addr, resaddr6->sin6_scope_id);
/freebsd-head/contrib/bsnmp/snmpd/
H A Dtrans_udp.h36 uint8_t addr[4]; /* host byteorder */ member in struct:udp_port
49 uint8_t addr[4]; /* host byteorder */ member in struct:udp_open
/freebsd-head/sys/powerpc/powerpc/
H A Ddb_hwwatch.c40 db_md_set_watchpoint(db_expr_t addr, db_expr_t size) argument
47 db_md_clr_watchpoint(db_expr_t addr, db_expr_t size) argument
/freebsd-head/usr.sbin/kldxref/
H A Def_i386.c49 Elf_Addr *where, addr, addend; local
82 addr = (Elf_Addr)addend + relbase;
83 *where = addr;
86 addr = EF_SYMADDR(ef, symidx);
87 addr += addend;
88 *where = addr;
91 addr = EF_SYMADDR(ef, symidx);
92 *where = addr;
/freebsd-head/sys/compat/linuxkpi/common/include/net/
H A Dif_inet6.h39 static inline void ipv6_eth_mc_map(const struct in6_addr *addr, char *buf) argument
50 memcpy(buf + 2, &addr->s6_addr32[3], sizeof(__u32));
/freebsd-head/contrib/wpa/hostapd/
H A Dconfig_file.h18 int vlan_id, const u8 *addr);
20 const u8 *addr);
/freebsd-head/contrib/wpa/src/crypto/
H A Dsha256-kdf.c38 const unsigned char *addr[4]; local
42 addr[0] = T;
45 addr[1] = (const unsigned char *) label;
48 addr[1] = (const u8 *) "";
51 addr[2] = seed;
53 addr[3] = &iter;
56 if (hmac_sha256_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0)
77 if (hmac_sha256_vector(secret, secret_len, 4, addr, len, T) < 0)
H A Dsha384-kdf.c38 const unsigned char *addr[4]; local
42 addr[0] = T;
45 addr[1] = (const unsigned char *) label;
48 addr[1] = (const u8 *) "";
51 addr[2] = seed;
53 addr[3] = &iter;
56 if (hmac_sha384_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0)
77 if (hmac_sha384_vector(secret, secret_len, 4, addr, len, T) < 0)
H A Dsha512-kdf.c38 const unsigned char *addr[4]; local
42 addr[0] = T;
45 addr[1] = (const unsigned char *) label;
48 addr[1] = (const u8 *) "";
51 addr[2] = seed;
53 addr[3] = &iter;
56 if (hmac_sha512_vector(secret, secret_len, 3, &addr[1], &len[1], T) < 0)
77 if (hmac_sha512_vector(secret, secret_len, 4, addr, len, T) < 0)
/freebsd-head/contrib/llvm-project/lldb/include/lldb/Symbol/
H A DCallFrameInfo.h20 virtual bool GetAddressRange(Address addr, AddressRange &range) = 0;
22 virtual bool GetUnwindPlan(const Address &addr, UnwindPlan &unwind_plan) = 0;
/freebsd-head/contrib/ofed/libmlx5/
H A Dbitmap.h72 static inline uint32_t mlx5_find_first_zero_bit(const unsigned long *addr, argument
75 const unsigned long *p = addr;
96 static inline void mlx5_set_bit(unsigned int nr, unsigned long *addr) argument
98 addr[(nr / BITS_PER_LONG)] |= (1UL << (nr % BITS_PER_LONG));
101 static inline void mlx5_clear_bit(unsigned int nr, unsigned long *addr) argument
103 addr[(nr / BITS_PER_LONG)] &= ~(1UL << (nr % BITS_PER_LONG));
106 static inline int mlx5_test_bit(unsigned int nr, const unsigned long *addr) argument
108 return !!(addr[(nr / BITS_PER_LONG)] & (1UL << (nr % BITS_PER_LONG)));
/freebsd-head/lib/libbluetooth/
H A Ddev.c49 bt_devaddr(char const *devname, bdaddr_t *addr) argument
58 if (addr != NULL)
59 bdaddr_copy(addr, &di.bdaddr);
65 bt_devname(char *devname, bdaddr_t const *addr) argument
70 arg.bdaddr = addr;
/freebsd-head/sys/dev/xz/
H A Dxz_mod.c44 void *addr; local
46 addr = malloc(size, XZ_DEC, M_NOWAIT);
47 return (addr);
51 xz_free(void *addr) argument
54 free(addr, XZ_DEC);
/freebsd-head/tools/regression/sockets/listen_kqueue/
H A Dlisten_kqueue.c51 struct sockaddr_in addr; local
75 memset(&addr, 0, sizeof(addr));
76 addr.sin_family = AF_INET;
77 addr.sin_port = htons(10000);
79 if (bind(sock, (struct sockaddr *)&addr, sizeof(addr)) == -1)
98 if (connect(sock, (struct sockaddr *)&addr, sizeof(addr)) == -1)
107 (struct sockaddr *)&addr,
[all...]

Completed in 191 milliseconds

1234567891011>>