HomeSort by: relevance | last modified time | path
    Searched defs:pv (Results 1 - 25 of 40) sorted by relevancy

1 2

  /src/sys/arch/arm/arm32/
arm32_boot.c 256 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local in function:initarm_common
257 paddr_t start = atop(pv->pv_pa);
258 const paddr_t end = start + atop(pv->pv_size);
262 pv->pv_pa, pv->pv_pa + pv->pv_size);
arm32_kvminit.c 213 pv_addr_t *pv = bmi->bmi_freeblocks; local in function:arm32_bootmem_init
282 pv->pv_pa = bmi->bmi_kernelend;
283 pv->pv_va = KERN_PHYSTOV(pv->pv_pa);
284 pv->pv_size = bmi->bmi_end - bmi->bmi_kernelend;
285 bmi->bmi_freepages += pv->pv_size / PAGE_SIZE;
287 __func__, pv->pv_size / PAGE_SIZE, pv->pv_pa,
288 pv->pv_pa + pv->pv_size - 1, pv->pv_va)
822 pv_addr_t *pv = SLIST_FIRST(&bmi->bmi_chunks); local in function:arm32_kernel_vm_init
    [all...]
  /src/usr.bin/rump_dhcpclient/
bpf.c 59 struct bpf_version pv; local in function:open_socket
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 in function:_kvm_sun2_kvatop
162 pte = pv->pmeg[sme][ptenum];
kvm_sun3.c 137 struct private_vmstate *pv = v->private; local in function:_kvm_sun3_kvatop
162 pte = pv->pmeg[sme][ptenum];
  /src/tests/usr.bin/xlint/lint1/
gcc.c 106 static unsigned long long v, *pv; local in function:atomic_functions
107 v = __atomic_load_n(pv, 0);
108 v = __atomic_exchange_n(pv, 0, 0);
109 v = __atomic_add_fetch(pv, 0, 0);
110 v = __atomic_sub_fetch(pv, 0, 0);
111 v = __atomic_and_fetch(pv, 0, 0);
112 v = __atomic_xor_fetch(pv, 0, 0);
113 v = __atomic_or_fetch(pv, 0, 0);
114 v = __atomic_nand_fetch(pv, 0, 0);
115 v = __atomic_fetch_add(pv, 0, 0)
    [all...]
  /src/bin/csh/
sem.c 68 int pv[2], pid; local in function:execute
398 execute(t->t_dcar, wanttty, pipein, pv);
403 execute(t->t_dcdr, wanttty, pv, pipeout);
487 Char **pv; local in function:splicepipe
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 in function:doexec
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 in function:dohash
510 Char **pv, *sav; local in function:iscommand
701 Char **pv; local in function:tellmewhat
    [all...]
  /src/sys/arch/cats/cats/
cats_machdep.c 385 pv_addr_t * const pv = &bmi->bmi_freeblocks[i]; local in function:initarm
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 in function:doit
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/vax/include/
pmap.h 204 const struct pv_entry * const pv = pmap_pg_to_pv(pg); local in function:pmap_is_referenced
206 return (pv->pv_attr & PG_V) != 0;
212 struct pv_entry * const pv = pmap_pg_to_pv(pg); local in function:pmap_page_protect
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 in function:nouveau_hw_fix_bad_vpll
    [all...]
nouveau_dispnv04_crtc.c 126 struct nvkm_pll_vals *pv = &regp->pllvals; local in function:nv_crtc_calc_state_ext
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 in function:nv04_devinit_pll_set
    [all...]
  /src/sys/arch/aarch64/aarch64/
pmap_machdep.c 285 const pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_map_poolpage
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 in function:pmap_md_unmap_poolpage
317 pv->pv_va = va;
319 KASSERT(pv->pv_pmap == NULL);
320 KASSERT(pv->pv_next == NULL);
  /src/libexec/rshd/
rshd.c 256 int cc, pv[2], pid, s = -1; /* XXX gcc */ local in function:doit
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/powerpc/powerpc/
db_interface.c 116 { DDB_ADD_CMD("pv", db_ppc4xx_pv, 0,
557 struct pv_entry *pv; local in function:db_ppc4xx_pv
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/sys/arch/mips/mips/
pmap_machdep.c 180 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_map_ephemeral_page
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 in function:pmap_md_unmap_ephemeral_page
286 || (pv->pv_pmap != NULL
287 && mips_cache_badalias(pv->pv_va, va)))
707 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_page_syncicache
738 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_map_poolpage
775 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_unmap_poolpage
948 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_vca_add
1057 pv_entry_t pv = &mdpg->mdpg_first; local in function:pmap_md_vca_remove
    [all...]
  /src/bin/ksh/
exec.c 83 int pv[2]; local in function:execute
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...]
eval.c 880 int ofd1, pv[2]; local in function:comsub
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]);
  /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 in function:__pmap_pv_enter
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 in function:__pmap_pv_remove
706 struct pv_entry *pv; local in function:pmap_page_protect
810 struct pv_entry *pv; local in function:pmap_clear_reference
853 struct pv_entry *pv; local in function:pmap_clear_modify
    [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 in function:pv_alloc
588 pv = pool_get(&pmap_pventry_pool, PR_WAITOK);
589 memset(pv, 0, sizeof(struct pv_entry))
604 struct pv_entry *pv; local in function:pv_get
680 struct pv_entry *pv, *ppv; local in function:pmap_fault
870 struct pv_entry *pv; local in function:pmap_update_page
889 struct pv_entry *pv, *ppv; local in function:pmap_do_enter
968 struct pv_entry *pv, *npv; local in function:pv_release
1006 struct pv_entry *pv; local in function:pmap_remove
1059 struct pv_entry *pv; local in function:pmap_protect
1094 struct pv_entry *pv; local in function:pmap_unwire
1118 struct pv_entry *pv; local in function:pmap_extract
1194 struct pv_entry *pv; local in function:pmap_deactivate
1290 struct pv_entry *pv, *npv; local in function:pmap_page_protect
1340 struct pv_entry *pv; local in function:pmap_clear_modify
    [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 in function:pmap_pv_alloc
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 in function:pmap_pv_remove
1267 struct pv_entry *pv, *npv; local in function:pmap_destroy
    [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 in function:rmpage
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 in function:pmap_enter
1378 struct pv_entry *pv; local in function:pmap_simulref
1433 struct pv_entry *pv = pmap_pg_to_pv(pg); local in function:pmap_clear_reference
1465 struct pv_entry *pv = pmap_pg_to_pv(pg); local in function:pmap_is_modified
1491 struct pv_entry *pv = pmap_pg_to_pv(pg); local in function:pmap_clear_modify
1729 struct pv_entry *pv; local in function:more_pventries
    [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 in function:pmap_init
706 struct pv_entry *pv, *npv; local in function:pmap_enter_pv
752 struct pv_entry *pv, *npv; local in function:pmap_remove_pv
892 struct pv_entry *pv; local in function:pmap_unwire
1100 struct pv_entry *pvh, *pv, *npv; local in function:pmap_page_protect
    [all...]

Completed in 26 milliseconds

1 2