Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 1832) sorted by relevance

12345678910>>...74

/illumos-gate/usr/src/common/crypto/md5/
H A Dmd5_byteswap.h69 #define LOAD_LITTLE_32(addr) (*(uint32_t *)(void *)(addr)) argument
115 return (*addr);
120 #define LOAD_LITTLE_32(addr) htonl(addr)
126 ((addr)[0] | ((addr)[1] << 8) | ((addr)[2] << 16) | ((addr)[3] << 24))
140 #define LOAD_LITTLE_32_0(addr) load_little_32_0((uint32_t *)(addr))
141 #define LOAD_LITTLE_32_1(addr) load_little_32_1((uint32_t *)(addr))
142 #define LOAD_LITTLE_32_2(addr) load_little_32_2((uint32_t *)(addr))
143 #define LOAD_LITTLE_32_3(addr) load_little_32_3((uint32_t *)(addr))
144 #define LOAD_LITTLE_32_4(addr) load_little_32_4((uint32_t *)(addr))
145 #define LOAD_LITTLE_32_5(addr) load_little_32_5((uint32_t *)(addr))
[all …]
/illumos-gate/usr/src/lib/print/libhttp-core/common/
H A Dhttp-addr.c56 if (addr->addr.sa_family == AF_INET6 && in httpAddrAny()
61 if (addr->addr.sa_family == AF_INET && in httpAddrAny()
146 if (addr->addr.sa_family == AF_INET6 && in httpAddrLocalhost()
152 if (addr->addr.sa_family == AF_LOCAL) in httpAddrLocalhost()
156 if (addr->addr.sa_family == AF_INET && in httpAddrLocalhost()
187 if (addr->addr.sa_family == AF_INET6) in httpAddrLookup()
193 if (addr->addr.sa_family == AF_LOCAL) in httpAddrLookup()
200 if (addr->addr.sa_family == AF_INET) in httpAddrLookup()
231 if (addr->addr.sa_family == AF_INET6) in httpAddrString()
240 if (addr->addr.sa_family == AF_LOCAL) in httpAddrString()
[all …]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dsmbios.c80 caddr_t addr; member
115 for (cp = addr; cp < addr + len; cp += SMBIOS_STEP) { in smbios_sigsearch()
188 cp = SMBIOS_GETSTR(addr); in smbios_getstring()
266 f1, f2, f3, SMBIOS_GET8(addr, 8), SMBIOS_GET8(addr, 9), in smbios_setuuid()
267 SMBIOS_GET8(addr, 10), SMBIOS_GET8(addr, 11), in smbios_setuuid()
268 SMBIOS_GET8(addr, 12), SMBIOS_GET8(addr, 13), in smbios_setuuid()
269 SMBIOS_GET8(addr, 14), SMBIOS_GET8(addr, 15)); in smbios_setuuid()
407 if (smbios.addr == NULL) in smbios_find_struct()
428 const caddr_t paddr = addr != NULL ? addr : PTOV(SMBIOS_START); in smbios_probe()
457 smbios_probe(addr); in smbios_detect()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/mdb_ds/
H A Dmdb_ds.c427 uintptr_t addr = wsp->walk_addr; in iob_stack_walk_step() local
430 if (addr == 0) in iob_stack_walk_step()
454 uintptr_t addr = wsp->walk_addr; in frame_walk_step() local
457 if (addr == 0) in frame_walk_step()
481 uintptr_t addr = wsp->walk_addr; in target_walk_step() local
484 if (addr == 0) in target_walk_step()
502 if (addr == 0) in sespec_walk_step()
520 if (addr == 0) in vespec_walk_step()
538 if (addr == 0) in se_matched_walk_step()
586 uintptr_t addr; in _mdb_init() local
[all …]
/illumos-gate/usr/src/uts/common/netinet/
H A Din.h517 ((addr)->_S6_un._S6_u32[0] == 0))
524 ((addr)->_S6_un._S6_u32[0] == 0))
530 ((addr)->_S6_un._S6_u32[0] == 0))
561 ((addr)->_S6_un._S6_u32[0] == 0))
566 ((addr)->_S6_un._S6_u32[0] == 0))
579 ((addr)->_S6_un._S6_u32[0] == 0))
585 ((addr)->_S6_un._S6_u32[0] == 0))
688 #define IN6_IS_ADDR_6TO4(addr) \ argument
691 #define IN6_IS_ADDR_6TO4(addr) \ argument
707 (IN6_IS_ADDR_LINKLOCAL(addr) || IN6_IS_ADDR_MC_LINKLOCAL(addr) || \
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_netbios_cache.c217 addr = addr->forw; in smb_netbios_cache_lookup_addr()
262 addr != &entry->addr_list; addr = addr->forw) { in smb_netbios_cache_insert()
347 addr = addr->forw; in smb_netbios_cache_insert_list()
366 addr = addr->forw; in smb_netbios_cache_update_entry()
376 addr = addr->forw; in smb_netbios_cache_update_entry()
464 addr = addr->forw; in smb_netbios_cache_reset_ttl()
551 addr = addr->forw; in smb_netbios_cache_refresh()
688 addr = addr->forw; in smb_netbios_name_dump()
706 addr = addr->forw; in smb_netbios_name_logf()
734 addr = addr->forw; in smb_netbios_name_dup()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_addr.c216 line *addr; local
223 addr = 0;
227 addr = zero;
267 addr = dot;
274 addr = dot;
283 addr = dot;
311 addr++;
320 addr--;
344 addr = dol;
348 addr = dot;
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Dbootinfo.c103 addr += len; in bi_copyenv()
106 addr++; in bi_copyenv()
111 addr += len; in bi_copyenv()
198 MOD_END(addr); in bi_copymodules()
199 return(addr); in bi_copymodules()
245 addr = 0; in bi_load()
251 addr = (addr + 15) & ~15; in bi_load()
255 addr = bi_copymodules(addr); in bi_load()
261 addr = (addr + 15) & ~15; in bi_load()
265 addr = bi_copyenv(addr); in bi_load()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dns_bsd_addr.c62 ((addr = calloc(1, sizeof (*addr))) != NULL)) { in bsd_addr_create()
68 return (addr); in bsd_addr_create()
76 if ((addr == NULL) || (addr->server == NULL)) in bsd_addr_to_string()
84 if ((addr->printer != NULL) || (addr->extension != NULL)) in bsd_addr_to_string()
388 if (addr != NULL && addr->printer == NULL) in ns_bsd_addr_get_name()
390 if (addr != NULL) { in ns_bsd_addr_get_name()
405 return (addr); in ns_bsd_addr_get_name()
449 (void *)addr); in ns_bsd_addr_get_list()
457 if ((addr = in ns_bsd_addr_get_list()
522 if (addr != NULL) in ns_bsd_addr_get_all()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Davl.c53 addr -= offset; in avl_leftmostchild()
62 return (addr); in avl_leftmostchild()
86 uintptr_t addr; in avl_walk_init_range() local
128 if (addr == 0) { in avl_walk_init_range()
132 addr = avl_leftmostchild(addr, aw->aw_buff, tree->avl_offset, in avl_walk_init_range()
183 uintptr_t addr; in avl_walk_step() local
192 if (addr == 0) in avl_walk_step()
238 if (addr != 0) { in avl_walk_step()
239 addr = avl_leftmostchild(addr, aw->aw_buff, offset, size, in avl_walk_step()
252 if (addr == 0) in avl_walk_step()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c373 for (eaddr = addr + size; addr < eaddr; addr += PAGESIZE) { in boot_mapin()
427 if (bop_alloc_chunk(addr, size, align) != (caddr_t)addr) in boot_alloc()
430 if (BOP_ALLOC(bootops, addr, size, align) != addr) in boot_alloc()
434 return (addr); in boot_alloc()
939 void *addr; in segkmem_alloc_vn() local
964 if (boot_alloc(addr, size, BO_NO_ALIGN) != addr) in segkmem_alloc_vn()
1013 for (eaddr = addr + size; addr < eaddr; addr += PAGESIZE) { in segkmem_xfree()
1399 void *addr; in segkmem_alloc_lpi() local
1558 void *addr; in segkmem_alloc_ppa() local
1569 addr = NULL; in segkmem_alloc_ppa()
[all …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dmulti.awk.sh71 if (addr[$i] == "") {
72 addr[$i] = $1;
74 addr[$i] = addr[$i] "," $1
85 for (host in addr) {
86 if (index(addr[host], ",") == 0)
92 if (namelist[addr[host]] == "") {
100 namelist[addr[host]] = namelist[addr[host]] " " tmpname[j];
111 namelist[addr[host]] = namelist[addr[host]] " " tmpname[j];
120 for (host in addr) {
121 if (index(addr[host], ",")) {
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_fmt.c147 return (addr); in fmt_dot()
168 return (addr); in fmt_float()
200 return (addr); in fmt_nl()
208 return (addr); in fmt_ws()
221 return (addr); in fmt_tab()
250 return (addr); in fmt_rawstr()
282 return (addr); in fmt_escstr()
308 return (addr); in fmt_escchr()
327 return (addr); in fmt_swapshort()
347 return (addr); in fmt_swapint()
[all …]
H A Dmdb_cmds.c457 addr = match_value(as, addr, args[0], args[1]); in match_arglist()
523 addr = (uintptr_t)addr; in print_arglist()
680 addr = *((uchar_t *)&addr); in cmd_assign_variable()
683 addr = *((ushort_t *)&addr); in cmd_assign_variable()
686 addr = *((uint_t *)&addr); in cmd_assign_variable()
689 addr = *((ulong_t *)&addr); in cmd_assign_variable()
1094 if (addr < 2 || addr > 16) { in cmd_radix()
2106 addr, addr, buf); in cmd_dis()
2136 buf, sizeof (buf), addr)) == addr) in cmd_dis()
2149 for (addr = naddr; n-- != 0; addr = naddr) { in cmd_dis()
[all …]
/illumos-gate/usr/src/boot/sys/boot/forth/
H A Dsupport.4th179 : strcat { addr len addr' len' -- addr len+len' }
180 addr' addr len + len' move
189 addr 1 + to addr
208 addr 1 + to addr
408 addr var .addr ! len var .len ! addr len
671 addr c@ addr' len' + c!
674 addr char+ to addr
1324 dup conf_files .len @ + ( addr len addr' addr'+clen )
1325 dup bl swap c! 1+ ( addr len addr' addr'' )
1326 3 pick swap ( addr len addr' addr addr'' )
[all …]
H A Dloader.4th326 ( addr len len' addr' )
342 over ( addr rem addr )
356 ( addr len len' addr' )
374 2dup ( addr len len' addr' len' addr' )
384 ( addr len len' addr' len" addr" )
385 >r >r ( addr len len' addr' R: addr" len" )
394 ( addr len len' addr' proplen R: addr" len" )
396 \ addr: -B, addr': acpi... addr": reminder
398 r> r> ( addr len len' proplen addr' len" addr" )
466 dup >r ( addr len len' addr' R: addr' )
[all …]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dcommon.c122 unsigned long addr; in mmap_avail_at() local
130 addr += *((unsigned long *) addr) + 4) in mmap_avail_at()
158 unsigned long cont, memtmp, addr; in init_bios_info() local
189 addr = get_code_end (); in init_bios_info()
190 mbi.mmap_addr = addr; in init_bios_info()
203 addr += *((unsigned long *) addr) + 4; in init_bios_info()
223 addr += *((unsigned long *) addr) + 4) in init_bios_info()
265 dhcpack_buf = addr; in init_bios_info()
266 addr += sizeof (struct dhcp_t); in init_bios_info()
275 mbi.drives_addr = addr; in init_bios_info()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/stmf_sbd/
H A Dstmf_sbd.c151 if (mdb_vread(id, len, addr) == -1) { in print_scsi_devid_desc()
272 uintptr_t addr = wsp->walk_addr; in stmf_sbd_lu_walk_step() local
288 if ((addr == 0) || (mdb_readstr(str, STMF_SBD_STR_MAX, addr) == -1)) in stmf_sbd_getstr()
299 mdb_printf("\nsbd_lu - %p\n", addr); in stmf_sbd_lu_cb()
321 mdb_printf("%p\n", addr); in stmf_sbd_lu_cb()
339 uintptr_t addr = wsp->walk_addr; in stmf_sbd_pgr_key_walk_step() local
378 mdb_printf("%p\n", addr); in stmf_sbd_pgr_key_cb()
396 uintptr_t addr = wsp->walk_addr; in stmf_sbd_it_walk_step() local
428 mdb_printf("%p\n", addr); in stmf_sbd_it_cb()
507 mdb_printf("\nLU:- %p\n", addr); in stmf_sbd_pgr_key()
[all …]
/illumos-gate/usr/src/uts/common/io/1394/
H A Ds1394_csr.c125 addr.aa_arg = hal; in s1394_setup_CSR_space()
149 addr.aa_arg = hal; in s1394_setup_CSR_space()
173 addr.aa_arg = hal; in s1394_setup_CSR_space()
197 addr.aa_arg = hal; in s1394_setup_CSR_space()
221 addr.aa_arg = hal; in s1394_setup_CSR_space()
245 addr.aa_arg = hal; in s1394_setup_CSR_space()
269 addr.aa_arg = hal; in s1394_setup_CSR_space()
293 addr.aa_arg = hal; in s1394_setup_CSR_space()
317 addr.aa_arg = hal; in s1394_setup_CSR_space()
341 addr.aa_arg = hal; in s1394_setup_CSR_space()
[all …]
/illumos-gate/usr/src/uts/intel/sys/
H A Dddi_isa.h71 (*ahi_get8)(struct ddi_acc_impl *handle, uint8_t *addr);
73 (*ahi_get16)(struct ddi_acc_impl *handle, uint16_t *addr);
75 (*ahi_get32)(struct ddi_acc_impl *handle, uint32_t *addr);
129 i_ddi_vaddr_get8(ddi_acc_impl_t *hdlp, uint8_t *addr);
132 i_ddi_vaddr_get16(ddi_acc_impl_t *hdlp, uint16_t *addr);
135 i_ddi_vaddr_get32(ddi_acc_impl_t *hdlp, uint32_t *addr);
138 i_ddi_vaddr_get64(ddi_acc_impl_t *hdlp, uint64_t *addr);
239 i_ddi_io_get8(ddi_acc_impl_t *hdlp, uint8_t *addr);
242 i_ddi_io_get16(ddi_acc_impl_t *hdlp, uint16_t *addr);
245 i_ddi_io_get32(ddi_acc_impl_t *hdlp, uint32_t *addr);
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_nic_hw.c63 #define MN_WIN(addr) (((addr & 0x1fc0000) >> 1) | ((addr >> 25) & 0x3ff)) argument
64 #define OCM_WIN(addr) (((addr & 0x1ff0000) >> 1) | \ argument
66 #define MS_WIN(addr) (addr & 0x0ffc0000) argument
70 #define VALID_OCM_ADDR(addr) (((addr) & 0x3f800) != 0x3f800) argument
71 #define GET_MEM_OFFS_2M(addr) (addr & MASK(18)) argument
546 void *addr; in unm_nic_hw_write_wx_128M() local
1013 addr = GET_MEM_OFFS_2M(addr) + UNM_PCI_DDR_NET; in unm_nic_pci_set_window_2M()
1037 addr = GET_MEM_OFFS_2M(addr) + UNM_PCI_OCM0_2M; in unm_nic_pci_set_window_2M()
1053 addr = GET_MEM_OFFS_2M(addr) + UNM_PCI_QDR_NET; in unm_nic_pci_set_window_2M()
1148 if (!addr) in unm_nic_pci_mem_read_direct()
[all …]
/illumos-gate/usr/src/cmd/mdb/intel/kmdb/
H A Dkvm_isadep.c133 gregs.kregs[KREG_FP] = addr; in kmt_stack_common()
200 if (addr > IOPORTLIMIT) { in kmt_io_check()
212 if ((addr & (nbytes - 1)) != 0) { in kmt_io_check()
306 rw(addr, valp); in kmt_rwmsr()
321 if (kmt_rwmsr(addr, &val, rdmsr) < 0) { in kmt_rdmsr()
342 if (kmt_rwmsr(addr, &val, wrmsr)) { in kmt_wrmsr()
365 if (addr < kmdb_kdi_get_userlimit()) in kmt_write()
387 iorw(buf, nbytes, addr); in kmt_iorw()
412 uint32_t addr; in kmt_pcicfg_common() local
441 if (kmt_iowrite(mdb.m_target, &addr, sizeof (addr), PCI_CONFADD) != in kmt_pcicfg_common()
[all …]
/illumos-gate/usr/src/lib/libumem/i386/
H A Dumem_genasm.c324 bcopy(&addr, bp + PTC_MALINIT_JOUT, sizeof (addr)); in genasm_malinit()
327 bcopy(&addr, bp + PTC_MALINIT_JOV, sizeof (addr)); in genasm_malinit()
340 bcopy(&addr, bp + PTC_FRINI_JDONE, sizeof (addr)); in genasm_frinit()
342 bcopy(&addr, bp + PTC_FRINI_JFREE, sizeof (addr)); in genasm_frinit()
345 bcopy(&addr, bp + PTC_FRINI_JOV, sizeof (addr)); in genasm_frinit()
365 bcopy(&addr, bp + PTC_INICACHE_JMP, sizeof (addr)); in genasm_firstcache()
384 bcopy(&addr, bp + PTC_GENCACHE_JMP, sizeof (addr)); in genasm_gencache()
400 bcopy(&addr, bp + PTC_FINCACHE_NUM, sizeof (addr)); in genasm_lastcache()
402 bcopy(&addr, bp + PTC_FINCACHE_JMP, sizeof (addr)); in genasm_lastcache()
414 bcopy(&addr, bp + PTC_MALFINI_JMADDR, sizeof (addr)); in genasm_malfini()
[all …]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/
H A Dbootinfo.c128 addr += len; in bi_copyenv()
131 addr++; in bi_copyenv()
136 addr += len; in bi_copyenv()
215 c = addr != 0; in bi_copymodules()
234 return(addr); in bi_copymodules()
386 addr = 0; in bi_load()
393 addr = roundup(addr, PAGE_SIZE); in bi_load()
396 envp = addr; in bi_load()
397 addr = bi_copyenv(addr); in bi_load()
400 addr = roundup(addr, PAGE_SIZE); in bi_load()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c121 ipcperm_print(addr, &perm); in ipcperm()
129 int copy_wait, uintptr_t addr, int flag) in msgq_check_for_waiters() argument
174 msq_print(kmsqid_t *msqid, uintptr_t addr) in msq_print() argument
213 shm_print(kshmid_t *shmid, uintptr_t addr) in shm_print() argument
237 sem_print(ksemid_t *semid, uintptr_t addr) in sem_print() argument
318 iv->iv_print(iddata, addr); in ds_print()
428 *addr = (uintptr_t)slot.ipct_data; in ipcid_impl()
445 arg->fk_addr = addr; in findkey()
474 *addr = fkdata.fk_addr; in ipckey_impl()
497 result = fp(addr, val, &raddr); in ipckeyid()
[all …]

12345678910>>...74