Searched defs:phys (Results 1 - 25 of 49) sorted by relevance

12

/illumos-gate/usr/src/uts/i86xpv/sys/
H A Dcpr_impl.h49 cpr_ext phys; member in struct:cpr_map_info
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dmachdep.c55 unsigned long long phys = 0; local
75 if (prom_retain("OBPnvram", PAGESIZE, PAGESIZE, &phys) != 0) {
80 printf("retained OBPnvram page at 0x%llx\n", phys);
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dsegoff.h30 uint32_t phys = virt_to_phys ( ptr ); local
31 if ( phys > 0xfffff ) {
34 return phys >> 4;
H A Depic100.c84 static signed char phys[4]; /* MII device addresses. */ variable
184 for (phy = 0, phy_idx = 0; phy < 32 && phy_idx < sizeof(phys); phy++) {
188 phys[phy_idx++] = phy;
199 phys[0] = 3;
239 mii_reg5 = mii_read(phys[0], 5);
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathcanon.c57 char* phys; local
67 phys = path;
98 if (stat(phys, &st))
127 if (x = pathnext(phys, s - (*s != 0), &visits))
151 dots = pathgetlink(phys, buf, sizeof(buf));
179 if (stat(phys, &st))
/illumos-gate/usr/src/uts/i86pc/io/vmm/
H A Dvmm_lapic.c119 bool phys; local
140 phys = ((addr & (MSI_X86_ADDR_RH | MSI_X86_ADDR_LOG)) !=
146 phys ? "physical" : "logical", dest, vec);
148 vlapic_deliver_intr(vm, LAPIC_TRIG_EDGE, dest, phys, delmode, vec);
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dcprboot.c325 * virt and phys pages, and creates mappings with a "map" request;
329 * to solve the "map" problem, we just reserve virt and phys pages and
345 physaddr_t phys, dst_phys; local
369 * alloc virt and phys space with 512K alignment;
375 phys = 0;
376 err = cb_alloc(alsize, MMU_PAGESIZE512K, &sfile.buf, &phys);
378 " virt 0x%p, phys 0x%llx\n",
379 str, alsize, sfile.size, (void *)sfile.buf, phys));
387 * record low and high phys page numbers for sfile.buf
389 sfile.low_ppn = ADDR_TO_PN(phys);
[all...]
H A Dbitmap.c219 * reserve virt range, find available phys pages,
220 * and map-in each phys starting at vaddr
226 physaddr_t phys; local
242 * map virt page to free phys
245 phys = PN_TO_ADDR(ppn);
247 err = prom_map_phys(-1, MMU_PAGESIZE, virt, phys);
249 prom_printf(" map virt 0x%p, phys 0x%llx, "
250 "ppn 0x%x, ret %d\n", (void *)virt, phys, ppn, err);
365 * since kernel phys pages span most of the installed memory range,
368 * of buf phys pag
419 physaddr_t phys; local
[all...]
H A Dutil.c220 * translate vaddr to phys page number
236 * unmap virt, then map virt to new phys;
240 prom_remap(size_t size, caddr_t virt, physaddr_t phys) argument
257 ci[7] = p1275_ull2cell_low(phys); /* remap arg2 */
271 * used for replacing a virt->phys mapping in one promif call;
280 ": remap ( phys.lo virt size -- )"
281 " 2dup unmap ( phys.lo virt size )"
290 * allocate virt and phys space without any mapping;
291 * stores virt and phys addrs at *vap and *pap
296 physaddr_t phys; local
[all...]
/illumos-gate/usr/src/uts/common/sys/
H A Dramdisk.h164 * is a (corresponding) number of {phys,size} pairs.
173 uint64_t phys; /* Phys addr of range */ member in struct:__anon8845
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcpr_impl.h70 cpr_ext phys; member in struct:cpr_map_info
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap.c121 int phys; local
154 phys = 1;
157 phys = 0;
173 if (phys) {
240 if (phys != 0 && (a->target = ap_logid(a, a->path)) == NULL) {
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c316 scsa1394_sbp2_logout(scsa1394_state_t *sp, int lun, boolean_t phys) argument
322 (void) sbp2_lun_logout(lp->l_lun, &lp->l_ses, &berr, phys);
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dbd_chain.h82 /* returns the phys addr of the page of given page_idx. (page_idx >= 0) */
195 lm_address_t mem_phys, /* phys addr of buffer */
267 lm_address_t mem_phys, /* phys addr of buffer */
329 IN lm_address_t buf_base_phy, /* phys addr of the pre-allocated buffer */
330 IN lm_address_t *pbl_phys_table, /* ptr to caller pre-allocated buffer of phys pbl */
372 lm_address_t mem_phys, /* phys addr of buffer */
374 lm_address_t *pbl_phys_table, /* ptr to caller pre-allocated buffer of phys pbl */
455 * - phys is initialized with the physical address of the current page
459 lm_address_t * phys,
472 phys
457 lm_bd_chain_incr_bd( lm_bd_chain_t * bd_chain, lm_address_t * phys, void ** virt, u16_t * bd_idx) argument
[all...]
/illumos-gate/usr/src/cmd/diskinfo/
H A Ddiskinfo.c244 di_phys_t phys; local
317 bzero(&phys, sizeof (phys));
318 phys.dp_dev = device;
319 populate_physical(hp, &phys);
340 phys.dp_chassis, phys.dp_slot);
341 } else if (phys.dp_slotname != NULL && phys.dp_chassis != -1) {
343 "[%d] %s", phys
[all...]
/illumos-gate/usr/src/cmd/bhyve/
H A Dvirtio.c177 uint64_t phys; local
183 phys = (uint64_t)pfn << VRING_PFN;
185 base = paddr_guest2host(vs->vs_pi->pi_vmctx, phys, size);
/illumos-gate/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_usb.h84 char *phys; member in struct:__anon2564
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/common/
H A Dcfga_cvt.c74 static scfga_ret_t drv_to_dyncomp(di_node_t node, const char *phys,
155 pmt.phys = (char *)hba_phys;
159 ret = walk_tree(pmt.phys, &pmt, DINFOMINOR | DINFOPROP, &u,
694 drv_to_dyncomp(di_node_t node, const char *phys, char **dyncompp, int *l_errnop) argument
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dhotplug_mgr.c133 char phys[MAXPATHLEN]; local
154 (void) strcpy(phys, apid);
155 *strstr(phys, "::") = '\0';
156 (void) snprintf(dev_phys, MAXPATHLEN, "/devices%s", phys);
167 phys, c, t, d);
208 * /devices to the phys id; to use it, we must
/illumos-gate/usr/src/uts/i86pc/io/vmm/io/
H A Dvioapic.c117 bool level, phys; local
133 phys = ((low & IOART_DESTMOD) == IOART_DESTPHY);
141 vlapic_deliver_intr(vioapic->vm, level, dest, phys, delmode, vector);
/illumos-gate/usr/src/lib/libshell/common/edit/
H A Dedit.c1139 Edpos_t ed_curpos(Edit_t *ep,genchar *phys, int off, int cur, Edpos_t curpos) argument
1141 register genchar *sp=phys;
1287 int ed_virt_to_phys(Edit_t *ep,genchar *virt,genchar *phys,int cur,int voff,int poff) argument
1290 register genchar *dp = phys;
1293 genchar *dpmax = phys+MAXLINE;
1300 r = dp - phys;
1324 c = dp-phys;
1339 r = dp - phys;
1346 ep->e_peol = dp-phys;
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dsbp2.c653 sbp2_lun_logout(sbp2_lun_t *lp, sbp2_ses_t **sp, int *berr, boolean_t phys) argument
663 if (phys) {
/illumos-gate/usr/src/uts/intel/io/dnet/
H A Ddnet_mii.h166 struct phydata *phys[32]; /* PHY Information indexed by address */ member in struct:mii_info
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_fcio.h204 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_EQ_DESC
223 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_CQ_DESC
244 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_WQ_DESC
262 uint32_t phys; /* specifies physical buffer pointer */ member in struct:FCIO_RQ_DESC
/illumos-gate/usr/src/boot/lib/libstand/
H A Dnandfs.c811 nandfs_read_blk(struct nandfs *fs, nandfs_daddr_t blknr, void *buf, int phys) argument
815 pblknr = (phys ? blknr : nandfs_vtop(fs, blknr));
852 int phys)
863 if (nandfs_read_blk(fs, blknr, map, phys)) {
880 nandfs_lbn_t lblknr, nandfs_daddr_t *vblknr, int phys)
926 map = nandfs_get_map(fs, node, ind_block_num, phys);
851 nandfs_get_map(struct nandfs *fs, struct nandfs_node *node, nandfs_daddr_t blknr, int phys) argument
879 nandfs_bmap_lookup(struct nandfs *fs, struct nandfs_node *node, nandfs_lbn_t lblknr, nandfs_daddr_t *vblknr, int phys) argument

Completed in 91 milliseconds

12