Searched refs:pp (Results 1 - 25 of 31) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Detimer.c72 struct per_proc_info *pp; local
74 pp = getPerProc();
76 mytimer = &pp->rtclock_timer; /* Point to the event timer */
81 if (pp->pms.pmsPop <= abstime) {
97 pp->rtcPop = EndOfAllTime; /* any real deadline will be earlier */
108 struct per_proc_info *pp; local
111 pp = getPerProc();
113 mytimer = &pp->rtclock_timer; /* Point to the timer itself */
133 struct per_proc_info *pp; local
135 pp
170 struct per_proc_info *pp = getPerProc(); local
[all...]
H A Dpms.c155 PER_PROC_INFO *pp; local
158 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
160 if(!pmsInstalled || pp->pms.pmsState == pmsParked)
163 nstate = pmsCtls.pmsDefs[pp->pms.pmsState]->pmsDown; /* Get the downward step */
181 PER_PROC_INFO *pp; local
188 pp = GET_PER_PROC_INFO(); /* Get our per_proc */
190 if(!pmsInstalled || pp->pms.pmsState == pmsParked)
196 nstate = pmsCtls.pmsDefs[pp->pms.pmsState]->pmsNext;
204 if ((pp->pms.pmsState == pmsIdle)
242 && (pmsCtls.pmsDefs[pp
266 PER_PROC_INFO *pp; local
348 PER_PROC_INFO *pp; local
395 PER_PROC_INFO *pp; local
[all...]
H A DpmsCPU.c136 struct per_proc_info *pp; local
138 pp = getPerProc(); /* Get our per_proc */
140 if(!((sel ^ pp->pms.pmsCSetCmd) & pmsCPU)) return; /* If there aren't any changes, bail now... */
144 switch(pp->pf.pfPowerModes & pmType) { /* Figure out what type to do */
159 panic("pmsCPUSet: unsupported power manager type: %08X\n", pp->pf.pfPowerModes);
224 struct per_proc_info *pp; local
227 pp = getPerProc(); /* Get our per_proc */
229 switch(pp->pf.pfPowerModes & pmType) { /* Figure out what type to do */
H A Dpmap.c842 register struct phys_entry *pp; local
850 pp = mapping_phys_lookup(pa, &pindex); /* Get physical entry */
851 if (pp == 0) return; /* Leave if not in physical RAM */
855 mp = hw_purge_phys(pp); /* Toss a map */
867 panic("pmap_remove_some_phys: hw_purge_phys failed - pp = %p, pmap = %p, code = %p\n",
868 pp, pmap, mp); /* Handle failure with our usual lack of tact */
871 mp = hw_purge_space(pp, pmap); /* Toss a map */
881 panic("pmap_remove_some_phys: hw_purge_phys failed - pp = %p, pmap = %p, code = %p\n",
882 pp, pmap, mp); /* Handle failure with our usual lack of tact */
948 register struct phys_entry *pp; local
1017 register struct phys_entry *pp; local
1310 struct phys_entry * pp; local
1335 pmap_attribute_cache_sync(ppnum_t pp, vm_size_t size, __unused vm_machine_attribute_t attribute, __unused vm_machine_attribute_val_t* value) argument
1595 struct phys_entry *pp; local
[all...]
H A Dmappings.h406 extern phys_entry_t *mapping_phys_lookup(ppnum_t pp, unsigned int *pindex); /* Finds the physical entry for the page */
423 extern mapping_t *hw_purge_space(struct phys_entry *pp, pmap_t pmap); /* Remove the first mapping for a specific pmap from physentry */
424 extern mapping_t *hw_purge_phys(struct phys_entry *pp); /* Remove the first mapping for a physentry */
425 extern mapping_t *hw_scrub_guest(struct phys_entry *pp, pmap_t pmap); /* Scrub first guest mapping belonging to this host */
427 extern mapping_t *hw_find_space(struct phys_entry *pp, unsigned int space); /* Given a phys_entry, find its first mapping in the specified space */
434 extern unsigned int hw_walk_phys(struct phys_entry *pp, unsigned int preop, unsigned int op, /* Perform function on all mappings on a physical page */
H A Ddb_interface.c255 ppnum_t pp; local
258 pp = pmap_find_phys(pmap, (addr64_t)va);
260 if (pp == 0) return(0); /* Couldn't find it */
262 pa = ((addr64_t)pp << 12) | (addr64_t)(va & 0xFFF); /* Get physical address */
H A Dbat_init.c75 bat.lower.bits.pp = 2; /* read/write access */
139 bat.lower.bits.pp = 2; /* read/write access */
H A Dmappings.c746 * phys_ent *mapping_phys_lookup(ppnum_t pp, unsigned int *pindex) - tests the reference bit of a physical page
754 mapping_phys_lookup(ppnum_t pp, unsigned int *pindex) argument
760 if((pp < pmap_mem_regions[i].mrStart) || (pp > pmap_mem_regions[i].mrEnd)) continue; /* This isn't ours */
764 return &pmap_mem_regions[i].mrPhysTab[pp - pmap_mem_regions[i].mrStart]; /* Return the physent pointer */
1287 ppnum_t pp; local
1298 pp = pmap_find_phys(kernel_pmap, (addr64_t)mbl); /* Get the physical page */
1299 if(!pp) { /* What gives? Where's the page? */
1303 raddr = (addr64_t)pp << 12; /* Convert physical page to physical address */
H A Dtrap.c902 struct per_proc_info *pp;
915 pp = getPerProc(); /* (TEST/DEBUG) */
916 kprintf("ijsave: %016llX\n", pp->ijsave); /* (TEST/DEBUG) */
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/random/
H A Drandomdev.h40 int random_open(dev_t dev, int flags, int devtype, struct proc *pp);
41 int random_close(dev_t dev, int flags, int mode, struct proc *pp);
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/ppc/
H A Dnvram.c44 nvopen(dev, flag, devtype, pp)
47 struct proc *pp;
49 return PEnvopen(dev,flag,devtype,pp);
54 nvclose(dev, flag, mode, pp)
57 struct proc *pp;
59 return PEnvclose(dev,flag,mode,pp);
H A Dcons.c56 consopen(__unused dev_t dev, int flag, int devtype, struct proc *pp) argument
68 error = (*cdevsw[major(device)].d_open)(device, flag, devtype, pp);
76 consclose(__unused dev_t dev, int flag, int mode, struct proc *pp) argument
87 error = (*cdevsw[major(device)].d_close)(device, flag, mode, pp);
H A Dkm.c86 kmopen(dev_t dev, int flag, __unused int devtype, struct proc *pp) argument
110 } else if ((tp->t_state & TS_XCLUDE) && proc_suser(pp))
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Detimer.c74 cpu_data_t *pp; local
77 pp = current_cpu_datap();
80 mytimer = &pp->rtclock_timer; /* Point to the event timer */
84 if (pmCPUGetDeadline(pp) <= abstime) {
86 pmCPUDeadline(pp);
111 cpu_data_t *pp; local
114 pp = current_cpu_datap();
116 mytimer = &pp->rtclock_timer; /* Point to the timer itself */
136 cpu_data_t *pp; local
139 pp
187 cpu_data_t *pp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dfasttrap.c749 fasttrap_tracepoint_t **pp, *tp; local
893 pp = (fasttrap_tracepoint_t **)&bucket->ftb_data;
894 ASSERT(*pp != NULL);
895 while (*pp != tp) {
896 pp = &(*pp)->ftt_next;
897 ASSERT(*pp != NULL);
900 *pp = tp->ftt_next;
1668 fasttrap_probe_t *pp; local
1750 pp
1983 fasttrap_probe_t *pp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dcons.c53 int cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp);
54 int cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp);
72 cnopen(__unused dev_t dev, int flag, int devtype, struct proc *pp) argument
84 error = (*cdevsw[major(device)].d_open)(device, flag, devtype, pp);
92 cnclose(__unused dev_t dev, int flag, int mode, struct proc *pp) argument
103 error = (*cdevsw[major(device)].d_close)(device, flag, mode, pp);
H A Dkm.c57 int kmopen(dev_t dev, int flag, int devtype, struct proc *pp);
102 struct proc *pp)
126 } else if ((tp->t_state & TS_XCLUDE) && proc_suser(pp))
98 kmopen( dev_t dev, int flag, __unused int devtype, struct proc *pp) argument
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkern_exit.c343 proc_t pp; local
703 pp = proc_parent(p);
704 if (pp->p_flag & P_NOCLDWAIT) {
721 proc_lock(pp);
722 ruadd(&pp->p_stats->p_cru, p->p_ru);
723 proc_unlock(pp);
733 if (pp != initproc) {
734 proc_lock(pp);
735 pp->si_pid = p->p_pid;
736 pp
1600 proc_t pp; local
[all...]
H A Dmach_process.c274 struct proc *pp; local
277 pp = proc_find(t->p_oppid);
278 proc_reparentlocked(t, pp ? pp : initproc, 1, 0);
279 if (pp != PROC_NULL)
280 proc_rele(pp);
H A Dkern_sig.c1530 proc_t pp; local
1811 pp = proc_parentholdref(sig_proc);
1812 stop(sig_proc, pp);
1813 if (( pp != PROC_NULL) && ((pp->p_flag & P_NOCLDSTOP) == 0)) {
1820 pp->si_pid = sig_proc->p_pid;
1827 pp->si_status = WEXITSTATUS(sig_proc->p_xstat);
1829 pp->si_status = W_EXITCODE(signum, signum);
1830 pp->si_code = CLD_STOPPED;
1831 pp
1999 proc_t pp; local
[all...]
H A Duipc_domain.c207 net_add_proto(struct protosw *pp, struct domain *dp) argument
211 { if (pp1->pr_type == pp->pr_type &&
212 pp1->pr_protocol == pp->pr_protocol) {
218 dp->dom_protosw = pp;
220 pp2->pr_next = pp;
222 init_proto(pp);
H A Dkern_proc.c475 proc_t pp; local
481 pp = p->p_pptr;
482 if ((pp == PROC_NULL) || (pp->p_stat == SZOMB) || ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED))) {
487 if ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == P_LIST_CHILDDRSTART) {
488 pp->p_listflag |= P_LIST_CHILDDRWAIT;
489 msleep(&pp->p_childrencnt, proc_list_mlock, 0, "proc_parent", 0);
498 if ((pp->p_listflag & (P_LIST_CHILDDRSTART | P_LIST_CHILDDRAINED)) == 0) {
499 pp
603 proc_t pp; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/
H A Dmemdev.c237 ppnum_t pp; local
288 pp = pmap_find_phys(kernel_pmap, (addr64_t)((unsigned int)vaddr)); /* Get the sink physical address */
289 if(!pp) { /* Not found, what gives? */
292 paddr = (addr64_t)(((addr64_t)pp << 12) | (addr64_t)(vaddr & 4095)); /* Get actual address */
314 pp = pmap_find_phys(kernel_pmap, (addr64_t)((unsigned int)vaddr)); /* Get the source physical address */
315 if(!pp) { /* Not found, what gives? */
318 paddr = (addr64_t)(((addr64_t)pp << 12) | (addr64_t)(vaddr & 4095)); /* Get actual address */
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/
H A Dkdp_vm.c95 ppnum_t pp; local
97 pp = pmap_find_phys(pmap, va);
98 if(!pp) return 0;
100 pa = ((addr64_t)pp << 12) | (va & 0x0000000000000FFFULL);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/
H A Dkdp_vm.c104 ppnum_t pp; local
106 pp = pmap_find_phys(pmap, va); /* Get the page number */
107 if(!pp) return 0; /* Just return if no translation */
109 pa = ((addr64_t)pp << 12) | (va & 0x0000000000000FFFULL); /* Shove in the page offset */

Completed in 98 milliseconds

12