/illumos-gate/usr/src/uts/common/sys/ |
H A D | pci_cap.h | 111 uint32_t id, uint16_t base, uint16_t offset); 114 uint32_t id, uint16_t base, uint16_t offset, uint32_t data); 116 extern int pci_cap_read(ddi_acc_handle_t h, uint32_t id, uint16_t base,
|
/illumos-gate/usr/src/boot/i386/libi386/ |
H A D | biosacpi.c | 49 static ACPI_TABLE_RSDP *biosacpi_search_rsdp(char *base, int length); 237 biosacpi_search_rsdp(char *base, int length) in biosacpi_search_rsdp() argument 245 rsdp = (ACPI_TABLE_RSDP *)PTOV(base + ofs); in biosacpi_search_rsdp()
|
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/ |
H A D | fsdb_lex.l | 29 extern int base; 44 ;{WS}*:{WS}*base{WS}* { return BASE; } 45 ^{WS}*:{WS}*base{WS}* { return BASE; }
|
/illumos-gate/usr/src/uts/common/xen/io/ |
H A D | xpvtap.h | 50 #define XPVTAP_GREF_REQADDR(base, id) (caddr_t) \ argument 51 ((uintptr_t)base + (id * BLKIF_MAX_SEGMENTS_PER_REQUEST * PAGESIZE))
|
/illumos-gate/usr/src/uts/sun4u/cherrystone/sys/ |
H A D | cherrystone.h | 86 #define MC_BASE2UM(base) (((base) & 0x1fffffu) << MC_UM_SHIFT) argument
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | error.c | 109 rmtemp(struct ionod *base) in rmtemp() argument 111 while (iotemp > base) { in rmtemp()
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/pri/ |
H A D | mem_prop_update.c | 48 md_t *mdp, uint64_t interleave, uint64_t *size, uint64_t base); 290 md_t *mdp, uint64_t interleave, uint64_t *size, uint64_t base) in add_segment_props() argument 301 add_md_prop(node, sizeof (base), PICL_PROP_BASEADDRESS, in add_segment_props() 302 &base, PICL_PTYPE_UNSIGNED_INT); in add_segment_props()
|
/illumos-gate/usr/src/uts/sun4v/sys/ |
H A D | machclock.h | 254 #define GET_HRTIME(base, now, nslt, scale, scr, hrlock, gnt1, gnt2, label) \ argument 260 ldx [scr + %lo(hrtime_base)], base; /* load hrtime_base */ \ 271 add base, nslt, base;
|
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_timerq.c | 50 hrtime_t base = ep ? fmd_event_hrtime(ep) : now; in fmd_timerq_install() local 73 if (base + delta < base) in fmd_timerq_install() 76 hrt = base + delta; in fmd_timerq_install()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | shm.c | 416 caddr_t base; in shmat() local 425 base = addr; in shmat() 428 if ((uintptr_t)base & (share_size - 1)) { in shmat() 433 result = valid_usr_range(base, len, prot, as, in shmat() 443 result = valid_usr_range(base, len, prot, as, in shmat() 448 as_gap(as, len, &base, &len, AH_LO, in shmat() 502 caddr_t base; in shmat() local 514 base = addr; in shmat() 517 if ((uintptr_t)base & PAGEOFFSET) { in shmat() 522 result = valid_usr_range(base, len, prot, as, in shmat() [all …]
|
H A D | core.c | 800 caddr_t base; in core_seg() local 810 for (base = addr; base < eaddr; base += len) { in core_seg() 811 len = eaddr - base; in core_seg() 812 if (as_memory(p->p_as, &base, &len) != 0) in core_seg() 824 offset + (size_t)(base - addr), base, len, rlimit, credp); in core_seg()
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | configd.c | 528 regularize_path(const char *dir, const char *base, char *tmpbuf) in regularize_path() argument 530 if (base == NULL) in regularize_path() 532 if (base[0] == '/') in regularize_path() 533 return (base); in regularize_path() 535 if (snprintf(tmpbuf, PATH_MAX, "%s/%s", dir, base) >= PATH_MAX) { in regularize_path() 537 dir, base); in regularize_path()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap.c | 126 char *base; in ap_parse() local 155 base = strrchr((const char *)a->path, '/') + 1; in ap_parse() 158 base = a->path; in ap_parse() 165 if ((s = strchr(base, ':')) == NULL || s[1] == ':') { in ap_parse() 177 s = base; in ap_parse() 185 if ((p = strchr(base, '@')) != NULL) { in ap_parse() 190 if ((a->drv = strdup(base)) == NULL) { in ap_parse()
|
/illumos-gate/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_cpu.c | 738 uint64_t base; in cpusram_map() local 742 base = (uint64_t)SBDP_CPU_SRAM_ADDR & (~MMU_PAGEOFFSET); in cpusram_map() 743 pfn = mmu_btop(base); in cpusram_map() 775 caddr_t base; in cpusram_unmap() local 780 base = addr - pgoffset; in cpusram_unmap() 781 hat_unload(kas.a_hat, base, ptob(npages), HAT_UNLOAD_UNLOCK); in cpusram_unmap() 782 vmem_free(heap_arena, base, ptob(npages)); in cpusram_unmap()
|
/illumos-gate/usr/src/common/mc/mc-amd/ |
H A D | mcamd_patounum.c | 59 uint64_t mcnum, base, lim, dramaddr, ilen, ilsel, top, holesz; in iaddr_gen() local 63 mc, MCAMD_PROP_BASE_ADDR, &base, in iaddr_gen() 79 if (base == lim) in iaddr_gen() 82 if (pa < base || pa > lim) { in iaddr_gen() 84 "in range [0x%llx, 0x%llx] of MC %d\n", pa, base, lim, in iaddr_gen() 105 dramaddr = BITS(pa, 39, 0) - BITS(base, 39, 24); in iaddr_gen() 138 "is 0x%llx\n", pa, base, lim, (int)mcnum, *iaddrp); in iaddr_gen()
|
/illumos-gate/usr/src/uts/sun4u/daktari/sys/ |
H A D | daktari.h | 95 #define MC_BASE2UM(base) (((base) & 0x1fffffu) << MC_UM_SHIFT) argument
|
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | sparse.c | 281 struct symbol *base; in list_compound_symbol() local 293 base = sym->ctype.base_type; in list_compound_symbol() 295 base = sym; in list_compound_symbol() 296 switch (base->type) { in list_compound_symbol()
|
/illumos-gate/usr/src/cmd/lp/include/ |
H A D | lp.h | 588 #define next_dir(base, ptr) next_x(base, ptr, S_IFDIR) argument 589 #define next_file(base, ptr) next_x(base, ptr, S_IFREG) argument
|
/illumos-gate/usr/src/boot/sys/amd64/include/pc/ |
H A D | bios.h | 49 u_int64_t base; member 56 u_int64_t base; member
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | memlist.c | 179 more_pages(uint64_t base, uint64_t len) in more_pages() argument 183 kphysm_add(base, len, 1); in more_pages() 187 less_pages(uint64_t base, uint64_t len) in less_pages() argument 189 uint64_t pa, end = base + len; in less_pages() 192 for (pa = base; pa < end; pa += PAGESIZE) { in less_pages()
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/ |
H A D | oce_rx.c | 178 rqbd->mp = desballoc((uchar_t *)(dbuf->base), in oce_rqb_ctor() 188 rqbd->mp->b_rptr = (uchar_t *)rqbd->rqb->base + OCE_RQE_BUF_HEADROOM; in oce_rqb_ctor() 358 rqbd->mp = desballoc((uchar_t *)rqbd->rqb->base, in oce_rx() 365 (uchar_t *)rqbd->rqb->base + OCE_RQE_BUF_HEADROOM; in oce_rx() 430 bcopy(rqbd->rqb->base + OCE_RQE_BUF_HEADROOM, rptr, frag_size); in oce_rx_bcopy() 592 rqbd->mp = desballoc((uchar_t *)rqbd->rqb->base, in oce_rx_pool_free() 597 (uchar_t *)rqbd->rqb->base + OCE_RQE_BUF_HEADROOM; in oce_rx_pool_free()
|
/illumos-gate/usr/src/lib/libsqlite/src/ |
H A D | printf.c | 89 etByte base; /* The base for radix conversion */ member 349 if( longvalue==0 && infop->base==8 ) flag_alternateform = 0; in vxprintf() 365 register int base; in vxprintf() local 367 base = infop->base; in vxprintf() 369 *(--bufpt) = cset[longvalue%base]; in vxprintf() 370 longvalue = longvalue/base; in vxprintf()
|
/illumos-gate/usr/src/cmd/sendmail/libsm/ |
H A D | vfprintf.c | 191 enum { OCT, DEC, HEX } base;/* base for [diouxX] conversion */ local 489 base = DEC; 571 base = OCT; 600 base = HEX; 636 base = DEC; 644 base = HEX; 676 switch (base)
|
/illumos-gate/usr/src/uts/sun4v/os/ |
H A D | memseg.c | 75 memseg_alloc_meta(pfn_t base, pgcnt_t npgs, void **ptp, pgcnt_t *metap) in memseg_alloc_meta() argument 86 if ((base + npgs) * sizeof (page_t) > ppvm_size) in memseg_alloc_meta() 89 opp = pp = ppvm_base + base; in memseg_alloc_meta()
|
/illumos-gate/usr/src/uts/common/io/i40e/core/ |
H A D | i40e_hmc.h | 51 u64 base; /* base addr in FPM */ member 190 fpm_addr = (hmc_info)->hmc_obj[(type)].base + \ 214 fpm_adr = (hmc_info)->hmc_obj[(type)].base + \
|