| /src/sys/arch/arm/arm32/ |
| arm32_boot.c | 253 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local 254 paddr_t start = atop(pv->pv_pa); 255 const paddr_t end = start + atop(pv->pv_size); 259 pv->pv_pa, pv->pv_pa + pv->pv_size);
|
| arm32_kvminit.c | 210 pv_addr_t *pv = bmi->bmi_freeblocks; local 279 pv->pv_pa = bmi->bmi_kernelend; 280 pv->pv_va = KERN_PHYSTOV(pv->pv_pa); 281 pv->pv_size = bmi->bmi_end - bmi->bmi_kernelend; 282 bmi->bmi_freepages += pv->pv_size / PAGE_SIZE; 284 __func__, pv->pv_size / PAGE_SIZE, pv->pv_pa, 285 pv->pv_pa + pv->pv_size - 1, pv->pv_va) 819 pv_addr_t *pv = SLIST_FIRST(&bmi->bmi_chunks); local [all...] |
| /src/usr.bin/rump_dhcpclient/ |
| bpf.c | 59 struct bpf_version pv; local 81 if (rump_sys_ioctl(fd, BIOCVERSION, &pv) == -1) 83 if (pv.bv_major != BPF_MAJOR_VERSION || 84 pv.bv_minor < BPF_MINOR_VERSION) {
|
| /src/lib/libkvm/ |
| kvm_sun2.c | 137 struct private_vmstate *pv = v->private; local 162 pte = pv->pmeg[sme][ptenum];
|
| kvm_sun3.c | 137 struct private_vmstate *pv = v->private; local 162 pte = pv->pmeg[sme][ptenum];
|
| /src/bin/csh/ |
| sem.c | 68 int pv[2], pid; local 398 execute(t->t_dcar, wanttty, pipein, pv); 403 execute(t->t_dcdr, wanttty, pv, pipeout); 487 Char **pv; local 494 pv = globall(blk); 495 if (pv == NULL) { 502 if (pv[1] != NULL) { /* we need to fix the command vector */ 503 Char **av = blkspl(t->t_dcom, &pv[1]); 508 blk[0] = pv[0]; 509 free(pv); [all...] |
| exec.c | 114 Char *blk[2], **av, *dp, **pv, *sav; local 129 pv = globall(blk); 130 if (pv == 0) { 137 pv = saveblk(blk); 139 trim(pv); 142 expath = Strsave(pv[0]); 147 blkfree(pv); 161 blkfree(pv); 171 t->t_dcom = blkspl(pv, av); 172 free(pv); 444 Char **pv; local 510 Char **pv, *sav; local 701 Char **pv; local [all...] |
| /src/sys/arch/cats/cats/ |
| cats_machdep.c | 385 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local 386 paddr_t start = pv->pv_pa; 387 paddr_t end = pv->pv_pa + pv->pv_size;
|
| /src/libexec/rexecd/ |
| rexecd.c | 153 int pv[2], pid, cc; local 268 if (pipe(pv) < 0 || (pid = fork()) == -1) { 282 (void)close(pv[1]); 284 fds[1].fd = pv[0]; 286 if (ioctl(pv[1], FIONBIO, (char *)&one) < 0) 292 (void)close(pv[0]); 302 cc = read(pv[0], buf, sizeof (buf)); 314 (void)close(pv[0]); 315 if (dup2(pv[1], STDERR_FILENO) < 0) {
|
| /src/sys/arch/aarch64/aarch64/ |
| pmap_machdep.c | 285 const pv_entry_t pv = &mdpg->mdpg_first; local 286 const vaddr_t last_va = trunc_page(pv->pv_va); 289 KASSERT(pv->pv_pmap == NULL); 290 KASSERT(pv->pv_next == NULL); 293 pv->pv_va = va; 314 const pv_entry_t pv = &mdpg->mdpg_first; local 317 pv->pv_va = va; 319 KASSERT(pv->pv_pmap == NULL); 320 KASSERT(pv->pv_next == NULL);
|
| /src/sys/arch/vax/include/ |
| pmap.h | 204 const struct pv_entry * const pv = pmap_pg_to_pv(pg); local 206 return (pv->pv_attr & PG_V) != 0; 212 struct pv_entry * const pv = pmap_pg_to_pv(pg); local 214 if (pv->pv_pmap != NULL || pv->pv_next != NULL) 215 pmap_page_protect_long(pv, prot);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_hw.c | 209 nouveau_hw_pllvals_to_clk(struct nvkm_pll_vals *pv) 212 if (!pv->M1 || !pv->M2) 215 return pv->N1 * pv->N2 * pv->refclk / (pv->M1 * pv->M2) >> pv->log2P; 268 struct nvkm_pll_vals pv; local [all...] |
| nouveau_dispnv04_crtc.c | 126 struct nvkm_pll_vals *pv = ®p->pllvals; local 134 pv->NM2 = 0; 150 if (!clk->pll_calc(clk, &pll_lim, dot_clock, pv)) 164 if (pv->NM2) 166 pv->N1, pv->N2, pv->M1, pv->M2, pv->log2P); 169 pv->N1, pv->M1, pv->log2P) [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/devinit/ |
| nouveau_nvkm_subdev_devinit_nv04.c | 149 struct nvkm_pll_vals *pv) 155 uint32_t pll = (oldpll & 0xfff80000) | pv->log2P << 16 | pv->NM1; 169 if (oldM && pv->M1 && (oldN / oldM < pv->N1 / pv->M1)) 171 nvkm_wr32(device, reg, pv->log2P << 16 | (oldpll & 0xffff)); 174 nvkm_wr32(device, reg, (oldpll & 0xffff0000) | pv->NM1); 204 struct nvkm_pll_vals *pv) 212 uint32_t pll1 = (oldpll1 & 0xfff80000) | pv->log2P << 16 | pv->NM1 365 struct nvkm_pll_vals pv; local [all...] |
| /src/libexec/rshd/ |
| rshd.c | 256 int cc, pv[2], pid, s = -1; /* XXX gcc */ local 560 if (pipe(pv) < 0) 571 (void)close(pv[1]); 575 set[1].fd = pv[0]; 577 ioctl(pv[0], FIONBIO, (char *)&one); 594 cc = read(pv[0], buf, sizeof(buf)); 608 (void)close(pv[0]); 609 (void)dup2(pv[1], STDERR_FILENO); 610 close(pv[1]);
|
| /src/sys/arch/mips/mips/ |
| pmap_machdep.c | 180 pv_entry_t pv = &mdpg->mdpg_first; local 189 if (!MIPS_CACHE_VIRTUAL_ALIAS || !mips_cache_badalias(pv->pv_va, pa)) { 219 ? pv->pv_va 246 && mips_cache_badalias(pv->pv_va, va)) { 247 register_t ova = (intptr_t)trunc_page(pv->pv_va); 252 if (pv->pv_pmap == NULL) 253 pv->pv_va = va; 270 pv_entry_t pv = &mdpg->mdpg_first; local 286 || (pv->pv_pmap != NULL 287 && mips_cache_badalias(pv->pv_va, va))) 707 pv_entry_t pv = &mdpg->mdpg_first; local 738 pv_entry_t pv = &mdpg->mdpg_first; local 775 pv_entry_t pv = &mdpg->mdpg_first; local 948 pv_entry_t pv = &mdpg->mdpg_first; local 1057 pv_entry_t pv = &mdpg->mdpg_first; local [all...] |
| /src/sys/arch/powerpc/powerpc/ |
| db_interface.c | 116 { DDB_ADD_CMD("pv", db_ppc4xx_pv, 0, 557 struct pv_entry *pv; local 560 db_printf("pv: <pa>\n"); 563 pv = pa_to_pv(addr); 564 db_printf("pv at %p\n", pv); 565 while (pv && pv->pv_pm) { 566 db_printf("next %p va %p pmap %p\n", pv->pv_next, 567 (void *)pv->pv_va, pv->pv_pm) [all...] |
| /src/bin/ksh/ |
| eval.c | 880 int ofd1, pv[2]; local 881 openpipe(pv); 882 shf = shf_fdopen(pv[0], SHF_RD, (struct shf *) 0); 884 if (pv[1] != 1) { 885 ksh_dup2(pv[1], 1, false); 886 close(pv[1]);
|
| exec.c | 83 int pv[2]; local 173 openpipe(pv); 174 (void) ksh_dup2(pv[1], 1, false); /* stdout of curr */ 175 /* Let exchild() close pv[0] in child 180 exchild(t->left, flags|XPIPEO|XCCLOSE, pv[0]); 181 (void) ksh_dup2(pv[0], 0, false); /* stdin of next */ 182 closepipe(pv); 231 openpipe(pv); 232 if (pv[0] != 0) { 233 ksh_dup2(pv[0], 0, false) [all...] |
| /src/sys/arch/sh3/sh3/ |
| pmap.c | 79 #define __pmap_pv_free(pv) pool_put(&__pmap_pv_pool, (pv)) 371 panic("%s: cannot allocate pv", __func__); 472 struct pv_entry *pv; local 488 SLIST_FOREACH(pv, &pvh->pvh_head, pv_link) { 490 sh_cache_indexof(pv->pv_va)) { 491 pmap_remove(pv->pv_pmap, pv->pv_va, 492 pv->pv_va + PAGE_SIZE); 498 /* Register pv map * 552 struct pv_entry *pv; local 706 struct pv_entry *pv; local 810 struct pv_entry *pv; local 853 struct pv_entry *pv; local [all...] |
| /src/sys/arch/hppa/hppa/ |
| pmap.c | 574 * while holding the PV head lock, to know that the 576 * If that can't be had, drop the PV head lock, wait 694 struct pv_entry *pv; local 696 pv = pool_get(&pmap_pv_pool, PR_NOWAIT); 698 return (pv); 702 pmap_pv_free(struct pv_entry *pv) 705 if (pv->pv_ptp) 706 pmap_pde_release(pv->pv_pmap, pv->pv_va & PV_VAMASK, 707 pv->pv_ptp) 741 struct pv_entry **pve, *pv; local 1267 struct pv_entry *pv, *npv; local [all...] |
| /src/sys/arch/powerpc/ibm4xx/ |
| pmap.c | 157 #define PV_WIRE(pv) ((pv)->pv_va |= PV_WIRED) 158 #define PV_UNWIRE(pv) ((pv)->pv_va &= ~PV_WIRED) 159 #define PV_ISWIRED(pv) ((pv)->pv_va & PV_WIRED) 160 #define PV_VA(pv) ((pv)->pv_va & ~PV_WIRED) 161 #define PV_CMPVA(va,pv) (!(PV_VA(pv) ^ (va)) 465 struct pv_entry *pv; local 706 struct pv_entry *pv, *npv; local 752 struct pv_entry *pv, *npv; local 892 struct pv_entry *pv; local 1100 struct pv_entry *pvh, *pv, *npv; local [all...] |
| /src/sys/arch/usermode/usermode/ |
| pmap.c | 112 static void pmap_page_activate(struct pv_entry *pv); 113 static void pmap_page_deactivate(struct pv_entry *pv); 114 static void pv_update(struct pv_entry *pv); 120 static void pv_free(struct pv_entry *pv); 302 /* calculate pv table size */ 319 /* claim pv table */ 327 panic("pmap_bootstrap: can't map in pv table\n"); 585 struct pv_entry *pv; local 588 pv = pool_get(&pmap_pventry_pool, PR_WAITOK); 589 memset(pv, 0, sizeof(struct pv_entry)) 604 struct pv_entry *pv; local 680 struct pv_entry *pv, *ppv; local 870 struct pv_entry *pv; local 889 struct pv_entry *pv, *ppv; local 968 struct pv_entry *pv, *npv; local 1006 struct pv_entry *pv; local 1059 struct pv_entry *pv; local 1094 struct pv_entry *pv; local 1118 struct pv_entry *pv; local 1194 struct pv_entry *pv; local 1290 struct pv_entry *pv, *npv; local 1340 struct pv_entry *pv; local [all...] |
| /src/sys/arch/vax/vax/ |
| pmap.c | 511 * Do a page removal from the pv table. A page is identified by its 512 * virtual address combined with its struct pmap in the pv table. 517 struct pv_entry *pv, *pl, *pf; local 532 pv = pv_table + ((br[0] & PG_FRAME) >> LTOHPS); 534 ((pv->pv_attr & PG_M) != PG_M)) 535 pv->pv_attr |= br[0]|br[1]|br[2]|br[3]|br[4]|br[5]|br[6]|br[7]; 537 if (pv->pv_pmap == pm && pv->pv_vaddr == vaddr) { 538 pv->pv_vaddr = NOVADDR; 539 pv->pv_pmap = 0 1059 struct pv_entry *pv, *tmp; local 1378 struct pv_entry *pv; local 1433 struct pv_entry *pv = pmap_pg_to_pv(pg); local 1465 struct pv_entry *pv = pmap_pg_to_pv(pg); local 1491 struct pv_entry *pv = pmap_pg_to_pv(pg); local 1729 struct pv_entry *pv; local [all...] |
| /src/sys/uvm/pmap/ |
| pmap.c | 136 PMAP_COUNTER(remove_pvfirst, "remove pv first"); 137 PMAP_COUNTER(remove_pvsearch, "remove pv search"); 160 PMAP_COUNTER(pvtracked_mappings, "pv-tracked unmanaged pages mapped"); 304 * PV table management functions. 314 #define pmap_pv_free(pv) pool_put(&pmap_pv_pool, (pv)) 459 pv_entry_t pv = &mdpg->mdpg_first; local 470 UVMHIST_LOG(pmaphist, "pv %#jx pv_pmap %#jx", (uintptr_t)pv, 471 (uintptr_t)pv->pv_pmap, 0, 0) 980 pv_entry_t pv = &mdpg->mdpg_first; local 1192 pv_entry_t pv; local 1878 pv_entry_t pv = &mdpg->mdpg_first; local 1987 pv_entry_t pv = &mdpg->mdpg_first; local 2021 pv_entry_t pv, npv, apv; local 2164 pv_entry_t pv, npv; local 2440 pv_entry_t pv = &mdpg->mdpg_first; local [all...] |