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

1234567891011>>

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbadtype5.c3 int foo(int *addr);
4 int foo(int *addr) argument
6 return *(*((typeof(addr) __force *) addr));
/illumos-gate/usr/src/lib/libsqlite/tool/
H A Dmemleak.awk23 addr = $4
24 sub("string at " addr " is ","")
25 str[addr] = $0
28 for(addr in mem){
29 if( mem[addr]=="" ) continue
30 print mem[addr], str[addr]
/illumos-gate/usr/src/uts/sparc/asm/
H A Dcpu.h40 prefetch_read_many(void *addr) argument
45 : "=r" (addr)
46 : "0" (addr));
53 prefetch_read_once(void *addr) argument
58 : "=r" (addr)
59 : "0" (addr));
66 prefetch_write_many(void *addr) argument
71 : "=r" (addr)
72 : "0" (addr));
79 prefetch_write_once(void *addr) argument
[all...]
/illumos-gate/usr/src/uts/intel/asm/
H A Dhtable.h47 atomic_orb(uint8_t *addr, uint8_t value) argument
51 : "=m" (*addr)
52 : "d" (value), "m" (*addr)
57 atomic_andb(uint8_t *addr, uint8_t value) argument
61 : "=m" (*addr)
62 : "d" (value), "m" (*addr)
67 atomic_inc16(uint16_t *addr) argument
71 : "=m" (*addr)
72 : "m" (*addr)
77 atomic_dec16(uint16_t *addr) argument
[all...]
/illumos-gate/usr/src/cmd/ipf/lib/common/
H A Dprintlookup.c13 void printlookup(addr, mask)
14 i6addr_t *addr, *mask;
16 switch (addr->iplookuptype)
25 printf("lookup(%x)=", addr->iplookuptype);
29 printf("%u", addr->iplookupnum);
H A Dprintip.c12 void printip(addr)
13 u_32_t *addr;
17 ipa.s_addr = *addr;
H A Dprintactiveaddr.c18 printactiveaddress(v, fmt, addr, ifname)
21 i6addr_t *addr;
27 printf(fmt, inet_ntoa(addr->in4));
31 printaddr(v, FRI_NORMAL, ifname, (u_32_t *)&addr->in6, NULL);
/illumos-gate/usr/src/common/crypto/md5/
H A Dmd5_byteswap.h69 #define LOAD_LITTLE_32(addr) (*(uint32_t *)(void *)(addr))
88 #define LOAD_LITTLE_32(addr) load_little_32((uint32_t *)(void *)(addr))
93 load_little_32(uint32_t *addr) argument
100 : "r" (addr), "i" (ASI_PL));
113 load_little_32(uint32_t *addr) argument
115 return (*addr);
120 #define LOAD_LITTLE_32(addr) htonl(addr)
[all...]
/illumos-gate/usr/src/stand/lib/sa/
H A Dmalloc.c53 void *addr; local
55 addr = malloc(number * size);
56 if (addr == NULL)
59 return (memset(addr, 0, number * size));
65 void *addr; local
68 addr = malloc(size);
71 if (addr != NULL) {
72 bcopy(oldaddr, addr, (oldsize > size ? oldsize : size));
77 return (addr);
81 free(void *addr) argument
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dmb_header.h58 #define MULTIBOOT_FOUND(addr, len) \
59 (! ((addr) & 0x3) \
61 && *((int *) (addr)) == MULTIBOOT_MAGIC \
62 && ! (*((unsigned *) (addr)) + *((unsigned *) (addr + 4)) \
63 + *((unsigned *) (addr + 8))) \
64 && (! (MULTIBOOT_AOUT_KLUDGE & *((int *) (addr + 4))) || (len) >= 32) \
65 && (! (MULTIBOOT_VIDEO_MODE & *((int *) (addr + 4))) || (len) >= 48))
/illumos-gate/usr/src/lib/libc/port/inet/
H A Dinet_makeaddr.c53 ipaddr_t addr; local
57 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
59 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
61 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
63 addr = net | host;
64 addr = htonl(addr);
65 inaddr.s_addr = addr;
/illumos-gate/usr/src/lib/libdll/common/
H A Ddlllook.c36 register void* addr; local
39 if (!(addr = dlsym(dll, name)) && strlen(name) < (sizeof(buf) - 2))
43 addr = dlsym(dll, buf);
45 return addr;
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dsync_instruction_memory.c32 * void sync_instruction_memory(caddr_t addr, int len)
34 * Make the memory at {addr, addr+len} valid for instruction execution.
40 sync_instruction_memory(caddr_t addr, int len) argument
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dsync_instruction_memory.c32 * void sync_instruction_memory(caddr_t addr, int len)
34 * Make the memory at {addr, addr+len} valid for instruction execution.
40 sync_instruction_memory(caddr_t addr, int len) argument
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvsw_fdb.h39 #define KEY_HASH(key, addr) \
40 (key = ((((uint64_t)(addr)->ether_addr_octet[0]) << 40) | \
41 (((uint64_t)(addr)->ether_addr_octet[1]) << 32) | \
42 (((uint64_t)(addr)->ether_addr_octet[2]) << 24) | \
43 (((uint64_t)(addr)->ether_addr_octet[3]) << 16) | \
44 (((uint64_t)(addr)->ether_addr_octet[4]) << 8) | \
45 ((uint64_t)(addr)->ether_addr_octet[5])));
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmulti.awk.sh71 if (addr[$i] == "") {
72 addr[$i] = $1;
73 } else if (index(addr[$i], $1) == 0) {
74 addr[$i] = addr[$i] "," $1
80 # There are now a bunch o addresses in the addr
85 for (host in addr) {
86 if (index(addr[host], ",") == 0)
88 numaddr = split(addr[host], tmpaddr, ",");
92 if (namelist[addr[hos
[all...]
/illumos-gate/usr/src/lib/libbc/libc/inet/
H A Dinet_makeaddr.c51 ulong_t addr; local
55 addr = (net << IN_CLASSA_NSHIFT) | (host & IN_CLASSA_HOST);
57 addr = (net << IN_CLASSB_NSHIFT) | (host & IN_CLASSB_HOST);
59 addr = (net << IN_CLASSC_NSHIFT) | (host & IN_CLASSC_HOST);
60 inaddr.s_addr = htonl(addr);
/illumos-gate/usr/src/lib/libbc/libc/net/
H A Dgetrpcport.c37 struct sockaddr_in addr; local
42 bcopy(hp->h_addr, (char *) &addr.sin_addr, hp->h_length);
43 addr.sin_family = AF_INET;
44 addr.sin_port = 0;
45 return (pmap_getport(&addr, prognum, versnum, proto));
/illumos-gate/usr/src/common/sgsrtcid/
H A Dsgsrtcid.h85 #define RTC_ID_TEST(addr) \
86 ((RTC_ID_MAG0 == *((uchar_t *)addr)) && \
87 (RTC_ID_MAG1 == *(((uchar_t *)addr) + 1)) && \
88 (RTC_ID_MAG2 == *(((uchar_t *)addr) + 2)) && \
89 (RTC_ID_MAG3 == *(((uchar_t *)addr) + 3)))
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmtip4.c32 fmtip4(register uint32_t addr, int bits) argument
39 i = sfsprintf(buf, z, "%d.%d.%d.%d", (addr>>24)&0xff, (addr>>16)&0xff, (addr>>8)&0xff, (addr)&0xff);
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmregion.c38 Vmalloc_t* vmregion(Void_t* addr) argument
40 Vmalloc_t* vmregion(addr)
41 Void_t* addr;
47 if(!addr)
50 vd = SEG(BLOCK(addr))->vmdt;
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c2 * "$Id: http-addr.c 148 2006-04-25 16:54:17Z njacobs $"
53 httpAddrAny(const http_addr_t *addr) /* I - Address to check */ argument
56 if (addr->addr.sa_family == AF_INET6 &&
57 IN6_IS_ADDR_UNSPECIFIED(&(addr->ipv6.sin6_addr)))
61 if (addr->addr.sa_family == AF_INET &&
62 ntohl(addr->ipv4.sin_addr.s_addr) == 0x00000000)
77 if (addr1->addr.sa_family != addr2->addr
94 httpAddrLoad(const struct hostent *host, int port, int n, http_addr_t *addr) argument
142 httpAddrLocalhost(const http_addr_t *addr) argument
176 httpAddrLookup(const http_addr_t *addr, char *name, int namelen) argument
223 httpAddrString(const http_addr_t *addr, char *s, int slen) argument
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Detheraddr.c41 static struct ether_addr addr; local
50 addr = *hint;
52 ether_sprintf(&addr));
55 *result = addr;
66 ether_sprintf(struct ether_addr *addr) argument
71 addr->ether_addr_octet[0], addr->ether_addr_octet[1],
72 addr->ether_addr_octet[2], addr->ether_addr_octet[3],
73 addr
96 ether_aton(char *addr, uchar_t *macaddr) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Daddr_srch.c33 * if addr is listed in addrlist, or addrlist is null, return TRUE.
37 krb5_address_search(krb5_context context, const krb5_address *addr, krb5_address *const *addrlist) argument
42 if (krb5_address_compare(context, addr, *addrlist))
/illumos-gate/usr/src/lib/libnsl/common/
H A Dcommon.c35 void *addr; local
39 addr = pthread_getspecific(*keyp);
40 if (addr == NULL && size != 0) {
41 addr = calloc(1, size);
42 if (addr != NULL && pthread_setspecific(*keyp, addr) != 0) {
43 free(addr);
48 return (addr);

Completed in 76 milliseconds

1234567891011>>