p                 337 altq/altq_hfsc.c 	struct hfsc_class *cl, *p;
p                 480 altq/altq_hfsc.c 		if ((p = parent->cl_children) == NULL)
p                 483 altq/altq_hfsc.c 			while (p->cl_siblings != NULL)
p                 484 altq/altq_hfsc.c 				p = p->cl_siblings;
p                 485 altq/altq_hfsc.c 			p->cl_siblings = cl;
p                 536 altq/altq_hfsc.c 		struct hfsc_class *p = cl->cl_parent->cl_children;
p                 538 altq/altq_hfsc.c 		if (p == cl)
p                 541 altq/altq_hfsc.c 			if (p->cl_siblings == cl) {
p                 542 altq/altq_hfsc.c 				p->cl_siblings = cl->cl_siblings;
p                 545 altq/altq_hfsc.c 		} while ((p = p->cl_siblings) != NULL);
p                 546 altq/altq_hfsc.c 		ASSERT(p != NULL);
p                 901 altq/altq_hfsc.c 	struct hfsc_class *max_cl, *p;
p                 937 altq/altq_hfsc.c 				for (p = cl->cl_parent->cl_children; p != NULL;
p                 938 altq/altq_hfsc.c 				     p = p->cl_siblings)
p                 939 altq/altq_hfsc.c 					p->cl_vtoff += vt;
p                1077 altq/altq_hfsc.c 	struct hfsc_class *p;
p                1085 altq/altq_hfsc.c 	TAILQ_FOREACH(p, cl->cl_actc, cl_actlist) {
p                1086 altq/altq_hfsc.c 		if (p->cl_f == 0) {
p                1090 altq/altq_hfsc.c 		if (p->cl_f < cfmin)
p                1091 altq/altq_hfsc.c 			cfmin = p->cl_f;
p                1125 altq/altq_hfsc.c 	struct hfsc_class *p;
p                1128 altq/altq_hfsc.c 	if ((p = TAILQ_LAST(hif->hif_eligible, _eligible)) == NULL ||
p                1129 altq/altq_hfsc.c 	    p->cl_e <= cl->cl_e) {
p                1134 altq/altq_hfsc.c 	TAILQ_FOREACH(p, hif->hif_eligible, cl_ellist) {
p                1135 altq/altq_hfsc.c 		if (cl->cl_e < p->cl_e) {
p                1136 altq/altq_hfsc.c 			TAILQ_INSERT_BEFORE(p, cl, cl_ellist);
p                1155 altq/altq_hfsc.c 	struct hfsc_class *p, *last;
p                1161 altq/altq_hfsc.c 	p = TAILQ_NEXT(cl, cl_ellist);
p                1162 altq/altq_hfsc.c 	if (p == NULL || cl->cl_e <= p->cl_e)
p                1178 altq/altq_hfsc.c 	while ((p = TAILQ_NEXT(p, cl_ellist)) != NULL) {
p                1179 altq/altq_hfsc.c 		if (cl->cl_e < p->cl_e) {
p                1181 altq/altq_hfsc.c 			TAILQ_INSERT_BEFORE(p, cl, cl_ellist);
p                1192 altq/altq_hfsc.c 	struct hfsc_class *p, *cl = NULL;
p                1194 altq/altq_hfsc.c 	TAILQ_FOREACH(p, head, cl_ellist) {
p                1195 altq/altq_hfsc.c 		if (p->cl_e > cur_time)
p                1197 altq/altq_hfsc.c 		if (cl == NULL || p->cl_d < cl->cl_d)
p                1198 altq/altq_hfsc.c 			cl = p;
p                1226 altq/altq_hfsc.c 	struct hfsc_class *p;
p                1229 altq/altq_hfsc.c 	if ((p = TAILQ_LAST(cl->cl_parent->cl_actc, _active)) == NULL
p                1230 altq/altq_hfsc.c 	    || p->cl_vt <= cl->cl_vt) {
p                1235 altq/altq_hfsc.c 	TAILQ_FOREACH(p, cl->cl_parent->cl_actc, cl_actlist) {
p                1236 altq/altq_hfsc.c 		if (cl->cl_vt < p->cl_vt) {
p                1237 altq/altq_hfsc.c 			TAILQ_INSERT_BEFORE(p, cl, cl_actlist);
p                1253 altq/altq_hfsc.c 	struct hfsc_class *p, *last;
p                1260 altq/altq_hfsc.c 	p = TAILQ_NEXT(cl, cl_actlist);
p                1261 altq/altq_hfsc.c 	if (p == NULL || cl->cl_vt < p->cl_vt)
p                1277 altq/altq_hfsc.c 	while ((p = TAILQ_NEXT(p, cl_actlist)) != NULL) {
p                1278 altq/altq_hfsc.c 		if (cl->cl_vt < p->cl_vt) {
p                1280 altq/altq_hfsc.c 			TAILQ_INSERT_BEFORE(p, cl, cl_actlist);
p                1290 altq/altq_hfsc.c 	struct hfsc_class *p;
p                1292 altq/altq_hfsc.c 	TAILQ_FOREACH(p, cl->cl_actc, cl_actlist) {
p                1293 altq/altq_hfsc.c 		if (p->cl_f <= cur_time)
p                1294 altq/altq_hfsc.c 			return (p);
p                 446 altq/altq_rmclass.c 	rm_class_t	*t = cl, *p;
p                 452 altq/altq_rmclass.c 		p = t->parent_;
p                 453 altq/altq_rmclass.c 		if (p && (t->depth_ >= p->depth_)) {
p                 454 altq/altq_rmclass.c 			p->depth_ = t->depth_ + 1;
p                 455 altq/altq_rmclass.c 			t = p;
p                 473 altq/altq_rmclass.c 	rm_class_t	*p, *t;
p                 475 altq/altq_rmclass.c 	p = cl;
p                 476 altq/altq_rmclass.c 	while (p != NULL) {
p                 477 altq/altq_rmclass.c 		if ((t = p->children_) == NULL) {
p                 478 altq/altq_rmclass.c 			p->depth_ = 0;
p                 488 altq/altq_rmclass.c 			if (p->depth_ == cdepth + 1)
p                 492 altq/altq_rmclass.c 			p->depth_ = cdepth + 1;
p                 495 altq/altq_rmclass.c 		p = p->parent_;
p                 527 altq/altq_rmclass.c 	struct rm_class	*p, *head, *previous;
p                 549 altq/altq_rmclass.c 		p = previous = head;
p                 554 altq/altq_rmclass.c 		} else while (p != NULL) {
p                 555 altq/altq_rmclass.c 			if (p == cl) {
p                 561 altq/altq_rmclass.c 				p = NULL;
p                 563 altq/altq_rmclass.c 				previous = p;
p                 564 altq/altq_rmclass.c 				p = p->next_;
p                 572 altq/altq_rmclass.c 	if ((p = ifd->active_[cl->pri_]) != NULL) {
p                 577 altq/altq_rmclass.c 		if (p != p->peer_) {
p                 578 altq/altq_rmclass.c 			while (p->peer_ != cl)
p                 579 altq/altq_rmclass.c 				p = p->peer_;
p                 580 altq/altq_rmclass.c 			p->peer_ = cl->peer_;
p                 585 altq/altq_rmclass.c 			ASSERT(p == cl);
p                 793 altq/altq_rmclass.c 	rm_class_t	*p, *bp;
p                 797 altq/altq_rmclass.c 			p = bp;
p                 799 altq/altq_rmclass.c 				if (!rmc_satisfied(p, now)) {
p                 800 altq/altq_rmclass.c 					ifd->cutoff_ = p->depth_;
p                 803 altq/altq_rmclass.c 				p = p->peer_;
p                 804 altq/altq_rmclass.c 			} while (p != bp);
p                 818 altq/altq_rmclass.c 	rm_class_t	*p;
p                 831 altq/altq_rmclass.c 		p = cl->children_;
p                 832 altq/altq_rmclass.c 		while (p != NULL) {
p                 833 altq/altq_rmclass.c 			if (!rmc_satisfied(p, now))
p                 835 altq/altq_rmclass.c 			p = p->next_;
p                 851 altq/altq_rmclass.c 	rm_class_t	*p = cl;
p                 897 altq/altq_rmclass.c 			p->overtime_ = *now;
p                 898 altq/altq_rmclass.c 			(p->overlimit)(p, top);
p                 900 altq/altq_rmclass.c 			p->overtime_ = *now;
p                 901 altq/altq_rmclass.c 			(p->overlimit)(p, NULL);
p                 908 altq/altq_rmclass.c 	if (cl != p)
p                1644 altq/altq_rmclass.c 	int	 i, *p;
p                1648 altq/altq_rmclass.c 	p = (int *)&cbqtrace_buffer[counter];
p                1651 altq/altq_rmclass.c 		printf("[0x%x] ", *p++);
p                1652 altq/altq_rmclass.c 		printf("%s: ", rmc_funcname((void *)*p++));
p                1653 altq/altq_rmclass.c 		cp = (char *)p++;
p                1655 altq/altq_rmclass.c 		printf("%d\n",*p++);
p                1657 altq/altq_rmclass.c 		if (p >= (int *)&cbqtrace_buffer[NCBQTRACE])
p                1658 altq/altq_rmclass.c 			p = (int *)cbqtrace_buffer;
p                 493 arch/i386/i386/apm.c 		char *p;
p                 495 arch/i386/i386/apm.c 		case 0:	p = "reserved system";	break;
p                 496 arch/i386/i386/apm.c 		case 1:	p = "reserved device";	break;
p                 497 arch/i386/i386/apm.c 		case 2:	p = "OEM defined";	break;
p                 498 arch/i386/i386/apm.c 		default:p = "reserved";		break;
p                 501 arch/i386/i386/apm.c 		DPRINTF(("apm_handle_event: %s event, code %d\n", p, regs->bx));
p                 954 arch/i386/i386/apm.c apmopen(dev_t dev, int flag, int mode, struct proc *p)
p                 968 arch/i386/i386/apm.c 	    APMDEV(dev), p->p_pid, flag, mode));
p                 999 arch/i386/i386/apm.c apmclose(dev_t dev, int flag, int mode, struct proc *p)
p                1008 arch/i386/i386/apm.c 	DPRINTF(("apmclose: pid %d flag %x mode %x\n", p->p_pid, flag, mode));
p                1024 arch/i386/i386/apm.c apmioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 537 arch/i386/i386/bios.c biosopen(dev_t dev, int flag, int mode, struct proc *p)
p                 550 arch/i386/i386/bios.c biosclose(dev_t dev, int flag, int mode, struct proc *p)
p                 563 arch/i386/i386/bios.c biosioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 621 arch/i386/i386/bios.c     size_t newlen, struct proc *p)
p                 764 arch/i386/i386/bios.c 	char *p, *e;
p                 773 arch/i386/i386/bios.c 	for (p = s; *p == ' '; p++)
p                 778 arch/i386/i386/bios.c 	if (p == s + strlen(s))
p                 782 arch/i386/i386/bios.c 	if (p > s || e < s + strlen(s) - 1) {
p                 783 arch/i386/i386/bios.c 		bcopy(p, s, e-p + 1);
p                 784 arch/i386/i386/bios.c 		s[e - p + 1] = '\0';
p                 798 arch/i386/i386/bios.c 	char *p;
p                 823 arch/i386/i386/bios.c 	if ((p = smbios_get_string(&stbl, sys->vendor, sminfo,
p                 825 arch/i386/i386/bios.c 		sminfop = fixstring(p);
p                 828 arch/i386/i386/bios.c 			if ((p = smbios_get_string(&btbl, board->vendor,
p                 830 arch/i386/i386/bios.c 				sminfop = fixstring(p);
p                 840 arch/i386/i386/bios.c 	if ((p = smbios_get_string(&stbl, sys->product, sminfo,
p                 842 arch/i386/i386/bios.c 		sminfop = fixstring(p);
p                 845 arch/i386/i386/bios.c 			if ((p = smbios_get_string(&btbl, board->product,
p                 847 arch/i386/i386/bios.c 				sminfop = fixstring(p);
p                 859 arch/i386/i386/bios.c 	if ((p = smbios_get_string(&stbl, sys->version, sminfo,
p                 861 arch/i386/i386/bios.c 		sminfop = fixstring(p);
p                 869 arch/i386/i386/bios.c 	if ((p = smbios_get_string(&stbl, sys->serial, sminfo,
p                 871 arch/i386/i386/bios.c 		sminfop = fixstring(p);
p                 218 arch/i386/i386/db_trace.c 		struct proc *p = pfind((pid_t)addr);
p                 219 arch/i386/i386/db_trace.c 		if (p == NULL) {
p                 223 arch/i386/i386/db_trace.c 		frame = (struct i386_frame *)p->p_addr->u_pcb.pcb_ebp;
p                  79 arch/i386/i386/freebsd_machdep.c 	struct proc *p = curproc;
p                  82 arch/i386/i386/freebsd_machdep.c 	struct sigacts *psp = p->p_sigacts;
p                  90 arch/i386/i386/freebsd_machdep.c 	tf = p->p_md.md_regs;
p                 119 arch/i386/i386/freebsd_machdep.c 		frame.sf_sc.sc_eflags = get_vflags(p);
p                 145 arch/i386/i386/freebsd_machdep.c 		sigexit(p, SIGILL);
p                 154 arch/i386/i386/freebsd_machdep.c 	tf->tf_eip = p->p_sigcode;
p                 172 arch/i386/i386/freebsd_machdep.c freebsd_sys_sigreturn(struct proc *p, void *v, register_t *retval)
p                 180 arch/i386/i386/freebsd_machdep.c 	tf = p->p_md.md_regs;
p                 198 arch/i386/i386/freebsd_machdep.c 		set_vflags(p, context.sc_eflags);
p                 230 arch/i386/i386/freebsd_machdep.c 		p->p_sigacts->ps_sigstk.ss_flags |= SS_ONSTACK;
p                 232 arch/i386/i386/freebsd_machdep.c 		p->p_sigacts->ps_sigstk.ss_flags &= ~SS_ONSTACK;
p                 233 arch/i386/i386/freebsd_machdep.c 	p->p_sigmask = context.sc_mask & ~sigcantmask;
p                 557 arch/i386/i386/ioapic.c 	int p, maxlevel, minlevel;
p                 589 arch/i386/i386/ioapic.c 		for (p=0; p<sc->sc_apic_sz; p++) {
p                 593 arch/i386/i386/ioapic.c 			for (q = sc->sc_pins[p].ip_handler; q != NULL;
p                 600 arch/i386/i386/ioapic.c 			apic_vectorset(sc, p, minlevel, maxlevel);
p                 633 arch/i386/i386/ioapic.c 	struct intrhand **p, *q, *ih;
p                 679 arch/i386/i386/ioapic.c 	for (p = &pin->ip_handler; (q = *p) != NULL; p = &q->ih_next) {
p                 692 arch/i386/i386/ioapic.c 	*p = &fakehand;
p                 717 arch/i386/i386/ioapic.c 	*p = ih;
p                 747 arch/i386/i386/ioapic.c 	struct intrhand **p, *q;
p                 762 arch/i386/i386/ioapic.c 	for (p = &pin->ip_handler; (q = *p) != NULL && q != ih;
p                 763 arch/i386/i386/ioapic.c 	     p = &q->ih_next) {
p                 771 arch/i386/i386/ioapic.c 		*p = q->ih_next;
p                 808 arch/i386/i386/ioapic.c 	int p;
p                 811 arch/i386/i386/ioapic.c 		for (p = 0; p < sc->sc_apic_sz; p++) {
p                 812 arch/i386/i386/ioapic.c 			ip = &sc->sc_pins[p];
p                 814 arch/i386/i386/ioapic.c 				ioapic_print_redir(sc, "dump", p);
p                 110 arch/i386/i386/linux_machdep.c 	struct proc *p = curproc;
p                 113 arch/i386/i386/linux_machdep.c 	struct sigacts *psp = p->p_sigacts;
p                 116 arch/i386/i386/linux_machdep.c 	tf = p->p_md.md_regs;
p                 144 arch/i386/i386/linux_machdep.c 		frame.sf_sc.sc_eflags = get_vflags(p);
p                 173 arch/i386/i386/linux_machdep.c 		sigexit(p, SIGILL);
p                 182 arch/i386/i386/linux_machdep.c 	tf->tf_eip = p->p_sigcode;
p                 200 arch/i386/i386/linux_machdep.c linux_sys_sigreturn(struct proc *p, void *v, register_t *retval)
p                 208 arch/i386/i386/linux_machdep.c 	tf = p->p_md.md_regs;
p                 228 arch/i386/i386/linux_machdep.c 		set_vflags(p, context.sc_eflags);
p                 260 arch/i386/i386/linux_machdep.c 	p->p_sigacts->ps_sigstk.ss_flags &= ~SS_ONSTACK;
p                 261 arch/i386/i386/linux_machdep.c 	p->p_sigmask = context.sc_mask & ~sigcantmask;
p                 267 arch/i386/i386/linux_machdep.c linux_sys_rt_sigreturn(struct proc *p, void *v, register_t *retval)
p                 275 arch/i386/i386/linux_machdep.c linux_read_ldt(struct proc *p, struct linux_sys_modify_ldt_args *uap,
p                 286 arch/i386/i386/linux_machdep.c 	sg = stackgap_init(p->p_emul);
p                 297 arch/i386/i386/linux_machdep.c 	if ((error = i386_get_ldt(p, parms, retval)) != 0)
p                 316 arch/i386/i386/linux_machdep.c linux_write_ldt(struct proc *p, struct linux_sys_modify_ldt_args *uap,
p                 336 arch/i386/i386/linux_machdep.c 	sg = stackgap_init(p->p_emul);
p                 365 arch/i386/i386/linux_machdep.c 	if ((error = i386_set_ldt(p, parms, retval)) != 0)
p                 375 arch/i386/i386/linux_machdep.c linux_sys_modify_ldt(struct proc *p, void *v, register_t *retval)
p                 386 arch/i386/i386/linux_machdep.c 		return (linux_read_ldt(p, uap, retval));
p                 389 arch/i386/i386/linux_machdep.c 		return (linux_write_ldt(p, uap, retval));
p                 416 arch/i386/i386/linux_machdep.c linux_machdepioctl(struct proc *p, void *v, register_t *retval)
p                 441 arch/i386/i386/linux_machdep.c 	fdp = p->p_fd;
p                 491 arch/i386/i386/linux_machdep.c 		if ((error = sys_ioctl(p, &bia, retval)))
p                 532 arch/i386/i386/linux_machdep.c 		sg = stackgap_init(p->p_emul);
p                 574 arch/i386/i386/linux_machdep.c 		error = ioctlf(fp, PTIOCLINUX, (caddr_t)&pt, p);
p                 587 arch/i386/i386/linux_machdep.c 	return sys_ioctl(p, &bia, retval);
p                 596 arch/i386/i386/linux_machdep.c linux_sys_iopl(struct proc *p, void *v, register_t *retval)
p                 603 arch/i386/i386/linux_machdep.c 	struct trapframe *fp = p->p_md.md_regs;
p                 605 arch/i386/i386/linux_machdep.c 	if (suser(p, 0) != 0)
p                 619 arch/i386/i386/linux_machdep.c linux_sys_ioperm(struct proc *p, void *v, register_t *retval)
p                 626 arch/i386/i386/linux_machdep.c 	struct trapframe *fp = p->p_md.md_regs;
p                 628 arch/i386/i386/linux_machdep.c 	if (suser(p, 0) != 0)
p                 112 arch/i386/i386/lock_machdep.c rw_cas_486(volatile unsigned long *p, unsigned long o, unsigned long n)
p                 114 arch/i386/i386/lock_machdep.c 	return (i486_atomic_cas_int((u_int *)p, o, n) != o);
p                2138 arch/i386/i386/machdep.c aston(struct proc *p)
p                2141 arch/i386/i386/machdep.c 	if (i386_atomic_testset_i(&p->p_md.md_astpending, 1) == 0 &&
p                2142 arch/i386/i386/machdep.c 	    p->p_cpu != curcpu())
p                2143 arch/i386/i386/machdep.c 		i386_fast_ipi(p->p_cpu, LAPIC_IPI_AST);
p                2145 arch/i386/i386/machdep.c 	p->p_md.md_astpending = 1;
p                2166 arch/i386/i386/machdep.c 	struct proc *p = curproc;
p                2167 arch/i386/i386/machdep.c 	struct trapframe *tf = p->p_md.md_regs;
p                2169 arch/i386/i386/machdep.c 	struct sigacts *psp = p->p_sigacts;
p                2189 arch/i386/i386/machdep.c 	if (p->p_md.md_flags & MDP_USEDFPU) {
p                2213 arch/i386/i386/machdep.c 		frame.sf_sc.sc_eflags = get_vflags(p);
p                2250 arch/i386/i386/machdep.c 		sigexit(p, SIGILL);
p                2261 arch/i386/i386/machdep.c 	tf->tf_eip = p->p_sigcode;
p                2283 arch/i386/i386/machdep.c sys_sigreturn(struct proc *p, void *v, register_t *retval)
p                2291 arch/i386/i386/machdep.c 	tf = p->p_md.md_regs;
p                2311 arch/i386/i386/machdep.c 		set_vflags(p, context.sc_eflags);
p                2344 arch/i386/i386/machdep.c 		p->p_sigacts->ps_sigstk.ss_flags |= SS_ONSTACK;
p                2346 arch/i386/i386/machdep.c 		p->p_sigacts->ps_sigstk.ss_flags &= ~SS_ONSTACK;
p                2347 arch/i386/i386/machdep.c 	p->p_sigmask = context.sc_mask & ~sigcantmask;
p                2521 arch/i386/i386/machdep.c reserve_dumppages(vaddr_t p)
p                2524 arch/i386/i386/machdep.c 	dumpspace = p;
p                2525 arch/i386/i386/machdep.c 	return (p + PAGE_SIZE);
p                2623 arch/i386/i386/machdep.c setregs(struct proc *p, struct exec_package *pack, u_long stack,
p                2626 arch/i386/i386/machdep.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                2627 arch/i386/i386/machdep.c 	struct pmap *pmap = vm_map_pmap(&p->p_vmspace->vm_map);
p                2628 arch/i386/i386/machdep.c 	struct trapframe *tf = p->p_md.md_regs;
p                2633 arch/i386/i386/machdep.c 		npxsave_proc(p, 0);
p                2637 arch/i386/i386/machdep.c 	pmap_ldt_cleanup(p);
p                2660 arch/i386/i386/machdep.c 	p->p_md.md_flags &= ~MDP_USEDFPU;
p                2762 arch/i386/i386/machdep.c 	void *p;
p                2767 arch/i386/i386/machdep.c 	p = (void *)(va + NBPG - 7*sizeof(*idt));
p                2770 arch/i386/i386/machdep.c 	bcopy(idt, p, sizeof(idt_region));
p                2771 arch/i386/i386/machdep.c 	idt = p;
p                3133 arch/i386/i386/machdep.c cpu_exec_aout_makecmds(struct proc *p, struct exec_package *epp)
p                3225 arch/i386/i386/machdep.c 	struct proc *p;
p                3233 arch/i386/i386/machdep.c 	if ((p = ci->ci_curproc) != NULL)
p                3234 arch/i386/i386/machdep.c 		aston(p);
p                3271 arch/i386/i386/machdep.c     size_t newlen, struct proc *p)
p                3288 arch/i386/i386/machdep.c 		    newp, newlen, p);
p                3704 arch/i386/i386/machdep.c     bus_size_t buflen, struct proc *p, int flags)
p                3719 arch/i386/i386/machdep.c 	error = _bus_dmamap_load_buffer(t, map, buf, buflen, p, flags,
p                3780 arch/i386/i386/machdep.c 	struct proc *p = NULL;
p                3797 arch/i386/i386/machdep.c 		p = uio->uio_procp;
p                3799 arch/i386/i386/machdep.c 		if (p == NULL)
p                3816 arch/i386/i386/machdep.c 		    p, flags, &lastaddr, &seg, first);
p                4013 arch/i386/i386/machdep.c     bus_size_t buflen, struct proc *p, int flags, paddr_t *lastaddrp, int *segp,
p                4022 arch/i386/i386/machdep.c 	if (p != NULL)
p                4023 arch/i386/i386/machdep.c 		pmap = p->p_vmspace->vm_map.pmap;
p                  79 arch/i386/i386/mem.c mmopen(dev_t dev, int flag, int mode, struct proc *p)
p                  90 arch/i386/i386/mem.c 	        if (suser(p, 0) != 0 || !allowaperture)
p                 107 arch/i386/i386/mem.c mmclose(dev_t dev, int flag, int mode, struct proc *p)
p                 213 arch/i386/i386/mem.c 	struct proc *p = curproc;	/* XXX */
p                 219 arch/i386/i386/mem.c 		    suser(p, 0) != 0)
p                 253 arch/i386/i386/mem.c mmioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 259 arch/i386/i386/mem.c 		return mem_ioctl(dev, cmd, data, flags, p);
p                 273 arch/i386/i386/mem.c mem_ioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 391 arch/i386/i386/mpbios.c 	const char *p = start;
p                 392 arch/i386/i386/mpbios.c 	const char *end = p + len;
p                 394 arch/i386/i386/mpbios.c 	while (p < end)
p                 395 arch/i386/i386/mpbios.c 		res += *p++;
p                  48 arch/i386/i386/nvram.c int nvramopen(dev_t dev, int flag, int mode, struct proc *p);
p                  49 arch/i386/i386/nvram.c int nvramclose(dev_t dev, int flag, int mode, struct proc *p);
p                  73 arch/i386/i386/nvram.c nvramopen(dev_t dev, int flag, int mode, struct proc *p)
p                  87 arch/i386/i386/nvram.c nvramclose(dev_t dev, int flag, int mode, struct proc *p)
p                  76 arch/i386/i386/pctr.c pctropen(dev_t dev, int oflags, int devtype, struct proc *p)
p                  84 arch/i386/i386/pctr.c pctrclose(dev_t dev, int oflags, int devtype, struct proc *p)
p                 168 arch/i386/i386/pctr.c pctrioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p)
p                1632 arch/i386/i386/pmap.c pmap_ldt_cleanup(struct proc *p)
p                1634 arch/i386/i386/pmap.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                1635 arch/i386/i386/pmap.c 	pmap_t pmap = p->p_vmspace->vm_map.pmap;
p                1675 arch/i386/i386/pmap.c pmap_activate(struct proc *p)
p                1677 arch/i386/i386/pmap.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                1678 arch/i386/i386/pmap.c 	struct pmap *pmap = p->p_vmspace->vm_map.pmap;
p                1690 arch/i386/i386/pmap.c 	if (p == curproc) {
p                1713 arch/i386/i386/pmap.c pmap_deactivate(struct proc *p)
p                1715 arch/i386/i386/pmap.c 	struct pmap *pmap = p->p_vmspace->vm_map.pmap;
p                 214 arch/i386/i386/powernow-k7.c k7pnow_decode_pst(struct k7pnow_cpu_state * cstate, uint8_t *p, int npst)
p                 220 arch/i386/i386/powernow-k7.c 		state.fid = *p++;
p                 221 arch/i386/i386/powernow-k7.c 		state.vid = *p++;
p                 253 arch/i386/i386/powernow-k7.c 	uint8_t *p;
p                 259 arch/i386/i386/powernow-k7.c 	for (p = (u_int8_t *)ISA_HOLE_VADDR(BIOS_START);
p                 260 arch/i386/i386/powernow-k7.c 	    p < (u_int8_t *)ISA_HOLE_VADDR(BIOS_START + BIOS_LEN); p+=
p                 262 arch/i386/i386/powernow-k7.c 		if (memcmp(p, "AMDK7PNOW!", 10) == 0) {
p                 263 arch/i386/i386/powernow-k7.c 			psb = (struct psb_s *)p;
p                 272 arch/i386/i386/powernow-k7.c 			p += sizeof(struct psb_s);
p                 275 arch/i386/i386/powernow-k7.c 				pst = (struct pst_s*) p;
p                 284 arch/i386/i386/powernow-k7.c 					    p + sizeof(struct pst_s),
p                 287 arch/i386/i386/powernow-k7.c 				p += sizeof(struct pst_s) +
p                 275 arch/i386/i386/powernow-k8.c k8pnow_decode_pst(struct k8pnow_cpu_state *cstate, uint8_t *p)
p                 281 arch/i386/i386/powernow-k8.c 		state.fid = *p++;
p                 282 arch/i386/i386/powernow-k8.c 		state.vid = *p++;
p                 309 arch/i386/i386/powernow-k8.c 	uint8_t *p;
p                 312 arch/i386/i386/powernow-k8.c 	for (p = (u_int8_t *)ISA_HOLE_VADDR(BIOS_START);
p                 313 arch/i386/i386/powernow-k8.c 	    p < (u_int8_t *)ISA_HOLE_VADDR(BIOS_START + BIOS_LEN); p +=
p                 315 arch/i386/i386/powernow-k8.c 		if (memcmp(p, "AMDK7PNOW!", 10) == 0) {
p                 316 arch/i386/i386/powernow-k8.c 			psb = (struct psb_s *)p;
p                 325 arch/i386/i386/powernow-k8.c 			p+= sizeof(struct psb_s);
p                 328 arch/i386/i386/powernow-k8.c 				pst = (struct pst_s *) p;
p                 335 arch/i386/i386/powernow-k8.c 					    p+= sizeof (struct pst_s)));
p                 337 arch/i386/i386/powernow-k8.c 				p += sizeof(struct pst_s) + 2
p                  87 arch/i386/i386/process_machdep.c process_frame(struct proc *p)
p                  90 arch/i386/i386/process_machdep.c 	return (p->p_md.md_regs);
p                  94 arch/i386/i386/process_machdep.c process_fpframe(struct proc *p)
p                  97 arch/i386/i386/process_machdep.c 	return (&p->p_addr->u_pcb.pcb_savefpu);
p                 153 arch/i386/i386/process_machdep.c process_read_regs(struct proc *p, struct reg *regs)
p                 155 arch/i386/i386/process_machdep.c 	struct trapframe *tf = process_frame(p);
p                 163 arch/i386/i386/process_machdep.c 		regs->r_eflags = get_vflags(p);
p                 189 arch/i386/i386/process_machdep.c process_read_fpregs(struct proc *p, struct fpreg *regs)
p                 191 arch/i386/i386/process_machdep.c 	union savefpu *frame = process_fpframe(p);
p                 193 arch/i386/i386/process_machdep.c 	if (p->p_md.md_flags & MDP_USEDFPU) {
p                 195 arch/i386/i386/process_machdep.c 		npxsave_proc(p, 1);
p                 213 arch/i386/i386/process_machdep.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 265 arch/i386/i386/process_machdep.c process_write_regs(struct proc *p, struct reg *regs)
p                 267 arch/i386/i386/process_machdep.c 	struct trapframe *tf = process_frame(p);
p                 275 arch/i386/i386/process_machdep.c 		set_vflags(p, regs->r_eflags);
p                 308 arch/i386/i386/process_machdep.c process_write_fpregs(struct proc *p, struct fpreg *regs)
p                 310 arch/i386/i386/process_machdep.c 	union savefpu *frame = process_fpframe(p);
p                 312 arch/i386/i386/process_machdep.c 	if (p->p_md.md_flags & MDP_USEDFPU) {
p                 314 arch/i386/i386/process_machdep.c 		npxsave_proc(p, 0);
p                 317 arch/i386/i386/process_machdep.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 332 arch/i386/i386/process_machdep.c process_read_xmmregs(struct proc *p, struct xmmregs *regs)
p                 334 arch/i386/i386/process_machdep.c 	union savefpu *frame = process_fpframe(p);
p                 339 arch/i386/i386/process_machdep.c 	if (p->p_md.md_flags & MDP_USEDFPU) {
p                 341 arch/i386/i386/process_machdep.c 		npxsave_proc(p, 1);
p                 346 arch/i386/i386/process_machdep.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 354 arch/i386/i386/process_machdep.c process_write_xmmregs(struct proc *p, const struct xmmregs *regs)
p                 356 arch/i386/i386/process_machdep.c 	union savefpu *frame = process_fpframe(p);
p                 361 arch/i386/i386/process_machdep.c 	if (p->p_md.md_flags & MDP_USEDFPU) {
p                 363 arch/i386/i386/process_machdep.c 		npxsave_proc(p, 0);
p                 366 arch/i386/i386/process_machdep.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 373 arch/i386/i386/process_machdep.c process_sstep(struct proc *p, int sstep)
p                 375 arch/i386/i386/process_machdep.c 	struct trapframe *tf = process_frame(p);
p                 386 arch/i386/i386/process_machdep.c process_set_pc(struct proc *p, caddr_t addr)
p                 388 arch/i386/i386/process_machdep.c 	struct trapframe *tf = process_frame(p);
p                  69 arch/i386/i386/procfs_machdep.c 	char featurebuf[256], *p;
p                  71 arch/i386/i386/procfs_machdep.c 	p = featurebuf;
p                  75 arch/i386/i386/procfs_machdep.c 			l = snprintf(p, left, "%s ", i386_features[i]);
p                  81 arch/i386/i386/procfs_machdep.c 			p += l;
p                  87 arch/i386/i386/procfs_machdep.c 	p = buf;
p                  89 arch/i386/i386/procfs_machdep.c 	l = snprintf(p, left,
p                 108 arch/i386/i386/procfs_machdep.c 	p += l;
p                 113 arch/i386/i386/procfs_machdep.c 		l = snprintf(p, left, "%d\n", cpu_id & 15);
p                 115 arch/i386/i386/procfs_machdep.c 		l = snprintf(p, left, "unknown\n");
p                 122 arch/i386/i386/procfs_machdep.c 	p += l;
p                 128 arch/i386/i386/procfs_machdep.c 		l = snprintf(p, left, "cpu MHz\t\t: %d\n",
p                 132 arch/i386/i386/procfs_machdep.c 		l = snprintf(p, left, "cpu MHz\t\t: unknown\n");
p                 139 arch/i386/i386/procfs_machdep.c 	p += l;
p                 143 arch/i386/i386/procfs_machdep.c 	l = snprintf(p, left,
p                 161 arch/i386/i386/procfs_machdep.c 	*len = (p + l) - buf;
p                  62 arch/i386/i386/svr4_machdep.c svr4_getcontext(struct proc *p, struct svr4_ucontext *uc, int mask,
p                  65 arch/i386/i386/svr4_machdep.c 	struct trapframe *tf = p->p_md.md_regs;
p                  66 arch/i386/i386/svr4_machdep.c 	struct sigacts *psp = p->p_sigacts;
p                  82 arch/i386/i386/svr4_machdep.c 		r[SVR4_X86_EFL] = get_vflags(p);
p                 135 arch/i386/i386/svr4_machdep.c svr4_setcontext(struct proc *p, struct svr4_ucontext *uc)
p                 137 arch/i386/i386/svr4_machdep.c 	struct sigacts *psp = p->p_sigacts;
p                 153 arch/i386/i386/svr4_machdep.c 	tf = p->p_md.md_regs;
p                 164 arch/i386/i386/svr4_machdep.c 		set_vflags(p, r[SVR4_X86_EFL]);
p                 205 arch/i386/i386/svr4_machdep.c 	p->p_sigmask = mask & ~sigcantmask;
p                 312 arch/i386/i386/svr4_machdep.c 	struct proc *p = curproc;
p                 315 arch/i386/i386/svr4_machdep.c 	struct sigacts *psp = p->p_sigacts;
p                 318 arch/i386/i386/svr4_machdep.c 	tf = p->p_md.md_regs;
p                 343 arch/i386/i386/svr4_machdep.c 	svr4_getcontext(p, &frame.sf_uc, mask, oonstack);
p                 360 arch/i386/i386/svr4_machdep.c 		sigexit(p, SIGILL);
p                 369 arch/i386/i386/svr4_machdep.c 	tf->tf_eip = p->p_sigcode;
p                 381 arch/i386/i386/svr4_machdep.c svr4_sys_sysarch(struct proc *p, void *v, register_t *retval)
p                 386 arch/i386/i386/svr4_machdep.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 458 arch/i386/i386/svr4_machdep.c 			return sys_sysarch(p, &ua, retval);
p                  92 arch/i386/i386/sys_machdep.c i386_get_ldt(struct proc *p, void *args, register_t *retval)
p                  95 arch/i386/i386/sys_machdep.c 	pmap_t pmap = p->p_vmspace->vm_map.pmap;
p                 157 arch/i386/i386/sys_machdep.c i386_set_ldt(struct proc *p, void *args, register_t *retval)
p                 160 arch/i386/i386/sys_machdep.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 161 arch/i386/i386/sys_machdep.c 	pmap_t pmap = p->p_vmspace->vm_map.pmap;
p                 330 arch/i386/i386/sys_machdep.c i386_iopl(struct proc *p, void *args, register_t *retval)
p                 333 arch/i386/i386/sys_machdep.c 	struct trapframe *tf = p->p_md.md_regs;
p                 336 arch/i386/i386/sys_machdep.c 	if ((error = suser(p, 0)) != 0)
p                 358 arch/i386/i386/sys_machdep.c i386_get_ioperm(struct proc *p, void *args, register_t *retval)
p                 361 arch/i386/i386/sys_machdep.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 371 arch/i386/i386/sys_machdep.c i386_set_ioperm(struct proc *p, void *args, register_t *retval)
p                 374 arch/i386/i386/sys_machdep.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 377 arch/i386/i386/sys_machdep.c 	if ((error = suser(p, 0)) != 0)
p                 394 arch/i386/i386/sys_machdep.c sys_sysarch(struct proc *p, void *v, register_t *retval)
p                 405 arch/i386/i386/sys_machdep.c 		error = i386_get_ldt(p, SCARG(uap, parms), retval);
p                 409 arch/i386/i386/sys_machdep.c 		error = i386_set_ldt(p, SCARG(uap, parms), retval);
p                 414 arch/i386/i386/sys_machdep.c 		error = i386_iopl(p, SCARG(uap, parms), retval);
p                 418 arch/i386/i386/sys_machdep.c 		error = i386_get_ioperm(p, SCARG(uap, parms), retval);
p                 422 arch/i386/i386/sys_machdep.c 		error = i386_set_ioperm(p, SCARG(uap, parms), retval);
p                 427 arch/i386/i386/sys_machdep.c 		error = i386_vm86(p, SCARG(uap, parms), retval);
p                 109 arch/i386/i386/trap.c userret(struct proc *p)
p                 114 arch/i386/i386/trap.c 	while ((sig = CURSIG(p)) != 0)
p                 117 arch/i386/i386/trap.c 	p->p_cpu->ci_schedstate.spc_curpriority = p->p_priority = p->p_usrpri;
p                 161 arch/i386/i386/trap.c 	struct proc *p = curproc;
p                 193 arch/i386/i386/trap.c 		p->p_md.md_regs = &frame;
p                 262 arch/i386/i386/trap.c 		if (p && p->p_addr) {
p                 263 arch/i386/i386/trap.c 			pcb = &p->p_addr->u_pcb;
p                 328 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 331 arch/i386/i386/trap.c 			vm86_gpfault(p, type & ~T_USER);
p                 332 arch/i386/i386/trap.c 			KERNEL_PROC_UNLOCK(p);
p                 337 arch/i386/i386/trap.c 		if (pmap_exec_fixup(&p->p_vmspace->vm_map, &frame,
p                 338 arch/i386/i386/trap.c 		    &p->p_addr->u_pcb)) {
p                 339 arch/i386/i386/trap.c 			KERNEL_PROC_UNLOCK(p);
p                 344 arch/i386/i386/trap.c 		trapsignal(p, SIGSEGV, vftype, SEGV_MAPERR, sv);
p                 345 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 350 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 351 arch/i386/i386/trap.c 		trapsignal(p, SIGBUS, vftype, BUS_OBJERR, sv);
p                 352 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 358 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 359 arch/i386/i386/trap.c 		trapsignal(p, SIGSEGV, vftype, SEGV_MAPERR, sv);
p                 360 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 365 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 366 arch/i386/i386/trap.c 		trapsignal(p, SIGBUS, vftype, BUS_ADRALN, sv);
p                 367 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 372 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 373 arch/i386/i386/trap.c 		trapsignal(p, SIGILL, type &~ T_USER, ILL_PRVOPC, sv);
p                 374 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 379 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 380 arch/i386/i386/trap.c 		trapsignal(p, SIGILL, type &~ T_USER, ILL_COPROC, sv);
p                 381 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 386 arch/i386/i386/trap.c 		if (p->p_flag & P_OWEUPC) {
p                 387 arch/i386/i386/trap.c 			KERNEL_PROC_LOCK(p);
p                 388 arch/i386/i386/trap.c 			ADDUPROF(p);
p                 389 arch/i386/i386/trap.c 			KERNEL_PROC_UNLOCK(p);
p                 397 arch/i386/i386/trap.c 		    p->p_pid);
p                 399 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 400 arch/i386/i386/trap.c 		trapsignal(p, SIGKILL, type &~ T_USER, FPE_FLTINV, sv);
p                 401 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 407 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 408 arch/i386/i386/trap.c 		trapsignal(p, SIGFPE, type &~ T_USER, FPE_FLTSUB, sv);
p                 409 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 413 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 414 arch/i386/i386/trap.c 		trapsignal(p, SIGFPE, type &~ T_USER, FPE_INTOVF, sv);
p                 415 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 419 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 420 arch/i386/i386/trap.c 		trapsignal(p, SIGFPE, type &~ T_USER, FPE_INTDIV, sv);
p                 421 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 426 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 427 arch/i386/i386/trap.c 		trapsignal(p, SIGFPE, frame.tf_err, FPE_INTOVF, sv);
p                 428 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 432 arch/i386/i386/trap.c 		if (p == 0 || p->p_addr == 0)
p                 444 arch/i386/i386/trap.c 		pcb = &p->p_addr->u_pcb;
p                 461 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 463 arch/i386/i386/trap.c 		vm = p->p_vmspace;
p                 488 arch/i386/i386/trap.c 		onfault = p->p_addr->u_pcb.pcb_onfault;
p                 489 arch/i386/i386/trap.c 		p->p_addr->u_pcb.pcb_onfault = NULL;
p                 491 arch/i386/i386/trap.c 		p->p_addr->u_pcb.pcb_onfault = onfault;
p                 495 arch/i386/i386/trap.c 				uvm_grow(p, va);
p                 500 arch/i386/i386/trap.c 			KERNEL_PROC_UNLOCK(p);
p                 514 arch/i386/i386/trap.c 		trapsignal(p, SIGSEGV, vftype, SEGV_MAPERR, sv);
p                 515 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 530 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 531 arch/i386/i386/trap.c 		trapsignal(p, SIGTRAP, type &~ T_USER, TRAP_BRKPT, sv);
p                 532 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 536 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 537 arch/i386/i386/trap.c 		trapsignal(p, SIGTRAP, type &~ T_USER, TRAP_TRACE, sv);
p                 538 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 568 arch/i386/i386/trap.c 	userret(p);
p                 582 arch/i386/i386/trap.c 	struct proc *p;
p                 595 arch/i386/i386/trap.c 	p = curproc;
p                 596 arch/i386/i386/trap.c 	p->p_md.md_regs = &frame;
p                 600 arch/i386/i386/trap.c 	nsys = p->p_emul->e_nsysent;
p                 601 arch/i386/i386/trap.c 	callp = p->p_emul->e_sysent;
p                 604 arch/i386/i386/trap.c 	if (p->p_emul == &emul_ibcs2)
p                 625 arch/i386/i386/trap.c 		if (p->p_emul == &emul_linux_aout ||
p                 626 arch/i386/i386/trap.c 		    p->p_emul == &emul_linux_elf)
p                 642 arch/i386/i386/trap.c 		    && p->p_emul != &emul_freebsd_aout
p                 643 arch/i386/i386/trap.c 		    && p->p_emul != &emul_freebsd_elf
p                 646 arch/i386/i386/trap.c 		    && p->p_emul != &emul_aout
p                 649 arch/i386/i386/trap.c 		    && p->p_emul != &emul_bsdos
p                 660 arch/i386/i386/trap.c 		callp += p->p_emul->e_nosys;		/* illegal */
p                 666 arch/i386/i386/trap.c 	if (p->p_emul == &emul_linux_aout || p->p_emul == &emul_linux_elf) {
p                 700 arch/i386/i386/trap.c 	KERNEL_PROC_LOCK(p);
p                 702 arch/i386/i386/trap.c 	scdebug_call(p, code, args);
p                 705 arch/i386/i386/trap.c 	if (KTRPOINT(p, KTR_SYSCALL))
p                 706 arch/i386/i386/trap.c 		ktrsyscall(p, code, argsize, args);
p                 709 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 715 arch/i386/i386/trap.c 	if (ISSET(p->p_flag, P_SYSTRACE))
p                 716 arch/i386/i386/trap.c 		orig_error = error = systrace_redirect(code, p, args, rval);
p                 719 arch/i386/i386/trap.c 		orig_error = error = (*callp->sy_call)(p, args, rval);
p                 720 arch/i386/i386/trap.c 	KERNEL_PROC_UNLOCK(p);
p                 740 arch/i386/i386/trap.c 		if (p->p_emul->e_errno)
p                 741 arch/i386/i386/trap.c 			error = p->p_emul->e_errno[error];
p                 748 arch/i386/i386/trap.c 	KERNEL_PROC_LOCK(p);
p                 749 arch/i386/i386/trap.c 	scdebug_ret(p, code, orig_error, rval);
p                 750 arch/i386/i386/trap.c 	KERNEL_PROC_UNLOCK(p);
p                 752 arch/i386/i386/trap.c 	userret(p);
p                 754 arch/i386/i386/trap.c 	if (KTRPOINT(p, KTR_SYSRET)) {
p                 755 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 756 arch/i386/i386/trap.c 		ktrsysret(p, code, orig_error, rval[0]);
p                 757 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 764 arch/i386/i386/trap.c 		    lapic_tpr, code, args[0], args[1], args[2], p->p_pid);
p                 773 arch/i386/i386/trap.c 	struct proc *p = (struct proc *)arg;
p                 774 arch/i386/i386/trap.c 	struct trapframe *tf = p->p_md.md_regs;
p                 779 arch/i386/i386/trap.c 	KERNEL_PROC_UNLOCK(p);
p                 781 arch/i386/i386/trap.c 	userret(p);
p                 783 arch/i386/i386/trap.c 	if (KTRPOINT(p, KTR_SYSRET)) {
p                 784 arch/i386/i386/trap.c 		KERNEL_PROC_LOCK(p);
p                 785 arch/i386/i386/trap.c 		ktrsysret(p,
p                 786 arch/i386/i386/trap.c 		    (p->p_flag & P_PPWAIT) ? SYS_vfork : SYS_fork, 0, 0);
p                 787 arch/i386/i386/trap.c 		KERNEL_PROC_UNLOCK(p);
p                 539 arch/i386/i386/via.c 	unsigned int *p, i, rv, creg0, len = VIAC3_RNG_BUFSIZ;
p                 563 arch/i386/i386/via.c 	for (i = 0, p = buffer; i < VIAC3_RNG_BUFSIZ; i++, p++)
p                 564 arch/i386/i386/via.c 		add_true_randomness(*p);
p                 164 arch/i386/i386/vm86.c fast_intxx(struct proc *p, int intrno)
p                 166 arch/i386/i386/vm86.c 	struct trapframe *tf = p->p_md.md_regs;
p                 182 arch/i386/i386/vm86.c 	u_vm86p = (struct vm86_struct *)p->p_addr->u_pcb.vm86_userp;
p                 213 arch/i386/i386/vm86.c 	putword(ss, sp, get_vflags_short(p));
p                 224 arch/i386/i386/vm86.c 	vm86_return(p, VM86_MAKEVAL(VM86_INTx, intrno));
p                 228 arch/i386/i386/vm86.c 	vm86_return(p, VM86_UNKNOWN);
p                 233 arch/i386/i386/vm86.c vm86_return(struct proc *p, int retval)
p                 242 arch/i386/i386/vm86.c 	if (p->p_sigmask & sigmask(SIGURG)) {
p                 245 arch/i386/i386/vm86.c 		       p->p_pid);
p                 247 arch/i386/i386/vm86.c 		sigexit(p, SIGILL);
p                 251 arch/i386/i386/vm86.c 	trapsignal(p, SIGURG, retval, 0, sv);
p                 271 arch/i386/i386/vm86.c vm86_gpfault(struct proc *p, int type)
p                 273 arch/i386/i386/vm86.c 	struct trapframe *tf = p->p_md.md_regs;
p                 301 arch/i386/i386/vm86.c 		clr_vif(p);
p                 309 arch/i386/i386/vm86.c 		set_vif(p);
p                 316 arch/i386/i386/vm86.c 		fast_intxx(p, tmpbyte);
p                 321 arch/i386/i386/vm86.c 			fast_intxx(p, 4);
p                 325 arch/i386/i386/vm86.c 		putword(ss, sp, get_vflags_short(p));
p                 333 arch/i386/i386/vm86.c 		set_vflags_short(p, getword(ss, sp));
p                 342 arch/i386/i386/vm86.c 			putdword(ss, sp, get_vflags(p) & ~PSL_VM);
p                 350 arch/i386/i386/vm86.c 			set_vflags(p, getdword(ss, sp) | PSL_VM);
p                 368 arch/i386/i386/vm86.c 		trapsignal(p, SIGTRAP, T_TRCTRAP, TRAP_TRACE, sv);
p                 373 arch/i386/i386/vm86.c 	vm86_return(p, VM86_UNKNOWN);
p                 378 arch/i386/i386/vm86.c i386_vm86(struct proc *p, char *args, register_t *retval)
p                 380 arch/i386/i386/vm86.c 	struct trapframe *tf = p->p_md.md_regs;
p                 381 arch/i386/i386/vm86.c 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 437 arch/i386/i386/vm86.c 	p->p_sigacts->ps_sigstk.ss_flags &= ~SS_ONSTACK;
p                 439 arch/i386/i386/vm86.c 	set_vflags(p, vm86s.regs.vmsc.sc_eflags | PSL_VM);
p                 145 arch/i386/i386/vm_machdep.c cpu_exit(struct proc *p)
p                 149 arch/i386/i386/vm_machdep.c 	if (p->p_addr->u_pcb.pcb_fpcpu != NULL)
p                 150 arch/i386/i386/vm_machdep.c 		npxsave_proc(p, 0);
p                 153 arch/i386/i386/vm_machdep.c 	pmap_deactivate(p);
p                 154 arch/i386/i386/vm_machdep.c 	switch_exit(p);
p                 158 arch/i386/i386/vm_machdep.c cpu_wait(struct proc *p)
p                 160 arch/i386/i386/vm_machdep.c 	tss_free(p->p_md.md_tss_sel);
p                 172 arch/i386/i386/vm_machdep.c cpu_coredump(struct proc *p, struct vnode *vp, struct ucred *cred,
p                 185 arch/i386/i386/vm_machdep.c 	error = process_read_regs(p, &md_core.intreg);
p                 190 arch/i386/i386/vm_machdep.c 	error = process_read_fpregs(p, &md_core.freg);
p                 200 arch/i386/i386/vm_machdep.c 	    NULL, p);
p                 206 arch/i386/i386/vm_machdep.c 	    IO_NODELOCKED|IO_UNIT, cred, NULL, p);
p                 820 arch/i386/include/bus.h #define	bus_dmamap_create(t, s, n, m, b, f, p)			\
p                 821 arch/i386/include/bus.h 	(*(t)->_dmamap_create)((t), (s), (n), (m), (b), (f), (p))
p                 822 arch/i386/include/bus.h #define	bus_dmamap_destroy(t, p)				\
p                 823 arch/i386/include/bus.h 	(*(t)->_dmamap_destroy)((t), (p))
p                 824 arch/i386/include/bus.h #define	bus_dmamap_load(t, m, b, s, p, f)			\
p                 825 arch/i386/include/bus.h 	(*(t)->_dmamap_load)((t), (m), (b), (s), (p), (f))
p                 832 arch/i386/include/bus.h #define	bus_dmamap_unload(t, p)					\
p                 833 arch/i386/include/bus.h 	(*(t)->_dmamap_unload)((t), (p))
p                 834 arch/i386/include/bus.h #define	bus_dmamap_sync(t, p, o, l, ops)			\
p                 836 arch/i386/include/bus.h 	    (*(t)->_dmamap_sync)((t), (p), (o), (l), (ops)) : (void)0)
p                 846 arch/i386/include/bus.h #define	bus_dmamem_mmap(t, sg, n, o, p, f)			\
p                 847 arch/i386/include/bus.h 	(*(t)->_dmamem_mmap)((t), (sg), (n), (o), (p), (f))
p                 241 arch/i386/include/cpu.h #define	PROC_PC(p)		((p)->p_md.md_regs->tf_eip)
p                 250 arch/i386/include/cpu.h #define	need_proftick(p)	aston(p)
p                 256 arch/i386/include/cpu.h #define signotify(p)		aston(p)
p                  77 arch/i386/include/cpufunc.h lidt(void *p)
p                  79 arch/i386/include/cpufunc.h 	__asm __volatile("lidt (%0)" : : "r" (p));
p                  82 arch/i386/include/mpbiosreg.h #define MPS_INT(p,t) \
p                  83 arch/i386/include/mpbiosreg.h     ((((p) & MPS_INTPO_MASK) << MPS_INTPO_SHIFT) | \
p                  67 arch/i386/include/param.h #define ALIGN(p)	(((u_int)(p) + ALIGNBYTES) &~ ALIGNBYTES)
p                  68 arch/i386/include/param.h #define ALIGNED_POINTER(p,t)   1
p                 361 arch/i386/include/pmap.h #define pmap_proc_iflush(p,va,len)	/* nothing */
p                 362 arch/i386/include/pmap.h #define pmap_unuse_final(p)		/* nothing */
p                  95 arch/i386/include/vm86.h clr_vif(p)
p                  96 arch/i386/include/vm86.h 	struct proc *p;
p                  98 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 108 arch/i386/include/vm86.h set_vif(p)
p                 109 arch/i386/include/vm86.h 	struct proc *p;
p                 111 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 120 arch/i386/include/vm86.h 		vm86_return(p, VM86_STI);
p                 124 arch/i386/include/vm86.h set_vflags(p, flags)
p                 125 arch/i386/include/vm86.h 	struct proc *p;
p                 128 arch/i386/include/vm86.h 	struct trapframe *tf = p->p_md.md_regs;
p                 129 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 139 arch/i386/include/vm86.h 		vm86_return(p, VM86_STI);
p                 143 arch/i386/include/vm86.h get_vflags(p)
p                 144 arch/i386/include/vm86.h 	struct proc *p;
p                 146 arch/i386/include/vm86.h 	struct trapframe *tf = p->p_md.md_regs;
p                 147 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 156 arch/i386/include/vm86.h set_vflags_short(p, flags)
p                 157 arch/i386/include/vm86.h 	struct proc *p;
p                 160 arch/i386/include/vm86.h 	struct trapframe *tf = p->p_md.md_regs;
p                 161 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 168 arch/i386/include/vm86.h 		vm86_return(p, VM86_STI);
p                 173 arch/i386/include/vm86.h get_vflags_short(p)
p                 174 arch/i386/include/vm86.h 	struct proc *p;
p                 176 arch/i386/include/vm86.h 	struct trapframe *tf = p->p_md.md_regs;
p                 177 arch/i386/include/vm86.h 	struct pcb *pcb = &p->p_addr->u_pcb;
p                 375 arch/i386/isa/isa_machdep.c 	struct intrhand **p, *q;
p                 417 arch/i386/isa/isa_machdep.c 			for (p = &intrhand[i], tmp = 0; (q = *p) != NULL;
p                 418 arch/i386/isa/isa_machdep.c 			     p = &q->ih_next, tmp++)
p                 477 arch/i386/isa/isa_machdep.c 	struct intrhand **p, *q, *ih;
p                 552 arch/i386/isa/isa_machdep.c 	for (p = &intrhand[irq]; (q = *p) != NULL; p = &q->ih_next)
p                 561 arch/i386/isa/isa_machdep.c 	*p = &fakehand;
p                 575 arch/i386/isa/isa_machdep.c 	*p = ih;
p                 588 arch/i386/isa/isa_machdep.c 	struct intrhand **p, *q;
p                 604 arch/i386/isa/isa_machdep.c 	for (p = &intrhand[irq]; (q = *p) != NULL && q != ih; p = &q->ih_next)
p                 607 arch/i386/isa/isa_machdep.c 		*p = q->ih_next;
p                 765 arch/i386/isa/isa_machdep.c     bus_size_t buflen, struct proc *p, int flags)
p                 781 arch/i386/isa/isa_machdep.c 		    map->_dm_segcnt, map->_dm_boundary, p) == 0)
p                 783 arch/i386/isa/isa_machdep.c 			    p, flags));
p                 804 arch/i386/isa/isa_machdep.c 		    buflen, p, flags);
p                 821 arch/i386/isa/isa_machdep.c 		error = _bus_dmamap_load(t, map, buf, buflen, p, flags); 
p                1016 arch/i386/isa/isa_machdep.c     bus_size_t boundary, struct proc *p)
p                1030 arch/i386/isa/isa_machdep.c 	if (p != NULL)
p                1031 arch/i386/isa/isa_machdep.c 		pmap = p->p_vmspace->vm_map.pmap;
p                 217 arch/i386/isa/isa_machdep.h #define ISA_HOLE_VADDR(p)  ((void *) ((u_long)(p) - IOM_BEGIN + atdevbase))
p                  59 arch/i386/isa/joy.c joyopen(dev_t dev, int flag, int mode, struct proc *p)
p                  81 arch/i386/isa/joy.c joyclose(dev_t dev, int flag, int mode, struct proc *p)
p                 130 arch/i386/isa/joy.c joyioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 185 arch/i386/isa/lms.c lms_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 174 arch/i386/isa/mms.c mms_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 423 arch/i386/isa/npx.c 	struct proc *p = ci->ci_fpcurproc;
p                 432 arch/i386/isa/npx.c 	if (p == NULL || npx_type == NPX_NONE) {
p                 435 arch/i386/isa/npx.c 		       (u_long) p, (u_long) curproc, npx_type);
p                 454 arch/i386/isa/npx.c 	if (p != curproc)
p                 462 arch/i386/isa/npx.c 	addr = &p->p_addr->u_pcb.pcb_savefpu;
p                 501 arch/i386/isa/npx.c 	if (p == curproc && USERMODE(frame->if_cs, frame->if_eflags)) {
p                 513 arch/i386/isa/npx.c 		p->p_md.md_regs = (struct trapframe *)&frame->if_fs;
p                 524 arch/i386/isa/npx.c 		trapsignal(p, SIGFPE, T_ARITHTRAP, code, sv);
p                 540 arch/i386/isa/npx.c 		psignal(p, SIGFPE);
p                 584 arch/i386/isa/npx.c 	struct proc *p;
p                 595 arch/i386/isa/npx.c 	p = ci->ci_curproc;
p                 597 arch/i386/isa/npx.c 	p = curproc;
p                 600 arch/i386/isa/npx.c 	IPRINTF(("%s: dna for %lx%s\n", ci->ci_dev.dv_xname, (u_long)p,
p                 601 arch/i386/isa/npx.c 	    (p->p_md.md_flags & MDP_USEDFPU) ? " (used fpu)" : ""));
p                 627 arch/i386/isa/npx.c 	KDASSERT(p->p_addr->u_pcb.pcb_fpcpu == NULL);
p                 629 arch/i386/isa/npx.c 	if (p->p_addr->u_pcb.pcb_fpcpu != NULL)
p                 630 arch/i386/isa/npx.c 		npxsave_proc(p, 1);
p                 632 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_cr0 &= ~CR0_TS;
p                 635 arch/i386/isa/npx.c 	ci->ci_fpcurproc = p;
p                 636 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_fpcpu = ci;
p                 640 arch/i386/isa/npx.c 	if ((p->p_md.md_flags & MDP_USEDFPU) == 0) {
p                 641 arch/i386/isa/npx.c 		fldcw(&p->p_addr->u_pcb.pcb_savefpu.sv_xmm.sv_env.en_cw);
p                 642 arch/i386/isa/npx.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 652 arch/i386/isa/npx.c 		fxrstor(&p->p_addr->u_pcb.pcb_savefpu.sv_xmm);
p                 662 arch/i386/isa/npx.c 	struct proc *p;
p                 674 arch/i386/isa/npx.c 	p = ci->ci_curproc;
p                 676 arch/i386/isa/npx.c 	p = curproc;
p                 679 arch/i386/isa/npx.c 	IPRINTF(("%s: dna for %lx%s\n", ci->ci_dev.dv_xname, (u_long)p,
p                 680 arch/i386/isa/npx.c 	    (p->p_md.md_flags & MDP_USEDFPU) ? " (used fpu)" : ""));
p                 703 arch/i386/isa/npx.c 	KDASSERT(p->p_addr->u_pcb.pcb_fpcpu == NULL);
p                 705 arch/i386/isa/npx.c 	if (p->p_addr->u_pcb.pcb_fpcpu != NULL)
p                 706 arch/i386/isa/npx.c 		npxsave_proc(p, 1);
p                 708 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_cr0 &= ~CR0_TS;
p                 711 arch/i386/isa/npx.c 	ci->ci_fpcurproc = p;
p                 712 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_fpcpu = ci;
p                 716 arch/i386/isa/npx.c 	if ((p->p_md.md_flags & MDP_USEDFPU) == 0) {
p                 717 arch/i386/isa/npx.c 		fldcw(&p->p_addr->u_pcb.pcb_savefpu.sv_87.sv_env.en_cw);
p                 718 arch/i386/isa/npx.c 		p->p_md.md_flags |= MDP_USEDFPU;
p                 733 arch/i386/isa/npx.c 		frstor(&p->p_addr->u_pcb.pcb_savefpu.sv_87);
p                 750 arch/i386/isa/npx.c 	struct proc *p;
p                 755 arch/i386/isa/npx.c 	p = ci->ci_fpcurproc;
p                 756 arch/i386/isa/npx.c 	if (p == NULL)
p                 760 arch/i386/isa/npx.c 	    save ? "save" : "flush", (u_long)p));
p                 782 arch/i386/isa/npx.c 		fpu_save(&p->p_addr->u_pcb.pcb_savefpu);
p                 793 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_cr0 |= CR0_TS;
p                 796 arch/i386/isa/npx.c 	p->p_addr->u_pcb.pcb_fpcpu = NULL;
p                 805 arch/i386/isa/npx.c npxsave_proc(struct proc *p, int save)
p                 810 arch/i386/isa/npx.c 	KDASSERT(p->p_addr != NULL);
p                 812 arch/i386/isa/npx.c 	oci = p->p_addr->u_pcb.pcb_fpcpu;
p                 817 arch/i386/isa/npx.c 	    save ? "save" : "flush", (u_long)p));
p                 830 arch/i386/isa/npx.c 		    oci->ci_dev.dv_xname, save ? "save" : "flush", (u_long)p));
p                 838 arch/i386/isa/npx.c 		while (p->p_addr->u_pcb.pcb_fpcpu != NULL) {
p                 848 arch/i386/isa/npx.c 	KASSERT(ci->ci_fpcurproc == p);
p                 479 arch/i386/isa/pccom.c comopen(dev_t dev, int flag, int mode, struct proc *p)
p                 643 arch/i386/isa/pccom.c 	} else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0)
p                 689 arch/i386/isa/pccom.c comclose(dev_t dev, int flag, int mode, struct proc *p)
p                 820 arch/i386/isa/pccom.c comioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 829 arch/i386/isa/pccom.c 	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                 832 arch/i386/isa/pccom.c 	error = ttioctl(tp, cmd, data, flag, p);
p                 905 arch/i386/isa/pccom.c 		error = suser(p, 0); 
p                 549 arch/i386/pci/pci_intr_fixup.c 	char *p = NULL;
p                 574 arch/i386/pci/pci_intr_fixup.c 			p = " preserved BIOS setting";
p                 581 arch/i386/pci/pci_intr_fixup.c 			p = " failed";
p                 584 arch/i386/pci/pci_intr_fixup.c 			p = "";
p                 586 arch/i386/pci/pci_intr_fixup.c 	if (p && pcibios_flags & PCIBIOS_INTRDEBUG)
p                 588 arch/i386/pci/pci_intr_fixup.c 		    l->clink, l->irq, p);
p                 657 arch/i386/pci/pci_intr_fixup.c 	char *p = NULL;
p                 688 arch/i386/pci/pci_intr_fixup.c 		p = " WARNING: ignored";
p                 700 arch/i386/pci/pci_intr_fixup.c 			p = "";
p                 702 arch/i386/pci/pci_intr_fixup.c 			p = " WARNING: missing";
p                 705 arch/i386/pci/pci_intr_fixup.c 		p = " fixed up";
p                 711 arch/i386/pci/pci_intr_fixup.c 		p = " WARNING: overriding";
p                 715 arch/i386/pci/pci_intr_fixup.c 		p = " WARNING: preserving";
p                 726 arch/i386/pci/pci_intr_fixup.c 		    -1 : l->irq), l->fixup_stage, p, irq);
p                 247 arch/i386/pci/pcibios.c 		u_int8_t *p, cksum;
p                 251 arch/i386/pci/pcibios.c 		p = ISA_HOLE_VADDR(pa);
p                 252 arch/i386/pci/pcibios.c 		pirh = (struct pcibios_pir_header *)p;
p                 267 arch/i386/pci/pcibios.c 			cksum += p[i];
p                 301 arch/i386/pci/pcibios.c 		bcopy(p + sizeof(*pirh), pcibios_pir_table,
p                  59 arch/i386/stand/boot/crt0.c #define ummap(a,l,p,f,fd,o) (caddr_t)syscall((quad_t)SYS_mmap,a,l,p,f,fd,0,o)
p                  65 arch/i386/stand/boot/crt0.c 	register caddr_t p = (caddr_t)(((u_long)end + PGOFSET) & ~PGOFSET);
p                  68 arch/i386/stand/boot/crt0.c 	if ( (p = ummap(p, 32*NBPG, PROT_READ|PROT_WRITE,
p                  75 arch/i386/stand/boot/crt0.c 		printf("mmap==%p\n", p);
p                  79 arch/i386/stand/boot/crt0.c 	if ( (p = ummap(0x100000, 0xf00000, PROT_READ|PROT_WRITE,
p                  86 arch/i386/stand/boot/crt0.c 		printf("mmap==%p\n", p);
p                 454 arch/i386/stand/installboot/installboot.c 	struct sym_data *p;
p                 456 arch/i386/stand/installboot/installboot.c 	for (p = sym_list; p->sym_name != NULL; p++) {
p                 457 arch/i386/stand/installboot/installboot.c 		if (strcmp(p->sym_name, sym) == 0)
p                 461 arch/i386/stand/installboot/installboot.c 	if (p->sym_name == NULL)
p                 464 arch/i386/stand/installboot/installboot.c 	if (p->sym_set)
p                 465 arch/i386/stand/installboot/installboot.c 		errx(1, "%s already set", p->sym_name);
p                 467 arch/i386/stand/installboot/installboot.c 	p->sym_value = value;
p                 468 arch/i386/stand/installboot/installboot.c 	p->sym_set = 1;
p                 286 arch/i386/stand/libsa/biosdev.c 			char *p = bb;
p                 290 arch/i386/stand/libsa/biosdev.c 			    i += n, off += n, p += n * DEV_BSIZE) {
p                 300 arch/i386/stand/libsa/biosdev.c 				error = CHS_rw(rw, dev, cyl, head, sect, n, p);
p                 548 arch/i386/stand/libsa/biosdev.c 	register const u_char *p = bidos_errs;
p                 550 arch/i386/stand/libsa/biosdev.c 	while (*p && *p != error)
p                 551 arch/i386/stand/libsa/biosdev.c 		while (*p++);
p                 553 arch/i386/stand/libsa/biosdev.c 	return ++p;
p                 578 arch/i386/stand/libsa/biosdev.c 	register const struct biosdisk_errors *p;
p                 583 arch/i386/stand/libsa/biosdev.c 	for (p = tab; p->error && p->error != error; p++);
p                 585 arch/i386/stand/libsa/biosdev.c 	return p->errno;
p                 152 arch/i386/stand/libsa/cmd_i386.c 			char *p;
p                 155 arch/i386/stand/libsa/cmd_i386.c 			p = cmd.argv[i];
p                 157 arch/i386/stand/libsa/cmd_i386.c 			size = strtoll(p + 1, &p, 0);
p                 158 arch/i386/stand/libsa/cmd_i386.c 			if (*p && *p == '@')
p                 159 arch/i386/stand/libsa/cmd_i386.c 				addr = strtoll(p + 1, NULL, 0);
p                 162 arch/i386/stand/libsa/cmd_i386.c 			if (addr == 0 && (*p != '@' || size == 0)) {
p                  88 arch/i386/stand/libsa/debug.c dump_mem(char *l, void *p, size_t n)
p                  92 arch/i386/stand/libsa/debug.c 	printf("%s [%p]:%s", l, p, (n > 6? "\n":" "));
p                  94 arch/i386/stand/libsa/debug.c 		printf("%x%c", *(u_int32_t *)p++, ((i%8)? ' ': '\n'));
p                  90 arch/i386/stand/libsa/dev_i386.c devboot(dev_t bootdev, char *p)
p                  93 arch/i386/stand/libsa/dev_i386.c 	*p++ = '/';
p                  94 arch/i386/stand/libsa/dev_i386.c 	*p++ = 'd';
p                  95 arch/i386/stand/libsa/dev_i386.c 	*p++ = 'e';
p                  96 arch/i386/stand/libsa/dev_i386.c 	*p++ = 'v';
p                  97 arch/i386/stand/libsa/dev_i386.c 	*p++ = '/';
p                  98 arch/i386/stand/libsa/dev_i386.c 	*p++ = 'r';
p                 101 arch/i386/stand/libsa/dev_i386.c 		*p++ = 'c';
p                 102 arch/i386/stand/libsa/dev_i386.c 		*p++ = 'd';
p                 103 arch/i386/stand/libsa/dev_i386.c 		*p++ = '0';
p                 106 arch/i386/stand/libsa/dev_i386.c 			*p++ = 'h';
p                 108 arch/i386/stand/libsa/dev_i386.c 			*p++ = 'f';
p                 109 arch/i386/stand/libsa/dev_i386.c 		*p++ = 'd';
p                 110 arch/i386/stand/libsa/dev_i386.c 		*p++ = '0' + (bootdev & 0x7f);
p                 112 arch/i386/stand/libsa/dev_i386.c 	*p++ = 'a';
p                 113 arch/i386/stand/libsa/dev_i386.c 	*p = '\0';
p                  47 arch/i386/stand/libsa/memprobe.c 	register char *p = (char *)0x100000;
p                  52 arch/i386/stand/libsa/memprobe.c 	if (*p != *q)
p                  56 arch/i386/stand/libsa/memprobe.c 	*p = ~(*p);
p                  57 arch/i386/stand/libsa/memprobe.c 	st = (*p != *q);
p                  58 arch/i386/stand/libsa/memprobe.c 	*p = ~(*p);
p                 366 arch/i386/stand/libsa/memprobe.c 	register bios_memmap_t *p;
p                 372 arch/i386/stand/libsa/memprobe.c 	for (p = tm; p->type != BIOS_MAP_END; p++) {
p                 374 arch/i386/stand/libsa/memprobe.c 		    (long)(p - tm), p->type, p->addr,
p                 375 arch/i386/stand/libsa/memprobe.c 		    (u_int)(p->size / 1024));
p                 377 arch/i386/stand/libsa/memprobe.c 		if (p->type == BIOS_MAP_FREE)
p                 378 arch/i386/stand/libsa/memprobe.c 			total += p->size / 1024;
p                 388 arch/i386/stand/libsa/memprobe.c 	register bios_memmap_t *p;
p                 390 arch/i386/stand/libsa/memprobe.c 	for (p = bios_memmap; p->type != BIOS_MAP_END; p++) {
p                 391 arch/i386/stand/libsa/memprobe.c 		if (p->type == BIOS_MAP_FREE) {
p                 392 arch/i386/stand/libsa/memprobe.c 			register int64_t sp = p->addr, ep = p->addr + p->size;
p                 396 arch/i386/stand/libsa/memprobe.c 				bcopy(p + 1, p, (char *)bios_memmap +
p                 397 arch/i386/stand/libsa/memprobe.c 				    sizeof(bios_memmap) - (char *)p);
p                 401 arch/i386/stand/libsa/memprobe.c 				p->addr = ea;
p                 402 arch/i386/stand/libsa/memprobe.c 				p->size = ep - ea;
p                 405 arch/i386/stand/libsa/memprobe.c 				p->size = sa - sp;
p                 409 arch/i386/stand/libsa/memprobe.c 				bcopy(p, p + 1, (char *)bios_memmap +
p                 410 arch/i386/stand/libsa/memprobe.c 				    sizeof(bios_memmap) - (char *)p -
p                 412 arch/i386/stand/libsa/memprobe.c 				p[1].addr = ea;
p                 413 arch/i386/stand/libsa/memprobe.c 				p[1].size = ep - ea;
p                 414 arch/i386/stand/libsa/memprobe.c 				p->size = sa - sp;
p                 425 arch/i386/stand/libsa/memprobe.c 	register bios_memmap_t *p;
p                 427 arch/i386/stand/libsa/memprobe.c 	for (p = bios_memmap; p->type != BIOS_MAP_END; p++) {
p                 428 arch/i386/stand/libsa/memprobe.c 		if (p->type == BIOS_MAP_FREE) {
p                 429 arch/i386/stand/libsa/memprobe.c 			register int64_t sp = p->addr, ep = p->addr + p->size;
p                 436 arch/i386/stand/libsa/memprobe.c 				p->addr = sa;
p                 437 arch/i386/stand/libsa/memprobe.c 				p->size = ep - sa;
p                 440 arch/i386/stand/libsa/memprobe.c 				p->size = ea - sp;
p                 444 arch/i386/stand/libsa/memprobe.c 				bcopy(p, p + 1, (char *)bios_memmap +
p                 445 arch/i386/stand/libsa/memprobe.c 				    sizeof(bios_memmap) - (char *)(p - 1));
p                 446 arch/i386/stand/libsa/memprobe.c 				p->addr = sa;
p                 447 arch/i386/stand/libsa/memprobe.c 				p->size = ea - sa;
p                 454 arch/i386/stand/libsa/memprobe.c 	if (p->type == BIOS_MAP_END) {
p                 455 arch/i386/stand/libsa/memprobe.c 		p[1] = p[0];
p                 456 arch/i386/stand/libsa/memprobe.c 		p->type = BIOS_MAP_FREE;
p                 457 arch/i386/stand/libsa/memprobe.c 		p->addr = sa;
p                 458 arch/i386/stand/libsa/memprobe.c 		p->size = ea - sa;
p                 467 arch/i386/stand/libsa/memprobe.c 	bios_memmap_t *p;
p                 469 arch/i386/stand/libsa/memprobe.c 	for (p = bios_memmap; p->type != BIOS_MAP_END; p++)
p                 471 arch/i386/stand/libsa/memprobe.c 	addbootarg(BOOTARG_MEMMAP, (p - bios_memmap + 1) * sizeof *bios_memmap,
p                  36 arch/i386/stand/libsa/ps2probe.c 	char *p;
p                  41 arch/i386/stand/libsa/ps2probe.c 			 : "=a" (r), "=b" (p)
p                  45 arch/i386/stand/libsa/ps2probe.c 		ps2model = (p[2] << 8) | p[3];
p                 459 arch/i386/stand/libsa/pxe.c 	u_int8_t *p;
p                 465 arch/i386/stand/libsa/pxe.c 	p = (u_int8_t *)&myip.s_addr;
p                 466 arch/i386/stand/libsa/pxe.c 	printf(", ip %d.%d.%d.%d", p[0], p[1], p[2], p[3]);
p                 467 arch/i386/stand/libsa/pxe.c 	p = (u_int8_t *)&servip.s_addr;
p                 468 arch/i386/stand/libsa/pxe.c 	printf(", server %d.%d.%d.%d", p[0], p[1], p[2], p[3]);
p                  61 arch/i386/stand/pxeboot/devopen.c 	char *p;
p                  74 arch/i386/stand/pxeboot/devopen.c 	for (p = (char *)fname; *p != ':' && *p != '\0'; ) p++;
p                  75 arch/i386/stand/pxeboot/devopen.c 	if (*p != ':')
p                  77 arch/i386/stand/pxeboot/devopen.c 	stripdev = p + 1;
p                  79 arch/i386/stand/pxeboot/devopen.c 	l = p - fname;			/* Length of device prefix. */
p                 138 arch/i386/stand/pxeboot/devopen.c devboot(dev_t bootdev, char *p)
p                 140 arch/i386/stand/pxeboot/devopen.c 	*p++ = 't';
p                 141 arch/i386/stand/pxeboot/devopen.c 	*p++ = 'f';
p                 142 arch/i386/stand/pxeboot/devopen.c 	*p++ = 't';
p                 143 arch/i386/stand/pxeboot/devopen.c 	*p++ = 'p';
p                 144 arch/i386/stand/pxeboot/devopen.c 	*p = '\0';
p                 265 arch/i386/stand/pxeboot/net.c ip_convertaddr(char *p)
p                 270 arch/i386/stand/pxeboot/net.c 	if (p == (char *)0 || *p == '\0')
p                 272 arch/i386/stand/pxeboot/net.c 	p = number(p, &n);
p                 274 arch/i386/stand/pxeboot/net.c 	if (*p == '\0' || *p++ != '.')
p                 276 arch/i386/stand/pxeboot/net.c 	p = number(p, &n);
p                 278 arch/i386/stand/pxeboot/net.c 	if (*p == '\0' || *p++ != '.')
p                 280 arch/i386/stand/pxeboot/net.c 	p = number(p, &n);
p                 282 arch/i386/stand/pxeboot/net.c 	if (*p == '\0' || *p++ != '.')
p                 284 arch/i386/stand/pxeboot/net.c 	p = number(p, &n);
p                 286 arch/i386/stand/pxeboot/net.c 	if (*p != '\0')
p                 105 compat/aout/compat_aout.c #define AOUT_CHECK_ALT_EXIST(p, sgp, path) \
p                 106 compat/aout/compat_aout.c     CHECK_ALT_EXIST(p, sgp, aout_path, path)
p                 108 compat/aout/compat_aout.c #define  AOUT_CHECK_ALT_CREAT(p, sgp, path) \
p                 109 compat/aout/compat_aout.c     CHECK_ALT_CREAT(p, sgp, aout_path, path)
p                 128 compat/aout/compat_aout.c aout_sys_open(p, v, retval)
p                 129 compat/aout/compat_aout.c 	struct proc *p;
p                 138 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 141 compat/aout/compat_aout.c 		AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 143 compat/aout/compat_aout.c 		AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 144 compat/aout/compat_aout.c 	return sys_open(p, uap, retval);
p                 148 compat/aout/compat_aout.c aout_sys_link(p, v, retval)
p                 149 compat/aout/compat_aout.c 	struct proc *p;
p                 157 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 159 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 160 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
p                 161 compat/aout/compat_aout.c 	return sys_link(p, uap, retval);
p                 165 compat/aout/compat_aout.c aout_sys_unlink(p, v, retval)
p                 166 compat/aout/compat_aout.c 	struct proc *p;
p                 173 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 175 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 176 compat/aout/compat_aout.c 	return sys_unlink(p, uap, retval);
p                 181 compat/aout/compat_aout.c aout_sys_rename(p, v, retval)
p                 182 compat/aout/compat_aout.c 	struct proc *p;
p                 190 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 192 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
p                 193 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
p                 194 compat/aout/compat_aout.c 	return sys_rename(p, uap, retval);
p                  90 compat/bsdos/bsdos_exec.c exec_bsdos_aout_makecmds(p, epp)
p                  91 compat/bsdos/bsdos_exec.c 	struct proc *p;
p                 118 compat/bsdos/bsdos_exec.c 		error = exec_aout_prep_oldzmagic(p, epp);
p                 125 compat/bsdos/bsdos_exec.c 		error = exec_aout_prep_zmagic(p, epp);
p                 133 compat/bsdos/bsdos_exec.c 		error = exec_aout_prep_oldnmagic(p, epp);
p                 141 compat/bsdos/bsdos_exec.c 		error = exec_aout_prep_oldomagic(p, epp);
p                  75 compat/bsdos/bsdos_ioctl.c bsdos_sys_ioctl(p, v, retval)
p                  76 compat/bsdos/bsdos_ioctl.c 	struct proc *p;
p                  94 compat/bsdos/bsdos_ioctl.c 		return (oss_ioctl_mixer(p, &ap, retval));
p                  97 compat/bsdos/bsdos_ioctl.c 		return (oss_ioctl_sequencer(p, &ap, retval));
p                 109 compat/bsdos/bsdos_ioctl.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 114 compat/bsdos/bsdos_ioctl.c 			error = oss_ioctl_audio(p, &ap, retval);
p                 128 compat/bsdos/bsdos_ioctl.c 			return (oss_ioctl_audio(p, &ap, retval));
p                 130 compat/bsdos/bsdos_ioctl.c 	return (sys_ioctl(p, uap, retval));
p                  53 compat/common/compat_exec.c exec_aout_prep_oldzmagic(p, epp)
p                  54 compat/common/compat_exec.c 	struct proc *p;
p                  96 compat/common/compat_exec.c 	return exec_setup_stack(p, epp);
p                 110 compat/common/compat_exec.c exec_aout_prep_oldnmagic(p, epp)
p                 111 compat/common/compat_exec.c 	struct proc *p;
p                 140 compat/common/compat_exec.c 	return exec_setup_stack(p, epp);
p                 154 compat/common/compat_exec.c exec_aout_prep_oldomagic(p, epp)
p                 155 compat/common/compat_exec.c 	struct proc *p;
p                 189 compat/common/compat_exec.c 	return exec_setup_stack(p, epp);
p                  56 compat/common/compat_util.c emul_find(p, sgp, prefix, path, pbuf, cflag)
p                  57 compat/common/compat_util.c 	struct proc	 *p;
p                 110 compat/common/compat_util.c 		NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, buf, p);
p                 118 compat/common/compat_util.c 		NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, buf, p);
p                 132 compat/common/compat_util.c 		NDINIT(&ndroot, LOOKUP, FOLLOW, UIO_SYSSPACE, prefix, p);
p                 137 compat/common/compat_util.c 		if ((error = VOP_GETATTR(nd.ni_vp, &vat, p->p_ucred, p)) != 0)
p                 140 compat/common/compat_util.c 		if ((error = VOP_GETATTR(ndroot.ni_vp, &vatroot, p->p_ucred, p))
p                  57 compat/common/compat_util.h #define CHECK_ALT_EXIST(p, sgp, root, path) \
p                  58 compat/common/compat_util.h     emul_find(p, sgp, root, path, &(path), 0)
p                  60 compat/common/compat_util.h #define CHECK_ALT_CREAT(p, sgp, root, path) \
p                  61 compat/common/compat_util.h     emul_find(p, sgp, root, path, &(path), 1)
p                  41 compat/common/compat_vm.c compat_25_sys_swapon(p, v, retval)
p                  42 compat/common/compat_vm.c 	struct proc *p;
p                  54 compat/common/compat_vm.c 	return (sys_swapctl(p, &ua, retval));
p                  58 compat/common/compat_vm.c compat_25_sys_omsync(p, v, retval)
p                  59 compat/common/compat_vm.c 	struct proc *p;
p                  72 compat/common/compat_vm.c 	return (sys_msync(p, &ua, retval));
p                  76 compat/common/kern_exit_43.c compat_43_sys_wait(p, v, retval)
p                  77 compat/common/kern_exit_43.c 	struct proc *p;
p                  81 compat/common/kern_exit_43.c 	caddr_t sg = stackgap_init(p->p_emul);
p                  92 compat/common/kern_exit_43.c 	if ((GETPS(p->p_md.md_regs) & PSL_ALLCC) != PSL_ALLCC) {
p                  96 compat/common/kern_exit_43.c 		SCARG(&a, options) = p->p_md.md_regs[R0];
p                  97 compat/common/kern_exit_43.c 		SCARG(&a, rusage) = (struct rusage *)p->p_md.md_regs[R1];
p                 105 compat/common/kern_exit_43.c 	if ((error = sys_wait4(p, &a, retval)) != 0)
p                  55 compat/common/kern_info_09.c compat_09_sys_getdomainname(p, v, retval)
p                  56 compat/common/kern_info_09.c 	struct proc *p;
p                  69 compat/common/kern_info_09.c 	return (kern_sysctl(&name, 1, SCARG(uap, domainname), &sz, 0, 0, p));
p                  75 compat/common/kern_info_09.c compat_09_sys_setdomainname(p, v, retval)
p                  76 compat/common/kern_info_09.c 	struct proc *p;
p                  87 compat/common/kern_info_09.c 	if ((error = suser(p, 0)) != 0)
p                  91 compat/common/kern_info_09.c 			    SCARG(uap, len), p));
p                 104 compat/common/kern_info_09.c compat_09_sys_uname(p, v, retval)
p                 105 compat/common/kern_info_09.c 	struct proc *p;
p                  58 compat/common/kern_info_43.c compat_43_sys_getdtablesize(p, v, retval)
p                  59 compat/common/kern_info_43.c 	struct proc *p;
p                  64 compat/common/kern_info_43.c 	*retval = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
p                  71 compat/common/kern_info_43.c compat_43_sys_gethostid(p, v, retval)
p                  72 compat/common/kern_info_43.c 	struct proc *p;
p                  84 compat/common/kern_info_43.c compat_43_sys_gethostname(p, v, retval)
p                  85 compat/common/kern_info_43.c 	struct proc *p;
p                  98 compat/common/kern_info_43.c 	return (kern_sysctl(&name, 1, SCARG(uap, hostname), &sz, 0, 0, p));
p                 190 compat/common/kern_info_43.c compat_43_sys_getkerninfo(p, v, retval)
p                 191 compat/common/kern_info_43.c 	struct proc *p;
p                 219 compat/common/kern_info_43.c 		    net_sysctl(name, 5, SCARG(uap, where), &size, NULL, 0, p);
p                 225 compat/common/kern_info_43.c 		    kern_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
p                 233 compat/common/kern_info_43.c 		    kern_sysctl(name, 3, SCARG(uap, where), &size, NULL, 0, p);
p                 239 compat/common/kern_info_43.c 		    kern_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
p                 245 compat/common/kern_info_43.c 		    uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
p                 251 compat/common/kern_info_43.c 		    uvm_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
p                 257 compat/common/kern_info_43.c 		    kern_sysctl(name, 1, SCARG(uap, where), &size, NULL, 0, p);
p                 337 compat/common/kern_info_43.c compat_43_sys_sethostid(p, v, retval)
p                 338 compat/common/kern_info_43.c 	struct proc *p;
p                 347 compat/common/kern_info_43.c 	if ((error = suser(p, 0)) != 0)
p                 356 compat/common/kern_info_43.c compat_43_sys_sethostname(p, v, retval)
p                 357 compat/common/kern_info_43.c 	struct proc *p;
p                 365 compat/common/kern_info_43.c 	if ((error = suser(p, 0)) != 0)
p                 369 compat/common/kern_info_43.c 			    SCARG(uap, len), p));
p                  53 compat/common/kern_ipc_10.c compat_10_sys_semsys(p, v, retval)
p                  54 compat/common/kern_ipc_10.c 	struct proc *p;
p                  88 compat/common/kern_ipc_10.c 		return (sys___semctl(p, &__semctl_args, retval));
p                  94 compat/common/kern_ipc_10.c 		return (sys_semget(p, &semget_args, retval));
p                 100 compat/common/kern_ipc_10.c 		return (sys_semop(p, &semop_args, retval));
p                 108 compat/common/kern_ipc_10.c compat_10_sys_shmsys(p, v, retval)
p                 109 compat/common/kern_ipc_10.c 	struct proc *p;
p                 143 compat/common/kern_ipc_10.c 		return (sys_shmat(p, &shmat_args, retval));
p                 149 compat/common/kern_ipc_10.c 		return (sys_shmctl(p, &shmctl_args, retval));
p                 153 compat/common/kern_ipc_10.c 		return (sys_shmdt(p, &shmdt_args, retval));
p                 159 compat/common/kern_ipc_10.c 		return (sys_shmget(p, &shmget_args, retval));
p                 167 compat/common/kern_ipc_10.c compat_10_sys_msgsys(p, v, retval)
p                 168 compat/common/kern_ipc_10.c 	struct proc *p;
p                 209 compat/common/kern_ipc_10.c 		return (sys_msgctl(p, &msgctl_args, retval));
p                 214 compat/common/kern_ipc_10.c 		return (sys_msgget(p, &msgget_args, retval));
p                 221 compat/common/kern_ipc_10.c 		return (sys_msgsnd(p, &msgsnd_args, retval));
p                 229 compat/common/kern_ipc_10.c 		return (sys_msgrcv(p, &msgrcv_args, retval));
p                  84 compat/common/kern_ipc_23.c compat_23_sys_msgctl(struct proc *p, void *v, register_t *retval)
p                  92 compat/common/kern_ipc_23.c 	return (msgctl1(p, SCARG(uap, msqid), SCARG(uap, cmd),
p                 134 compat/common/kern_ipc_23.c compat_23_sys___semctl(struct proc *p, void *v, register_t *retval)
p                 155 compat/common/kern_ipc_23.c 		error = semctl1(p, SCARG(uap, semid), SCARG(uap, semnum),
p                 199 compat/common/kern_ipc_23.c compat_23_sys_shmctl(struct proc *p, void *v, register_t *retval)
p                 207 compat/common/kern_ipc_23.c 	return (shmctl1(p, SCARG(uap, shmid), SCARG(uap, cmd),
p                  35 compat/common/kern_ipc_35.c compat_35_sys_shmget(struct proc *p, void *v, register_t *retval)
p                  52 compat/common/kern_ipc_35.c 	return (sys_shmget(p, &shmget_args, retval));
p                  61 compat/common/kern_ipc_35.c compat_35_sys_semop(struct proc *p, void *v, register_t *retval)
p                  78 compat/common/kern_ipc_35.c 	return (sys_semop(p, &semop_args, retval));
p                 136 compat/common/kern_ipc_35.c compat_35_sys_msgctl(struct proc *p, void *v, register_t *retval)
p                 144 compat/common/kern_ipc_35.c 	return (msgctl1(p, SCARG(uap, msqid), SCARG(uap, cmd),
p                 186 compat/common/kern_ipc_35.c compat_35_sys___semctl(struct proc *p, void *v, register_t *retval)
p                 207 compat/common/kern_ipc_35.c 		error = semctl1(p, SCARG(uap, semid), SCARG(uap, semnum),
p                 251 compat/common/kern_ipc_35.c compat_35_sys_shmctl(struct proc *p, void *v, register_t *retval)
p                 259 compat/common/kern_ipc_35.c 	return (shmctl1(p, SCARG(uap, shmid), SCARG(uap, cmd),
p                  55 compat/common/kern_resource_43.c compat_43_sys_getrlimit(p, v, retval)
p                  56 compat/common/kern_resource_43.c 	struct proc *p;
p                  68 compat/common/kern_resource_43.c 	olim.rlim_cur = p->p_rlimit[SCARG(uap, which)].rlim_cur;
p                  71 compat/common/kern_resource_43.c 	olim.rlim_max = p->p_rlimit[SCARG(uap, which)].rlim_max;
p                  80 compat/common/kern_resource_43.c compat_43_sys_setrlimit(p, v, retval)
p                  81 compat/common/kern_resource_43.c 	struct proc *p;
p                  99 compat/common/kern_resource_43.c 	return (dosetrlimit(p, SCARG(uap, which), &lim));
p                  68 compat/common/kern_sig_43.c compat_43_sys_sigblock(p, v, retval)
p                  69 compat/common/kern_sig_43.c 	register struct proc *p;
p                  79 compat/common/kern_sig_43.c 	*retval = p->p_sigmask;
p                  80 compat/common/kern_sig_43.c 	p->p_sigmask |= SCARG(uap, mask) &~ sigcantmask;
p                  87 compat/common/kern_sig_43.c compat_43_sys_sigsetmask(p, v, retval)
p                  88 compat/common/kern_sig_43.c 	struct proc *p;
p                  98 compat/common/kern_sig_43.c 	*retval = p->p_sigmask;
p                  99 compat/common/kern_sig_43.c 	p->p_sigmask = SCARG(uap, mask) &~ sigcantmask;
p                 107 compat/common/kern_sig_43.c compat_43_sys_sigstack(p, v, retval)
p                 108 compat/common/kern_sig_43.c 	struct proc *p;
p                 120 compat/common/kern_sig_43.c 	psp = p->p_sigacts;
p                 144 compat/common/kern_sig_43.c compat_43_sys_sigvec(p, v, retval)
p                 145 compat/common/kern_sig_43.c 	struct proc *p;
p                 155 compat/common/kern_sig_43.c 	register struct sigacts *ps = p->p_sigacts;
p                 176 compat/common/kern_sig_43.c 		if (p->p_flag & P_NOCLDSTOP)
p                 190 compat/common/kern_sig_43.c 		setsigvec(p, signum, (struct sigaction *)sv);
p                 198 compat/common/kern_sig_43.c compat_43_sys_killpg(p, v, retval)
p                 199 compat/common/kern_sig_43.c 	struct proc *p;
p                 210 compat/common/kern_sig_43.c 	return (killpg1(p, SCARG(uap, signum), SCARG(uap, pgid), 0));
p                  90 compat/common/tty_43.c ttcompat(tp, com, data, flag, p)
p                  95 compat/common/tty_43.c 	struct proc *p;
p                 138 compat/common/tty_43.c 			(caddr_t)&term, flag, p));
p                 211 compat/common/tty_43.c 		return (ttioctl(tp, TIOCSETA, (caddr_t)&term, flag, p));
p                 228 compat/common/tty_43.c 			p));
p                 233 compat/common/tty_43.c 		return (ttioctl(tp, TIOCCONS, data, flag, p));
p                  55 compat/common/uipc_syscalls_43.c compat_43_sys_accept(p, v, retval)
p                  56 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                  67 compat/common/uipc_syscalls_43.c 	if ((error = sys_accept(p, uap, retval)) != 0)
p                  86 compat/common/uipc_syscalls_43.c compat_43_sys_getpeername(p, v, retval)
p                  87 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 100 compat/common/uipc_syscalls_43.c 	if ((error = sys_getpeername(p, uap, retval)) != 0)
p                 116 compat/common/uipc_syscalls_43.c compat_43_sys_getsockname(p, v, retval)
p                 117 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 129 compat/common/uipc_syscalls_43.c 	if ((error = sys_getsockname(p, uap, retval)) != 0)
p                 145 compat/common/uipc_syscalls_43.c compat_43_sys_recv(p, v, retval)
p                 146 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 167 compat/common/uipc_syscalls_43.c 	return (recvit(p, SCARG(uap, s), &msg, (caddr_t)0, retval));
p                 173 compat/common/uipc_syscalls_43.c compat_43_sys_recvfrom(p, v, retval)
p                 174 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 188 compat/common/uipc_syscalls_43.c 	return (sys_recvfrom(p, uap, retval));
p                 200 compat/common/uipc_syscalls_43.c compat_43_sys_recvmsg(p, v, retval)
p                 201 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 231 compat/common/uipc_syscalls_43.c 	error = recvit(p, SCARG(uap, s), &msg,
p                 245 compat/common/uipc_syscalls_43.c compat_43_sys_send(p, v, retval)
p                 246 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 267 compat/common/uipc_syscalls_43.c 	return (sendit(p, SCARG(uap, s), &msg, SCARG(uap, flags), retval));
p                 272 compat/common/uipc_syscalls_43.c compat_43_sys_sendmsg(p, v, retval)
p                 273 compat/common/uipc_syscalls_43.c 	struct proc *p;
p                 303 compat/common/uipc_syscalls_43.c 	error = sendit(p, SCARG(uap, s), &msg, SCARG(uap, flags), retval);
p                  59 compat/common/vfs_syscalls_25.c statfs_to_ostatfs(p, mp, sp, osp)
p                  60 compat/common/vfs_syscalls_25.c 	struct proc *p;
p                  79 compat/common/vfs_syscalls_25.c 	if (suser(p, 0))
p                  96 compat/common/vfs_syscalls_25.c compat_25_sys_statfs(p, v, retval)
p                  97 compat/common/vfs_syscalls_25.c 	struct proc *p;
p                 111 compat/common/vfs_syscalls_25.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 117 compat/common/vfs_syscalls_25.c 	if ((error = VFS_STATFS(mp, sp, p)) != 0)
p                 120 compat/common/vfs_syscalls_25.c 	statfs_to_ostatfs(p, mp, sp, &osb);
p                 129 compat/common/vfs_syscalls_25.c compat_25_sys_fstatfs(p, v, retval)
p                 130 compat/common/vfs_syscalls_25.c 	struct proc *p;
p                 144 compat/common/vfs_syscalls_25.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 148 compat/common/vfs_syscalls_25.c 	error = VFS_STATFS(mp, sp, p);
p                 153 compat/common/vfs_syscalls_25.c 	statfs_to_ostatfs(p, mp, sp, &osb);
p                 161 compat/common/vfs_syscalls_25.c compat_25_sys_getfsstat(p, v, retval)
p                 162 compat/common/vfs_syscalls_25.c 	struct proc *p;
p                 196 compat/common/vfs_syscalls_25.c 			    (error = VFS_STATFS(mp, sp, p))) {
p                 202 compat/common/vfs_syscalls_25.c 			statfs_to_ostatfs(p, mp, sp, &osb);
p                  86 compat/common/vfs_syscalls_35.c compat_35_sys_stat(struct proc *p, void *v, register_t *retval)
p                  98 compat/common/vfs_syscalls_35.c 	    SCARG(uap, path), p);
p                 101 compat/common/vfs_syscalls_35.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 106 compat/common/vfs_syscalls_35.c 	if (suser(p, 0))
p                 118 compat/common/vfs_syscalls_35.c compat_35_sys_lstat(struct proc *p, void *v, register_t *retval)
p                 130 compat/common/vfs_syscalls_35.c 	    SCARG(uap, path), p);
p                 133 compat/common/vfs_syscalls_35.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 138 compat/common/vfs_syscalls_35.c 	if (suser(p, 0))
p                 150 compat/common/vfs_syscalls_35.c compat_35_sys_fstat(struct proc *p, void *v, register_t *retval)
p                 157 compat/common/vfs_syscalls_35.c 	struct filedesc *fdp = p->p_fd;
p                 166 compat/common/vfs_syscalls_35.c 	error = (*fp->f_ops->fo_stat)(fp, &ub, p);
p                 171 compat/common/vfs_syscalls_35.c 		if (suser(p, 0))
p                 181 compat/common/vfs_syscalls_35.c compat_35_sys_fhstat(struct proc *p, void *v, register_t *retval)
p                 197 compat/common/vfs_syscalls_35.c 	if ((error = suser(p, 0)))
p                 207 compat/common/vfs_syscalls_35.c 	error = vn_stat(vp, &ub, p);
p                 102 compat/common/vfs_syscalls_43.c compat_43_sys_stat(p, v, retval)
p                 103 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 117 compat/common/vfs_syscalls_43.c 	    SCARG(uap, path), p);
p                 120 compat/common/vfs_syscalls_43.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 125 compat/common/vfs_syscalls_43.c 	if (suser(p, 0))
p                 138 compat/common/vfs_syscalls_43.c compat_43_sys_lstat(p, v, retval)
p                 139 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 153 compat/common/vfs_syscalls_43.c 	    SCARG(uap, path), p);
p                 156 compat/common/vfs_syscalls_43.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 161 compat/common/vfs_syscalls_43.c 	if (suser(p, 0))
p                 173 compat/common/vfs_syscalls_43.c compat_43_sys_fstat(p, v, retval)
p                 174 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 183 compat/common/vfs_syscalls_43.c 	struct filedesc *fdp = p->p_fd;
p                 192 compat/common/vfs_syscalls_43.c 	error = (*fp->f_ops->fo_stat)(fp, &ub, p);
p                 197 compat/common/vfs_syscalls_43.c 		if (suser(p, 0))
p                 210 compat/common/vfs_syscalls_43.c compat_43_sys_ftruncate(p, v, retval)
p                 211 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 227 compat/common/vfs_syscalls_43.c 	return (sys_ftruncate(p, &nuap, retval));
p                 235 compat/common/vfs_syscalls_43.c compat_43_sys_truncate(p, v, retval)
p                 236 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 252 compat/common/vfs_syscalls_43.c 	return (sys_truncate(p, &nuap, retval));
p                 260 compat/common/vfs_syscalls_43.c compat_43_sys_lseek(p, v, retval)
p                 261 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 282 compat/common/vfs_syscalls_43.c 	error = sys_lseek(p, &nuap, (register_t *)&qret);
p                 292 compat/common/vfs_syscalls_43.c compat_43_sys_creat(p, v, retval)
p                 293 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 310 compat/common/vfs_syscalls_43.c 	return (sys_open(p, &nuap, retval));
p                 315 compat/common/vfs_syscalls_43.c compat_43_sys_quota(p, v, retval)
p                 316 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 329 compat/common/vfs_syscalls_43.c compat_43_sys_getdirentries(p, v, retval)
p                 330 compat/common/vfs_syscalls_43.c 	struct proc *p;
p                 351 compat/common/vfs_syscalls_43.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 368 compat/common/vfs_syscalls_43.c 	auio.uio_procp = p;
p                 371 compat/common/vfs_syscalls_43.c 	vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 429 compat/common/vfs_syscalls_43.c 	VOP_UNLOCK(vp, 0, p);
p                  65 compat/common/vm_43.c compat_43_sys_getpagesize(p, v, retval)
p                  66 compat/common/vm_43.c 	struct proc *p;
p                  76 compat/common/vm_43.c compat_43_sys_mmap(p, v, retval)
p                  77 compat/common/vm_43.c 	struct proc *p;
p                 132 compat/common/vm_43.c 	return (sys_mmap(p, &nargs, retval));
p                 111 compat/freebsd/freebsd_exec.c exec_freebsd_aout_makecmds(p, epp)
p                 112 compat/freebsd/freebsd_exec.c 	struct proc *p;
p                 127 compat/freebsd/freebsd_exec.c 		error = exec_aout_prep_oldzmagic(p, epp);
p                 130 compat/freebsd/freebsd_exec.c 		error = exec_aout_prep_zmagic(p, epp);
p                 133 compat/freebsd/freebsd_exec.c 		error = exec_aout_prep_nmagic(p, epp);
p                 136 compat/freebsd/freebsd_exec.c 		error = exec_aout_prep_omagic(p, epp);
p                 148 compat/freebsd/freebsd_exec.c exec_freebsd_elf32_makecmds(struct proc *p, struct exec_package *epp)
p                 152 compat/freebsd/freebsd_exec.c 	return exec_elf32_makecmds(p, epp);
p                 157 compat/freebsd/freebsd_exec.c freebsd_elf_probe(p, epp, itp, pos, os)
p                 158 compat/freebsd/freebsd_exec.c 	struct proc *p;
p                 178 compat/freebsd/freebsd_exec.c 		if ((error = emul_find(p, NULL, freebsd_emul_path, itp, &bp, 0)))
p                 116 compat/freebsd/freebsd_file.c freebsd_sys_mount(p, v, retval)
p                 117 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 129 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 138 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 142 compat/freebsd/freebsd_file.c 	return sys_mount(p, &bma, retval);
p                 154 compat/freebsd/freebsd_file.c freebsd_sys_open(p, v, retval)
p                 155 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 164 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 167 compat/freebsd/freebsd_file.c 		FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 169 compat/freebsd/freebsd_file.c 		FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 170 compat/freebsd/freebsd_file.c 	return sys_open(p, uap, retval);
p                 174 compat/freebsd/freebsd_file.c compat_43_freebsd_sys_creat(p, v, retval)
p                 175 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 183 compat/freebsd/freebsd_file.c 	caddr_t sg  = stackgap_init(p->p_emul);
p                 185 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 186 compat/freebsd/freebsd_file.c 	return compat_43_sys_creat(p, uap, retval);
p                 190 compat/freebsd/freebsd_file.c freebsd_sys_link(p, v, retval)
p                 191 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 199 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 201 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 202 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
p                 203 compat/freebsd/freebsd_file.c 	return sys_link(p, uap, retval);
p                 207 compat/freebsd/freebsd_file.c freebsd_sys_unlink(p, v, retval)
p                 208 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 215 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 217 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 218 compat/freebsd/freebsd_file.c 	return sys_unlink(p, uap, retval);
p                 222 compat/freebsd/freebsd_file.c freebsd_sys_chdir(p, v, retval)
p                 223 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 230 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 232 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 233 compat/freebsd/freebsd_file.c 	return sys_chdir(p, uap, retval);
p                 237 compat/freebsd/freebsd_file.c freebsd_sys_mknod(p, v, retval)
p                 238 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 247 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 249 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 250 compat/freebsd/freebsd_file.c 	return sys_mknod(p, uap, retval);
p                 254 compat/freebsd/freebsd_file.c freebsd_sys_chmod(p, v, retval)
p                 255 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 263 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 265 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 266 compat/freebsd/freebsd_file.c 	return sys_chmod(p, uap, retval);
p                 270 compat/freebsd/freebsd_file.c freebsd_sys_chown(p, v, retval)
p                 271 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 280 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 282 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 283 compat/freebsd/freebsd_file.c 	return sys_chown(p, uap, retval);
p                 287 compat/freebsd/freebsd_file.c freebsd_sys_unmount(p, v, retval)
p                 288 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 296 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 298 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 299 compat/freebsd/freebsd_file.c 	return sys_unmount(p, uap, retval);
p                 303 compat/freebsd/freebsd_file.c freebsd_sys_access(p, v, retval)
p                 304 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 312 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 314 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 315 compat/freebsd/freebsd_file.c 	return sys_access(p, uap, retval);
p                 319 compat/freebsd/freebsd_file.c freebsd_sys_chflags(p, v, retval)
p                 320 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 328 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 330 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 331 compat/freebsd/freebsd_file.c 	return sys_chflags(p, uap, retval);
p                 335 compat/freebsd/freebsd_file.c compat_43_freebsd_sys_stat(p, v, retval)
p                 336 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 344 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 346 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 347 compat/freebsd/freebsd_file.c 	return compat_43_sys_stat(p, uap, retval);
p                 351 compat/freebsd/freebsd_file.c compat_43_freebsd_sys_lstat(p, v, retval)
p                 352 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 360 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 362 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 363 compat/freebsd/freebsd_file.c 	return compat_43_sys_lstat(p, uap, retval);
p                 367 compat/freebsd/freebsd_file.c freebsd_sys_revoke(p, v, retval)
p                 368 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 375 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 377 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 378 compat/freebsd/freebsd_file.c 	return sys_revoke(p, uap, retval);
p                 382 compat/freebsd/freebsd_file.c freebsd_sys_symlink(p, v, retval)
p                 383 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 391 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 393 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 394 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
p                 395 compat/freebsd/freebsd_file.c 	return sys_symlink(p, uap, retval);
p                 399 compat/freebsd/freebsd_file.c freebsd_sys_readlink(p, v, retval)
p                 400 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 409 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 411 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 412 compat/freebsd/freebsd_file.c 	return sys_readlink(p, uap, retval);
p                 416 compat/freebsd/freebsd_file.c freebsd_sys_execve(p, v, retval)
p                 417 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 429 compat/freebsd/freebsd_file.c 	sg = stackgap_init(p->p_emul);
p                 430 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 436 compat/freebsd/freebsd_file.c 	return sys_execve(p, &ap, retval);
p                 440 compat/freebsd/freebsd_file.c freebsd_sys_chroot(p, v, retval)
p                 441 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 448 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 450 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 451 compat/freebsd/freebsd_file.c 	return sys_chroot(p, uap, retval);
p                 455 compat/freebsd/freebsd_file.c freebsd_sys_rename(p, v, retval)
p                 456 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 464 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 466 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
p                 467 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
p                 468 compat/freebsd/freebsd_file.c 	return sys_rename(p, uap, retval);
p                 472 compat/freebsd/freebsd_file.c compat_43_freebsd_sys_truncate(p, v, retval)
p                 473 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 481 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 483 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 484 compat/freebsd/freebsd_file.c 	return compat_43_sys_truncate(p, uap, retval);
p                 488 compat/freebsd/freebsd_file.c freebsd_sys_mkfifo(p, v, retval)
p                 489 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 497 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 499 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 500 compat/freebsd/freebsd_file.c 	return sys_mkfifo(p, uap, retval);
p                 504 compat/freebsd/freebsd_file.c freebsd_sys_mkdir(p, v, retval)
p                 505 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 513 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 515 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 516 compat/freebsd/freebsd_file.c 	return sys_mkdir(p, uap, retval);
p                 520 compat/freebsd/freebsd_file.c freebsd_sys_rmdir(p, v, retval)
p                 521 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 528 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 530 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 531 compat/freebsd/freebsd_file.c 	return sys_rmdir(p, uap, retval);
p                 538 compat/freebsd/freebsd_file.c statfs_to_freebsd_statfs(p, mp, sp, fsp)
p                 539 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 552 compat/freebsd/freebsd_file.c 	if (suser(p, 0))
p                 571 compat/freebsd/freebsd_file.c freebsd_sys_statfs(p, v, retval)
p                 572 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 585 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 587 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 588 compat/freebsd/freebsd_file.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 594 compat/freebsd/freebsd_file.c 	if ((error = VFS_STATFS(mp, sp, p)) != 0)
p                 598 compat/freebsd/freebsd_file.c 	statfs_to_freebsd_statfs(p, mp, sp, &fsb);
p                 607 compat/freebsd/freebsd_file.c freebsd_sys_fstatfs(p, v, retval)
p                 608 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 622 compat/freebsd/freebsd_file.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 626 compat/freebsd/freebsd_file.c 	error = VFS_STATFS(mp, sp, p);
p                 632 compat/freebsd/freebsd_file.c 	statfs_to_freebsd_statfs(p, mp, sp, &fsb);
p                 640 compat/freebsd/freebsd_file.c freebsd_sys_getfsstat(p, v, retval)
p                 641 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 675 compat/freebsd/freebsd_file.c 			    (error = VFS_STATFS(mp, sp, p))) {
p                 682 compat/freebsd/freebsd_file.c 			statfs_to_freebsd_statfs(p, mp, sp, &fsb);
p                 705 compat/freebsd/freebsd_file.c freebsd_sys_getfh(p, v, retval)
p                 706 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 714 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 716 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, fname));
p                 717 compat/freebsd/freebsd_file.c 	return sys_getfh(p, uap, retval);
p                 722 compat/freebsd/freebsd_file.c freebsd_sys_stat(p, v, retval)
p                 723 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 731 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 733 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 734 compat/freebsd/freebsd_file.c 	return compat_35_sys_stat(p, uap, retval);
p                 738 compat/freebsd/freebsd_file.c freebsd_sys_lstat(p, v, retval)
p                 739 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 747 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 749 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 750 compat/freebsd/freebsd_file.c 	return compat_35_sys_lstat(p, uap, retval);
p                 754 compat/freebsd/freebsd_file.c freebsd_sys_pathconf(p, v, retval)
p                 755 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 763 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 765 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 766 compat/freebsd/freebsd_file.c 	return sys_pathconf(p, uap, retval);
p                 770 compat/freebsd/freebsd_file.c freebsd_sys_truncate(p, v, retval)
p                 771 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 780 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 782 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 783 compat/freebsd/freebsd_file.c 	return sys_truncate(p, uap, retval);
p                 791 compat/freebsd/freebsd_file.c freebsd_sys_fcntl(p, v, retval)
p                 792 compat/freebsd/freebsd_file.c 	struct proc *p;
p                 812 compat/freebsd/freebsd_file.c 		fdp = p->p_fd;
p                 819 compat/freebsd/freebsd_file.c 			    (caddr_t)&SCARG(uap, arg), p);
p                 826 compat/freebsd/freebsd_file.c 	return (sys_fcntl(p, uap, retval));
p                  75 compat/freebsd/freebsd_ioctl.c freebsd_sys_ioctl(p, v, retval)
p                  76 compat/freebsd/freebsd_ioctl.c 	struct proc *p;
p                  99 compat/freebsd/freebsd_ioctl.c 		return oss_ioctl_mixer(p, &ap, retval);
p                 102 compat/freebsd/freebsd_ioctl.c 		return oss_ioctl_sequencer(p, &ap, retval);
p                 105 compat/freebsd/freebsd_ioctl.c 		return oss_ioctl_audio(p, &ap, retval);
p                 107 compat/freebsd/freebsd_ioctl.c 		return sys_ioctl(p, uap, retval);
p                  61 compat/freebsd/freebsd_misc.c freebsd_sys_rtprio(p, v, retval)
p                  62 compat/freebsd/freebsd_misc.c 	struct proc *p;
p                  83 compat/freebsd/freebsd_misc.c freebsd_sys_poll2(p, v, retval)
p                  84 compat/freebsd/freebsd_misc.c 	struct proc *p;
p                  88 compat/freebsd/freebsd_misc.c 	return (sys_poll(p, v, retval));
p                  95 compat/freebsd/freebsd_misc.c freebsd_sys_madvise(p, v, retval)
p                  96 compat/freebsd/freebsd_misc.c 	struct proc *p;
p                 135 compat/freebsd/freebsd_misc.c freebsd_sys_getdents(struct proc *p, void *v, register_t *retval)
p                 147 compat/freebsd/freebsd_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) 
p                 168 compat/freebsd/freebsd_misc.c freebsd_sys_mmap(struct proc *p, void *v, register_t *retval)
p                 180 compat/freebsd/freebsd_misc.c 	return (sys_mmap(p, uap, retval));
p                  63 compat/freebsd/freebsd_ptrace.c freebsd_sys_ptrace(p, v, retval)
p                  64 compat/freebsd/freebsd_ptrace.c 	struct proc *p;
p                  90 compat/freebsd/freebsd_ptrace.c 		return sys_ptrace(p, &npa, retval);
p                 100 compat/freebsd/freebsd_ptrace.c 		return sys_ptrace(p, uap, retval);
p                 104 compat/freebsd/freebsd_ptrace.c 		sg = stackgap_init(p->p_emul);
p                 109 compat/freebsd/freebsd_ptrace.c 		if ((error = sys_ptrace(p, &npa, retval)) != 0)
p                 115 compat/freebsd/freebsd_ptrace.c 		if ((error = sys_ptrace(p, &npa, retval)) != 0)
p                 134 compat/freebsd/freebsd_ptrace.c 			if ((error = sys_ptrace(p, &npa, retval)) != 0)
p                 140 compat/freebsd/freebsd_ptrace.c 			if ((error = sys_ptrace(p, &npa, retval)) != 0)
p                  82 compat/freebsd/freebsd_signal.c freebsd_sys_sigaction40(p, v, retval)
p                  83 compat/freebsd/freebsd_signal.c 	struct proc *p;
p                  95 compat/freebsd/freebsd_signal.c 	register struct sigacts *ps = p->p_sigacts;
p                 118 compat/freebsd/freebsd_signal.c 			if ((p->p_flag & P_NOCLDSTOP) != 0)
p                 120 compat/freebsd/freebsd_signal.c 			if ((p->p_flag & P_NOCLDWAIT) != 0)
p                 138 compat/freebsd/freebsd_signal.c 		setsigvec(p, signum, sa);
p                 145 compat/freebsd/freebsd_signal.c freebsd_sys_sigpending40(p, v, retval)
p                 146 compat/freebsd/freebsd_signal.c 	struct proc *p;
p                 155 compat/freebsd/freebsd_signal.c 	bcopy(&p->p_siglist, &fss.__bits[0], sizeof(sigset_t));
p                 160 compat/freebsd/freebsd_signal.c freebsd_sys_sigprocmask40(p, v, retval)
p                 161 compat/freebsd/freebsd_signal.c 	register struct proc *p;
p                 181 compat/freebsd/freebsd_signal.c 		bcopy(&p->p_sigmask, &oss.__bits[0], sizeof(sigset_t));
p                 192 compat/freebsd/freebsd_signal.c 			p->p_sigmask |= obnss &~ sigcantmask;
p                 195 compat/freebsd/freebsd_signal.c 			p->p_sigmask &= ~obnss;
p                 198 compat/freebsd/freebsd_signal.c 			p->p_sigmask = obnss &~ sigcantmask;
p                 210 compat/freebsd/freebsd_signal.c freebsd_sys_sigsuspend40(p, v, retval)
p                 211 compat/freebsd/freebsd_signal.c 	register struct proc *p;
p                 218 compat/freebsd/freebsd_signal.c 	register struct sigacts *ps = p->p_sigacts;
p                 231 compat/freebsd/freebsd_signal.c 	ps->ps_oldmask = p->p_sigmask;
p                 233 compat/freebsd/freebsd_signal.c 	p->p_sigmask = obset &~ sigcantmask;
p                  48 compat/freebsd/freebsd_util.h #define FREEBSD_CHECK_ALT_EXIST(p, sgp, path) \
p                  49 compat/freebsd/freebsd_util.h     CHECK_ALT_EXIST(p, sgp, freebsd_emul_path, path)
p                  51 compat/freebsd/freebsd_util.h #define FREEBSD_CHECK_ALT_CREAT(p, sgp, path) \
p                  52 compat/freebsd/freebsd_util.h     CHECK_ALT_CREAT(p, sgp, freebsd_emul_path, path)
p                  97 compat/hpux/hppa/hpux_exec.c exec_hpux_makecmds(p, epp)
p                  98 compat/hpux/hppa/hpux_exec.c 	struct proc *p;
p                 126 compat/hpux/hppa/hpux_exec.c 		error = exec_hpux_som_omagic(p, epp);
p                 130 compat/hpux/hppa/hpux_exec.c 		error = exec_hpux_som_nmagic(p, epp);
p                 134 compat/hpux/hppa/hpux_exec.c 		error = exec_hpux_som_zmagic(p, epp);
p                 148 compat/hpux/hppa/hpux_exec.c exec_hpux_som_nmagic(struct proc *p, struct exec_package *epp)
p                 175 compat/hpux/hppa/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 179 compat/hpux/hppa/hpux_exec.c exec_hpux_som_zmagic(struct proc *p, struct exec_package *epp)
p                 182 compat/hpux/hppa/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 186 compat/hpux/hppa/hpux_exec.c exec_hpux_som_omagic(struct proc *p, struct exec_package *epp)
p                 189 compat/hpux/hppa/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 199 compat/hpux/hppa/hpux_exec.c hpux_sys_execv(p, v, retval)
p                 200 compat/hpux/hppa/hpux_exec.c 	struct proc *p;
p                 211 compat/hpux/hppa/hpux_exec.c 	sg = stackgap_init(p->p_emul);
p                 212 compat/hpux/hppa/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 218 compat/hpux/hppa/hpux_exec.c 	return sys_execve(p, &ap, retval);
p                 222 compat/hpux/hppa/hpux_exec.c hpux_sys_execve(p, v, retval)
p                 223 compat/hpux/hppa/hpux_exec.c 	struct proc *p;
p                 235 compat/hpux/hppa/hpux_exec.c 	sg = stackgap_init(p->p_emul);
p                 236 compat/hpux/hppa/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 242 compat/hpux/hppa/hpux_exec.c 	return (sys_execve(p, &ap, retval));
p                  43 compat/hpux/hppa/hpux_sig2.c hpux_sys_sigaltstack(struct proc *p, void *v, register_t *retval)
p                  64 compat/hpux/hppa/hpux_sig2.c 	sg = stackgap_init(p->p_emul);
p                  72 compat/hpux/hppa/hpux_sig2.c 	if ((error = sys_sigaltstack(p, &saa, retval)))
p                 121 compat/hpux/hpux_compat.c hpux_sys_fork(p, v, retval)
p                 122 compat/hpux/hpux_compat.c 	struct proc *p;
p                 129 compat/hpux/hpux_compat.c 	error = sys_fork(p, v, retval);
p                 136 compat/hpux/hpux_compat.c hpux_sys_vfork(p, v, retval)
p                 137 compat/hpux/hpux_compat.c 	struct proc *p;
p                 144 compat/hpux/hpux_compat.c 	error = sys_vfork(p, v, retval);
p                 157 compat/hpux/hpux_compat.c hpux_sys_wait3(p, v, retval)
p                 158 compat/hpux/hpux_compat.c 	struct proc *p;
p                 168 compat/hpux/hpux_compat.c 	p->p_md.md_regs[PS] = PSL_ALLCC;
p                 169 compat/hpux/hpux_compat.c 	p->p_md.md_regs[R0] = SCARG(uap, options);
p                 170 compat/hpux/hpux_compat.c 	p->p_md.md_regs[R1] = SCARG(uap, rusage);
p                 173 compat/hpux/hpux_compat.c 	return (hpux_sys_wait(p, uap, retval));
p                 177 compat/hpux/hpux_compat.c hpux_sys_wait(p, v, retval)
p                 178 compat/hpux/hpux_compat.c 	struct proc *p;
p                 193 compat/hpux/hpux_compat.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 201 compat/hpux/hpux_compat.c 	error = sys_wait4(p, &w4, retval);
p                 230 compat/hpux/hpux_compat.c hpux_sys_waitpid(p, v, retval)
p                 231 compat/hpux/hpux_compat.c 	struct proc *p;
p                 239 compat/hpux/hpux_compat.c 	error = sys_wait4(p, uap, retval);
p                 283 compat/hpux/hpux_compat.c hpux_sys_read(p, v, retval)
p                 284 compat/hpux/hpux_compat.c 	struct proc *p;
p                 291 compat/hpux/hpux_compat.c 	error = sys_read(p, (struct sys_read_args *) uap, retval);
p                 293 compat/hpux/hpux_compat.c 		char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)];
p                 307 compat/hpux/hpux_compat.c hpux_sys_write(p, v, retval)
p                 308 compat/hpux/hpux_compat.c 	struct proc *p;
p                 315 compat/hpux/hpux_compat.c 	error = sys_write(p, (struct sys_write_args *) uap, retval);
p                 317 compat/hpux/hpux_compat.c 		char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)];
p                 331 compat/hpux/hpux_compat.c hpux_sys_readv(p, v, retval)
p                 332 compat/hpux/hpux_compat.c 	struct proc *p;
p                 339 compat/hpux/hpux_compat.c 	error = sys_readv(p, (struct sys_readv_args *) uap, retval);
p                 341 compat/hpux/hpux_compat.c 		char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)];
p                 355 compat/hpux/hpux_compat.c hpux_sys_writev(p, v, retval)
p                 356 compat/hpux/hpux_compat.c 	struct proc *p;
p                 363 compat/hpux/hpux_compat.c 	error = sys_writev(p, (struct sys_writev_args *) uap, retval);
p                 365 compat/hpux/hpux_compat.c 		char *fp = &p->p_fd->fd_ofileflags[SCARG(uap, fd)];
p                 379 compat/hpux/hpux_compat.c hpux_sys_utssys(p, v, retval)
p                 380 compat/hpux/hpux_compat.c 	struct proc *p;
p                 435 compat/hpux/hpux_compat.c hpux_sys_sysconf(p, v, retval)
p                 436 compat/hpux/hpux_compat.c 	struct proc *p;
p                 467 compat/hpux/hpux_compat.c hpux_sys_ulimit(p, v, retval)
p                 468 compat/hpux/hpux_compat.c 	struct proc *p;
p                 476 compat/hpux/hpux_compat.c 	limp = &p->p_rlimit[RLIMIT_FSIZE];
p                 481 compat/hpux/hpux_compat.c 		    (error = suser(p, 0)))
p                 491 compat/hpux/hpux_compat.c 		limp = &p->p_rlimit[RLIMIT_DATA];
p                 492 compat/hpux/hpux_compat.c 		*retval = ctob(p->p_vmspace->vm_tsize) + limp->rlim_max;
p                 513 compat/hpux/hpux_compat.c 	struct proc *p;
p                 521 compat/hpux/hpux_compat.c 		p = cp;
p                 522 compat/hpux/hpux_compat.c 	else if ((p = pfind(SCARG(uap, pid))) == 0)
p                 524 compat/hpux/hpux_compat.c 	nice = p->p_nice;
p                 544 compat/hpux/hpux_compat.c 	error = donice(cp, p, nice);
p                 555 compat/hpux/hpux_compat.c hpux_sys_ptrace(p, v, retval)
p                 556 compat/hpux/hpux_compat.c 	struct proc *p;
p                 618 compat/hpux/hpux_compat.c 	error = sys_ptrace(p, uap, retval);
p                 637 compat/hpux/hpux_compat.c hpux_sys_shmctl(p, v, retval)
p                 638 compat/hpux/hpux_compat.c 	struct proc *p;
p                 644 compat/hpux/hpux_compat.c 	return (hpux_shmctl1(p, (struct hpux_sys_shmctl_args *)uap, retval, 0));
p                 648 compat/hpux/hpux_compat.c hpux_sys_nshmctl(p, v, retval)
p                 649 compat/hpux/hpux_compat.c 	struct proc *p;
p                 655 compat/hpux/hpux_compat.c 	return (hpux_shmctl1(p, (struct hpux_sys_shmctl_args *)uap, retval, 1));
p                 662 compat/hpux/hpux_compat.c hpux_shmctl1(p, uap, retval, isnew)
p                 663 compat/hpux/hpux_compat.c 	struct proc *p;
p                 669 compat/hpux/hpux_compat.c 	struct ucred *cred = p->p_ucred;
p                 729 compat/hpux/hpux_compat.c 	return (sys_shmctl(p, uap, retval));
p                 737 compat/hpux/hpux_compat.c hpux_sys_mmap(p, v, retval)
p                 738 compat/hpux/hpux_compat.c 	struct proc *p;
p                 765 compat/hpux/hpux_compat.c 	return (sys_mmap(p, &nargs, retval));
p                 804 compat/hpux/hpux_compat.c hpux_sys_ioctl(p, v, retval)
p                 805 compat/hpux/hpux_compat.c 	struct proc *p;
p                 814 compat/hpux/hpux_compat.c 	struct filedesc *fdp = p->p_fd;
p                 827 compat/hpux/hpux_compat.c 		return (getsettty(p, SCARG(uap, fd), com, SCARG(uap, data)));
p                 881 compat/hpux/hpux_compat.c 						       (caddr_t)&tmp, p);
p                 888 compat/hpux/hpux_compat.c 		error = (*fp->f_ops->fo_ioctl)(fp, TIOCCONS, dt, p);
p                 909 compat/hpux/hpux_compat.c 			(fp, hpuxtobsdioctl(com), dt, p);
p                 926 compat/hpux/hpux_compat.c 		error = hpux_termio(SCARG(uap, fd), com, dt, p);
p                 930 compat/hpux/hpux_compat.c 		error = (*fp->f_ops->fo_ioctl)(fp, com, dt, p);
p                 960 compat/hpux/hpux_compat.c 	struct proc *p;
p                 964 compat/hpux/hpux_compat.c 	p = pfind(SCARG(uap, pid));
p                 965 compat/hpux/hpux_compat.c 	if (p == 0)
p                 967 compat/hpux/hpux_compat.c 	if (cp->p_ucred->cr_uid && p->p_ucred->cr_uid != cp->p_ucred->cr_uid &&
p                 968 compat/hpux/hpux_compat.c 	    !inferior(p))
p                 970 compat/hpux/hpux_compat.c 	*retval = p->p_pgid;
p                 979 compat/hpux/hpux_compat.c hpux_sys_setpgrp2(p, v, retval)
p                 980 compat/hpux/hpux_compat.c 	struct proc *p;
p                 989 compat/hpux/hpux_compat.c 	return (sys_setpgid(p, uap, retval));
p                 993 compat/hpux/hpux_compat.c hpux_sys_getrlimit(p, v, retval)
p                 994 compat/hpux/hpux_compat.c 	struct proc *p;
p                1009 compat/hpux/hpux_compat.c 	return (compat_43_sys_getrlimit(p, uap, retval));
p                1013 compat/hpux/hpux_compat.c hpux_sys_setrlimit(p, v, retval)
p                1014 compat/hpux/hpux_compat.c 	struct proc *p;
p                1029 compat/hpux/hpux_compat.c 	return (compat_43_sys_setrlimit(p, uap, retval));
p                1036 compat/hpux/hpux_compat.c hpux_sys_lockf(p, v, retval)
p                1037 compat/hpux/hpux_compat.c 	struct proc *p;
p                1049 compat/hpux/hpux_compat.c hpux_sys_getaccess(p, v, retval)
p                1050 compat/hpux/hpux_compat.c 	struct proc *p;
p                1064 compat/hpux/hpux_compat.c 	cred = crdup(p->p_ucred);
p                1069 compat/hpux/hpux_compat.c 		cred->cr_uid = p->p_cred->p_ruid;
p                1088 compat/hpux/hpux_compat.c 		cred->cr_gid = p->p_cred->p_rgid;
p                1091 compat/hpux/hpux_compat.c 		cred->cr_gid = p->p_cred->p_rgid;
p                1125 compat/hpux/hpux_compat.c 			SCARG(uap, path), p);
p                1137 compat/hpux/hpux_compat.c 	if (VOP_ACCESS(vp, VREAD, cred, p) == 0)
p                1139 compat/hpux/hpux_compat.c 	if (vn_writechk(vp) == 0 && VOP_ACCESS(vp, VWRITE, cred, p) == 0)
p                1141 compat/hpux/hpux_compat.c 	if (VOP_ACCESS(vp, VEXEC, cred, p) == 0)
p                1161 compat/hpux/hpux_compat.c hpux_sys_setpgrp_6x(p, v, retval)
p                1162 compat/hpux/hpux_compat.c 	struct proc *p;
p                1167 compat/hpux/hpux_compat.c 	if (p->p_pid != p->p_pgid)
p                1168 compat/hpux/hpux_compat.c 		enterpgrp(p, p->p_pid, 0);
p                1169 compat/hpux/hpux_compat.c 	*retval = p->p_pgid;
p                1174 compat/hpux/hpux_compat.c hpux_sys_time_6x(p, v, retval)
p                1175 compat/hpux/hpux_compat.c 	struct proc *p;
p                1194 compat/hpux/hpux_compat.c hpux_sys_stime_6x(p, v, retval)
p                1195 compat/hpux/hpux_compat.c 	struct proc *p;
p                1207 compat/hpux/hpux_compat.c 	if ((error = suser(p, 0)))
p                1216 compat/hpux/hpux_compat.c hpux_sys_ftime_6x(p, v, retval)
p                1217 compat/hpux/hpux_compat.c 	struct proc *p;
p                1236 compat/hpux/hpux_compat.c hpux_sys_alarm_6x(p, v, retval)
p                1237 compat/hpux/hpux_compat.c 	struct proc *p;
p                1247 compat/hpux/hpux_compat.c 	timeout_del(&p->p_realit_to);
p                1248 compat/hpux/hpux_compat.c 	timerclear(&p->p_realtimer.it_interval);
p                1251 compat/hpux/hpux_compat.c 	if (timerisset(&p->p_realtimer.it_value) &&
p                1252 compat/hpux/hpux_compat.c 	    timercmp(&p->p_realtimer.it_value, &tv, >))
p                1253 compat/hpux/hpux_compat.c 		*retval = p->p_realtimer.it_value.tv_sec - tv.tv_sec;
p                1255 compat/hpux/hpux_compat.c 		timerclear(&p->p_realtimer.it_value);
p                1260 compat/hpux/hpux_compat.c 	p->p_realtimer.it_value = tv;
p                1261 compat/hpux/hpux_compat.c 	p->p_realtimer.it_value.tv_sec += SCARG(uap, deltat);
p                1265 compat/hpux/hpux_compat.c 	timeout_add(&p->p_realit_to, timo);
p                1270 compat/hpux/hpux_compat.c hpux_sys_nice_6x(p, v, retval)
p                1271 compat/hpux/hpux_compat.c 	struct proc *p;
p                1280 compat/hpux/hpux_compat.c 	error = donice(p, p, (p->p_nice-NZERO)+SCARG(uap, nval));
p                1282 compat/hpux/hpux_compat.c 		*retval = p->p_nice - NZERO;
p                1287 compat/hpux/hpux_compat.c hpux_sys_times_6x(p, v, retval)
p                1288 compat/hpux/hpux_compat.c 	struct proc *p;
p                1299 compat/hpux/hpux_compat.c 	calcru(p, &ru, &rs, NULL);
p                1302 compat/hpux/hpux_compat.c 	atms.tms_cutime = hpux_scale(&p->p_stats->p_cru.ru_utime);
p                1303 compat/hpux/hpux_compat.c 	atms.tms_cstime = hpux_scale(&p->p_stats->p_cru.ru_stime);
p                1331 compat/hpux/hpux_compat.c hpux_sys_utime_6x(p, v, retval)
p                1332 compat/hpux/hpux_compat.c 	struct proc *p;
p                1359 compat/hpux/hpux_compat.c 	    SCARG(uap, fname), p);
p                1366 compat/hpux/hpux_compat.c 		error = VOP_SETATTR(vp, &vattr, nd.ni_cnd.cn_cred, p);
p                1372 compat/hpux/hpux_compat.c hpux_sys_pause_6x(p, v, retval)
p                1373 compat/hpux/hpux_compat.c 	struct proc *p;
p                1379 compat/hpux/hpux_compat.c 	SCARG(&bsa, mask) = p->p_sigmask;
p                1380 compat/hpux/hpux_compat.c 	return (sys_sigsuspend(p, &bsa, retval));
p                  94 compat/hpux/hpux_file.c hpux_sys_creat(p, v, retval)
p                  95 compat/hpux/hpux_file.c 	struct proc *p;
p                 107 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 108 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 114 compat/hpux/hpux_file.c 	return sys_open(p, &oa, retval);
p                 128 compat/hpux/hpux_file.c hpux_sys_open(p, v, retval)
p                 129 compat/hpux/hpux_file.c 	struct proc *p;
p                 142 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 172 compat/hpux/hpux_file.c 		HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 174 compat/hpux/hpux_file.c 		HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 183 compat/hpux/hpux_file.c 	error = sys_open(p, &oa, retval);
p                 189 compat/hpux/hpux_file.c 		p->p_fd->fd_ofileflags[*retval] |=
p                 200 compat/hpux/hpux_file.c hpux_sys_fcntl(p, v, retval)
p                 201 compat/hpux/hpux_file.c 	struct proc *p;
p                 217 compat/hpux/hpux_file.c 	struct filedesc *fdp = p->p_fd;
p                 223 compat/hpux/hpux_file.c 	pop = &p->p_fd->fd_ofileflags[SCARG(uap, fd)];
p                 285 compat/hpux/hpux_file.c 			atomic_setbits_int(&p->p_flag, P_ADVLOCK);
p                 286 compat/hpux/hpux_file.c 			error = VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg);
p                 294 compat/hpux/hpux_file.c 			atomic_setbits_int(&p->p_flag, P_ADVLOCK);
p                 295 compat/hpux/hpux_file.c 			error = VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg);
p                 299 compat/hpux/hpux_file.c 			error = VOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &fl,
p                 332 compat/hpux/hpux_file.c 		    VOP_ADVLOCK(vp, (caddr_t)p, F_GETLK, &fl, F_POSIX)))
p                 356 compat/hpux/hpux_file.c 	error = sys_fcntl(p, &fa, retval);
p                 386 compat/hpux/hpux_file.c hpux_sys_fstat(p, v, retval)
p                 387 compat/hpux/hpux_file.c 	struct proc *p;
p                 401 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 408 compat/hpux/hpux_file.c 	if ((error = sys_fstat(p, &fsa, retval)))
p                 423 compat/hpux/hpux_file.c hpux_sys_stat(p, v, retval)
p                 424 compat/hpux/hpux_file.c 	struct proc *p; 
p                 429 compat/hpux/hpux_file.c 	return (hpux_stat1(p, v, retval, 0));
p                 436 compat/hpux/hpux_file.c hpux_sys_lstat(p, v, retval)
p                 437 compat/hpux/hpux_file.c 	struct proc *p;
p                 442 compat/hpux/hpux_file.c 	return (hpux_stat1(p, v, retval, 1));
p                 449 compat/hpux/hpux_file.c hpux_stat1(p, v, retval, dolstat)
p                 450 compat/hpux/hpux_file.c 	struct proc *p;
p                 465 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 468 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 474 compat/hpux/hpux_file.c 		error = sys_lstat(p, &sa, retval);
p                 476 compat/hpux/hpux_file.c 		error = sys_stat(p, &sa, retval);
p                 494 compat/hpux/hpux_file.c hpux_sys_fstat_6x(p, v, retval)
p                 495 compat/hpux/hpux_file.c 	struct proc *p;
p                 509 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 516 compat/hpux/hpux_file.c 	if ((error = sys_fstat(p, &fsa, retval)))
p                 531 compat/hpux/hpux_file.c hpux_sys_stat_6x(p, v, retval)
p                 532 compat/hpux/hpux_file.c 	struct proc *p;
p                 546 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
p                 548 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 554 compat/hpux/hpux_file.c 	if ((error = sys_stat(p, &sa, retval)))
p                 630 compat/hpux/hpux_file.c hpux_sys_access(p, v, retval)
p                 631 compat/hpux/hpux_file.c 	struct proc *p;
p                 639 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 641 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 643 compat/hpux/hpux_file.c 	return (sys_access(p, uap, retval));
p                 650 compat/hpux/hpux_file.c hpux_sys_unlink(p, v, retval)
p                 651 compat/hpux/hpux_file.c 	struct proc *p;
p                 658 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 660 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 662 compat/hpux/hpux_file.c 	return (sys_unlink(p, uap, retval));
p                 669 compat/hpux/hpux_file.c hpux_sys_chdir(p, v, retval)
p                 670 compat/hpux/hpux_file.c 	struct proc *p;
p                 677 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 679 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 681 compat/hpux/hpux_file.c 	return (sys_chdir(p, uap, retval));
p                 688 compat/hpux/hpux_file.c hpux_sys_mknod(p, v, retval)
p                 689 compat/hpux/hpux_file.c 	struct proc *p;
p                 698 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 701 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 709 compat/hpux/hpux_file.c 		return (sys_mkfifo(p, uap, retval));
p                 711 compat/hpux/hpux_file.c 		return (sys_mknod(p, uap, retval));
p                 718 compat/hpux/hpux_file.c hpux_sys_chmod(p, v, retval)
p                 719 compat/hpux/hpux_file.c 	struct proc *p;
p                 727 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 729 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 731 compat/hpux/hpux_file.c 	return (sys_chmod(p, uap, retval));
p                 738 compat/hpux/hpux_file.c hpux_sys_chown(p, v, retval)
p                 739 compat/hpux/hpux_file.c 	struct proc *p;
p                 748 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 750 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 754 compat/hpux/hpux_file.c 	return (sys_lchown(p, uap, retval));
p                 761 compat/hpux/hpux_file.c hpux_sys_rename(p, v, retval)
p                 762 compat/hpux/hpux_file.c 	struct proc *p;
p                 770 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 772 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
p                 773 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, to));
p                 775 compat/hpux/hpux_file.c 	return (sys_rename(p, uap, retval));
p                 782 compat/hpux/hpux_file.c hpux_sys_mkdir(p, v, retval)
p                 783 compat/hpux/hpux_file.c 	struct proc *p;
p                 791 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 793 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 795 compat/hpux/hpux_file.c 	return (sys_mkdir(p, uap, retval));
p                 802 compat/hpux/hpux_file.c hpux_sys_rmdir(p, v, retval)
p                 803 compat/hpux/hpux_file.c 	struct proc *p;
p                 810 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 812 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 814 compat/hpux/hpux_file.c 	return (sys_rmdir(p, uap, retval));
p                 821 compat/hpux/hpux_file.c hpux_sys_symlink(p, v, retval)
p                 822 compat/hpux/hpux_file.c 	struct proc *p;
p                 830 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 832 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 833 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
p                 835 compat/hpux/hpux_file.c 	return (sys_symlink(p, uap, retval));
p                 842 compat/hpux/hpux_file.c hpux_sys_readlink(p, v, retval)
p                 843 compat/hpux/hpux_file.c 	struct proc *p;
p                 852 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 854 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 856 compat/hpux/hpux_file.c 	return (sys_readlink(p, uap, retval));
p                 863 compat/hpux/hpux_file.c hpux_sys_truncate(p, v, retval)
p                 864 compat/hpux/hpux_file.c 	struct proc *p;
p                 872 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 874 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 876 compat/hpux/hpux_file.c 	return (compat_43_sys_truncate(p, uap, retval));
p                  84 compat/hpux/hpux_sig.c hpux_sys_sigvec(p, v, retval)
p                  85 compat/hpux/hpux_sig.c 	struct proc *p;
p                  91 compat/hpux/hpux_sig.c 	struct sigacts *ps = p->p_sigacts;
p                 125 compat/hpux/hpux_sig.c 		setsigvec(p, sig, (struct sigaction *)sv);
p                 129 compat/hpux/hpux_sig.c 			p->p_flag |= SOUSIG;		/* XXX */
p                 136 compat/hpux/hpux_sig.c hpux_sys_sigblock(p, v, retval)
p                 137 compat/hpux/hpux_sig.c 	struct proc *p;
p                 144 compat/hpux/hpux_sig.c 	*retval = bsdtohpuxmask(p->p_sigmask);
p                 145 compat/hpux/hpux_sig.c 	p->p_sigmask |= hpuxtobsdmask(SCARG(uap, mask)) &~ sigcantmask;
p                 151 compat/hpux/hpux_sig.c hpux_sys_sigsetmask(p, v, retval)
p                 152 compat/hpux/hpux_sig.c 	struct proc *p;
p                 159 compat/hpux/hpux_sig.c 	*retval = bsdtohpuxmask(p->p_sigmask);
p                 160 compat/hpux/hpux_sig.c 	p->p_sigmask = hpuxtobsdmask(SCARG(uap, mask)) &~ sigcantmask;
p                 166 compat/hpux/hpux_sig.c hpux_sys_sigpause(p, v, retval)
p                 167 compat/hpux/hpux_sig.c 	struct proc *p;
p                 174 compat/hpux/hpux_sig.c 	return (sys_sigsuspend(p, uap, retval));
p                 179 compat/hpux/hpux_sig.c hpux_sys_kill(p, v, retval)
p                 180 compat/hpux/hpux_sig.c 	struct proc *p;
p                 191 compat/hpux/hpux_sig.c 	return (sys_kill(p, uap, retval));
p                 207 compat/hpux/hpux_sig.c hpux_sys_sigprocmask(p, v, retval)
p                 208 compat/hpux/hpux_sig.c 	struct proc *p;
p                 222 compat/hpux/hpux_sig.c 		sigset.sigset[0] = bsdtohpuxmask(p->p_sigmask);
p                 235 compat/hpux/hpux_sig.c 			p->p_sigmask |= mask &~ sigcantmask;
p                 238 compat/hpux/hpux_sig.c 			p->p_sigmask &= ~mask;
p                 241 compat/hpux/hpux_sig.c 			p->p_sigmask = mask &~ sigcantmask;
p                 253 compat/hpux/hpux_sig.c hpux_sys_sigpending(p, v, retval)
p                 254 compat/hpux/hpux_sig.c 	struct proc *p;
p                 261 compat/hpux/hpux_sig.c 	sigset.sigset[0] = bsdtohpuxmask(p->p_siglist);
p                 267 compat/hpux/hpux_sig.c hpux_sys_sigsuspend(p, v, retval)
p                 268 compat/hpux/hpux_sig.c 	struct proc *p;
p                 273 compat/hpux/hpux_sig.c 	struct sigacts *ps = p->p_sigacts;
p                 280 compat/hpux/hpux_sig.c 	ps->ps_oldmask = p->p_sigmask;
p                 282 compat/hpux/hpux_sig.c 	p->p_sigmask = mask &~ sigcantmask;
p                 289 compat/hpux/hpux_sig.c hpux_sys_sigaction(p, v, retval)
p                 290 compat/hpux/hpux_sig.c 	struct proc *p;
p                 296 compat/hpux/hpux_sig.c 	struct sigacts *ps = p->p_sigacts;
p                 316 compat/hpux/hpux_sig.c 		if (p->p_flag & P_NOCLDSTOP)
p                 318 compat/hpux/hpux_sig.c 		if (p->p_flag & P_NOCLDWAIT)
p                 344 compat/hpux/hpux_sig.c 		setsigvec(p, sig, &act);
p                 348 compat/hpux/hpux_sig.c 			p->p_flag |= SOUSIG;		/* XXX */
p                  69 compat/hpux/hpux_tty.c hpux_termio(fd, com, data, p)
p                  72 compat/hpux/hpux_tty.c 	struct proc *p;
p                  80 compat/hpux/hpux_tty.c 	    caddr_t data, struct proc *p);
p                  82 compat/hpux/hpux_tty.c 	if ((fp = fd_getfile(p->p_fd, fd)) == NULL)
p                  94 compat/hpux/hpux_tty.c 		if ((error = (*ioctlrout)(fp, TIOCGETA, (caddr_t)&tios, p)))
p                 169 compat/hpux/hpux_tty.c 			(void) (*ioctlrout)(fp, TIOCGETD, (caddr_t)&line, p);
p                 222 compat/hpux/hpux_tty.c 		if ((error = (*ioctlrout)(fp, TIOCGETA, (caddr_t)&tios, p)))
p                 327 compat/hpux/hpux_tty.c 		error = (*ioctlrout)(fp, com, (caddr_t)&tios, p);
p                 335 compat/hpux/hpux_tty.c 						    (caddr_t)&line, p);
p                 360 compat/hpux/hpux_tty.c 					(void) hpux_sys_fcntl(p, &args, &flags);
p                 367 compat/hpux/hpux_tty.c 					(void) hpux_sys_fcntl(p, &args, &flags);
p                 476 compat/hpux/hpux_tty.c hpux_sys_stty_6x(p, v, retval)
p                 477 compat/hpux/hpux_tty.c 	struct proc *p;
p                 486 compat/hpux/hpux_tty.c 	return (getsettty(p, SCARG(uap, fd), HPUXTIOCGETP, SCARG(uap, arg)));
p                 490 compat/hpux/hpux_tty.c hpux_sys_gtty_6x(p, v, retval)
p                 491 compat/hpux/hpux_tty.c 	struct proc *p;
p                 500 compat/hpux/hpux_tty.c 	return (getsettty(p, SCARG(uap, fd), HPUXTIOCSETP, SCARG(uap, arg)));
p                 508 compat/hpux/hpux_tty.c getsettty(p, fdes, com, cmarg)
p                 509 compat/hpux/hpux_tty.c 	struct proc *p;
p                 513 compat/hpux/hpux_tty.c 	struct filedesc *fdp = p->p_fd;
p                 536 compat/hpux/hpux_tty.c 				(fp, TIOCHPCL, (caddr_t)0, p);
p                 542 compat/hpux/hpux_tty.c 	error = (*fp->f_ops->fo_ioctl)(fp, com, (caddr_t)&sb, p);
p                  38 compat/hpux/hpux_util.h #define	HPUX_CHECK_ALT_EXIST(p, sgp, path)	\
p                  39 compat/hpux/hpux_util.h 	CHECK_ALT_EXIST(p, sgp, hpux_emul_path, path)
p                  41 compat/hpux/hpux_util.h #define	HPUX_CHECK_ALT_CREAT(p, sgp, path)	\
p                  42 compat/hpux/hpux_util.h 	CHECK_ALT_CREAT(p, sgp, hpux_emul_path, path)
p                  97 compat/hpux/m68k/hpux_exec.c exec_hpux_makecmds(p, epp)
p                  98 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 123 compat/hpux/m68k/hpux_exec.c 		error = exec_hpux_prep_omagic(p, epp);
p                 127 compat/hpux/m68k/hpux_exec.c 		error = exec_hpux_prep_nmagic(p, epp);
p                 131 compat/hpux/m68k/hpux_exec.c 		error = exec_hpux_prep_zmagic(p, epp);
p                 145 compat/hpux/m68k/hpux_exec.c exec_hpux_prep_nmagic(p, epp)
p                 146 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 175 compat/hpux/m68k/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 179 compat/hpux/m68k/hpux_exec.c exec_hpux_prep_zmagic(p, epp)
p                 180 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 231 compat/hpux/m68k/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 238 compat/hpux/m68k/hpux_exec.c exec_hpux_prep_omagic(p, epp)
p                 239 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 274 compat/hpux/m68k/hpux_exec.c 	return (exec_setup_stack(p, epp));
p                 284 compat/hpux/m68k/hpux_exec.c hpux_sys_execv(p, v, retval)
p                 285 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 296 compat/hpux/m68k/hpux_exec.c 	sg = stackgap_init(p->p_emul);
p                 297 compat/hpux/m68k/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 303 compat/hpux/m68k/hpux_exec.c 	return sys_execve(p, &ap, retval);
p                 307 compat/hpux/m68k/hpux_exec.c hpux_sys_execve(p, v, retval)
p                 308 compat/hpux/m68k/hpux_exec.c 	struct proc *p;
p                 320 compat/hpux/m68k/hpux_exec.c 	sg = stackgap_init(p->p_emul);
p                 321 compat/hpux/m68k/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 327 compat/hpux/m68k/hpux_exec.c 	return (sys_execve(p, &ap, retval));
p                 131 compat/hpux/m68k/hpux_net.c hpux_sys_netioctl(p, v, retval)
p                 132 compat/hpux/m68k/hpux_net.c 	struct proc *p;
p                 148 compat/hpux/m68k/hpux_net.c                 if (KTRPOINT(p, KTR_SYSCALL))
p                 149 compat/hpux/m68k/hpux_net.c                         ktrsyscall(p, code + MINBSDIPCCODE,
p                 156 compat/hpux/m68k/hpux_net.c         if (KTRPOINT(p, KTR_SYSCALL))
p                 157 compat/hpux/m68k/hpux_net.c                 ktrsyscall(p, code + MINBSDIPCCODE,
p                 161 compat/hpux/m68k/hpux_net.c 	return ((*hpuxtobsdipc[code].rout)(p, uap, retval));
p                 193 compat/hpux/m68k/hpux_net.c hpux_sys_setsockopt2(p, v, retval)
p                 194 compat/hpux/m68k/hpux_net.c 	struct proc *p;
p                 203 compat/hpux/m68k/hpux_net.c 	if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)))
p                 238 compat/hpux/m68k/hpux_net.c hpux_sys_setsockopt(p, v, retval)
p                 239 compat/hpux/m68k/hpux_net.c 	struct proc *p;
p                 248 compat/hpux/m68k/hpux_net.c 	if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)))
p                 271 compat/hpux/m68k/hpux_net.c hpux_sys_getsockopt(p, v, retval)
p                 272 compat/hpux/m68k/hpux_net.c 	struct proc *p;
p                 281 compat/hpux/m68k/hpux_net.c 	if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)))
p                  59 compat/hpux/m68k/hpux_sig2.c hpux_sys_ssig_6x(p, v, retval)
p                  60 compat/hpux/m68k/hpux_sig2.c 	struct proc *p;
p                  81 compat/hpux/m68k/hpux_sig2.c 		psignal(p, SIGSYS);
p                  89 compat/hpux/m68k/hpux_sig2.c 	*retval = (int)p->p_sigacts->ps_sigact[a];
p                  90 compat/hpux/m68k/hpux_sig2.c 	setsigvec(p, a, sa);
p                  92 compat/hpux/m68k/hpux_sig2.c 	p->p_flag |= SOUSIG;		/* mark as simulating old stuff */
p                 120 compat/ibcs2/ibcs2_exec.c exec_ibcs2_coff_makecmds(p, epp)
p                 121 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 138 compat/ibcs2/ibcs2_exec.c 		error = exec_ibcs2_coff_prep_omagic(p, epp, fp, ap);
p                 141 compat/ibcs2/ibcs2_exec.c 		error = exec_ibcs2_coff_prep_nmagic(p, epp, fp, ap);
p                 144 compat/ibcs2/ibcs2_exec.c 		error = exec_ibcs2_coff_prep_zmagic(p, epp, fp, ap);
p                 173 compat/ibcs2/ibcs2_exec.c exec_ibcs2_coff_setup_stack(p, epp)
p                 174 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 181 compat/ibcs2/ibcs2_exec.c 	epp->ep_ssize = p->p_rlimit[RLIMIT_STACK].rlim_cur;
p                 215 compat/ibcs2/ibcs2_exec.c exec_ibcs2_coff_prep_omagic(p, epp, fp, ap)
p                 216 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 240 compat/ibcs2/ibcs2_exec.c 	return exec_ibcs2_coff_setup_stack(p, epp);
p                 249 compat/ibcs2/ibcs2_exec.c exec_ibcs2_coff_prep_nmagic(p, epp, fp, ap)
p                 250 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 278 compat/ibcs2/ibcs2_exec.c 	return exec_ibcs2_coff_setup_stack(p, epp);
p                 288 compat/ibcs2/ibcs2_exec.c coff_find_section(p, vp, fp, sh, s_type)
p                 289 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 302 compat/ibcs2/ibcs2_exec.c 		    siz, pos, UIO_SYSSPACE, 0, p->p_ucred,
p                 303 compat/ibcs2/ibcs2_exec.c 		    &resid, p);
p                 333 compat/ibcs2/ibcs2_exec.c exec_ibcs2_coff_prep_zmagic(p, epp, fp, ap)
p                 334 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 347 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, epp->ep_vp, fp, &sh, COFF_STYP_TEXT);
p                 388 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, epp->ep_vp, fp, &sh, COFF_STYP_DATA);
p                 424 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, epp->ep_vp, fp, &sh, COFF_STYP_SHLIB);
p                 439 compat/ibcs2/ibcs2_exec.c 				UIO_SYSSPACE, IO_NODELOCKED, p->p_ucred,
p                 440 compat/ibcs2/ibcs2_exec.c 				&resid, p);
p                 459 compat/ibcs2/ibcs2_exec.c 			error = coff_load_shlib(p, slhdr->sl_name, epp);
p                 477 compat/ibcs2/ibcs2_exec.c 	return exec_ibcs2_coff_setup_stack(p, epp);
p                 481 compat/ibcs2/ibcs2_exec.c coff_load_shlib(p, path, epp)
p                 482 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 491 compat/ibcs2/ibcs2_exec.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 498 compat/ibcs2/ibcs2_exec.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, path);
p                 499 compat/ibcs2/ibcs2_exec.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, p);
p                 508 compat/ibcs2/ibcs2_exec.c 	    UIO_SYSSPACE, IO_NODELOCKED, p->p_ucred, &resid, p);
p                 523 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, nd.ni_vp, fhp, shp, COFF_STYP_TEXT);
p                 540 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, nd.ni_vp, fhp, shp, COFF_STYP_DATA);
p                 559 compat/ibcs2/ibcs2_exec.c 	error = coff_find_section(p, nd.ni_vp, fhp, shp, COFF_STYP_BSS);
p                 577 compat/ibcs2/ibcs2_exec.c exec_ibcs2_xout_makecmds(p, epp)
p                 578 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 596 compat/ibcs2/ibcs2_exec.c 		error = exec_ibcs2_xout_prep_zmagic(p, epp, xp, xep);
p                 599 compat/ibcs2/ibcs2_exec.c 		error = exec_ibcs2_xout_prep_nmagic(p, epp, xp, xep);
p                 616 compat/ibcs2/ibcs2_exec.c exec_ibcs2_xout_prep_nmagic(p, epp, xp, xep)
p                 617 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 633 compat/ibcs2/ibcs2_exec.c 			UIO_SYSSPACE, 0, p->p_ucred,
p                 634 compat/ibcs2/ibcs2_exec.c 			&resid, p);
p                 705 compat/ibcs2/ibcs2_exec.c 	return exec_ibcs2_xout_setup_stack(p, epp);
p                 722 compat/ibcs2/ibcs2_exec.c exec_ibcs2_xout_setup_stack(p, epp)
p                 723 compat/ibcs2/ibcs2_exec.c 	struct proc *p;
p                 728 compat/ibcs2/ibcs2_exec.c 	epp->ep_ssize = p->p_rlimit[RLIMIT_STACK].rlim_cur;
p                 165 compat/ibcs2/ibcs2_fcntl.c ibcs2_sys_open(p, v, retval)
p                 166 compat/ibcs2/ibcs2_fcntl.c 	struct proc *p;
p                 177 compat/ibcs2/ibcs2_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 181 compat/ibcs2/ibcs2_fcntl.c 		IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 183 compat/ibcs2/ibcs2_fcntl.c 		IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 184 compat/ibcs2/ibcs2_fcntl.c 	ret = sys_open(p, uap, retval);
p                 186 compat/ibcs2/ibcs2_fcntl.c 	if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
p                 187 compat/ibcs2/ibcs2_fcntl.c 		struct filedesc *fdp = p->p_fd;
p                 194 compat/ibcs2/ibcs2_fcntl.c 			(fp->f_ops->fo_ioctl)(fp, TIOCSCTTY, (caddr_t) 0, p);
p                 201 compat/ibcs2/ibcs2_fcntl.c ibcs2_sys_creat(p, v, retval)
p                 202 compat/ibcs2/ibcs2_fcntl.c         struct proc *p;  
p                 211 compat/ibcs2/ibcs2_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 213 compat/ibcs2/ibcs2_fcntl.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 217 compat/ibcs2/ibcs2_fcntl.c 	return sys_open(p, &cup, retval);
p                 221 compat/ibcs2/ibcs2_fcntl.c ibcs2_sys_access(p, v, retval)
p                 222 compat/ibcs2/ibcs2_fcntl.c         struct proc *p;
p                 231 compat/ibcs2/ibcs2_fcntl.c         caddr_t sg = stackgap_init(p->p_emul);
p                 233 compat/ibcs2/ibcs2_fcntl.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 236 compat/ibcs2/ibcs2_fcntl.c         return sys_access(p, &cup, retval);
p                 240 compat/ibcs2/ibcs2_fcntl.c ibcs2_sys_eaccess(p, v, retval)
p                 241 compat/ibcs2/ibcs2_fcntl.c         struct proc *p;
p                 249 compat/ibcs2/ibcs2_fcntl.c 	register struct ucred *cred = p->p_ucred;
p                 253 compat/ibcs2/ibcs2_fcntl.c         caddr_t sg = stackgap_init(p->p_emul);
p                 255 compat/ibcs2/ibcs2_fcntl.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 258 compat/ibcs2/ibcs2_fcntl.c             SCARG(uap, path), p);
p                 273 compat/ibcs2/ibcs2_fcntl.c                         error = VOP_ACCESS(vp, flags, cred, p);
p                 280 compat/ibcs2/ibcs2_fcntl.c ibcs2_sys_fcntl(p, v, retval)
p                 281 compat/ibcs2/ibcs2_fcntl.c 	struct proc *p;
p                 300 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 305 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 310 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 315 compat/ibcs2/ibcs2_fcntl.c 		error = sys_fcntl(p, &fa, retval);
p                 324 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 328 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 338 compat/ibcs2/ibcs2_fcntl.c 		error = sys_fcntl(p, &fa, retval);
p                 348 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 358 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 363 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 373 compat/ibcs2/ibcs2_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 379 compat/ibcs2/ibcs2_fcntl.c 		caddr_t			sg = stackgap_init(p->p_emul);
p                 396 compat/ibcs2/ibcs2_fcntl.c 		if ((error = sys_fstat(p, &ofst, retval)) != 0)
p                 405 compat/ibcs2/ibcs2_fcntl.c 		if ((error = sys_lseek(p, &ols, (register_t *)&cur)) != 0)
p                 428 compat/ibcs2/ibcs2_fcntl.c 		return (sys_ftruncate(p, &nuap, retval));
p                 333 compat/ibcs2/ibcs2_ioctl.c ibcs2_sys_ioctl(p, v, retval)
p                 334 compat/ibcs2/ibcs2_ioctl.c 	struct proc *p;
p                 343 compat/ibcs2/ibcs2_ioctl.c 	struct filedesc *fdp = p->p_fd;
p                 353 compat/ibcs2/ibcs2_ioctl.c 		DPRINTF(("ibcs2_ioctl(%d): bad fp flag ", p->p_pid));
p                 369 compat/ibcs2/ibcs2_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0)
p                 379 compat/ibcs2/ibcs2_ioctl.c 					 p->p_pid));
p                 400 compat/ibcs2/ibcs2_ioctl.c 				 p->p_pid));
p                 405 compat/ibcs2/ibcs2_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0) {
p                 407 compat/ibcs2/ibcs2_ioctl.c 				 p->p_pid, SCARG(uap, fd)));
p                 420 compat/ibcs2/ibcs2_ioctl.c 			      (caddr_t)&bts, p);
p                 437 compat/ibcs2/ibcs2_ioctl.c 			      (caddr_t)&bts, p);
p                 454 compat/ibcs2/ibcs2_ioctl.c 			      (caddr_t)&bts, p);
p                 459 compat/ibcs2/ibcs2_ioctl.c 		DPRINTF(("ibcs2_ioctl(%d): TCSBRK ", p->p_pid));
p                 468 compat/ibcs2/ibcs2_ioctl.c 			DPRINTF(("ibcs2_ioctl(%d): TCXONC ", p->p_pid));
p                 472 compat/ibcs2/ibcs2_ioctl.c 			error = (*ctl)(fp, TIOCSTOP, (caddr_t)0, p);
p                 475 compat/ibcs2/ibcs2_ioctl.c 			error = (*ctl)(fp, TIOCSTART, (caddr_t)1, p);
p                 501 compat/ibcs2/ibcs2_ioctl.c 		error = (*ctl)(fp, TIOCFLUSH, (caddr_t)&arg, p);
p                 507 compat/ibcs2/ibcs2_ioctl.c 		error = sys_ioctl(p, uap, retval);
p                 512 compat/ibcs2/ibcs2_ioctl.c 		error = sys_ioctl(p, uap, retval);
p                 516 compat/ibcs2/ibcs2_ioctl.c 		error = copyout((caddr_t)&p->p_pgrp->pg_id, SCARG(uap, data),
p                 517 compat/ibcs2/ibcs2_ioctl.c 				sizeof(p->p_pgrp->pg_id));
p                 526 compat/ibcs2/ibcs2_ioctl.c 		if ((error = sys_setpgid(p, &sa, retval)) != 0)
p                 541 compat/ibcs2/ibcs2_ioctl.c 		error = ibcs2_socksys(p, uap, retval);
p                 552 compat/ibcs2/ibcs2_ioctl.c 			error = (*ctl)(fp, FIONBIO, (caddr_t)&arg, p);
p                 558 compat/ibcs2/ibcs2_ioctl.c 		error = sys_ioctl(p, uap, retval);
p                 563 compat/ibcs2/ibcs2_ioctl.c 			 p->p_pid, SCARG(uap, cmd)));
p                 131 compat/ibcs2/ibcs2_ipc.c ibcs2_sys_msgsys(p, v, retval)
p                 132 compat/ibcs2/ibcs2_ipc.c 	struct proc *p;
p                 148 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_msgsys(p, uap, retval);
p                 152 compat/ibcs2/ibcs2_ipc.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 161 compat/ibcs2/ibcs2_ipc.c 			error = compat_10_sys_msgsys(p, &margs, retval);
p                 171 compat/ibcs2/ibcs2_ipc.c 			return compat_10_sys_msgsys(p, &margs, retval);
p                 173 compat/ibcs2/ibcs2_ipc.c 			return compat_10_sys_msgsys(p, &margs, retval);
p                 179 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_msgsys(p, uap, retval);
p                 182 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_msgsys(p, uap, retval);
p                 269 compat/ibcs2/ibcs2_ipc.c ibcs2_sys_semsys(p, v, retval)
p                 270 compat/ibcs2/ibcs2_ipc.c 	struct proc *p;
p                 290 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 295 compat/ibcs2/ibcs2_ipc.c 			error = compat_10_sys_semsys(p, uap, retval);
p                 310 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 320 compat/ibcs2/ibcs2_ipc.c 			return compat_10_sys_semsys(p, uap, retval);
p                 323 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_semsys(p, uap, retval);
p                 326 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_semsys(p, uap, retval);
p                 329 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_semsys(p, uap, retval);
p                 393 compat/ibcs2/ibcs2_ipc.c ibcs2_sys_shmsys(p, v, retval)
p                 394 compat/ibcs2/ibcs2_ipc.c 	struct proc *p;
p                 408 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_shmsys(p, uap, retval);
p                 416 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 421 compat/ibcs2/ibcs2_ipc.c 			error = compat_10_sys_shmsys(p, uap, retval);
p                 436 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 446 compat/ibcs2/ibcs2_ipc.c 			return compat_10_sys_shmsys(p, uap, retval);
p                 449 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_shmsys(p, uap, retval);
p                 452 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_shmsys(p, uap, retval);
p                 455 compat/ibcs2/ibcs2_ipc.c 		return compat_10_sys_shmsys(p, uap, retval);
p                 106 compat/ibcs2/ibcs2_misc.c ibcs2_sys_ulimit(p, v, retval)
p                 107 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 127 compat/ibcs2/ibcs2_misc.c 		*retval = p->p_rlimit[RLIMIT_FSIZE].rlim_cur;
p                 134 compat/ibcs2/ibcs2_misc.c 		error = setrlimit(p, &sra, retval);
p                 136 compat/ibcs2/ibcs2_misc.c 			*retval = p->p_rlimit[RLIMIT_FSIZE].rlim_cur;
p                 145 compat/ibcs2/ibcs2_misc.c 		*retval = p->p_rlimit[RLIMIT_RSS].rlim_cur; /* XXX */
p                 149 compat/ibcs2/ibcs2_misc.c 		return ibcs2_sys_sysconf(p, uap, retval);
p                 156 compat/ibcs2/ibcs2_misc.c ibcs2_sys_waitsys(p, v, retval)
p                 157 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 171 compat/ibcs2/ibcs2_misc.c 	if ((p->p_md.md_regs->tf_eflags & WAITPID_EFLAGS) == WAITPID_EFLAGS) {
p                 182 compat/ibcs2/ibcs2_misc.c 	if ((error = sys_wait4(p, &w4, retval)) != 0)
p                 191 compat/ibcs2/ibcs2_misc.c ibcs2_sys_execv(p, v, retval)
p                 192 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 203 compat/ibcs2/ibcs2_misc.c 	sg = stackgap_init(p->p_emul);
p                 204 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 210 compat/ibcs2/ibcs2_misc.c 	return sys_execve(p, &ap, retval);
p                 214 compat/ibcs2/ibcs2_misc.c ibcs2_sys_execve(p, v, retval) 
p                 215 compat/ibcs2/ibcs2_misc.c         struct proc *p;
p                 227 compat/ibcs2/ibcs2_misc.c 	sg = stackgap_init(p->p_emul);
p                 228 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 234 compat/ibcs2/ibcs2_misc.c 	return sys_execve(p, &ap, retval);
p                 238 compat/ibcs2/ibcs2_misc.c ibcs2_sys_umount(p, v, retval)
p                 239 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 250 compat/ibcs2/ibcs2_misc.c 	return sys_unmount(p, &um, retval);
p                 254 compat/ibcs2/ibcs2_misc.c ibcs2_sys_mount(p, v, retval)
p                 255 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 321 compat/ibcs2/ibcs2_misc.c 	return (sys_mount(p, uap, retval));
p                 416 compat/ibcs2/ibcs2_misc.c ibcs2_sys_getdents(p, v, retval)
p                 417 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 430 compat/ibcs2/ibcs2_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 446 compat/ibcs2/ibcs2_misc.c ibcs2_sys_read(p, v, retval)
p                 447 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 461 compat/ibcs2/ibcs2_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0) {
p                 463 compat/ibcs2/ibcs2_misc.c 			return sys_read(p, uap, retval);
p                 474 compat/ibcs2/ibcs2_misc.c 		return sys_read(p, uap, retval);
p                 492 compat/ibcs2/ibcs2_misc.c ibcs2_sys_mknod(p, v, retval)
p                 493 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 502 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                 504 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 509 compat/ibcs2/ibcs2_misc.c 		return sys_mkfifo(p, uap, retval);
p                 515 compat/ibcs2/ibcs2_misc.c                 return sys_mknod(p, &ap, retval);
p                 520 compat/ibcs2/ibcs2_misc.c ibcs2_sys_getgroups(p, v, retval)
p                 521 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 533 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 542 compat/ibcs2/ibcs2_misc.c 	if ((error = sys_getgroups(p, &sa, retval)) != 0)
p                 556 compat/ibcs2/ibcs2_misc.c ibcs2_sys_setgroups(p, v, retval)
p                 557 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 569 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 584 compat/ibcs2/ibcs2_misc.c 	return sys_setgroups(p, &sa, retval);
p                 588 compat/ibcs2/ibcs2_misc.c ibcs2_sys_setuid(p, v, retval)
p                 589 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 599 compat/ibcs2/ibcs2_misc.c 	return sys_setuid(p, &sa, retval);
p                 603 compat/ibcs2/ibcs2_misc.c ibcs2_sys_setgid(p, v, retval)
p                 604 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 614 compat/ibcs2/ibcs2_misc.c 	return sys_setgid(p, &sa, retval);
p                 618 compat/ibcs2/ibcs2_misc.c xenix_sys_ftime(p, v, retval)
p                 619 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 640 compat/ibcs2/ibcs2_misc.c ibcs2_sys_time(p, v, retval)
p                 641 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 660 compat/ibcs2/ibcs2_misc.c ibcs2_sys_pathconf(p, v, retval)
p                 661 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 670 compat/ibcs2/ibcs2_misc.c         return sys_pathconf(p, uap, retval);
p                 674 compat/ibcs2/ibcs2_misc.c ibcs2_sys_fpathconf(p, v, retval)
p                 675 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 684 compat/ibcs2/ibcs2_misc.c         return sys_fpathconf(p, uap, retval);
p                 688 compat/ibcs2/ibcs2_misc.c ibcs2_sys_sysconf(p, v, retval)
p                 689 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 708 compat/ibcs2/ibcs2_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 712 compat/ibcs2/ibcs2_misc.c 		if ((error = sys_getrlimit(p, &ga, retval)) != 0)
p                 728 compat/ibcs2/ibcs2_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 732 compat/ibcs2/ibcs2_misc.c 		if ((error = sys_getrlimit(p, &ga, retval)) != 0)
p                 770 compat/ibcs2/ibcs2_misc.c 	if ((error = sys___sysctl(p, &sa, retval)) != 0)
p                 777 compat/ibcs2/ibcs2_misc.c ibcs2_sys_alarm(p, v, retval)
p                 778 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 788 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 799 compat/ibcs2/ibcs2_misc.c         error = sys_setitimer(p, &sa, retval);
p                 809 compat/ibcs2/ibcs2_misc.c ibcs2_sys_getmsg(p, v, retval)
p                 810 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 827 compat/ibcs2/ibcs2_misc.c ibcs2_sys_putmsg(p, v, retval)
p                 828 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 845 compat/ibcs2/ibcs2_misc.c ibcs2_sys_times(p, v, retval)
p                 846 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 857 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 863 compat/ibcs2/ibcs2_misc.c 	error = sys_getrusage(p, &ga, retval);
p                 870 compat/ibcs2/ibcs2_misc.c         error = sys_getrusage(p, &ga, retval);
p                 884 compat/ibcs2/ibcs2_misc.c ibcs2_sys_stime(p, v, retval)
p                 885 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 894 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 905 compat/ibcs2/ibcs2_misc.c 	if ((error = sys_settimeofday(p, &sa, retval)) != 0)
p                 911 compat/ibcs2/ibcs2_misc.c ibcs2_sys_utime(p, v, retval)
p                 912 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 923 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 926 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 942 compat/ibcs2/ibcs2_misc.c 	return sys_utimes(p, &sa, retval);
p                 946 compat/ibcs2/ibcs2_misc.c ibcs2_sys_nice(p, v, retval)
p                 947 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 959 compat/ibcs2/ibcs2_misc.c 	SCARG(&sa, prio) = p->p_nice - PZERO + SCARG(uap, incr);
p                 960 compat/ibcs2/ibcs2_misc.c 	if ((error = sys_setpriority(p, &sa, retval)) != 0)
p                 962 compat/ibcs2/ibcs2_misc.c 	*retval = p->p_nice - PZERO;
p                 971 compat/ibcs2/ibcs2_misc.c ibcs2_sys_pgrpsys(p, v, retval)
p                 972 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 984 compat/ibcs2/ibcs2_misc.c 		*retval = p->p_pgrp->pg_id;
p                 993 compat/ibcs2/ibcs2_misc.c 		sys_setpgid(p, &sa, retval);
p                 994 compat/ibcs2/ibcs2_misc.c 		*retval = p->p_pgrp->pg_id;
p                1004 compat/ibcs2/ibcs2_misc.c 		return sys_setpgid(p, &sa, retval);
p                1008 compat/ibcs2/ibcs2_misc.c 		return sys_setsid(p, NULL, retval);
p                1020 compat/ibcs2/ibcs2_misc.c ibcs2_sys_plock(p, v, retval)
p                1021 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1035 compat/ibcs2/ibcs2_misc.c         if ((error = suser(p, 0)) != 0)
p                1048 compat/ibcs2/ibcs2_misc.c ibcs2_sys_uadmin(p, v, retval)
p                1049 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1079 compat/ibcs2/ibcs2_misc.c 	if ((error = suser(p, 0)) != 0)
p                1106 compat/ibcs2/ibcs2_misc.c ibcs2_sys_sysfs(p, v, retval)
p                1107 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1131 compat/ibcs2/ibcs2_misc.c xenix_sys_rdchk(p, v, retval)
p                1132 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1141 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                1146 compat/ibcs2/ibcs2_misc.c 	if ((error = sys_ioctl(p, &sa, retval)) != 0)
p                1153 compat/ibcs2/ibcs2_misc.c xenix_sys_chsize(p, v, retval)
p                1154 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1167 compat/ibcs2/ibcs2_misc.c 	return sys_ftruncate(p, &sa, retval);
p                1171 compat/ibcs2/ibcs2_misc.c xenix_sys_nap(p, v, retval)
p                1172 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1186 compat/ibcs2/ibcs2_misc.c ibcs2_sys_unlink(p, v, retval)
p                1187 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1194 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1196 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1197 compat/ibcs2/ibcs2_misc.c 	return sys_unlink(p, uap, retval);
p                1201 compat/ibcs2/ibcs2_misc.c ibcs2_sys_chdir(p, v, retval)
p                1202 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1209 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1211 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1212 compat/ibcs2/ibcs2_misc.c 	return sys_chdir(p, uap, retval);
p                1216 compat/ibcs2/ibcs2_misc.c ibcs2_sys_chmod(p, v, retval)
p                1217 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1225 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1227 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1228 compat/ibcs2/ibcs2_misc.c 	return sys_chmod(p, uap, retval);
p                1232 compat/ibcs2/ibcs2_misc.c ibcs2_sys_chown(p, v, retval)
p                1233 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1242 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1244 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1245 compat/ibcs2/ibcs2_misc.c 	return sys_chown(p, uap, retval);
p                1249 compat/ibcs2/ibcs2_misc.c ibcs2_sys_rmdir(p, v, retval)
p                1250 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1257 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1259 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1260 compat/ibcs2/ibcs2_misc.c 	return sys_rmdir(p, uap, retval);
p                1264 compat/ibcs2/ibcs2_misc.c ibcs2_sys_mkdir(p, v, retval)
p                1265 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1273 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1275 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                1276 compat/ibcs2/ibcs2_misc.c 	return sys_mkdir(p, uap, retval);
p                1280 compat/ibcs2/ibcs2_misc.c ibcs2_sys_symlink(p, v, retval)
p                1281 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1289 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1291 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1292 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
p                1293 compat/ibcs2/ibcs2_misc.c 	return sys_symlink(p, uap, retval);
p                1297 compat/ibcs2/ibcs2_misc.c ibcs2_sys_rename(p, v, retval)
p                1298 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1306 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1308 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
p                1309 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
p                1310 compat/ibcs2/ibcs2_misc.c 	return sys_rename(p, uap, retval);
p                1314 compat/ibcs2/ibcs2_misc.c ibcs2_sys_readlink(p, v, retval)
p                1315 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                1324 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
p                1326 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1327 compat/ibcs2/ibcs2_misc.c 	return sys_readlink(p, uap, retval);
p                1331 compat/ibcs2/ibcs2_misc.c ibcs2_sys_sysi86(p, v, retval)
p                1332 compat/ibcs2/ibcs2_misc.c 	struct proc *p;
p                 196 compat/ibcs2/ibcs2_signal.c ibcs2_sys_sigaction(p, v, retval)
p                 197 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 215 compat/ibcs2/ibcs2_signal.c 	sg = stackgap_init(p->p_emul);
p                 238 compat/ibcs2/ibcs2_signal.c 	if ((error = sys_sigaction(p, &sa, retval)) != 0)
p                 253 compat/ibcs2/ibcs2_signal.c ibcs2_sys_sigsys(p, v, retval)
p                 254 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 263 compat/ibcs2/ibcs2_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 290 compat/ibcs2/ibcs2_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 314 compat/ibcs2/ibcs2_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 332 compat/ibcs2/ibcs2_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 341 compat/ibcs2/ibcs2_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 359 compat/ibcs2/ibcs2_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 370 compat/ibcs2/ibcs2_signal.c 			SCARG(&sa, mask) = p->p_sigmask &~ sigmask(signum);
p                 371 compat/ibcs2/ibcs2_signal.c 			return sys_sigsuspend(p, &sa, retval);
p                 380 compat/ibcs2/ibcs2_signal.c ibcs2_sys_sigprocmask(p, v, retval)
p                 381 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 396 compat/ibcs2/ibcs2_signal.c 		bsd_to_ibcs2_sigset(&p->p_sigmask, &iss);
p                 414 compat/ibcs2/ibcs2_signal.c 		p->p_sigmask |= bss & ~sigcantmask;
p                 418 compat/ibcs2/ibcs2_signal.c 		p->p_sigmask &= ~bss;
p                 422 compat/ibcs2/ibcs2_signal.c 		p->p_sigmask = bss & ~sigcantmask;
p                 436 compat/ibcs2/ibcs2_signal.c ibcs2_sys_sigpending(p, v, retval)
p                 437 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 447 compat/ibcs2/ibcs2_signal.c 	bss = p->p_siglist & p->p_sigmask;
p                 454 compat/ibcs2/ibcs2_signal.c ibcs2_sys_sigsuspend(p, v, retval)
p                 455 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 473 compat/ibcs2/ibcs2_signal.c 	return sys_sigsuspend(p, &sa, retval);
p                 477 compat/ibcs2/ibcs2_signal.c ibcs2_sys_pause(p, v, retval)
p                 478 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 484 compat/ibcs2/ibcs2_signal.c 	SCARG(&bsa, mask) = p->p_sigmask;
p                 485 compat/ibcs2/ibcs2_signal.c 	return sys_sigsuspend(p, &bsa, retval);
p                 489 compat/ibcs2/ibcs2_signal.c ibcs2_sys_kill(p, v, retval)
p                 490 compat/ibcs2/ibcs2_signal.c 	register struct proc *p;
p                 504 compat/ibcs2/ibcs2_signal.c 	return sys_kill(p, &ka, retval);
p                  57 compat/ibcs2/ibcs2_socksys.c ibcs2_socksys(p, v, retval)
p                  58 compat/ibcs2/ibcs2_socksys.c 	register struct proc *p;
p                  80 compat/ibcs2/ibcs2_socksys.c 		return sys_accept(p, realargs + 1, retval);
p                  82 compat/ibcs2/ibcs2_socksys.c 		return sys_bind(p, realargs + 1, retval);
p                  84 compat/ibcs2/ibcs2_socksys.c 		return sys_connect(p, realargs + 1, retval);
p                  86 compat/ibcs2/ibcs2_socksys.c 		return sys_getpeername(p, realargs + 1, retval);
p                  88 compat/ibcs2/ibcs2_socksys.c 		return sys_getsockname(p, realargs + 1, retval);
p                  90 compat/ibcs2/ibcs2_socksys.c 		return sys_getsockopt(p, realargs + 1, retval);
p                  92 compat/ibcs2/ibcs2_socksys.c 		return sys_listen(p, realargs + 1, retval);
p                  97 compat/ibcs2/ibcs2_socksys.c 		return sys_recvfrom(p, realargs + 1, retval);
p                 102 compat/ibcs2/ibcs2_socksys.c 		return sys_sendto(p, realargs + 1, retval);
p                 104 compat/ibcs2/ibcs2_socksys.c 		return sys_setsockopt(p, realargs + 1, retval);
p                 106 compat/ibcs2/ibcs2_socksys.c 		return sys_shutdown(p, realargs + 1, retval);
p                 108 compat/ibcs2/ibcs2_socksys.c 		return sys_socket(p, realargs + 1, retval);
p                 110 compat/ibcs2/ibcs2_socksys.c 		return sys_select(p, realargs + 1, retval);
p                 112 compat/ibcs2/ibcs2_socksys.c 		return compat_09_sys_getdomainname(p, realargs + 1, retval);
p                 114 compat/ibcs2/ibcs2_socksys.c 		return compat_09_sys_setdomainname(p, realargs + 1, retval);
p                 116 compat/ibcs2/ibcs2_socksys.c 		return sys_adjtime(p, realargs + 1, retval);
p                 118 compat/ibcs2/ibcs2_socksys.c 		return sys_setreuid(p, realargs + 1, retval);
p                 120 compat/ibcs2/ibcs2_socksys.c 		return sys_setregid(p, realargs + 1, retval);
p                 122 compat/ibcs2/ibcs2_socksys.c 		return sys_gettimeofday(p, realargs + 1, retval);
p                 124 compat/ibcs2/ibcs2_socksys.c 		return sys_settimeofday(p, realargs + 1, retval);
p                 126 compat/ibcs2/ibcs2_socksys.c 		return sys_getitimer(p, realargs + 1, retval);
p                 128 compat/ibcs2/ibcs2_socksys.c 		return sys_setitimer(p, realargs + 1, retval);
p                 106 compat/ibcs2/ibcs2_stat.c ibcs2_sys_statfs(p, v, retval)
p                 107 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                 121 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 123 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 124 compat/ibcs2/ibcs2_stat.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 130 compat/ibcs2/ibcs2_stat.c 	if ((error = VFS_STATFS(mp, sp, p)) != 0)
p                 137 compat/ibcs2/ibcs2_stat.c ibcs2_sys_fstatfs(p, v, retval)
p                 138 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                 153 compat/ibcs2/ibcs2_stat.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 157 compat/ibcs2/ibcs2_stat.c 	error = VFS_STATFS(mp, sp, p);
p                 166 compat/ibcs2/ibcs2_stat.c ibcs2_sys_stat(p, v, retval)
p                 167 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                 179 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 182 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 185 compat/ibcs2/ibcs2_stat.c 	if ((error = compat_43_sys_stat(p, &cup, retval)) != 0)
p                 195 compat/ibcs2/ibcs2_stat.c ibcs2_sys_lstat(p, v, retval)
p                 196 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                 208 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 211 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 214 compat/ibcs2/ibcs2_stat.c 	if ((error = compat_43_sys_lstat(p, &cup, retval)) != 0)
p                 224 compat/ibcs2/ibcs2_stat.c ibcs2_sys_fstat(p, v, retval)
p                 225 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                 237 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 241 compat/ibcs2/ibcs2_stat.c 	if ((error = compat_43_sys_fstat(p, &cup, retval)) != 0)
p                 251 compat/ibcs2/ibcs2_stat.c ibcs2_sys_utssys(p, v, retval)
p                 252 compat/ibcs2/ibcs2_stat.c 	struct proc *p;
p                  47 compat/ibcs2/ibcs2_util.h #define IBCS2_CHECK_ALT_EXIST(p, sgp, path) \
p                  48 compat/ibcs2/ibcs2_util.h 	CHECK_ALT_EXIST(p, sgp, ibcs2_emul_path, path)
p                  50 compat/ibcs2/ibcs2_util.h #define IBCS2_CHECK_ALT_CREAT(p, sgp, path) \
p                  51 compat/ibcs2/ibcs2_util.h 	CHECK_ALT_CREAT(p, sgp, ibcs2_emul_path, path)
p                  59 compat/linux/linux_blkio.c linux_ioctl_blkio(struct proc *p, struct linux_sys_ioctl_args *uap,
p                  71 compat/linux/linux_blkio.c         fdp = p->p_fd;
p                  86 compat/linux/linux_blkio.c 		error = ioctlf(fp, DIOCGPART, (caddr_t)&partp, p);
p                  88 compat/linux/linux_blkio.c 			error = ioctlf(fp, DIOCGDINFO, (caddr_t)&label, p);
p                  99 compat/linux/linux_blkio.c 		error = ioctlf(fp, DIOCGDINFO, (caddr_t)&label, p);
p                  69 compat/linux/linux_cdrom.c linux_ioctl_cdrom(p, v, retval)
p                  70 compat/linux/linux_cdrom.c 	struct proc *p;
p                 110 compat/linux/linux_cdrom.c 	fdp = p->p_fd;
p                 126 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.th, p);
p                 138 compat/linux/linux_cdrom.c 		sg = stackgap_init(p->p_emul);
p                 148 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.tes, p);
p                 167 compat/linux/linux_cdrom.c 		sg = stackgap_init(p->p_emul);
p                 177 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.sc, p);
p                 207 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.ti, p);
p                 222 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.msf, p);
p                 233 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.blk, p);
p                 246 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.vol, p);
p                 250 compat/linux/linux_cdrom.c 		    (caddr_t)&tmpb.vol, p);
p                 293 compat/linux/linux_cdrom.c 	error = sys_ioctl(p, &ia, retval);
p                  43 compat/linux/linux_dummy.c linux_sys_ ## s(p, v, retval)						\
p                  44 compat/linux/linux_dummy.c 	struct proc *p;							\
p                  48 compat/linux/linux_dummy.c 	return (unsupported_msg(p, #s));				\
p                  52 compat/linux/linux_dummy.c unsupported_msg(struct proc *p, const char *fname)
p                  55 compat/linux/linux_dummy.c 	    fname, (long)p->p_pid);
p                 120 compat/linux/linux_dummy.c linux_sys_ ## s ## xattr(p, v, retval)						\
p                 121 compat/linux/linux_dummy.c 	struct proc *p;							\
p                 151 compat/linux/linux_exec.c linux_e_proc_init(p, vmspace)
p                 152 compat/linux/linux_exec.c 	struct proc *p;
p                 155 compat/linux/linux_exec.c 	if (!p->p_emuldata) {
p                 157 compat/linux/linux_exec.c 		MALLOC(p->p_emuldata, void *, sizeof(struct linux_emuldata),
p                 161 compat/linux/linux_exec.c 	memset(p->p_emuldata, '\0', sizeof(struct linux_emuldata));
p                 164 compat/linux/linux_exec.c 	((struct linux_emuldata *)(p->p_emuldata))->p_break = 
p                 169 compat/linux/linux_exec.c linux_e_proc_exec(p, epp)
p                 170 compat/linux/linux_exec.c 	struct proc *p;
p                 174 compat/linux/linux_exec.c 	linux_e_proc_init(p, p->p_vmspace);
p                 181 compat/linux/linux_exec.c linux_e_proc_exit(p)
p                 182 compat/linux/linux_exec.c 	struct proc *p;
p                 185 compat/linux/linux_exec.c 	FREE(p->p_emuldata, M_EMULDATA);
p                 186 compat/linux/linux_exec.c 	p->p_emuldata = NULL;
p                 193 compat/linux/linux_exec.c linux_e_proc_fork(p, parent)
p                 194 compat/linux/linux_exec.c 	struct proc *p, *parent;
p                 201 compat/linux/linux_exec.c 	p->p_emuldata = NULL;
p                 204 compat/linux/linux_exec.c 	linux_e_proc_init(p, parent->p_vmspace);
p                 261 compat/linux/linux_exec.c exec_linux_aout_makecmds(p, epp)
p                 262 compat/linux/linux_exec.c 	struct proc *p;
p                 281 compat/linux/linux_exec.c 		error = exec_linux_aout_prep_qmagic(p, epp);
p                 284 compat/linux/linux_exec.c 		error = exec_linux_aout_prep_zmagic(p, epp);
p                 287 compat/linux/linux_exec.c 		error = exec_linux_aout_prep_nmagic(p, epp);
p                 290 compat/linux/linux_exec.c 		error = exec_linux_aout_prep_omagic(p, epp);
p                 305 compat/linux/linux_exec.c exec_linux_aout_prep_zmagic(p, epp)
p                 306 compat/linux/linux_exec.c 	struct proc *p;
p                 332 compat/linux/linux_exec.c 	return (exec_setup_stack(p, epp));
p                 341 compat/linux/linux_exec.c exec_linux_aout_prep_nmagic(p, epp)
p                 342 compat/linux/linux_exec.c 	struct proc *p;
p                 371 compat/linux/linux_exec.c 	return (exec_setup_stack(p, epp));
p                 380 compat/linux/linux_exec.c exec_linux_aout_prep_omagic(p, epp)
p                 381 compat/linux/linux_exec.c 	struct proc *p;
p                 415 compat/linux/linux_exec.c 	return (exec_setup_stack(p, epp));
p                 419 compat/linux/linux_exec.c exec_linux_aout_prep_qmagic(p, epp)
p                 420 compat/linux/linux_exec.c 	struct proc *p;
p                 461 compat/linux/linux_exec.c 	return (exec_setup_stack(p, epp));
p                 465 compat/linux/linux_exec.c exec_linux_elf32_makecmds(struct proc *p, struct exec_package *epp)
p                 469 compat/linux/linux_exec.c 	return exec_elf32_makecmds(p, epp);
p                 473 compat/linux/linux_exec.c linux_elf_probe(p, epp, itp, pos, os)
p                 474 compat/linux/linux_exec.c 	struct proc *p;
p                 489 compat/linux/linux_exec.c 		if ((error = emul_find(p, NULL, linux_emul_path, itp, &bp, 0)))
p                 520 compat/linux/linux_exec.c linux_sys_uselib(p, v, retval)
p                 521 compat/linux/linux_exec.c 	struct proc *p;
p                 537 compat/linux/linux_exec.c 	sg = stackgap_init(p->p_emul);
p                 538 compat/linux/linux_exec.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 540 compat/linux/linux_exec.c 	NDINIT(&ni, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 548 compat/linux/linux_exec.c 			     0, UIO_SYSSPACE, IO_NODELOCKED, p->p_ucred,
p                 549 compat/linux/linux_exec.c 			     &rem, p))) {
p                 592 compat/linux/linux_exec.c 		error = (*vcp->ev_proc)(p, vcp);
p                 607 compat/linux/linux_exec.c linux_sys_execve(p, v, retval)
p                 608 compat/linux/linux_exec.c 	struct proc *p;
p                 620 compat/linux/linux_exec.c 	sg = stackgap_init(p->p_emul);
p                 621 compat/linux/linux_exec.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 627 compat/linux/linux_exec.c 	return (sys_execve(p, &ap, retval));
p                  63 compat/linux/linux_fdio.c linux_ioctl_fdio(struct proc *p, struct linux_sys_ioctl_args *uap,
p                  77 compat/linux/linux_fdio.c 	fdp = p->p_fd;
p                 106 compat/linux/linux_fdio.c 		error = ioctlf(fp, FD_GTYPE, (caddr_t)&fparams, p);
p                 128 compat/linux/linux_file.c linux_sys_creat(p, v, retval)
p                 129 compat/linux/linux_file.c 	struct proc *p;
p                 140 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
p                 141 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 147 compat/linux/linux_file.c 	return sys_open(p, &oa, retval);
p                 157 compat/linux/linux_file.c linux_sys_open(p, v, retval)
p                 158 compat/linux/linux_file.c 	struct proc *p;
p                 171 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
p                 176 compat/linux/linux_file.c 		LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 178 compat/linux/linux_file.c 		LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 184 compat/linux/linux_file.c 	if ((error = sys_open(p, &boa, retval)))
p                 193 compat/linux/linux_file.c         if (!(fl & O_NOCTTY) && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
p                 194 compat/linux/linux_file.c                 struct filedesc *fdp = p->p_fd;
p                 201 compat/linux/linux_file.c                         (fp->f_ops->fo_ioctl) (fp, TIOCSCTTY, (caddr_t) 0, p);
p                 211 compat/linux/linux_file.c linux_sys_llseek(p, v, retval)
p                 212 compat/linux/linux_file.c 	struct proc *p;
p                 233 compat/linux/linux_file.c 	if ((error = sys_lseek(p, &bla, retval)))
p                 302 compat/linux/linux_file.c linux_sys_fcntl(p, v, retval)
p                 303 compat/linux/linux_file.c 	struct proc *p;
p                 343 compat/linux/linux_file.c 		if ((error = sys_fcntl(p, &fca, retval)))
p                 352 compat/linux/linux_file.c 		return sys_fcntl(p, &fca, retval);
p                 354 compat/linux/linux_file.c 		sg = stackgap_init(p->p_emul);
p                 364 compat/linux/linux_file.c 		if ((error = sys_fcntl(p, &fca, retval)))
p                 378 compat/linux/linux_file.c 		sg = stackgap_init(p->p_emul);
p                 385 compat/linux/linux_file.c 		return sys_fcntl(p, &fca, retval);
p                 395 compat/linux/linux_file.c 		fdp = p->p_fd;
p                 406 compat/linux/linux_file.c 		error = VOP_GETATTR(vp, &va, p->p_ucred, p);
p                 426 compat/linux/linux_file.c 		if (pgrp == NULL || pgrp->pg_session != p->p_session)
p                 438 compat/linux/linux_file.c 	return sys_fcntl(p, &fca, retval);
p                 475 compat/linux/linux_file.c linux_sys_fstat(p, v, retval)
p                 476 compat/linux/linux_file.c 	struct proc *p;
p                 490 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
p                 497 compat/linux/linux_file.c 	if ((error = sys_fstat(p, &fsa, retval)))
p                 512 compat/linux/linux_file.c linux_stat1(p, v, retval, dolstat)
p                 513 compat/linux/linux_file.c 	struct proc *p;
p                 525 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
p                 528 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 533 compat/linux/linux_file.c 	if ((error = (dolstat ? sys_lstat(p, &sa, retval) :
p                 534 compat/linux/linux_file.c 				sys_stat(p, &sa, retval))))
p                 549 compat/linux/linux_file.c linux_sys_stat(p, v, retval)
p                 550 compat/linux/linux_file.c 	struct proc *p;
p                 559 compat/linux/linux_file.c 	return linux_stat1(p, uap, retval, 0);
p                 563 compat/linux/linux_file.c linux_sys_lstat(p, v, retval)
p                 564 compat/linux/linux_file.c 	struct proc *p;
p                 573 compat/linux/linux_file.c 	return linux_stat1(p, uap, retval, 1);
p                 580 compat/linux/linux_file.c linux_sys_access(p, v, retval)
p                 581 compat/linux/linux_file.c 	struct proc *p;
p                 589 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 591 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 593 compat/linux/linux_file.c 	return sys_access(p, uap, retval);
p                 597 compat/linux/linux_file.c linux_sys_unlink(p, v, retval)
p                 598 compat/linux/linux_file.c 	struct proc *p;
p                 606 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 608 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 610 compat/linux/linux_file.c 	return sys_unlink(p, uap, retval);
p                 614 compat/linux/linux_file.c linux_sys_chdir(p, v, retval)
p                 615 compat/linux/linux_file.c 	struct proc *p;
p                 622 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 624 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 626 compat/linux/linux_file.c 	return sys_chdir(p, uap, retval);
p                 630 compat/linux/linux_file.c linux_sys_mknod(p, v, retval)
p                 631 compat/linux/linux_file.c 	struct proc *p;
p                 640 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 643 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 651 compat/linux/linux_file.c 		return sys_mkfifo(p, uap, retval);
p                 653 compat/linux/linux_file.c 		return sys_mknod(p, uap, retval);
p                 657 compat/linux/linux_file.c linux_sys_chmod(p, v, retval)
p                 658 compat/linux/linux_file.c 	struct proc *p;
p                 666 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 668 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 670 compat/linux/linux_file.c 	return sys_chmod(p, uap, retval);
p                 674 compat/linux/linux_file.c linux_sys_chown16(p, v, retval)
p                 675 compat/linux/linux_file.c 	struct proc *p;
p                 685 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 687 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 695 compat/linux/linux_file.c 	return sys_chown(p, &bca, retval);
p                 699 compat/linux/linux_file.c linux_sys_fchown16(p, v, retval)
p                 700 compat/linux/linux_file.c 	struct proc *p;
p                 717 compat/linux/linux_file.c 	return sys_fchown(p, &bfa, retval);
p                 721 compat/linux/linux_file.c linux_sys_lchown16(p, v, retval)
p                 722 compat/linux/linux_file.c 	struct proc *p;
p                 739 compat/linux/linux_file.c 	return sys_lchown(p, &bla, retval);
p                 743 compat/linux/linux_file.c linux_sys_rename(p, v, retval)
p                 744 compat/linux/linux_file.c 	struct proc *p;
p                 752 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 754 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
p                 755 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
p                 757 compat/linux/linux_file.c 	return sys_rename(p, uap, retval);
p                 761 compat/linux/linux_file.c linux_sys_mkdir(p, v, retval)
p                 762 compat/linux/linux_file.c 	struct proc *p;
p                 770 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 772 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 774 compat/linux/linux_file.c 	return sys_mkdir(p, uap, retval);
p                 778 compat/linux/linux_file.c linux_sys_rmdir(p, v, retval)
p                 779 compat/linux/linux_file.c 	struct proc *p;
p                 786 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 788 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 790 compat/linux/linux_file.c 	return sys_rmdir(p, uap, retval);
p                 794 compat/linux/linux_file.c linux_sys_symlink(p, v, retval)
p                 795 compat/linux/linux_file.c 	struct proc *p;
p                 803 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 805 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 806 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
p                 808 compat/linux/linux_file.c 	return sys_symlink(p, uap, retval);
p                 812 compat/linux/linux_file.c linux_sys_readlink(p, v, retval)
p                 813 compat/linux/linux_file.c 	struct proc *p;
p                 822 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 824 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, name));
p                 826 compat/linux/linux_file.c 	return sys_readlink(p, uap, retval);
p                 830 compat/linux/linux_file.c linux_sys_truncate(p, v, retval)
p                 831 compat/linux/linux_file.c 	struct proc *p;
p                 839 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 841 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 843 compat/linux/linux_file.c 	return compat_43_sys_truncate(p, uap, retval);
p                 850 compat/linux/linux_file.c linux_sys_fdatasync(p, v, retval)
p                 851 compat/linux/linux_file.c 	struct proc *p;
p                 858 compat/linux/linux_file.c 	return sys_fsync(p, uap, retval);
p                 865 compat/linux/linux_file.c linux_sys_pread(p, v, retval)
p                 866 compat/linux/linux_file.c 	struct proc *p;
p                 883 compat/linux/linux_file.c 	return sys_pread(p, &pra, retval);
p                 890 compat/linux/linux_file.c linux_sys_pwrite(p, v, retval)
p                 891 compat/linux/linux_file.c 	struct proc *p;
p                 908 compat/linux/linux_file.c 	return sys_pwrite(p, &pra, retval);
p                 114 compat/linux/linux_file64.c linux_sys_fstat64(p, v, retval)
p                 115 compat/linux/linux_file64.c 	struct proc *p;
p                 129 compat/linux/linux_file64.c 	sg = stackgap_init(p->p_emul);
p                 136 compat/linux/linux_file64.c 	if ((error = sys_fstat(p, &fsa, retval)))
p                 151 compat/linux/linux_file64.c linux_do_stat64(p, v, retval, dolstat)
p                 152 compat/linux/linux_file64.c 	struct proc *p;
p                 164 compat/linux/linux_file64.c 	sg = stackgap_init(p->p_emul);
p                 166 compat/linux/linux_file64.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 171 compat/linux/linux_file64.c 	if ((error = (dolstat ? sys_lstat(p, &sa, retval) :
p                 172 compat/linux/linux_file64.c 				sys_stat(p, &sa, retval))))
p                 187 compat/linux/linux_file64.c linux_sys_stat64(p, v, retval)
p                 188 compat/linux/linux_file64.c 	struct proc *p;
p                 197 compat/linux/linux_file64.c 	return linux_do_stat64(p, uap, retval, 0);
p                 201 compat/linux/linux_file64.c linux_sys_lstat64(p, v, retval)
p                 202 compat/linux/linux_file64.c 	struct proc *p;
p                 211 compat/linux/linux_file64.c 	return linux_do_stat64(p, uap, retval, 1);
p                 215 compat/linux/linux_file64.c linux_sys_truncate64(p, v, retval)
p                 216 compat/linux/linux_file64.c 	struct proc *p;
p                 225 compat/linux/linux_file64.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 227 compat/linux/linux_file64.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 232 compat/linux/linux_file64.c 	return sys_truncate(p, &ta, retval);
p                 239 compat/linux/linux_file64.c linux_sys_ftruncate64(p, v, retval)
p                 240 compat/linux/linux_file64.c 	struct proc *p;
p                 253 compat/linux/linux_file64.c 	return sys_ftruncate(p, &fta, retval);
p                 303 compat/linux/linux_file64.c linux_sys_fcntl64(p, v, retval)
p                 304 compat/linux/linux_file64.c 	struct proc *p;
p                 325 compat/linux/linux_file64.c 		sg = stackgap_init(p->p_emul);
p                 335 compat/linux/linux_file64.c 		if ((error = sys_fcntl(p, &fca, retval)))
p                 348 compat/linux/linux_file64.c 		sg = stackgap_init(p->p_emul);
p                 355 compat/linux/linux_file64.c 		return (sys_fcntl(p, &fca, retval));
p                 357 compat/linux/linux_file64.c 		return (linux_sys_fcntl(p, v, retval));
p                  63 compat/linux/linux_hdio.c linux_ioctl_hdio(struct proc *p, struct linux_sys_ioctl_args *uap,
p                  79 compat/linux/linux_hdio.c 	fdp = p->p_fd;
p                  93 compat/linux/linux_hdio.c 		sg = stackgap_init(p->p_emul);
p                 105 compat/linux/linux_hdio.c 		error = ioctlf(fp, ATAIOCCOMMAND, (caddr_t)&req, p);
p                 123 compat/linux/linux_hdio.c 		error = linux_machdepioctl(p, uap, retval);
p                 126 compat/linux/linux_hdio.c 		error = ioctlf(fp, DIOCGDINFO, (caddr_t)&label, p);
p                 127 compat/linux/linux_hdio.c 		error1 = ioctlf(fp, DIOCGPART, (caddr_t)&partp, p);
p                 140 compat/linux/linux_hdio.c 		error = linux_machdepioctl(p, uap, retval);
p                 144 compat/linux/linux_hdio.c 		error = ioctlf(fp, DIOCGDINFO, (caddr_t)&label, p);
p                 145 compat/linux/linux_hdio.c 		error1 = ioctlf(fp, DIOCGPART, (caddr_t)&partp, p);
p                  63 compat/linux/linux_ioctl.c linux_sys_ioctl(p, v, retval)
p                  64 compat/linux/linux_ioctl.c 	register struct proc *p;
p                  76 compat/linux/linux_ioctl.c 		return oss_ioctl_mixer(p, LINUX_TO_OSS(v), retval);
p                  78 compat/linux/linux_ioctl.c 		return oss_ioctl_sequencer(p, LINUX_TO_OSS(v), retval);
p                  80 compat/linux/linux_ioctl.c 		return oss_ioctl_audio(p, LINUX_TO_OSS(v), retval);
p                  84 compat/linux/linux_ioctl.c 		return linux_ioctl_termios(p, uap, retval);
p                  86 compat/linux/linux_ioctl.c 		return linux_ioctl_cdrom(p, uap, retval);
p                  90 compat/linux/linux_ioctl.c 		return linux_ioctl_socket(p, uap, retval);
p                  92 compat/linux/linux_ioctl.c 		return linux_ioctl_hdio(p, uap, retval);
p                  94 compat/linux/linux_ioctl.c 		return linux_ioctl_fdio(p, uap, retval);
p                  96 compat/linux/linux_ioctl.c 		return linux_ioctl_blkio(p, uap, retval);
p                  98 compat/linux/linux_ioctl.c 		return linux_machdepioctl(p, uap, retval);
p                 104 compat/linux/linux_ipc.c linux_sys_ipc(p, v, retval)
p                 105 compat/linux/linux_ipc.c 	struct proc *p;
p                 120 compat/linux/linux_ipc.c 		return linux_semop(p, uap, retval);
p                 122 compat/linux/linux_ipc.c 		return linux_semget(p, uap, retval);
p                 124 compat/linux/linux_ipc.c 		return linux_semctl(p, uap, retval);
p                 128 compat/linux/linux_ipc.c 		return linux_msgsnd(p, uap, retval);
p                 130 compat/linux/linux_ipc.c 		return linux_msgrcv(p, uap, retval);
p                 132 compat/linux/linux_ipc.c 		return linux_msgget(p, uap, retval);
p                 134 compat/linux/linux_ipc.c 		return linux_msgctl(p, uap, retval);
p                 138 compat/linux/linux_ipc.c 		return linux_shmat(p, uap, retval);
p                 140 compat/linux/linux_ipc.c 		return linux_shmdt(p, uap, retval);
p                 142 compat/linux/linux_ipc.c 		return linux_shmget(p, uap, retval);
p                 144 compat/linux/linux_ipc.c 		return linux_shmctl(p, uap, retval);
p                 223 compat/linux/linux_ipc.c linux_semop(p, v, retval)
p                 224 compat/linux/linux_ipc.c 	struct proc *p;
p                 241 compat/linux/linux_ipc.c 	return sys_semop(p, &bsa, retval);
p                 245 compat/linux/linux_ipc.c linux_semget(p, v, retval)
p                 246 compat/linux/linux_ipc.c 	struct proc *p;
p                 263 compat/linux/linux_ipc.c 	return sys_semget(p, &bsa, retval);
p                 273 compat/linux/linux_ipc.c linux_semctl(p, v, retval)
p                 274 compat/linux/linux_ipc.c 	struct proc *p;
p                 320 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 328 compat/linux/linux_ipc.c 		return sys___semctl(p, &bsa, retval);
p                 330 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 336 compat/linux/linux_ipc.c 		if ((error = sys___semctl(p, &bsa, retval)))
p                 349 compat/linux/linux_ipc.c 	return sys___semctl(p, &bsa, retval);
p                 394 compat/linux/linux_ipc.c linux_msgsnd(p, v, retval)
p                 395 compat/linux/linux_ipc.c 	struct proc *p;
p                 413 compat/linux/linux_ipc.c 	return sys_msgsnd(p, &bma, retval);
p                 417 compat/linux/linux_ipc.c linux_msgrcv(p, v, retval)
p                 418 compat/linux/linux_ipc.c 	struct proc *p;
p                 442 compat/linux/linux_ipc.c 	return sys_msgrcv(p, &bma, retval);
p                 446 compat/linux/linux_ipc.c linux_msgget(p, v, retval)
p                 447 compat/linux/linux_ipc.c 	struct proc *p;
p                 463 compat/linux/linux_ipc.c 	return sys_msgget(p, &bma, retval);
p                 467 compat/linux/linux_ipc.c linux_msgctl(p, v, retval)
p                 468 compat/linux/linux_ipc.c 	struct proc *p;
p                 489 compat/linux/linux_ipc.c 		return sys_msgctl(p, &bma, retval);
p                 494 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 499 compat/linux/linux_ipc.c 		return sys_msgctl(p, &bma, retval);
p                 501 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 504 compat/linux/linux_ipc.c 		if ((error = sys_msgctl(p, &bma, retval)))
p                 522 compat/linux/linux_ipc.c linux_shmat(p, v, retval)
p                 523 compat/linux/linux_ipc.c 	struct proc *p;
p                 541 compat/linux/linux_ipc.c 	if ((error = sys_shmat(p, &bsa, retval)))
p                 557 compat/linux/linux_ipc.c linux_shmdt(p, v, retval)
p                 558 compat/linux/linux_ipc.c 	struct proc *p;
p                 573 compat/linux/linux_ipc.c 	return sys_shmdt(p, &bsa, retval);
p                 580 compat/linux/linux_ipc.c linux_shmget(p, v, retval)
p                 581 compat/linux/linux_ipc.c 	struct proc *p;
p                 600 compat/linux/linux_ipc.c 	return sys_shmget(p, &bsa, retval);
p                 653 compat/linux/linux_ipc.c linux_shmctl(p, v, retval)
p                 654 compat/linux/linux_ipc.c 	struct proc *p;
p                 673 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 678 compat/linux/linux_ipc.c 		if ((error = sys_shmctl(p, &bsa, retval)))
p                 689 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
p                 696 compat/linux/linux_ipc.c 		return sys_shmctl(p, &bsa, retval);
p                 713 compat/linux/linux_ipc.c 		return sys_shmctl(p, &bsa, retval);
p                 120 compat/linux/linux_misc.c linux_sys_waitpid(p, v, retval)
p                 121 compat/linux/linux_misc.c 	struct proc *p;
p                 137 compat/linux/linux_misc.c 	return (linux_sys_wait4(p, &linux_w4a, retval));
p                 146 compat/linux/linux_misc.c linux_sys_wait4(p, v, retval)
p                 147 compat/linux/linux_misc.c 	struct proc *p;
p                 162 compat/linux/linux_misc.c 		sg = stackgap_init(p->p_emul);
p                 185 compat/linux/linux_misc.c 	if ((error = sys_wait4(p, &w4a, retval)))
p                 188 compat/linux/linux_misc.c 	atomic_clearbits_int(&p->p_siglist, sigmask(SIGCHLD));
p                 202 compat/linux/linux_misc.c linux_sys_setresgid16(p, v, retval)
p                 203 compat/linux/linux_misc.c 	struct proc *p;
p                 222 compat/linux/linux_misc.c 	return sys_setresgid(p, &nuap, retval);
p                 226 compat/linux/linux_misc.c linux_sys_getresgid16(p, v, retval)
p                 227 compat/linux/linux_misc.c 	struct proc *p;
p                 242 compat/linux/linux_misc.c 	return sys_getresgid(p, &nuap, retval);
p                 246 compat/linux/linux_misc.c linux_sys_setresuid16(p, v, retval)
p                 247 compat/linux/linux_misc.c 	struct proc *p;
p                 266 compat/linux/linux_misc.c 	return sys_setresuid(p, &nuap, retval);
p                 270 compat/linux/linux_misc.c linux_sys_getresuid16(p, v, retval)
p                 271 compat/linux/linux_misc.c 	struct proc *p;
p                 286 compat/linux/linux_misc.c 	return sys_getresuid(p, &nuap, retval);
p                 294 compat/linux/linux_misc.c linux_sys_break(p, v, retval)
p                 295 compat/linux/linux_misc.c 	struct proc *p;
p                 313 compat/linux/linux_misc.c linux_sys_brk(p, v, retval)
p                 314 compat/linux/linux_misc.c 	struct proc *p;
p                 323 compat/linux/linux_misc.c 	struct vmspace *vm = p->p_vmspace;
p                 324 compat/linux/linux_misc.c 	struct linux_emuldata *ed = (struct linux_emuldata*)p->p_emuldata;
p                 328 compat/linux/linux_misc.c 	if ((caddr_t) nbrk > vm->vm_daddr && sys_obreak(p, &oba, retval) == 0)
p                 343 compat/linux/linux_misc.c linux_sys_time(p, v, retval)
p                 344 compat/linux/linux_misc.c 	struct proc *p;
p                 415 compat/linux/linux_misc.c linux_sys_statfs(p, v, retval)
p                 416 compat/linux/linux_misc.c 	struct proc *p;
p                 430 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
p                 433 compat/linux/linux_misc.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 438 compat/linux/linux_misc.c 	if ((error = sys_statfs(p, &bsa, retval)))
p                 450 compat/linux/linux_misc.c linux_sys_fstatfs(p, v, retval)
p                 451 compat/linux/linux_misc.c 	struct proc *p;
p                 465 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
p                 471 compat/linux/linux_misc.c 	if ((error = sys_fstatfs(p, &bsa, retval)))
p                 489 compat/linux/linux_misc.c linux_sys_uname(p, v, retval)
p                 490 compat/linux/linux_misc.c 	struct proc *p;
p                 519 compat/linux/linux_misc.c linux_sys_olduname(p, v, retval)
p                 520 compat/linux/linux_misc.c 	struct proc *p;
p                 548 compat/linux/linux_misc.c linux_sys_oldolduname(p, v, retval)
p                 549 compat/linux/linux_misc.c 	struct proc *p;
p                 582 compat/linux/linux_misc.c linux_sys_mmap(p, v, retval)
p                 583 compat/linux/linux_misc.c 	struct proc *p;
p                 612 compat/linux/linux_misc.c 	return sys_mmap(p, &cma, retval);
p                 625 compat/linux/linux_misc.c linux_sys_mmap2(p, v, retval)
p                 626 compat/linux/linux_misc.c 	struct proc *p;
p                 643 compat/linux/linux_misc.c 	return sys_mmap(p, &cma, retval);
p                 670 compat/linux/linux_misc.c linux_sys_mremap(p, v, retval)
p                 671 compat/linux/linux_misc.c 	struct proc *p;
p                 708 compat/linux/linux_misc.c 		error = sys_munmap(p, &mua, retval);
p                 730 compat/linux/linux_misc.c linux_sys_times(p, v, retval)
p                 731 compat/linux/linux_misc.c 	struct proc *p;
p                 743 compat/linux/linux_misc.c 	calcru(p, &ru.ru_utime, &ru.ru_stime, NULL);
p                 747 compat/linux/linux_misc.c 	ltms.ltms_cutime = CONVTCK(p->p_stats->p_cru.ru_utime);
p                 748 compat/linux/linux_misc.c 	ltms.ltms_cstime = CONVTCK(p->p_stats->p_cru.ru_stime);
p                 764 compat/linux/linux_misc.c linux_sys_pipe(p, v, retval)
p                 765 compat/linux/linux_misc.c 	struct proc *p;
p                 778 compat/linux/linux_misc.c 	if ((error = sys_opipe(p, 0, retval))) {
p                 793 compat/linux/linux_misc.c 		fdrelease(p, retval[0]);
p                 794 compat/linux/linux_misc.c 		fdrelease(p, retval[1]);
p                 810 compat/linux/linux_misc.c linux_sys_alarm(p, v, retval)
p                 811 compat/linux/linux_misc.c 	struct proc *p;
p                 823 compat/linux/linux_misc.c 	itp = &p->p_realtimer;
p                 829 compat/linux/linux_misc.c 	timeout_del(&p->p_realit_to);
p                 864 compat/linux/linux_misc.c 		timeout_add(&p->p_realit_to, timo);
p                 866 compat/linux/linux_misc.c 	p->p_realtimer = it;
p                 877 compat/linux/linux_misc.c linux_sys_utime(p, v, retval)
p                 878 compat/linux/linux_misc.c 	struct proc *p;
p                 892 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
p                 894 compat/linux/linux_misc.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 911 compat/linux/linux_misc.c 	return sys_utimes(p, &ua, retval);
p                 924 compat/linux/linux_misc.c linux_sys_readdir(p, v, retval)
p                 925 compat/linux/linux_misc.c 	struct proc *p;
p                 937 compat/linux/linux_misc.c 	return linux_sys_getdents(p, uap, retval);
p                1022 compat/linux/linux_misc.c linux_sys_getdents64(p, v, retval)
p                1023 compat/linux/linux_misc.c 	struct proc *p;
p                1027 compat/linux/linux_misc.c 	return getdents_common(p, v, retval, 1);
p                1031 compat/linux/linux_misc.c linux_sys_getdents(p, v, retval)
p                1032 compat/linux/linux_misc.c 	struct proc *p;
p                1036 compat/linux/linux_misc.c 	return getdents_common(p, v, retval, 0);
p                1040 compat/linux/linux_misc.c getdents_common(p, v, retval, is64bit)
p                1041 compat/linux/linux_misc.c 	struct proc *p;
p                1056 compat/linux/linux_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                1092 compat/linux/linux_misc.c linux_sys_oldselect(p, v, retval)
p                1093 compat/linux/linux_misc.c 	struct proc *p;
p                1106 compat/linux/linux_misc.c 	return linux_select1(p, retval, ls.nfds, ls.readfds, ls.writefds,
p                1116 compat/linux/linux_misc.c linux_sys_select(p, v, retval)
p                1117 compat/linux/linux_misc.c 	struct proc *p;
p                1129 compat/linux/linux_misc.c 	return linux_select1(p, retval, SCARG(uap, nfds), SCARG(uap, readfds),
p                1140 compat/linux/linux_misc.c linux_select1(p, retval, nfds, readfds, writefds, exceptfds, timeout)
p                1141 compat/linux/linux_misc.c 	struct proc *p;
p                1170 compat/linux/linux_misc.c 			sg = stackgap_init(p->p_emul);
p                1187 compat/linux/linux_misc.c 	error = sys_select(p, &bsa, retval);
p                1225 compat/linux/linux_misc.c linux_sys_getpgid(p, v, retval)
p                1226 compat/linux/linux_misc.c 	struct proc *p;
p                1235 compat/linux/linux_misc.c 	if (SCARG(uap, pid) != 0 && SCARG(uap, pid) != p->p_pid) {
p                1240 compat/linux/linux_misc.c 		targp = p;
p                1253 compat/linux/linux_misc.c linux_sys_personality(p, v, retval)
p                1254 compat/linux/linux_misc.c 	struct proc *p;
p                1272 compat/linux/linux_misc.c linux_sys_setreuid16(p, v, retval)
p                1273 compat/linux/linux_misc.c 	struct proc *p;
p                1288 compat/linux/linux_misc.c 	return sys_setreuid(p, &bsa, retval);
p                1292 compat/linux/linux_misc.c linux_sys_setregid16(p, v, retval)
p                1293 compat/linux/linux_misc.c 	struct proc *p;
p                1308 compat/linux/linux_misc.c 	return sys_setregid(p, &bsa, retval);
p                1312 compat/linux/linux_misc.c linux_sys_getsid(p, v, retval)
p                1313 compat/linux/linux_misc.c 	struct proc *p;
p                1326 compat/linux/linux_misc.c 		retval[0] = (int)p->p_session;	/* XXX Oh well */
p                1339 compat/linux/linux_misc.c linux_sys___sysctl(p, v, retval)
p                1340 compat/linux/linux_misc.c 	struct proc *p;
p                1360 compat/linux/linux_misc.c 	return sys___sysctl(p, &bsa, retval);
p                1368 compat/linux/linux_misc.c linux_sys_setfsuid(p, v, retval)
p                1369 compat/linux/linux_misc.c 	 struct proc *p;
p                1379 compat/linux/linux_misc.c 	 if (p->p_cred->p_ruid != uid)
p                1380 compat/linux/linux_misc.c 		 return sys_nosys(p, v, retval);
p                1386 compat/linux/linux_misc.c linux_sys_getfsuid(p, v, retval)
p                1387 compat/linux/linux_misc.c 	struct proc *p;
p                1391 compat/linux/linux_misc.c 	return sys_getuid(p, v, retval);
p                1396 compat/linux/linux_misc.c linux_sys_nice(p, v, retval)
p                1397 compat/linux/linux_misc.c 	struct proc *p;
p                1409 compat/linux/linux_misc.c 	return sys_setpriority(p, &bsa, retval);
p                1413 compat/linux/linux_misc.c linux_sys_stime(p, v, retval)
p                1414 compat/linux/linux_misc.c 	struct proc *p;
p                1425 compat/linux/linux_misc.c 	if ((error = suser(p, 0)) != 0)
p                1440 compat/linux/linux_misc.c linux_sys_getpid(p, v, retval)
p                1441 compat/linux/linux_misc.c 	struct proc *p;
p                1446 compat/linux/linux_misc.c 	*retval = p->p_pid;
p                1451 compat/linux/linux_misc.c linux_sys_getuid(p, v, retval)
p                1452 compat/linux/linux_misc.c 	struct proc *p;
p                1457 compat/linux/linux_misc.c 	*retval = p->p_cred->p_ruid;
p                1462 compat/linux/linux_misc.c linux_sys_getgid(p, v, retval)
p                1463 compat/linux/linux_misc.c 	struct proc *p;
p                1468 compat/linux/linux_misc.c 	*retval = p->p_cred->p_rgid;
p                1478 compat/linux/linux_misc.c linux_sys_sysinfo(p, v, retval)
p                1479 compat/linux/linux_misc.c 	struct proc *p;
p                  57 compat/linux/linux_mount.c linux_sys_mount(p, v, retval)
p                  58 compat/linux/linux_mount.c 	struct proc *p;
p                  73 compat/linux/linux_mount.c linux_sys_umount(p, v, retval)
p                  74 compat/linux/linux_mount.c 	struct proc *p;
p                  72 compat/linux/linux_resource.c linux_sys_setrlimit(p, v, retval)
p                  73 compat/linux/linux_resource.c 	struct proc *p;
p                  85 compat/linux/linux_resource.c 	return (compat_43_sys_setrlimit(p, v, retval));
p                  89 compat/linux/linux_resource.c linux_dogetrlimit(p, v, retval, max)
p                  90 compat/linux/linux_resource.c 	struct proc *p;
p                 106 compat/linux/linux_resource.c 	rlim.rlim_cur = MIN(p->p_rlimit[which].rlim_cur, max);
p                 107 compat/linux/linux_resource.c 	rlim.rlim_max = MIN(p->p_rlimit[which].rlim_max, max);
p                 112 compat/linux/linux_resource.c linux_sys_getrlimit(p, v, retval)
p                 113 compat/linux/linux_resource.c 	struct proc *p;
p                 117 compat/linux/linux_resource.c 	return (linux_dogetrlimit(p, v, retval, LINUX_OLD_RLIM_INFINITY));
p                 121 compat/linux/linux_resource.c linux_sys_ugetrlimit(p, v, retval)
p                 122 compat/linux/linux_resource.c 	struct proc *p;
p                 126 compat/linux/linux_resource.c 	return (linux_dogetrlimit(p, v, retval, LINUX_RLIM_INFINITY));
p                  60 compat/linux/linux_sched.c linux_sys_clone(p, v, retval)
p                  61 compat/linux/linux_sched.c 	struct proc *p;
p                  99 compat/linux/linux_sched.c 	return (fork1(p, sig, flags, SCARG(uap, stack), 0, NULL, NULL, retval,
p                 115 compat/linux/linux_sched.c 	struct proc *p;
p                 131 compat/linux/linux_sched.c 		if ((p = pfind(SCARG(uap, pid))) == NULL)
p                 133 compat/linux/linux_sched.c 		if (!(cp == p ||
p                 135 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_cred->p_ruid ||
p                 136 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_cred->p_ruid ||
p                 137 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_ucred->cr_uid ||
p                 138 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_ucred->cr_uid))
p                 155 compat/linux/linux_sched.c 	struct proc *p;
p                 168 compat/linux/linux_sched.c 		if ((p = pfind(SCARG(uap, pid))) == NULL)
p                 170 compat/linux/linux_sched.c 		if (!(cp == p ||
p                 172 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_cred->p_ruid ||
p                 173 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_cred->p_ruid ||
p                 174 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_ucred->cr_uid ||
p                 175 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_ucred->cr_uid))
p                 196 compat/linux/linux_sched.c 	struct proc *p;
p                 212 compat/linux/linux_sched.c 		if ((p = pfind(SCARG(uap, pid))) == NULL)
p                 214 compat/linux/linux_sched.c 		if (!(cp == p ||
p                 216 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_cred->p_ruid ||
p                 217 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_cred->p_ruid ||
p                 218 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_ucred->cr_uid ||
p                 219 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_ucred->cr_uid))
p                 241 compat/linux/linux_sched.c 	struct proc *p;
p                 252 compat/linux/linux_sched.c 		if ((p = pfind(SCARG(uap, pid))) == NULL)
p                 254 compat/linux/linux_sched.c 		if (!(cp == p ||
p                 256 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_cred->p_ruid ||
p                 257 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_cred->p_ruid ||
p                 258 compat/linux/linux_sched.c 		      pc->p_ruid == p->p_ucred->cr_uid ||
p                 259 compat/linux/linux_sched.c 		      pc->pc_ucred->cr_uid == p->p_ucred->cr_uid))
p                 380 compat/linux/linux_signal.c linux_sys_sigaction(p, v, retval)
p                 381 compat/linux/linux_signal.c 	register struct proc *p;
p                 399 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
p                 431 compat/linux/linux_signal.c 		if ((error = sys_sigaction(p, &sa, retval)) != 0)
p                 447 compat/linux/linux_signal.c linux_sys_rt_sigaction(p, v, retval)
p                 448 compat/linux/linux_signal.c 	register struct proc *p;
p                 470 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
p                 503 compat/linux/linux_signal.c 		if ((error = sys_sigaction(p, &sa, retval)) != 0)
p                 525 compat/linux/linux_signal.c linux_sys_signal(p, v, retval)
p                 526 compat/linux/linux_signal.c 	register struct proc *p;
p                 542 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
p                 558 compat/linux/linux_signal.c 		if ((error = sys_sigaction(p, &sa_args, retval)))
p                 573 compat/linux/linux_signal.c linux_sys_sigprocmask(p, v, retval)
p                 574 compat/linux/linux_signal.c 	register struct proc *p;
p                 591 compat/linux/linux_signal.c 		bsd_to_linux_old_sigset(&p->p_sigmask, &ss);
p                 609 compat/linux/linux_signal.c 		p->p_sigmask |= bs & ~sigcantmask;
p                 613 compat/linux/linux_signal.c 		p->p_sigmask &= ~bs;
p                 617 compat/linux/linux_signal.c 		p->p_sigmask = bs & ~sigcantmask;
p                 631 compat/linux/linux_signal.c linux_sys_rt_sigprocmask(p, v, retval)
p                 632 compat/linux/linux_signal.c 	register struct proc *p;
p                 653 compat/linux/linux_signal.c 		bsd_to_linux_sigset(&p->p_sigmask, &ls);
p                 671 compat/linux/linux_signal.c 		p->p_sigmask |= bs & ~sigcantmask;
p                 675 compat/linux/linux_signal.c 		p->p_sigmask &= ~bs;
p                 679 compat/linux/linux_signal.c 		p->p_sigmask = bs & ~sigcantmask;
p                 700 compat/linux/linux_signal.c linux_sys_siggetmask(p, v, retval)
p                 701 compat/linux/linux_signal.c 	register struct proc *p;
p                 706 compat/linux/linux_signal.c 	bsd_to_linux_old_sigset(&p->p_sigmask, (linux_old_sigset_t *)retval);
p                 717 compat/linux/linux_signal.c linux_sys_sigsetmask(p, v, retval)
p                 718 compat/linux/linux_signal.c 	register struct proc *p;
p                 728 compat/linux/linux_signal.c 	bsd_to_linux_old_sigset(&p->p_sigmask, (linux_old_sigset_t *)retval);
p                 734 compat/linux/linux_signal.c 	p->p_sigmask = bsdsig & ~sigcantmask;
p                 741 compat/linux/linux_signal.c linux_sys_sigpending(p, v, retval)
p                 742 compat/linux/linux_signal.c 	register struct proc *p;
p                 752 compat/linux/linux_signal.c 	bs = p->p_siglist & p->p_sigmask;
p                 759 compat/linux/linux_signal.c linux_sys_rt_sigpending(p, v, retval)
p                 760 compat/linux/linux_signal.c 	register struct proc *p;
p                 774 compat/linux/linux_signal.c 	bs = p->p_siglist & p->p_sigmask;
p                 781 compat/linux/linux_signal.c linux_sys_sigsuspend(p, v, retval)
p                 782 compat/linux/linux_signal.c 	register struct proc *p;
p                 795 compat/linux/linux_signal.c 	return (sys_sigsuspend(p, &sa, retval));
p                 799 compat/linux/linux_signal.c linux_sys_rt_sigsuspend(p, v, retval)
p                 800 compat/linux/linux_signal.c 	register struct proc *p;
p                 820 compat/linux/linux_signal.c 	return (sys_sigsuspend(p, &sa, retval));
p                 828 compat/linux/linux_signal.c linux_sys_sigaltstack(p, v, retval)
p                 829 compat/linux/linux_signal.c 	register struct proc *p;
p                 843 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
p                 863 compat/linux/linux_signal.c 		return (sys_sigaltstack(p, &sa, retval));
p                 867 compat/linux/linux_signal.c 	error = sys_sigaltstack(p, &sa, retval);
p                 886 compat/linux/linux_signal.c linux_sys_pause(p, v, retval)
p                 887 compat/linux/linux_signal.c 	register struct proc *p;
p                 893 compat/linux/linux_signal.c 	SCARG(&bsa, mask) = p->p_sigmask;
p                 894 compat/linux/linux_signal.c 	return (sys_sigsuspend(p, &bsa, retval));
p                 901 compat/linux/linux_signal.c linux_sys_kill(p, v, retval)
p                 902 compat/linux/linux_signal.c 	register struct proc *p;
p                 916 compat/linux/linux_signal.c 	return (sys_kill(p, &ka, retval));
p                 201 compat/linux/linux_socket.c linux_socket(p, v, retval)
p                 202 compat/linux/linux_socket.c 	struct proc *p;
p                 223 compat/linux/linux_socket.c 	return sys_socket(p, &bsa, retval);
p                 227 compat/linux/linux_socket.c linux_bind(p, v, retval)
p                 228 compat/linux/linux_socket.c 	struct proc *p;
p                 249 compat/linux/linux_socket.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 251 compat/linux/linux_socket.c 		error = linux_sa_get(p, &sg, &sa, lba.name, &namlen);
p                 259 compat/linux/linux_socket.c 	return sys_bind(p, &bba, retval);
p                 263 compat/linux/linux_socket.c linux_connect(p, v, retval)
p                 264 compat/linux/linux_socket.c 	struct proc *p;
p                 276 compat/linux/linux_socket.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 284 compat/linux/linux_socket.c 	error = linux_sa_get(p, &sg, &sa, lca.name, &namlen);
p                 292 compat/linux/linux_socket.c 	error = sys_connect(p, &bca, retval);
p                 306 compat/linux/linux_socket.c 		if (sys_fcntl(p, &fca, retval) == -1 ||
p                 323 compat/linux/linux_socket.c 		error = sys_getsockopt(p, &bga, retval);
p                 334 compat/linux/linux_socket.c linux_listen(p, v, retval)
p                 335 compat/linux/linux_socket.c 	struct proc *p;
p                 353 compat/linux/linux_socket.c 	return sys_listen(p, &bla, retval);
p                 357 compat/linux/linux_socket.c linux_accept(p, v, retval)
p                 358 compat/linux/linux_socket.c 	struct proc *p;
p                 379 compat/linux/linux_socket.c 	error = compat_43_sys_accept(p, &baa, retval);
p                 391 compat/linux/linux_socket.c 	(void)sys_fcntl(p, &fca, retval);
p                 397 compat/linux/linux_socket.c linux_getsockname(p, v, retval)
p                 398 compat/linux/linux_socket.c 	struct proc *p;
p                 418 compat/linux/linux_socket.c 	error = sys_getsockname(p, &bga, retval);
p                 429 compat/linux/linux_socket.c linux_getpeername(p, v, retval)
p                 430 compat/linux/linux_socket.c 	struct proc *p;
p                 450 compat/linux/linux_socket.c 	error = sys_getpeername(p, &bga, retval);
p                 461 compat/linux/linux_socket.c linux_socketpair(p, v, retval)
p                 462 compat/linux/linux_socket.c 	struct proc *p;
p                 486 compat/linux/linux_socket.c 	return sys_socketpair(p, &bsa, retval);
p                 490 compat/linux/linux_socket.c linux_send(p, v, retval)
p                 491 compat/linux/linux_socket.c 	struct proc *p;
p                 513 compat/linux/linux_socket.c 	return compat_43_sys_send(p, &bsa, retval);
p                 517 compat/linux/linux_socket.c linux_recv(p, v, retval)
p                 518 compat/linux/linux_socket.c 	struct proc *p;
p                 540 compat/linux/linux_socket.c 	return compat_43_sys_recv(p, &bra, retval);
p                 544 compat/linux/linux_socket.c linux_check_hdrincl(p, fd, retval, sgp)
p                 545 compat/linux/linux_socket.c 	struct proc *p;
p                 574 compat/linux/linux_socket.c 	if ((error = sys_getsockopt(p, &gsa, retval)))
p                 590 compat/linux/linux_socket.c linux_sendto_hdrincl(p, bsa, retval, sgp)
p                 591 compat/linux/linux_socket.c 	struct proc *p;
p                 652 compat/linux/linux_socket.c 	return sys_sendmsg(p, &ssa, retval);
p                 656 compat/linux/linux_socket.c linux_sendto(p, v, retval)
p                 657 compat/linux/linux_socket.c 	struct proc *p;
p                 673 compat/linux/linux_socket.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 686 compat/linux/linux_socket.c 		if ((error = linux_sa_get(p, &sg, &sa, lsa.to, &tolen)))
p                 693 compat/linux/linux_socket.c 	if (linux_check_hdrincl(p, lsa.s, retval, &sg) == 0)
p                 694 compat/linux/linux_socket.c 		return linux_sendto_hdrincl(p, &bsa, retval, &sg);
p                 695 compat/linux/linux_socket.c 	return sys_sendto(p, &bsa, retval);
p                 699 compat/linux/linux_socket.c linux_recvfrom(p, v, retval)
p                 700 compat/linux/linux_socket.c 	struct proc *p;
p                 726 compat/linux/linux_socket.c 	if ((error = sys_recvfrom(p, &bra, retval)))
p                 736 compat/linux/linux_socket.c linux_shutdown(p, v, retval)
p                 737 compat/linux/linux_socket.c 	struct proc *p;
p                 755 compat/linux/linux_socket.c 	return sys_shutdown(p, &bsa, retval);
p                 895 compat/linux/linux_socket.c linux_setsockopt(p, v, retval)
p                 896 compat/linux/linux_socket.c 	struct proc *p;
p                 940 compat/linux/linux_socket.c 	return sys_setsockopt(p, &bsa, retval);
p                 947 compat/linux/linux_socket.c linux_getsockopt(p, v, retval)
p                 948 compat/linux/linux_socket.c 	struct proc *p;
p                 992 compat/linux/linux_socket.c 	return sys_getsockopt(p, &bga, retval);
p                 996 compat/linux/linux_socket.c linux_recvmsg(p, v, retval)
p                 997 compat/linux/linux_socket.c 	struct proc *p;
p                1018 compat/linux/linux_socket.c 	error = sys_recvmsg(p, &bla, retval);
p                1031 compat/linux/linux_socket.c linux_sendmsg(p, v, retval)
p                1032 compat/linux/linux_socket.c 	struct proc *p;
p                1056 compat/linux/linux_socket.c 		caddr_t sg = stackgap_init(p->p_emul);
p                1063 compat/linux/linux_socket.c 		error = linux_sa_get(p, &sg, &sa,
p                1104 compat/linux/linux_socket.c 	error = sys_sendmsg(p, &bla, retval);
p                1121 compat/linux/linux_socket.c linux_sa_get(p, sgp, sap, osa, osalen)
p                1122 compat/linux/linux_socket.c 	struct proc *p;
p                1253 compat/linux/linux_socket.c linux_sys_socketcall(p, v, retval)
p                1254 compat/linux/linux_socket.c 	struct proc *p;
p                1265 compat/linux/linux_socket.c 		return linux_socket(p, SCARG(uap, args), retval);
p                1267 compat/linux/linux_socket.c 		return linux_bind(p, SCARG(uap, args), retval);
p                1269 compat/linux/linux_socket.c 		return linux_connect(p, SCARG(uap, args), retval);
p                1271 compat/linux/linux_socket.c 		return linux_listen(p, SCARG(uap, args), retval);
p                1273 compat/linux/linux_socket.c 		return linux_accept(p, SCARG(uap, args), retval);
p                1275 compat/linux/linux_socket.c 		return linux_getsockname(p, SCARG(uap, args), retval);
p                1277 compat/linux/linux_socket.c 		return linux_getpeername(p, SCARG(uap, args), retval);
p                1279 compat/linux/linux_socket.c 		return linux_socketpair(p, SCARG(uap, args), retval);
p                1281 compat/linux/linux_socket.c 		return linux_send(p, SCARG(uap, args), retval);
p                1283 compat/linux/linux_socket.c 		return linux_recv(p, SCARG(uap, args), retval);
p                1285 compat/linux/linux_socket.c 		return linux_sendto(p, SCARG(uap, args), retval);
p                1287 compat/linux/linux_socket.c 		return linux_recvfrom(p, SCARG(uap, args), retval);
p                1289 compat/linux/linux_socket.c 		return linux_shutdown(p, SCARG(uap, args), retval);
p                1291 compat/linux/linux_socket.c 		return linux_setsockopt(p, SCARG(uap, args), retval);
p                1293 compat/linux/linux_socket.c 		return linux_getsockopt(p, SCARG(uap, args), retval);
p                1295 compat/linux/linux_socket.c 		return linux_sendmsg(p, SCARG(uap, args), retval);
p                1297 compat/linux/linux_socket.c 		return linux_recvmsg(p, SCARG(uap, args), retval);
p                1304 compat/linux/linux_socket.c linux_ioctl_socket(p, v, retval)
p                1305 compat/linux/linux_socket.c 	register struct proc *p;
p                1323 compat/linux/linux_socket.c 	fdp = p->p_fd;
p                1345 compat/linux/linux_socket.c 		error = ioctlf(fp, PTIOCLINUX, (caddr_t)&pt, p);
p                1447 compat/linux/linux_socket.c 		error = sys_ioctl(p, &ia, retval);
p                 441 compat/linux/linux_termios.c linux_ioctl_termios(p, v, retval)
p                 442 compat/linux/linux_termios.c 	struct proc *p;
p                 463 compat/linux/linux_termios.c 	fdp = p->p_fd;
p                 479 compat/linux/linux_termios.c 		    p);
p                 493 compat/linux/linux_termios.c 		    p);
p                 511 compat/linux/linux_termios.c 		error = (*fp->f_ops->fo_ioctl)(fp, com, (caddr_t)&tmpbts, p);
p                 515 compat/linux/linux_termios.c 		    p);
p                 529 compat/linux/linux_termios.c 		    p);
p                 547 compat/linux/linux_termios.c 		error = (*fp->f_ops->fo_ioctl)(fp, com, (caddr_t)&tmpbts, p);
p                 550 compat/linux/linux_termios.c 		error = (*fp->f_ops->fo_ioctl)(fp, TIOCGETD, (caddr_t)&idat, p);
p                 595 compat/linux/linux_termios.c 		error = (*fp->f_ops->fo_ioctl)(fp, TIOCSETD, (caddr_t)&idat, p);
p                 686 compat/linux/linux_termios.c 			    (caddr_t)&tmpbts, p);
p                 696 compat/linux/linux_termios.c 			sg = stackgap_init(p->p_emul);
p                 704 compat/linux/linux_termios.c 			error = sys_write(p, &wa, retval);
p                 720 compat/linux/linux_termios.c 	error = sys_ioctl(p, &ia, retval);
p                  43 compat/linux/linux_util.h #define LINUX_CHECK_ALT_EXIST(p, sgp, path) \
p                  44 compat/linux/linux_util.h     CHECK_ALT_EXIST(p, sgp, linux_emul_path, path)
p                  46 compat/linux/linux_util.h #define LINUX_CHECK_ALT_CREAT(p, sgp, path) \
p                  47 compat/linux/linux_util.h     CHECK_ALT_CREAT(p, sgp, linux_emul_path, path)
p                  79 compat/m68k4k/m68k4k_exec.c exec_m68k4k_makecmds(p, epp)
p                  80 compat/m68k4k/m68k4k_exec.c 	struct proc *p;
p                 103 compat/m68k4k/m68k4k_exec.c 		error = exec_m68k4k_prep_zmagic(p, epp);
p                 106 compat/m68k4k/m68k4k_exec.c 		error = exec_m68k4k_prep_nmagic(p, epp);
p                 109 compat/m68k4k/m68k4k_exec.c 		error = exec_m68k4k_prep_omagic(p, epp);
p                 132 compat/m68k4k/m68k4k_exec.c exec_m68k4k_prep_zmagic(p, epp)
p                 133 compat/m68k4k/m68k4k_exec.c 	struct proc *p;
p                 173 compat/m68k4k/m68k4k_exec.c 	return exec_setup_stack(p, epp);
p                 181 compat/m68k4k/m68k4k_exec.c exec_m68k4k_prep_nmagic(p, epp)
p                 182 compat/m68k4k/m68k4k_exec.c 	struct proc *p;
p                 212 compat/m68k4k/m68k4k_exec.c 	return exec_setup_stack(p, epp);
p                 220 compat/m68k4k/m68k4k_exec.c exec_m68k4k_prep_omagic(p, epp)
p                 221 compat/m68k4k/m68k4k_exec.c 	struct proc *p;
p                 255 compat/m68k4k/m68k4k_exec.c 	return exec_setup_stack(p, epp);
p                  88 compat/osf1/osf1_descrip.c osf1_sys_fcntl(p, v, retval)
p                  89 compat/osf1/osf1_descrip.c 	struct proc *p;
p                 101 compat/osf1/osf1_descrip.c 	sg = stackgap_init(p->p_emul);
p                 177 compat/osf1/osf1_descrip.c 	error = sys_fcntl(p, &a, retval);
p                 210 compat/osf1/osf1_descrip.c osf1_sys_fpathconf(p, v, retval)
p                 211 compat/osf1/osf1_descrip.c 	struct proc *p;
p                 225 compat/osf1/osf1_descrip.c 		error = sys_fpathconf(p, &a, retval);
p                 234 compat/osf1/osf1_descrip.c osf1_sys_fstat(p, v, retval)
p                 235 compat/osf1/osf1_descrip.c 	struct proc *p;
p                 240 compat/osf1/osf1_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 250 compat/osf1/osf1_descrip.c 	error = (*fp->f_ops->fo_stat)(fp, &ub, p);
p                 261 compat/osf1/osf1_descrip.c osf1_sys_ftruncate(p, v, retval)
p                 262 compat/osf1/osf1_descrip.c 	struct proc *p;
p                 273 compat/osf1/osf1_descrip.c 	return sys_ftruncate(p, &a, retval);
p                 277 compat/osf1/osf1_descrip.c osf1_sys_lseek(p, v, retval)
p                 278 compat/osf1/osf1_descrip.c 	struct proc *p;
p                 290 compat/osf1/osf1_descrip.c 	return sys_lseek(p, &a, retval);
p                  98 compat/osf1/osf1_exec.c osf1_exec_ecoff_hook(struct proc *p, struct exec_package *epp)
p                 132 compat/osf1/osf1_exec.c 		error = osf1_exec_ecoff_dynamic(p, epp);
p                 161 compat/osf1/osf1_exec.c 	struct proc *p = curproc;			/* XXX !!! */
p                 200 compat/osf1/osf1_exec.c 	        if (p->p_flag & P_TRACED)
p                 225 compat/osf1/osf1_exec.c osf1_exec_ecoff_dynamic(struct proc *p, struct exec_package *epp)
p                 238 compat/osf1/osf1_exec.c 	error = emul_find(p, NULL, osf1_emul_path,
p                 254 compat/osf1/osf1_exec.c 	    emul_arg->loader_name, p);
p                 270 compat/osf1/osf1_exec.c 	if ((error = VOP_ACCESS(ldr_vp, VEXEC, p->p_ucred, p)) != 0)
p                 285 compat/osf1/osf1_exec.c 	VOP_UNLOCK(ldr_vp, 0, p);
p                 291 compat/osf1/osf1_exec.c 	    sizeof ldr_exechdr, 0, UIO_SYSSPACE, 0, p->p_ucred,
p                 292 compat/osf1/osf1_exec.c 	    &resid, p)) != 0)
p                 318 compat/osf1/osf1_exec.c 		error = exec_ecoff_prep_omagic(p, epp);
p                 321 compat/osf1/osf1_exec.c 		error = exec_ecoff_prep_nmagic(p, epp);
p                 324 compat/osf1/osf1_exec.c 		error = exec_ecoff_prep_zmagic(p, epp);
p                 336 compat/osf1/osf1_exec.c 	VOP_UNLOCK(ldr_vp, 0, p);
p                  89 compat/osf1/osf1_file.c osf1_sys_access(p, v, retval)
p                  90 compat/osf1/osf1_file.c 	struct proc *p;
p                  99 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 100 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 110 compat/osf1/osf1_file.c 	return sys_access(p, &a, retval);
p                 114 compat/osf1/osf1_file.c osf1_sys_execve(p, v, retval)
p                 115 compat/osf1/osf1_file.c 	struct proc *p;
p                 123 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 124 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 130 compat/osf1/osf1_file.c 	return sys_execve(p, &ap, retval);
p                 138 compat/osf1/osf1_file.c osf1_sys_lstat(p, v, retval)
p                 139 compat/osf1/osf1_file.c 	struct proc *p;
p                 150 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 151 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 154 compat/osf1/osf1_file.c 	    SCARG(uap, path), p);
p                 157 compat/osf1/osf1_file.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 167 compat/osf1/osf1_file.c osf1_sys_mknod(p, v, retval)
p                 168 compat/osf1/osf1_file.c 	struct proc *p;
p                 176 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 177 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 183 compat/osf1/osf1_file.c 	return sys_mknod(p, &a, retval);
p                 187 compat/osf1/osf1_file.c osf1_sys_open(p, v, retval)
p                 188 compat/osf1/osf1_file.c 	struct proc *p;
p                 205 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 219 compat/osf1/osf1_file.c 		OSF1_CHECK_ALT_CREAT(p, &sg, path);
p                 221 compat/osf1/osf1_file.c 		OSF1_CHECK_ALT_EXIST(p, &sg, path);
p                 224 compat/osf1/osf1_file.c 	return sys_open(p, &a, retval);
p                 228 compat/osf1/osf1_file.c osf1_sys_pathconf(p, v, retval)
p                 229 compat/osf1/osf1_file.c 	struct proc *p;
p                 238 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 240 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 247 compat/osf1/osf1_file.c 		error = sys_pathconf(p, &a, retval);
p                 257 compat/osf1/osf1_file.c osf1_sys_stat(p, v, retval)
p                 258 compat/osf1/osf1_file.c 	struct proc *p;
p                 269 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 270 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 273 compat/osf1/osf1_file.c 	    SCARG(uap, path), p);
p                 276 compat/osf1/osf1_file.c 	error = vn_stat(nd.ni_vp, &sb, p);
p                 286 compat/osf1/osf1_file.c osf1_sys_truncate(p, v, retval)
p                 287 compat/osf1/osf1_file.c 	struct proc *p;
p                 295 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 296 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 302 compat/osf1/osf1_file.c 	return sys_truncate(p, &a, retval);
p                 306 compat/osf1/osf1_file.c osf1_sys_utimes(p, v, retval)
p                 307 compat/osf1/osf1_file.c 	struct proc *p;
p                 318 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
p                 320 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 345 compat/osf1/osf1_file.c 		error = sys_utimes(p, &a, retval);
p                  82 compat/osf1/osf1_generic.c osf1_sys_readv(p, v, retval)
p                  83 compat/osf1/osf1_generic.c 	struct proc *p;
p                  91 compat/osf1/osf1_generic.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 117 compat/osf1/osf1_generic.c 	error = sys_readv(p, &a, retval);
p                 126 compat/osf1/osf1_generic.c osf1_sys_select(p, v, retval)
p                 127 compat/osf1/osf1_generic.c 	struct proc *p;
p                 147 compat/osf1/osf1_generic.c 		sg = stackgap_init(p->p_emul);
p                 166 compat/osf1/osf1_generic.c 		error = sys_select(p, &a, retval);
p                 172 compat/osf1/osf1_generic.c osf1_sys_writev(p, v, retval)
p                 173 compat/osf1/osf1_generic.c 	struct proc *p;
p                 181 compat/osf1/osf1_generic.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 207 compat/osf1/osf1_generic.c 	error = sys_writev(p, &a, retval);
p                  75 compat/osf1/osf1_ioctl.c int osf1_ioctl_f(struct proc *p, struct sys_ioctl_args *nuap,
p                  77 compat/osf1/osf1_ioctl.c int osf1_ioctl_i(struct proc *p, struct sys_ioctl_args *nuap,
p                  79 compat/osf1/osf1_ioctl.c int osf1_ioctl_t(struct proc *p, struct sys_ioctl_args *nuap,
p                  81 compat/osf1/osf1_ioctl.c int osf1_ioctl_m(struct proc *p, struct sys_ioctl_args *nuap,
p                  85 compat/osf1/osf1_ioctl.c osf1_sys_ioctl(p, v, retval)
p                  86 compat/osf1/osf1_ioctl.c 	struct proc *p;
p                 144 compat/osf1/osf1_ioctl.c 		return osf1_ioctl_f(p, &a, retval, cmd, dir, len);
p                 146 compat/osf1/osf1_ioctl.c 		return osf1_ioctl_i(p, &a, retval, cmd, dir, len);
p                 148 compat/osf1/osf1_ioctl.c 		return osf1_ioctl_t(p, &a, retval, cmd, dir, len);
p                 150 compat/osf1/osf1_ioctl.c 		return osf1_ioctl_m(p, &a, retval, cmd, dir, len); 
p                 157 compat/osf1/osf1_ioctl.c osf1_ioctl_f(p, uap, retval, cmd, dir, len)
p                 158 compat/osf1/osf1_ioctl.c 	struct proc *p;
p                 181 compat/osf1/osf1_ioctl.c 	return sys_ioctl(p, uap, retval);
p                 188 compat/osf1/osf1_ioctl.c osf1_ioctl_m(p, uap, retval, cmd, dir, len)
p                 189 compat/osf1/osf1_ioctl.c 	struct proc *p;
p                 205 compat/osf1/osf1_ioctl.c 	return sys_ioctl(p, uap, retval);
p                 209 compat/osf1/osf1_ioctl.c osf1_ioctl_i(p, uap, retval, cmd, dir, len)
p                 210 compat/osf1/osf1_ioctl.c 	struct proc *p;
p                 239 compat/osf1/osf1_ioctl.c 	return sys_ioctl(p, uap, retval);
p                 243 compat/osf1/osf1_ioctl.c osf1_ioctl_t(p, uap, retval, cmd, dir, len)
p                 244 compat/osf1/osf1_ioctl.c 	struct proc *p;
p                 273 compat/osf1/osf1_ioctl.c 	return sys_ioctl(p, uap, retval);
p                  95 compat/osf1/osf1_misc.c osf1_sys_classcntl(p, v, retval)
p                  96 compat/osf1/osf1_misc.c 	struct proc *p;
p                 106 compat/osf1/osf1_misc.c osf1_sys_reboot(p, v, retval)
p                 107 compat/osf1/osf1_misc.c 	struct proc *p;
p                 123 compat/osf1/osf1_misc.c 	return sys_reboot(p, &a, retval);
p                 127 compat/osf1/osf1_misc.c osf1_sys_set_program_attributes(p, v, retval)
p                 128 compat/osf1/osf1_misc.c 	struct proc *p;
p                 138 compat/osf1/osf1_misc.c 	if (dsize > p->p_rlimit[RLIMIT_DATA].rlim_cur)
p                 143 compat/osf1/osf1_misc.c 	p->p_vmspace->vm_taddr = SCARG(uap, taddr);
p                 144 compat/osf1/osf1_misc.c 	p->p_vmspace->vm_tsize = tsize;
p                 145 compat/osf1/osf1_misc.c 	p->p_vmspace->vm_daddr = SCARG(uap, daddr);
p                 146 compat/osf1/osf1_misc.c 	p->p_vmspace->vm_dsize = dsize;
p                 152 compat/osf1/osf1_misc.c osf1_sys_setsysinfo(p, v, retval)
p                 153 compat/osf1/osf1_misc.c 	struct proc *p;
p                 163 compat/osf1/osf1_misc.c osf1_sys_sysinfo(p, v, retval)
p                 164 compat/osf1/osf1_misc.c 	struct proc *p;
p                 235 compat/osf1/osf1_misc.c osf1_sys_uname(p, v, retval)
p                 236 compat/osf1/osf1_misc.c 	struct proc *p;
p                 271 compat/osf1/osf1_misc.c osf1_sys_usleep_thread(p, v, retval)
p                 272 compat/osf1/osf1_misc.c 	struct proc *p;
p                 293 compat/osf1/osf1_misc.c 	tsleep(p, PUSER|PCATCH, "uslpthrd", ticks);	/* XXX */
p                 312 compat/osf1/osf1_misc.c osf1_sys_wait4(p, v, retval)
p                 313 compat/osf1/osf1_misc.c 	struct proc *p;
p                 337 compat/osf1/osf1_misc.c 		sg = stackgap_init(p->p_emul);
p                 341 compat/osf1/osf1_misc.c 	error = sys_wait4(p, &a, retval);
p                  47 compat/osf1/osf1_mmap.c osf1_sys_madvise(p, v, retval)
p                  48 compat/osf1/osf1_mmap.c 	struct proc *p;
p                  99 compat/osf1/osf1_mmap.c 		error = sys_madvise(p, &a, retval);
p                 113 compat/osf1/osf1_mmap.c osf1_sys_mmap(p, v, retval)
p                 114 compat/osf1/osf1_mmap.c 	struct proc *p;
p                 181 compat/osf1/osf1_mmap.c 		vm_map_lock(&p->p_vmspace->vm_map);
p                 185 compat/osf1/osf1_mmap.c 		if (addr != 0 && uvm_map_findspace(&p->p_vmspace->vm_map,
p                 192 compat/osf1/osf1_mmap.c 		if (uvm_map_findspace(&p->p_vmspace->vm_map, NBPG, size, &addr,
p                 199 compat/osf1/osf1_mmap.c 		vm_map_unlock(&p->p_vmspace->vm_map);
p                 206 compat/osf1/osf1_mmap.c 	return sys_mmap(p, &a, retval);
p                 210 compat/osf1/osf1_mmap.c osf1_sys_mprotect(p, v, retval)
p                 211 compat/osf1/osf1_mmap.c 	struct proc *p;
p                 228 compat/osf1/osf1_mmap.c 	return sys_mprotect(p, &a, retval);
p                 108 compat/osf1/osf1_mount.c osf1_sys_fstatfs(p, v, retval)
p                 109 compat/osf1/osf1_mount.c 	struct proc *p;
p                 120 compat/osf1/osf1_mount.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)))
p                 124 compat/osf1/osf1_mount.c 	error = VFS_STATFS(mp, sp, p);
p                 137 compat/osf1/osf1_mount.c osf1_sys_getfsstat(p, v, retval)
p                 138 compat/osf1/osf1_mount.c 	struct proc *p;
p                 167 compat/osf1/osf1_mount.c 			    (error = VFS_STATFS(mp, sp, p)))
p                 186 compat/osf1/osf1_mount.c osf1_sys_mount(p, v, retval)
p                 187 compat/osf1/osf1_mount.c 	struct proc *p;
p                 203 compat/osf1/osf1_mount.c 		if ((error = osf1_mount_nfs(p, uap, &a)))
p                 208 compat/osf1/osf1_mount.c 		if ((error = osf1_mount_mfs(p, uap, &a)))
p                 216 compat/osf1/osf1_mount.c 	return sys_mount(p, &a, retval);
p                 220 compat/osf1/osf1_mount.c osf1_sys_statfs(p, v, retval)
p                 221 compat/osf1/osf1_mount.c 	struct proc *p;
p                 232 compat/osf1/osf1_mount.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 238 compat/osf1/osf1_mount.c 	if ((error = VFS_STATFS(mp, sp, p)))
p                 247 compat/osf1/osf1_mount.c osf1_sys_unmount(p, v, retval)
p                 248 compat/osf1/osf1_mount.c 	struct proc *p;
p                 264 compat/osf1/osf1_mount.c 	return sys_unmount(p, &a, retval);
p                 268 compat/osf1/osf1_mount.c osf1_mount_mfs(p, osf_argp, bsd_argp)
p                 269 compat/osf1/osf1_mount.c 	struct proc *p;
p                 275 compat/osf1/osf1_mount.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 301 compat/osf1/osf1_mount.c osf1_mount_nfs(p, osf_argp, bsd_argp)
p                 302 compat/osf1/osf1_mount.c 	struct proc *p;
p                 308 compat/osf1/osf1_mount.c 	caddr_t sg = stackgap_init(p->p_emul);
p                  79 compat/osf1/osf1_prot.c osf1_sys_setgid(p, v, retval)
p                  80 compat/osf1/osf1_prot.c 	struct proc *p;
p                  85 compat/osf1/osf1_prot.c 	struct pcred *pc = p->p_cred;
p                  89 compat/osf1/osf1_prot.c 	if ((error = suser(p, 0)) != 0 &&
p                  99 compat/osf1/osf1_prot.c 	atomic_setbits_int(&p->p_flag, P_SUGID);
p                 118 compat/osf1/osf1_prot.c osf1_sys_setuid(p, v, retval)
p                 119 compat/osf1/osf1_prot.c 	struct proc *p;
p                 124 compat/osf1/osf1_prot.c 	struct pcred *pc = p->p_cred;
p                 128 compat/osf1/osf1_prot.c 	if ((error = suser(p, 0)) != 0 &&
p                 140 compat/osf1/osf1_prot.c 	atomic_setbits_int(&p->p_flag, P_SUGID);
p                  47 compat/osf1/osf1_resource.c osf1_sys_getrlimit(p, v, retval)
p                  48 compat/osf1/osf1_resource.c 	struct proc *p;
p                  85 compat/osf1/osf1_resource.c 	return sys_getrlimit(p, &a, retval);
p                  89 compat/osf1/osf1_resource.c osf1_sys_getrusage(p, v, retval)
p                  90 compat/osf1/osf1_resource.c 	struct proc *p;
p                 115 compat/osf1/osf1_resource.c 	sg = stackgap_init(p->p_emul);
p                 118 compat/osf1/osf1_resource.c 	error = sys_getrusage(p, &a, retval);
p                 132 compat/osf1/osf1_resource.c osf1_sys_setrlimit(p, v, retval)
p                 133 compat/osf1/osf1_resource.c 	struct proc *p;
p                 170 compat/osf1/osf1_resource.c 	return sys_setrlimit(p, &a, retval);
p                  56 compat/osf1/osf1_signal.c osf1_sys_kill(p, v, retval)
p                  57 compat/osf1/osf1_signal.c 	struct proc *p;
p                  66 compat/osf1/osf1_signal.c 	return sys_kill(p, &ka, retval);
p                  71 compat/osf1/osf1_signal.c osf1_sys_sigaction(p, v, retval)
p                  72 compat/osf1/osf1_signal.c 	struct proc *p;
p                  83 compat/osf1/osf1_signal.c 	sg = stackgap_init(p->p_emul);
p                 107 compat/osf1/osf1_signal.c 	if ((error = sys_sigaction(p, &sa, retval)) != 0)
p                 122 compat/osf1/osf1_signal.c osf1_sys_sigaltstack(p, v, retval)
p                 123 compat/osf1/osf1_signal.c 	struct proc *p;
p                 134 compat/osf1/osf1_signal.c 	sg = stackgap_init(p->p_emul);
p                 158 compat/osf1/osf1_signal.c 	if ((error = sys_sigaltstack(p, &sa, retval)) != 0)
p                 174 compat/osf1/osf1_signal.c osf1_sys_signal(p, v, retval)
p                 175 compat/osf1/osf1_signal.c 	struct proc *p;
p                 182 compat/osf1/osf1_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 203 compat/osf1/osf1_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 227 compat/osf1/osf1_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 245 compat/osf1/osf1_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 254 compat/osf1/osf1_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 272 compat/osf1/osf1_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 283 compat/osf1/osf1_signal.c 			SCARG(&sa, mask) = p->p_sigmask & ~sigmask(signum);
p                 284 compat/osf1/osf1_signal.c 			return sys_sigsuspend(p, &sa, retval);
p                 293 compat/osf1/osf1_signal.c osf1_sys_sigpending(p, v, retval)
p                 294 compat/osf1/osf1_signal.c 	struct proc *p;
p                 302 compat/osf1/osf1_signal.c 	bss = p->p_siglist & p->p_sigmask;
p                 309 compat/osf1/osf1_signal.c osf1_sys_sigprocmask(p, v, retval)
p                 310 compat/osf1/osf1_signal.c 	struct proc *p;
p                 321 compat/osf1/osf1_signal.c 		osf1_cvt_sigset_from_native(&p->p_sigmask, &oss);
p                 339 compat/osf1/osf1_signal.c 		p->p_sigmask |= bss & ~sigcantmask;
p                 343 compat/osf1/osf1_signal.c 		p->p_sigmask &= ~bss;
p                 347 compat/osf1/osf1_signal.c 		p->p_sigmask = bss & ~sigcantmask;
p                 361 compat/osf1/osf1_signal.c osf1_sys_sigsuspend(p, v, retval)
p                 362 compat/osf1/osf1_signal.c 	struct proc *p;
p                 378 compat/osf1/osf1_signal.c 	return sys_sigsuspend(p, &sa, retval);
p                  77 compat/osf1/osf1_socket.c osf1_sys_recvmsg_xopen(p, v, retval)
p                  78 compat/osf1/osf1_socket.c 	struct proc *p;
p                  88 compat/osf1/osf1_socket.c osf1_sys_sendmsg_xopen(p, v, retval)
p                  89 compat/osf1/osf1_socket.c 	struct proc *p;
p                 104 compat/osf1/osf1_socket.c 	sg = stackgap_init(p->p_emul);
p                 160 compat/osf1/osf1_socket.c 	return sys_sendmsg(p, &a, retval);
p                 164 compat/osf1/osf1_socket.c osf1_sys_sendto(p, v, retval)
p                 165 compat/osf1/osf1_socket.c 	struct proc *p;
p                 185 compat/osf1/osf1_socket.c 	return sys_sendto(p, &a, retval);
p                 189 compat/osf1/osf1_socket.c osf1_sys_socket(p, v, retval)
p                 190 compat/osf1/osf1_socket.c 	struct proc *p;
p                 206 compat/osf1/osf1_socket.c 	return sys_socket(p, &a, retval);
p                 210 compat/osf1/osf1_socket.c osf1_sys_socketpair(p, v, retval)
p                 211 compat/osf1/osf1_socket.c 	struct proc *p;
p                 228 compat/osf1/osf1_socket.c 	return sys_socketpair(p, &a, retval);
p                  47 compat/osf1/osf1_sysv_ipc.c osf1_sys_shmat(p, v, retval)
p                  48 compat/osf1/osf1_sysv_ipc.c 	struct proc *p;
p                  58 compat/osf1/osf1_sysv_ipc.c osf1_sys_shmctl(p, v, retval)
p                  59 compat/osf1/osf1_sysv_ipc.c 	struct proc *p;
p                  69 compat/osf1/osf1_sysv_ipc.c osf1_sys_shmdt(p, v, retval)
p                  70 compat/osf1/osf1_sysv_ipc.c 	struct proc *p;
p                  80 compat/osf1/osf1_sysv_ipc.c osf1_sys_shmget(p, v, retval)
p                  81 compat/osf1/osf1_sysv_ipc.c 	struct proc *p;
p                  47 compat/osf1/osf1_time.c osf1_sys_gettimeofday(p, v, retval)
p                  48 compat/osf1/osf1_time.c 	struct proc *p;
p                  61 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
p                  71 compat/osf1/osf1_time.c 	error = sys_gettimeofday(p, &a, retval);
p                 101 compat/osf1/osf1_time.c osf1_sys_setitimer(p, v, retval)
p                 102 compat/osf1/osf1_time.c 	struct proc *p;
p                 130 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
p                 156 compat/osf1/osf1_time.c 		error = sys_setitimer(p, &a, retval);
p                 180 compat/osf1/osf1_time.c osf1_sys_settimeofday(p, v, retval)
p                 181 compat/osf1/osf1_time.c 	struct proc *p;
p                 194 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
p                 236 compat/osf1/osf1_time.c 		error = sys_settimeofday(p, &a, retval);
p                  11 compat/osf1/osf1_util.h #define OSF1_CHECK_ALT_EXIST(p, sgp, path) \
p                  12 compat/osf1/osf1_util.h     CHECK_ALT_EXIST(p, sgp, osf1_emul_path, path)
p                  14 compat/osf1/osf1_util.h #define OSF1_CHECK_ALT_CREAT(p, sgp, path) \
p                  15 compat/osf1/osf1_util.h     CHECK_ALT_CREAT(p, sgp, osf1_emul_path, path)
p                  68 compat/ossaudio/ossaudio.c oss_ioctl_audio(p, uap, retval)
p                  69 compat/ossaudio/ossaudio.c 	struct proc *p;
p                  90 compat/ossaudio/ossaudio.c 	fdp = p->p_fd;
p                 108 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_FLUSH, (caddr_t)0, p);
p                 114 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_DRAIN, (caddr_t)0, p);
p                 125 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 132 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 147 compat/ossaudio/ossaudio.c 		(void) ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 148 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 157 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 160 compat/ossaudio/ossaudio.c 		setblocksize(fp, &tmpinfo, p);
p                 224 compat/ossaudio/ossaudio.c 		(void) ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 227 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 276 compat/ossaudio/ossaudio.c 		(void) ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 279 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 295 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 296 compat/ossaudio/ossaudio.c 		setblocksize(fp, &tmpinfo, p);
p                 304 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 327 compat/ossaudio/ossaudio.c 		(void) ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 328 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 341 compat/ossaudio/ossaudio.c 		    ioctlf(fp, AUDIO_GETENC, (caddr_t)&tmpenc, p) == 0; 
p                 395 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 398 compat/ossaudio/ossaudio.c 		setblocksize(fp, &tmpinfo, p);
p                 411 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 414 compat/ossaudio/ossaudio.c 		setblocksize(fp, &tmpinfo, p);
p                 431 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, FIONBIO, (caddr_t)&idat, p);
p                 436 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETPROPS, (caddr_t)&idata, p);
p                 451 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETINFO, (caddr_t)&tmpinfo, p);
p                 467 compat/ossaudio/ossaudio.c 		(void) ioctlf(fp, AUDIO_SETINFO, (caddr_t)&tmpinfo, p);
p                 481 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETIOFFS, (caddr_t)&tmpoffs, p);
p                 492 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_GETOOFFS, (caddr_t)&tmpoffs, p);
p                 504 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_SETFD, (caddr_t)&idat, p);
p                 543 compat/ossaudio/ossaudio.c getdevinfo(fp, p)
p                 545 compat/ossaudio/ossaudio.c 	struct proc *p;
p                 588 compat/ossaudio/ossaudio.c 	if (VOP_GETATTR(vp, &va, p->p_ucred, p))
p                 606 compat/ossaudio/ossaudio.c 		if (ioctlf(fp, AUDIO_MIXER_DEVINFO, (caddr_t)&mi, p) < 0)
p                 650 compat/ossaudio/ossaudio.c oss_ioctl_mixer(p, uap, retval)
p                 651 compat/ossaudio/ossaudio.c 	struct proc *p;
p                 670 compat/ossaudio/ossaudio.c 	fdp = p->p_fd;
p                 683 compat/ossaudio/ossaudio.c 	di = getdevinfo(fp, p);
p                 699 compat/ossaudio/ossaudio.c 			error = ioctlf(fp, AUDIO_MIXER_READ, (caddr_t)&mc, p);
p                 707 compat/ossaudio/ossaudio.c 			error = ioctlf(fp, AUDIO_MIXER_READ, (caddr_t)&mc, p);
p                 762 compat/ossaudio/ossaudio.c 		error = ioctlf(fp, AUDIO_MIXER_WRITE, (caddr_t)&mc, p);
p                 776 compat/ossaudio/ossaudio.c 			error = ioctlf(fp, AUDIO_MIXER_READ, (caddr_t)&mc, p);
p                 815 compat/ossaudio/ossaudio.c 			error = ioctlf(fp, AUDIO_MIXER_WRITE, (caddr_t)&mc, p);
p                 841 compat/ossaudio/ossaudio.c oss_ioctl_sequencer(p, uap, retval)
p                 842 compat/ossaudio/ossaudio.c 	struct proc *p;
p                 858 compat/ossaudio/ossaudio.c 	fdp = p->p_fd;
p                 877 compat/ossaudio/ossaudio.c static void setblocksize(fp, info, p)
p                 880 compat/ossaudio/ossaudio.c 	struct proc *p;
p                 890 compat/ossaudio/ossaudio.c 		fp->f_ops->fo_ioctl(fp, AUDIO_SETINFO, (caddr_t)&set, p);
p                 891 compat/ossaudio/ossaudio.c 		fp->f_ops->fo_ioctl(fp, AUDIO_GETINFO, (caddr_t)info, p);
p                  99 compat/sunos/sunos_exec.c sunos_exec_aout_makecmds(p, epp)
p                 100 compat/sunos/sunos_exec.c 	struct proc *p;
p                 114 compat/sunos/sunos_exec.c 		error = sunos_exec_aout_prep_zmagic(p, epp);
p                 117 compat/sunos/sunos_exec.c 		error = sunos_exec_aout_prep_nmagic(p, epp);
p                 120 compat/sunos/sunos_exec.c 		error = sunos_exec_aout_prep_omagic(p, epp);
p                 154 compat/sunos/sunos_exec.c sunos_exec_aout_prep_zmagic(p, epp)
p                 155 compat/sunos/sunos_exec.c 	struct proc *p;
p                 196 compat/sunos/sunos_exec.c 	return exec_setup_stack(p, epp);
p                 203 compat/sunos/sunos_exec.c sunos_exec_aout_prep_nmagic(p, epp)
p                 204 compat/sunos/sunos_exec.c 	struct proc *p;
p                 233 compat/sunos/sunos_exec.c 	return exec_setup_stack(p, epp);
p                 240 compat/sunos/sunos_exec.c sunos_exec_aout_prep_omagic(p, epp)
p                 241 compat/sunos/sunos_exec.c 	struct proc *p;
p                 265 compat/sunos/sunos_exec.c 	return exec_setup_stack(p, epp);
p                 396 compat/sunos/sunos_ioctl.c sunos_sys_ioctl(p, v, retval)
p                 397 compat/sunos/sunos_ioctl.c 	register struct proc *p;
p                 402 compat/sunos/sunos_ioctl.c 	struct filedesc *fdp = p->p_fd;
p                 439 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, TIOCSETD, (caddr_t)&disc, p);
p                 459 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, TIOCCONS, (caddr_t)&on, p);
p                 467 compat/sunos/sunos_ioctl.c 		if ((error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p)) != 0)
p                 476 compat/sunos/sunos_ioctl.c 		error = ((*ctl)(fp, TIOCSWINSZ, (caddr_t)&ws, p));
p                 484 compat/sunos/sunos_ioctl.c 		if ((error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p)) != 0)
p                 504 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, TIOCGPGRP, (caddr_t)&pgrp, p);
p                 529 compat/sunos/sunos_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0)
p                 558 compat/sunos/sunos_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0)
p                 570 compat/sunos/sunos_ioctl.c 		    (caddr_t)&bts, p);
p                 585 compat/sunos/sunos_ioctl.c 		    (caddr_t)&bts, p);
p                 597 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, TIOCUCNTL, (caddr_t)&on, p);
p                 606 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, TIOCSIG, (caddr_t)&sig, p);
p                 618 compat/sunos/sunos_ioctl.c 	error = (*ctl)(fp, a, (caddr_t)&ifreq, p); \
p                 626 compat/sunos/sunos_ioctl.c 	if ((error = (*ctl)(fp, a, (caddr_t)&ifreq, p)) != 0) \
p                 717 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, OSIOCGIFCONF, (caddr_t)&ifconf, p);
p                 734 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, AUDIO_GETINFO, (caddr_t)&aui, p);
p                 798 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, AUDIO_SETINFO, (caddr_t)&aui, p);
p                 805 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, AUDIO_DRAIN, (void *)0, p);
p                 841 compat/sunos/sunos_ioctl.c                 error = (*ctl)(fp, TIOCFLUSH, (caddr_t)&tmp, p);
p                 853 compat/sunos/sunos_ioctl.c 		error = (*ctl)(fp, FIOASYNC, (caddr_t)&on, p);
p                 857 compat/sunos/sunos_ioctl.c 	error = (sys_ioctl(p, uap, retval));
p                 962 compat/sunos/sunos_ioctl.c sunos_sys_fcntl(p, v, retval)
p                 963 compat/sunos/sunos_ioctl.c 	register struct proc *p;
p                 992 compat/sunos/sunos_ioctl.c 			caddr_t sg = stackgap_init(p->p_emul);
p                1011 compat/sunos/sunos_ioctl.c 			error = sys_fcntl(p, &fa, retval);
p                1034 compat/sunos/sunos_ioctl.c 	ret = sys_fcntl(p, uap, retval);
p                 109 compat/sunos/sunos_misc.c sunos_sys_wait4(p, v, retval)
p                 110 compat/sunos/sunos_misc.c 	struct proc *p;
p                 117 compat/sunos/sunos_misc.c 	return (sys_wait4(p, uap, retval));
p                 121 compat/sunos/sunos_misc.c sunos_sys_creat(p, v, retval)
p                 122 compat/sunos/sunos_misc.c 	struct proc *p;
p                 129 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 130 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 136 compat/sunos/sunos_misc.c 	return (sys_open(p, &ouap, retval));
p                 140 compat/sunos/sunos_misc.c sunos_sys_access(p, v, retval)
p                 141 compat/sunos/sunos_misc.c 	struct proc *p;
p                 146 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 147 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 149 compat/sunos/sunos_misc.c 	return (sys_access(p, uap, retval));
p                 153 compat/sunos/sunos_misc.c sunos_sys_stat(p, v, retval)
p                 154 compat/sunos/sunos_misc.c 	struct proc *p;
p                 159 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 160 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 162 compat/sunos/sunos_misc.c 	return (compat_43_sys_stat(p, uap, retval));
p                 166 compat/sunos/sunos_misc.c sunos_sys_lstat(p, v, retval)
p                 167 compat/sunos/sunos_misc.c 	struct proc *p;
p                 172 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 173 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 175 compat/sunos/sunos_misc.c 	return (compat_43_sys_lstat(p, uap, retval));
p                 179 compat/sunos/sunos_misc.c sunos_sys_execve(p, v, retval)
p                 180 compat/sunos/sunos_misc.c 	struct proc *p;
p                 192 compat/sunos/sunos_misc.c 	sg = stackgap_init(p->p_emul);
p                 193 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 199 compat/sunos/sunos_misc.c 	return (sys_execve(p, &ap, retval));
p                 203 compat/sunos/sunos_misc.c sunos_sys_execv(p, v, retval)
p                 204 compat/sunos/sunos_misc.c 	struct proc *p;
p                 211 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 212 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 218 compat/sunos/sunos_misc.c 	return (sys_execve(p, &ouap, retval));
p                 222 compat/sunos/sunos_misc.c sunos_sys_unmount(p, v, retval)
p                 223 compat/sunos/sunos_misc.c 	struct proc *p;
p                 233 compat/sunos/sunos_misc.c 	return (sys_unmount(p, &ouap, retval));
p                 261 compat/sunos/sunos_misc.c sunos_sys_mount(p, v, retval)
p                 262 compat/sunos/sunos_misc.c 	struct proc *p;
p                 269 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 339 compat/sunos/sunos_misc.c 	return (sys_mount(p, (struct sys_mount_args *)uap, retval));
p                 344 compat/sunos/sunos_misc.c async_daemon(p, v, retval)
p                 345 compat/sunos/sunos_misc.c 	struct proc *p;
p                 354 compat/sunos/sunos_misc.c 	return (sys_nfssvc(p, &ouap, retval));
p                 359 compat/sunos/sunos_misc.c sunos_sys_sigpending(p, v, retval)
p                 360 compat/sunos/sunos_misc.c 	struct proc *p;
p                 365 compat/sunos/sunos_misc.c 	int mask = p->p_siglist & p->p_sigmask;
p                 415 compat/sunos/sunos_misc.c sunos_sys_getdents(p, v, retval)
p                 416 compat/sunos/sunos_misc.c 	struct proc *p;
p                 430 compat/sunos/sunos_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 459 compat/sunos/sunos_misc.c sunos_sys_mmap(p, v, retval)
p                 460 compat/sunos/sunos_misc.c 	struct proc *p;
p                 481 compat/sunos/sunos_misc.c 	    SCARG(&ouap, addr) < (void *)round_page((vaddr_t)p->p_vmspace->vm_daddr+MAXDSIZ))
p                 482 compat/sunos/sunos_misc.c 		SCARG(&ouap, addr) = (void *)round_page((vaddr_t)p->p_vmspace->vm_daddr+MAXDSIZ);
p                 489 compat/sunos/sunos_misc.c 	return (sys_mmap(p, &ouap, retval));
p                 500 compat/sunos/sunos_misc.c sunos_sys_mctl(p, v, retval)
p                 501 compat/sunos/sunos_misc.c 	register struct proc *p;
p                 511 compat/sunos/sunos_misc.c 		return (sys_msync(p, uap, retval));
p                 518 compat/sunos/sunos_misc.c sunos_sys_setsockopt(p, v, retval)
p                 519 compat/sunos/sunos_misc.c 	struct proc *p;
p                 528 compat/sunos/sunos_misc.c 	if ((error = getsock(p->p_fd, SCARG(uap, s), &fp)) != 0)
p                 580 compat/sunos/sunos_misc.c sunos_sys_fchroot(p, v, retval)
p                 581 compat/sunos/sunos_misc.c 	register struct proc *p;
p                 586 compat/sunos/sunos_misc.c 	register struct filedesc *fdp = p->p_fd;
p                 591 compat/sunos/sunos_misc.c 	if ((error = suser(p, 0)) != 0)
p                 596 compat/sunos/sunos_misc.c 	vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 600 compat/sunos/sunos_misc.c 		error = VOP_ACCESS(vp, VEXEC, p->p_ucred, p);
p                 601 compat/sunos/sunos_misc.c 	VOP_UNLOCK(vp, 0, p);
p                 618 compat/sunos/sunos_misc.c sunos_sys_auditsys(p, v, retval)
p                 619 compat/sunos/sunos_misc.c 	struct proc *p;
p                 627 compat/sunos/sunos_misc.c sunos_sys_uname(p, v, retval)
p                 628 compat/sunos/sunos_misc.c 	struct proc *p;
p                 650 compat/sunos/sunos_misc.c sunos_sys_setpgrp(p, v, retval)
p                 651 compat/sunos/sunos_misc.c 	struct proc *p;
p                 664 compat/sunos/sunos_misc.c 	    (!SCARG(uap, pid) || SCARG(uap, pid) == p->p_pid))
p                 665 compat/sunos/sunos_misc.c 		return sys_setsid(p, uap, retval);
p                 667 compat/sunos/sunos_misc.c 		return sys_setpgid(p, uap, retval);
p                 671 compat/sunos/sunos_misc.c sunos_sys_open(p, v, retval)
p                 672 compat/sunos/sunos_misc.c 	struct proc *p;
p                 681 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 682 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 694 compat/sunos/sunos_misc.c 	ret = sys_open(p, (struct sys_open_args *)uap, retval);
p                 696 compat/sunos/sunos_misc.c 	if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
p                 697 compat/sunos/sunos_misc.c 		struct filedesc *fdp = p->p_fd;
p                 705 compat/sunos/sunos_misc.c 			(fp->f_ops->fo_ioctl)(fp, TIOCSCTTY, (caddr_t)0, p);
p                 713 compat/sunos/sunos_misc.c sunos_sys_nfssvc(p, v, retval)
p                 714 compat/sunos/sunos_misc.c 	struct proc *p;
p                 720 compat/sunos/sunos_misc.c 	struct emul *e = p->p_emul;
p                 738 compat/sunos/sunos_misc.c 	return nfssvc(p, &outuap, retval);
p                 746 compat/sunos/sunos_misc.c sunos_sys_ustat(p, v, retval)
p                 747 compat/sunos/sunos_misc.c 	struct proc *p;
p                 768 compat/sunos/sunos_misc.c sunos_sys_quotactl(p, v, retval)
p                 769 compat/sunos/sunos_misc.c 	struct proc *p;
p                 778 compat/sunos/sunos_misc.c sunos_sys_vhangup(p, v, retval)
p                 779 compat/sunos/sunos_misc.c 	struct proc *p;
p                 783 compat/sunos/sunos_misc.c 	struct session *sp = p->p_session;
p                 821 compat/sunos/sunos_misc.c sunos_sys_statfs(p, v, retval)
p                 822 compat/sunos/sunos_misc.c 	struct proc *p;
p                 832 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 833 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 835 compat/sunos/sunos_misc.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 841 compat/sunos/sunos_misc.c 	if ((error = VFS_STATFS(mp, sp, p)) != 0)
p                 848 compat/sunos/sunos_misc.c sunos_sys_fstatfs(p, v, retval)
p                 849 compat/sunos/sunos_misc.c 	struct proc *p;
p                 859 compat/sunos/sunos_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 863 compat/sunos/sunos_misc.c 	error = VFS_STATFS(mp, sp, p);
p                 872 compat/sunos/sunos_misc.c sunos_sys_exportfs(p, v, retval)
p                 873 compat/sunos/sunos_misc.c 	struct proc *p;
p                 885 compat/sunos/sunos_misc.c sunos_sys_mknod(p, v, retval)
p                 886 compat/sunos/sunos_misc.c 	struct proc *p;
p                 892 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 893 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 896 compat/sunos/sunos_misc.c 		return sys_mkfifo(p, uap, retval);
p                 898 compat/sunos/sunos_misc.c 	return sys_mknod(p, (struct sys_mknod_args *)uap, retval);
p                 911 compat/sunos/sunos_misc.c sunos_sys_sysconf(p, v, retval)
p                 912 compat/sunos/sunos_misc.c 	struct proc *p;
p                 958 compat/sunos/sunos_misc.c sunos_sys_getrlimit(p, v, retval)
p                 959 compat/sunos/sunos_misc.c 	struct proc *p;
p                 971 compat/sunos/sunos_misc.c 	return compat_43_sys_getrlimit(p, uap, retval);
p                 975 compat/sunos/sunos_misc.c sunos_sys_setrlimit(p, v, retval)
p                 976 compat/sunos/sunos_misc.c 	struct proc *p;
p                 988 compat/sunos/sunos_misc.c 	return compat_43_sys_setrlimit(p, uap, retval);
p                1002 compat/sunos/sunos_misc.c sunos_sys_ptrace(p, v, retval)
p                1003 compat/sunos/sunos_misc.c 	struct proc *p;
p                1025 compat/sunos/sunos_misc.c 	return sys_ptrace(p, &pa, retval);
p                1049 compat/sunos/sunos_misc.c sunos_sys_reboot(p, v, retval)
p                1050 compat/sunos/sunos_misc.c 	struct proc *p;
p                1058 compat/sunos/sunos_misc.c 	if ((error = suser(p, 0)) != 0)
p                1100 compat/sunos/sunos_misc.c sunos_sys_sigvec(p, v, retval)
p                1101 compat/sunos/sunos_misc.c 	struct proc *p;
p                1111 compat/sunos/sunos_misc.c 	register struct sigacts *ps = p->p_sigacts;
p                1155 compat/sunos/sunos_misc.c 		setsigvec(p, signum, (struct sigaction *)sv);
p                1161 compat/sunos/sunos_misc.c sunos_sys_ostime(p, v, retval)
p                1162 compat/sunos/sunos_misc.c 	struct proc *p;
p                1172 compat/sunos/sunos_misc.c 	if ((error = suser(p, 0)) != 0)
p                1190 compat/sunos/sunos_misc.c sunos_sys_otimes(p, v, retval)
p                1191 compat/sunos/sunos_misc.c 	struct proc *p;
p                1202 compat/sunos/sunos_misc.c 	calcru(p, &ru.ru_utime, &ru.ru_stime, NULL);
p                1207 compat/sunos/sunos_misc.c 	rup = &p->p_stats->p_cru;
p                  39 compat/sunos/sunos_util.h #define SUNOS_CHECK_ALT_EXIST(p, sgp, path) \
p                  40 compat/sunos/sunos_util.h     CHECK_ALT_EXIST(p, sgp, sunos_emul_path, path)
p                  98 compat/svr4/svr4_exec.c 		a->au_v = p->p_ucred->cr_uid;
p                 102 compat/svr4/svr4_exec.c 		a->au_v = p->p_cred->ruid;
p                 106 compat/svr4/svr4_exec.c 		a->au_v = p->p_ucred->cr_gid;
p                 110 compat/svr4/svr4_exec.c 		a->au_v = p->p_cred->rgid;
p                 118 compat/svr4/svr4_exec.c svr4_elf_probe(p, epp, itp, pos, os)
p                 119 compat/svr4/svr4_exec.c 	struct proc *p;
p                 130 compat/svr4/svr4_exec.c 		if ((error = emul_find(p, NULL, svr4_emul_path, itp, &bp, 0)))
p                 251 compat/svr4/svr4_fcntl.c fd_truncate(p, fd, flp, retval)
p                 252 compat/svr4/svr4_fcntl.c 	struct proc *p;
p                 257 compat/svr4/svr4_fcntl.c 	struct filedesc *fdp = p->p_fd;
p                 277 compat/svr4/svr4_fcntl.c 	if ((error = VOP_GETATTR(vp, &vattr, p->p_ucred, p)) != 0)
p                 309 compat/svr4/svr4_fcntl.c 	error = sys_ftruncate(p, &ft, retval);
p                 316 compat/svr4/svr4_fcntl.c svr4_sys_open(p, v, retval)
p                 317 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 325 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 330 compat/svr4/svr4_fcntl.c 		SVR4_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
p                 332 compat/svr4/svr4_fcntl.c 		SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 336 compat/svr4/svr4_fcntl.c 	error = sys_open(p, &cup, retval);
p                 341 compat/svr4/svr4_fcntl.c 	if (!(SCARG(&cup, flags) & O_NOCTTY) && SESS_LEADER(p) &&
p                 342 compat/svr4/svr4_fcntl.c 	    !(p->p_flag & P_CONTROLT)) {
p                 343 compat/svr4/svr4_fcntl.c 		struct filedesc	*fdp = p->p_fd;
p                 351 compat/svr4/svr4_fcntl.c 			(fp->f_ops->fo_ioctl) (fp, TIOCSCTTY, (caddr_t) 0, p);
p                 358 compat/svr4/svr4_fcntl.c svr4_sys_open64(p, v, retval)
p                 359 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 363 compat/svr4/svr4_fcntl.c 	return svr4_sys_open(p, v, retval);
p                 367 compat/svr4/svr4_fcntl.c svr4_sys_creat(p, v, retval)
p                 368 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 375 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 376 compat/svr4/svr4_fcntl.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 382 compat/svr4/svr4_fcntl.c 	return sys_open(p, &cup, retval);
p                 386 compat/svr4/svr4_fcntl.c svr4_sys_creat64(p, v, retval)
p                 387 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 391 compat/svr4/svr4_fcntl.c 	return (svr4_sys_creat(p, v, retval));
p                 395 compat/svr4/svr4_fcntl.c svr4_sys_llseek(p, v, retval)
p                 396 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 414 compat/svr4/svr4_fcntl.c 	return sys_lseek(p, &ap, retval);
p                 418 compat/svr4/svr4_fcntl.c svr4_sys_access(p, v, retval)
p                 419 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 426 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 427 compat/svr4/svr4_fcntl.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 432 compat/svr4/svr4_fcntl.c 	return sys_access(p, &cup, retval);
p                 436 compat/svr4/svr4_fcntl.c svr4_sys_pread(p, v, retval)
p                 437 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 449 compat/svr4/svr4_fcntl.c 	return (sys_pread(p, &pra, retval));
p                 453 compat/svr4/svr4_fcntl.c svr4_sys_pread64(p, v, retval)
p                 454 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 466 compat/svr4/svr4_fcntl.c 	return (sys_pread(p, &pra, retval));
p                 470 compat/svr4/svr4_fcntl.c svr4_sys_pwrite(p, v, retval)
p                 471 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 483 compat/svr4/svr4_fcntl.c 	return (sys_pwrite(p, &pwa, retval));
p                 487 compat/svr4/svr4_fcntl.c svr4_sys_pwrite64(p, v, retval)
p                 488 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 500 compat/svr4/svr4_fcntl.c 	return (sys_pwrite(p, &pwa, retval));
p                 504 compat/svr4/svr4_fcntl.c svr4_sys_fcntl(p, v, retval)
p                 505 compat/svr4/svr4_fcntl.c 	register struct proc *p;
p                 521 compat/svr4/svr4_fcntl.c 		return sys_fcntl(p, &fa, retval);
p                 525 compat/svr4/svr4_fcntl.c 		error = sys_fcntl(p, &fa, retval);
p                 543 compat/svr4/svr4_fcntl.c 			if ((error = sys_fcntl(p, &fa, &flags)) != 0)
p                 549 compat/svr4/svr4_fcntl.c 			return sys_fcntl(p, &fa, retval);
p                 556 compat/svr4/svr4_fcntl.c 			caddr_t			sg = stackgap_init(p->p_emul);
p                 572 compat/svr4/svr4_fcntl.c 			error = sys_fcntl(p, &fa, retval);
p                 591 compat/svr4/svr4_fcntl.c 			caddr_t			sg = stackgap_init(p->p_emul);
p                 606 compat/svr4/svr4_fcntl.c 			error = sys_fcntl(p, &fa, retval);
p                 626 compat/svr4/svr4_fcntl.c 				error = sys_dup2(p, &du, retval);
p                 642 compat/svr4/svr4_fcntl.c 				return fd_truncate(p, SCARG(uap, fd), &fl,
p                  56 compat/svr4/svr4_filio.c svr4_fil_ioctl(fp, p, retval, fd, cmd, data)
p                  58 compat/svr4/svr4_filio.c 	struct proc *p;
p                  66 compat/svr4/svr4_filio.c 	struct filedesc *fdp = p->p_fd;
p                  97 compat/svr4/svr4_filio.c 		error = (*ctl)(fp, cmd, (caddr_t) &num, p);
p                  87 compat/svr4/svr4_ioctl.c svr4_sys_ioctl(p, v, retval)
p                  88 compat/svr4/svr4_ioctl.c 	register struct proc *p;
p                 110 compat/svr4/svr4_ioctl.c 	fdp = p->p_fd;
p                 155 compat/svr4/svr4_ioctl.c 	error = (*fun)(fp, p, retval, SCARG(uap, fd), cmd, SCARG(uap, data));
p                 166 compat/svr4/svr4_ipc.c svr4_semctl(p, v, retval)
p                 167 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 176 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 200 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 205 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 210 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 215 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 220 compat/svr4/svr4_ipc.c 		if ((error = sys___semctl(p, &ap, retval)) != 0)
p                 238 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 250 compat/svr4/svr4_ipc.c 		return sys___semctl(p, &ap, retval);
p                 265 compat/svr4/svr4_ipc.c svr4_semget(p, v, retval)
p                 266 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 277 compat/svr4/svr4_ipc.c 	return sys_semget(p, &ap, retval);
p                 288 compat/svr4/svr4_ipc.c svr4_semop(p, v, retval)
p                 289 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 301 compat/svr4/svr4_ipc.c 	return sys_semop(p, &ap, retval);
p                 305 compat/svr4/svr4_ipc.c svr4_sys_semsys(p, v, retval)
p                 306 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 316 compat/svr4/svr4_ipc.c 		return svr4_semctl(p, v, retval);
p                 318 compat/svr4/svr4_ipc.c 		return svr4_semget(p, v, retval);
p                 320 compat/svr4/svr4_ipc.c 		return svr4_semop(p, v, retval);
p                 393 compat/svr4/svr4_ipc.c svr4_msgsnd(p, v, retval)
p                 394 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 406 compat/svr4/svr4_ipc.c 	return sys_msgsnd(p, &ap, retval);
p                 419 compat/svr4/svr4_ipc.c svr4_msgrcv(p, v, retval)
p                 420 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 433 compat/svr4/svr4_ipc.c 	return sys_msgrcv(p, &ap, retval);
p                 443 compat/svr4/svr4_ipc.c svr4_msgget(p, v, retval)
p                 444 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 454 compat/svr4/svr4_ipc.c 	return sys_msgget(p, &ap, retval);
p                 465 compat/svr4/svr4_ipc.c svr4_msgctl(p, v, retval)
p                 466 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 475 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 484 compat/svr4/svr4_ipc.c 		if ((error = sys_msgctl(p, &ap, retval)) != 0)
p                 501 compat/svr4/svr4_ipc.c 		return sys_msgctl(p, &ap, retval);
p                 512 compat/svr4/svr4_ipc.c 		return sys_msgctl(p, &ap, retval);
p                 520 compat/svr4/svr4_ipc.c svr4_sys_msgsys(p, v, retval)
p                 521 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 531 compat/svr4/svr4_ipc.c 		return svr4_msgsnd(p, v, retval);
p                 533 compat/svr4/svr4_ipc.c 		return svr4_msgrcv(p, v, retval);
p                 535 compat/svr4/svr4_ipc.c 		return svr4_msgget(p, v, retval);
p                 537 compat/svr4/svr4_ipc.c 		return svr4_msgctl(p, v, retval);
p                 591 compat/svr4/svr4_ipc.c svr4_shmat(p, v, retval)
p                 592 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 603 compat/svr4/svr4_ipc.c 	return sys_shmat(p, &ap, retval);
p                 612 compat/svr4/svr4_ipc.c svr4_shmdt(p, v, retval)
p                 613 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 622 compat/svr4/svr4_ipc.c 	return sys_shmdt(p, &ap, retval);
p                 633 compat/svr4/svr4_ipc.c svr4_shmget(p, v, retval)
p                 634 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 645 compat/svr4/svr4_ipc.c 	return sys_shmget(p, &ap, retval);
p                 656 compat/svr4/svr4_ipc.c svr4_shmctl(p, v, retval)
p                 657 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 663 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 697 compat/svr4/svr4_ipc.c 		if ((error = sys_shmctl(p, &ap, retval)) != 0)
p                 709 compat/svr4/svr4_ipc.c 		return sys_shmctl(p, &ap, retval);
p                 727 compat/svr4/svr4_ipc.c 		return sys_shmctl(p, &ap, retval);
p                 735 compat/svr4/svr4_ipc.c svr4_sys_shmsys(p, v, retval)
p                 736 compat/svr4/svr4_ipc.c 	struct proc *p;
p                 746 compat/svr4/svr4_ipc.c 		return svr4_shmat(p, v, retval);
p                 748 compat/svr4/svr4_ipc.c 		return svr4_shmdt(p, v, retval);
p                 750 compat/svr4/svr4_ipc.c 		return svr4_shmget(p, v, retval);
p                 752 compat/svr4/svr4_ipc.c 		return svr4_shmctl(p, v, retval);
p                  48 compat/svr4/svr4_jioctl.c svr4_jerq_ioctl(fp, p, retval, fd, cmd, data)
p                  50 compat/svr4/svr4_jioctl.c 	struct proc *p;
p                  64 compat/svr4/svr4_jioctl.c 		error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p);
p                 110 compat/svr4/svr4_misc.c svr4_sys_wait(p, v, retval)
p                 111 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 124 compat/svr4/svr4_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
p                 132 compat/svr4/svr4_misc.c 	if ((error = sys_wait4(p, &w4, retval)) != 0)
p                 145 compat/svr4/svr4_misc.c svr4_sys_execv(p, v, retval)
p                 146 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 157 compat/svr4/svr4_misc.c 	sg = stackgap_init(p->p_emul);
p                 158 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 164 compat/svr4/svr4_misc.c 	return sys_execve(p, &ap, retval);
p                 169 compat/svr4/svr4_misc.c svr4_sys_execve(p, v, retval)
p                 170 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 182 compat/svr4/svr4_misc.c 	sg = stackgap_init(p->p_emul);
p                 183 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 189 compat/svr4/svr4_misc.c 	return sys_execve(p, &ap, retval);
p                 194 compat/svr4/svr4_misc.c svr4_sys_time(p, v, retval)
p                 195 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 292 compat/svr4/svr4_misc.c svr4_sys_getdents(p, v, retval)
p                 293 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 302 compat/svr4/svr4_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 320 compat/svr4/svr4_misc.c svr4_sys_getdents64(p, v, retval)
p                 321 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 330 compat/svr4/svr4_misc.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 348 compat/svr4/svr4_misc.c svr4_sys_mmap(p, v, retval)
p                 349 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 373 compat/svr4/svr4_misc.c 	rp = (void *) round_page((vaddr_t)p->p_vmspace->vm_daddr + MAXDSIZ);
p                 378 compat/svr4/svr4_misc.c 	return sys_mmap(p, &mm, retval);
p                 382 compat/svr4/svr4_misc.c svr4_sys_mmap64(p, v, retval)
p                 383 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 407 compat/svr4/svr4_misc.c 	rp = (void *) round_page((vaddr_t)p->p_vmspace->vm_daddr + MAXDSIZ);
p                 412 compat/svr4/svr4_misc.c 	return sys_mmap(p, &mm, retval);
p                 416 compat/svr4/svr4_misc.c svr4_sys_fchroot(p, v, retval)
p                 417 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 422 compat/svr4/svr4_misc.c 	struct filedesc	*fdp = p->p_fd;
p                 427 compat/svr4/svr4_misc.c 	if ((error = suser(p, 0)) != 0)
p                 433 compat/svr4/svr4_misc.c 	vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 437 compat/svr4/svr4_misc.c 		error = VOP_ACCESS(vp, VEXEC, p->p_ucred, p);
p                 438 compat/svr4/svr4_misc.c 	VOP_UNLOCK(vp, 0, p);
p                 452 compat/svr4/svr4_misc.c svr4_mknod(p, retval, path, mode, dev)
p                 453 compat/svr4/svr4_misc.c 	struct proc *p;
p                 459 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 461 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, path);
p                 467 compat/svr4/svr4_misc.c 		return sys_mkfifo(p, &ap, retval);
p                 473 compat/svr4/svr4_misc.c 		return sys_mknod(p, &ap, retval);
p                 479 compat/svr4/svr4_misc.c svr4_sys_mknod(p, v, retval)
p                 480 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 485 compat/svr4/svr4_misc.c 	return svr4_mknod(p, retval,
p                 492 compat/svr4/svr4_misc.c svr4_sys_xmknod(p, v, retval)
p                 493 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 498 compat/svr4/svr4_misc.c 	return svr4_mknod(p, retval,
p                 505 compat/svr4/svr4_misc.c svr4_sys_vhangup(p, v, retval)
p                 506 compat/svr4/svr4_misc.c 	struct proc *p;
p                 515 compat/svr4/svr4_misc.c svr4_sys_sysconfig(p, v, retval)
p                 516 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 611 compat/svr4/svr4_misc.c svr4_sys_getrlimit(p, v, retval)
p                 612 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 630 compat/svr4/svr4_misc.c 	return compat_43_sys_getrlimit(p, &ap, retval);
p                 634 compat/svr4/svr4_misc.c svr4_sys_setrlimit(p, v, retval)
p                 635 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 653 compat/svr4/svr4_misc.c 	return compat_43_sys_setrlimit(p, uap, retval);
p                 659 compat/svr4/svr4_misc.c svr4_sys_break(p, v, retval)
p                 660 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 665 compat/svr4/svr4_misc.c 	register struct vmspace *vm = p->p_vmspace;
p                 676 compat/svr4/svr4_misc.c 	if (diff > p->p_rlimit[RLIMIT_DATA].rlim_cur)
p                 713 compat/svr4/svr4_misc.c svr4_sys_times(p, v, retval)
p                 714 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 726 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 732 compat/svr4/svr4_misc.c 	error = sys_getrusage(p, &ga, retval);
p                 743 compat/svr4/svr4_misc.c 	error = sys_getrusage(p, &ga, retval);
p                 761 compat/svr4/svr4_misc.c svr4_sys_ulimit(p, v, retval)
p                 762 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 770 compat/svr4/svr4_misc.c 		*retval = p->p_rlimit[RLIMIT_FSIZE].rlim_cur / 512;
p                 778 compat/svr4/svr4_misc.c 			caddr_t sg = stackgap_init(p->p_emul);
p                 783 compat/svr4/svr4_misc.c 			krl.rlim_max = p->p_rlimit[RLIMIT_FSIZE].rlim_max;
p                 792 compat/svr4/svr4_misc.c 			error = sys_setrlimit(p, &srl, retval);
p                 796 compat/svr4/svr4_misc.c 			*retval = p->p_rlimit[RLIMIT_FSIZE].rlim_cur;
p                 802 compat/svr4/svr4_misc.c 			struct vmspace *vm = p->p_vmspace;
p                 804 compat/svr4/svr4_misc.c 				  p->p_rlimit[RLIMIT_DATA].rlim_cur;
p                 809 compat/svr4/svr4_misc.c 		*retval = p->p_rlimit[RLIMIT_NOFILE].rlim_cur;
p                 822 compat/svr4/svr4_misc.c 	struct proc *p;
p                 825 compat/svr4/svr4_misc.c 	if ((p = pfind(pid)) != NULL)
p                 826 compat/svr4/svr4_misc.c 		return p;
p                 829 compat/svr4/svr4_misc.c 	LIST_FOREACH(p, &zombproc, p_list)
p                 830 compat/svr4/svr4_misc.c 		if (p->p_pid == pid)
p                 831 compat/svr4/svr4_misc.c 			return p;
p                 838 compat/svr4/svr4_misc.c svr4_sys_pgrpsys(p, v, retval)
p                 839 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 848 compat/svr4/svr4_misc.c 		*retval = p->p_pgrp->pg_id;
p                 857 compat/svr4/svr4_misc.c 			if ((error = sys_setpgid(p, &sa, retval)) != 0)
p                 859 compat/svr4/svr4_misc.c 			*retval = p->p_pgrp->pg_id;
p                 865 compat/svr4/svr4_misc.c 		    (p = svr4_pfind(SCARG(uap, pid))) == NULL)
p                 871 compat/svr4/svr4_misc.c 		*retval = (register_t) p->p_session->s_leader->p_pid;
p                 875 compat/svr4/svr4_misc.c 		return sys_setsid(p, NULL, retval);
p                 880 compat/svr4/svr4_misc.c 		    (p = svr4_pfind(SCARG(uap, pid))) == NULL)
p                 883 compat/svr4/svr4_misc.c 		*retval = (int) p->p_pgrp->pg_id;
p                 892 compat/svr4/svr4_misc.c 			return sys_setpgid(p, &sa, retval);
p                 909 compat/svr4/svr4_misc.c svr4_hrtcntl(p, uap, retval)
p                 910 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 954 compat/svr4/svr4_misc.c svr4_sys_hrtsys(p, v, retval) 
p                 955 compat/svr4/svr4_misc.c 	register struct proc *p;
p                 963 compat/svr4/svr4_misc.c 		return svr4_hrtcntl(p, (struct svr4_hrtcntl_args *) uap,
p                 985 compat/svr4/svr4_misc.c svr4_setinfo(p, st, s)
p                 986 compat/svr4/svr4_misc.c 	struct proc *p;
p                 997 compat/svr4/svr4_misc.c 	if (p) {
p                 998 compat/svr4/svr4_misc.c 		i.svr4_si_pid = p->p_pid;
p                 999 compat/svr4/svr4_misc.c 		if (p->p_stat == SZOMB) {
p                1000 compat/svr4/svr4_misc.c 			i.svr4_si_stime = p->p_ru->ru_stime.tv_sec;
p                1001 compat/svr4/svr4_misc.c 			i.svr4_si_utime = p->p_ru->ru_utime.tv_sec;
p                1003 compat/svr4/svr4_misc.c 			i.svr4_si_stime = p->p_stats->p_ru.ru_stime.tv_sec;
p                1004 compat/svr4/svr4_misc.c 			i.svr4_si_utime = p->p_stats->p_ru.ru_utime.tv_sec;
p                1045 compat/svr4/svr4_misc.c 	struct proc *p, *t;
p                1068 compat/svr4/svr4_misc.c 	LIST_FOREACH(p, &q->p_children, p_sibling) {
p                1070 compat/svr4/svr4_misc.c 		    p->p_pid != SCARG(uap, id) &&
p                1071 compat/svr4/svr4_misc.c 		    p->p_pgid != -SCARG(uap, id)) {
p                1072 compat/svr4/svr4_misc.c 			DPRINTF(("pid %d pgid %d != %d\n", p->p_pid,
p                1073 compat/svr4/svr4_misc.c 				 p->p_pgid, SCARG(uap, id)));
p                1077 compat/svr4/svr4_misc.c 		if (p->p_stat == SZOMB && 
p                1080 compat/svr4/svr4_misc.c 			DPRINTF(("found %d\n", p->p_pid));
p                1081 compat/svr4/svr4_misc.c 			error = svr4_setinfo(p, p->p_xstat, SCARG(uap, info));
p                1094 compat/svr4/svr4_misc.c 			if (p->p_oppid && (t = pfind(p->p_oppid))) {
p                1095 compat/svr4/svr4_misc.c 				p->p_oppid = 0;
p                1096 compat/svr4/svr4_misc.c 				proc_reparent(p, t);
p                1102 compat/svr4/svr4_misc.c 			scheduler_wait_hook(q, p);
p                1103 compat/svr4/svr4_misc.c 			p->p_xstat = 0;
p                1104 compat/svr4/svr4_misc.c 			ruadd(&q->p_stats->p_cru, p->p_ru);
p                1106 compat/svr4/svr4_misc.c 			proc_zap(p);
p                1109 compat/svr4/svr4_misc.c 		if (p->p_stat == SSTOP && (p->p_flag & P_WAITED) == 0 &&
p                1110 compat/svr4/svr4_misc.c 		    (p->p_flag & P_TRACED ||
p                1112 compat/svr4/svr4_misc.c 			DPRINTF(("jobcontrol %d\n", p->p_pid));
p                1114 compat/svr4/svr4_misc.c 				atomic_setbits_int(&p->p_flag, P_WAITED);
p                1116 compat/svr4/svr4_misc.c 			return (svr4_setinfo(p, W_STOPCODE(p->p_xstat),
p                1189 compat/svr4/svr4_misc.c svr4_sys_statvfs(p, v, retval) 
p                1190 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1196 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                1202 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                1206 compat/svr4/svr4_misc.c 	if ((error = sys_statfs(p, &fs_args, retval)) != 0)
p                1219 compat/svr4/svr4_misc.c svr4_sys_fstatvfs(p, v, retval) 
p                1220 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1226 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                1235 compat/svr4/svr4_misc.c 	if ((error = sys_fstatfs(p, &fs_args, retval)) != 0)
p                1248 compat/svr4/svr4_misc.c svr4_sys_fstatvfs64(p, v, retval)
p                1249 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1255 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                1264 compat/svr4/svr4_misc.c 	if ((error = sys_fstatfs(p, &fs_args, retval)) != 0)
p                1277 compat/svr4/svr4_misc.c svr4_sys_alarm(p, v, retval)
p                1278 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1286 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
p                1302 compat/svr4/svr4_misc.c         if ((error = sys_setitimer(p, &sa, retval)) != 0)
p                1318 compat/svr4/svr4_misc.c svr4_sys_gettimeofday(p, v, retval)
p                1319 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1336 compat/svr4/svr4_misc.c svr4_sys_facl(p, v, retval)
p                1337 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1363 compat/svr4/svr4_misc.c svr4_sys_acl(p, v, retval)
p                1364 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1368 compat/svr4/svr4_misc.c 	return svr4_sys_facl(p, v, retval);	/* XXX: for now the same */
p                1372 compat/svr4/svr4_misc.c svr4_sys_auditsys(p, v, retval)
p                1373 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1384 compat/svr4/svr4_misc.c svr4_sys_memcntl(p, v, retval)
p                1385 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1397 compat/svr4/svr4_misc.c 	return sys_mprotect(p, &ap, retval);
p                1401 compat/svr4/svr4_misc.c svr4_sys_nice(p, v, retval)
p                1402 compat/svr4/svr4_misc.c 	register struct proc *p;
p                1414 compat/svr4/svr4_misc.c 	if ((error = sys_setpriority(p, &ap, retval)) != 0)
p                1417 compat/svr4/svr4_misc.c 	if ((error = sys_getpriority(p, &ap, retval)) != 0)
p                1425 compat/svr4/svr4_misc.c svr4_sys_setegid(p, v, retval)
p                1426 compat/svr4/svr4_misc.c         struct proc *p;
p                1446 compat/svr4/svr4_misc.c 		p->p_emul = &emul_linux_elf;
p                1447 compat/svr4/svr4_misc.c 		p->p_os = OOS_LINUX;
p                1449 compat/svr4/svr4_misc.c 		if (KTRPOINT(p, KTR_EMUL))
p                1450 compat/svr4/svr4_misc.c 			ktremul(p, p->p_emul->e_name);
p                1457 compat/svr4/svr4_misc.c         return (sys_setegid(p, v, retval));
p                1461 compat/svr4/svr4_misc.c svr4_sys_rdebug(p, v, retval)
p                1462 compat/svr4/svr4_misc.c 	struct proc *p;
p                1469 compat/svr4/svr4_misc.c 	return (p->p_os == OOS_NCR ? ENXIO : sys_nosys(p, v, retval));
p                  82 compat/svr4/svr4_net.c static int svr4_soo_close(struct file *fp, struct proc *p);
p                 102 compat/svr4/svr4_net.c svr4_netopen(dev, flag, mode, p)
p                 106 compat/svr4/svr4_net.c 	struct proc *p;
p                 117 compat/svr4/svr4_net.c 	if (p->p_dupfd >= 0)
p                 170 compat/svr4/svr4_net.c 	if ((error = falloc(p, &fp, &fd)) != 0)
p                 175 compat/svr4/svr4_net.c 		fdremove(p->p_fd, fd);
p                 176 compat/svr4/svr4_net.c 		closef(fp, p);
p                 189 compat/svr4/svr4_net.c 	p->p_dupfd = fd;
p                 195 compat/svr4/svr4_net.c svr4_soo_close(fp, p)
p                 197 compat/svr4/svr4_net.c 	struct proc *p;
p                 200 compat/svr4/svr4_net.c 	svr4_delete_socket(p, fp);
p                 202 compat/svr4/svr4_net.c 	return soo_close(fp, p);
p                 269 compat/svr4/svr4_signal.c svr4_sys_sigaction(p, v, retval)
p                 270 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 288 compat/svr4/svr4_signal.c 	sg = stackgap_init(p->p_emul);
p                 311 compat/svr4/svr4_signal.c 	if ((error = sys_sigaction(p, &sa, retval)) != 0)
p                 326 compat/svr4/svr4_signal.c svr4_sys_sigaltstack(p, v, retval)
p                 327 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 341 compat/svr4/svr4_signal.c 	sg = stackgap_init(p->p_emul);
p                 363 compat/svr4/svr4_signal.c 	if ((error = sys_sigaltstack(p, &sa, retval)) != 0)
p                 381 compat/svr4/svr4_signal.c svr4_sys_signal(p, v, retval)
p                 382 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 391 compat/svr4/svr4_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 414 compat/svr4/svr4_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 438 compat/svr4/svr4_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 456 compat/svr4/svr4_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 465 compat/svr4/svr4_signal.c 			return sys_sigprocmask(p, &sa, retval);
p                 483 compat/svr4/svr4_signal.c 			if ((error = sys_sigaction(p, &sa_args, retval)) != 0) {
p                 494 compat/svr4/svr4_signal.c 			SCARG(&sa, mask) = p->p_sigmask & ~sigmask(signum);
p                 495 compat/svr4/svr4_signal.c 			return sys_sigsuspend(p, &sa, retval);
p                 504 compat/svr4/svr4_signal.c svr4_sys_sigprocmask(p, v, retval)
p                 505 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 520 compat/svr4/svr4_signal.c 		bsd_to_svr4_sigset(&p->p_sigmask, &sss);
p                 538 compat/svr4/svr4_signal.c 		p->p_sigmask |= bss & ~sigcantmask;
p                 542 compat/svr4/svr4_signal.c 		p->p_sigmask &= ~bss;
p                 546 compat/svr4/svr4_signal.c 		p->p_sigmask = bss & ~sigcantmask;
p                 560 compat/svr4/svr4_signal.c svr4_sys_sigpending(p, v, retval)
p                 561 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 576 compat/svr4/svr4_signal.c 		bss = p->p_siglist & p->p_sigmask;
p                 592 compat/svr4/svr4_signal.c svr4_sys_sigsuspend(p, v, retval)
p                 593 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 611 compat/svr4/svr4_signal.c 	return sys_sigsuspend(p, &sa, retval);
p                 615 compat/svr4/svr4_signal.c svr4_sys_kill(p, v, retval)
p                 616 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 630 compat/svr4/svr4_signal.c 	return sys_kill(p, &ka, retval);
p                 634 compat/svr4/svr4_signal.c svr4_sys_context(p, v, retval)
p                 635 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 650 compat/svr4/svr4_signal.c 		svr4_getcontext(p, &uc, p->p_sigmask,
p                 651 compat/svr4/svr4_signal.c 		    p->p_sigacts->ps_sigstk.ss_flags & SS_ONSTACK);
p                 658 compat/svr4/svr4_signal.c 		return svr4_setcontext(p, &uc);
p                 669 compat/svr4/svr4_signal.c svr4_sys_pause(p, v, retval)
p                 670 compat/svr4/svr4_signal.c 	register struct proc *p;
p                 676 compat/svr4/svr4_signal.c 	SCARG(&bsa, mask) = p->p_sigmask;
p                 677 compat/svr4/svr4_signal.c 	return sys_sigsuspend(p, &bsa, retval);
p                  65 compat/svr4/svr4_socket.c 	struct proc *p;		/* Process for the socket		*/
p                  77 compat/svr4/svr4_socket.c svr4_find_socket(p, fp, dev, ino)
p                  78 compat/svr4/svr4_socket.c 	struct proc *p;
p                  88 compat/svr4/svr4_socket.c 		    p, dev, ino));
p                  95 compat/svr4/svr4_socket.c 	DPRINTF(("svr4_find_socket: [%p,%d,%d]: ", p, dev, ino));
p                  97 compat/svr4/svr4_socket.c 		if (e->p == p && e->dev == dev && e->ino == ino) {
p                 113 compat/svr4/svr4_socket.c svr4_delete_socket(p, fp)
p                 114 compat/svr4/svr4_socket.c 	struct proc *p;
p                 127 compat/svr4/svr4_socket.c 		if (e->p == p && e->cookie == cookie) {
p                 130 compat/svr4/svr4_socket.c 				 e->sock.sun_path, p, e->dev, e->ino));
p                 138 compat/svr4/svr4_socket.c svr4_add_socket(p, path, st)
p                 139 compat/svr4/svr4_socket.c 	struct proc *p;
p                 156 compat/svr4/svr4_socket.c 	e->p = p;
p                 170 compat/svr4/svr4_socket.c 		 p, e->dev, e->ino));
p                 176 compat/svr4/svr4_socket.c svr4_sys_socket(p, v, retval)
p                 177 compat/svr4/svr4_socket.c 	struct proc *p;
p                 206 compat/svr4/svr4_socket.c 	return sys_socket(p, uap, retval);
p                  79 compat/svr4/svr4_sockio.c svr4_sock_ioctl(fp, p, retval, fd, cmd, data)
p                  81 compat/svr4/svr4_sockio.c 	struct proc *p;
p                 137 compat/svr4/svr4_sockio.c 					    (caddr_t) &br, p)) != 0) {
p                 161 compat/svr4/svr4_sockio.c 					    (caddr_t) &sc, p)) != 0)
p                 153 compat/svr4/svr4_stat.c svr4_sys_stat(p, v, retval)
p                 154 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 165 compat/svr4/svr4_stat.c 	return svr4_sys_xstat(p, &cup, retval);
p                 172 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 174 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 179 compat/svr4/svr4_stat.c 	if ((error = sys_stat(p, &cup, retval)) != 0)
p                 188 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 198 compat/svr4/svr4_stat.c svr4_sys_lstat(p, v, retval)
p                 199 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 210 compat/svr4/svr4_stat.c 	return svr4_sys_lxstat(p, &cup, retval);
p                 217 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 219 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 223 compat/svr4/svr4_stat.c 	if ((error = sys_lstat(p, &cup, retval)) != 0)
p                 232 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 242 compat/svr4/svr4_stat.c svr4_sys_fstat(p, v, retval)
p                 243 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 254 compat/svr4/svr4_stat.c 	return svr4_sys_fxstat(p, &cup, retval);
p                 261 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 266 compat/svr4/svr4_stat.c 	if ((error = sys_fstat(p, &cup, retval)) != 0)
p                 283 compat/svr4/svr4_stat.c svr4_sys_xstat(p, v, retval)
p                 284 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 294 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 296 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 300 compat/svr4/svr4_stat.c 	if ((error = sys_stat(p, &cup, retval)) != 0)
p                 309 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 318 compat/svr4/svr4_stat.c svr4_sys_lxstat(p, v, retval)
p                 319 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 329 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 331 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 335 compat/svr4/svr4_stat.c 	if ((error = sys_lstat(p, &cup, retval)) != 0)
p                 344 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 353 compat/svr4/svr4_stat.c svr4_sys_fxstat(p, v, retval)
p                 354 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 364 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 369 compat/svr4/svr4_stat.c 	if ((error = sys_fstat(p, &cup, retval)) != 0)
p                 385 compat/svr4/svr4_stat.c svr4_sys_stat64(p, v, retval)
p                 386 compat/svr4/svr4_stat.c 	struct proc *p;
p                 396 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 401 compat/svr4/svr4_stat.c 	if ((error = sys_stat(p, &cup, retval)) != 0)
p                 410 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 420 compat/svr4/svr4_stat.c svr4_sys_lstat64(p, v, retval)
p                 421 compat/svr4/svr4_stat.c 	struct proc *p;
p                 431 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 436 compat/svr4/svr4_stat.c 	if ((error = sys_lstat(p, &cup, retval)) != 0)
p                 445 compat/svr4/svr4_stat.c 		(void) svr4_add_socket(p, SCARG(uap, path), &st);
p                 455 compat/svr4/svr4_stat.c svr4_sys_fstat64(p, v, retval)
p                 456 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 466 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 471 compat/svr4/svr4_stat.c 	if ((error = sys_fstat(p, &cup, retval)) != 0)
p                 492 compat/svr4/svr4_stat.c svr4_ustat(p, v, retval)
p                 493 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 519 compat/svr4/svr4_stat.c svr4_sys_uname(p, v, retval)
p                 520 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 557 compat/svr4/svr4_stat.c svr4_sys_systeminfo(p, v, retval)
p                 558 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 624 compat/svr4/svr4_stat.c 		if ((error = suser(p, 0)) != 0)
p                 627 compat/svr4/svr4_stat.c 		return kern_sysctl(&name, 1, 0, 0, SCARG(uap, buf), rlen, p);
p                 630 compat/svr4/svr4_stat.c 		if ((error = suser(p, 0)) != 0)
p                 633 compat/svr4/svr4_stat.c 		return kern_sysctl(&name, 1, 0, 0, SCARG(uap, buf), rlen, p);
p                 666 compat/svr4/svr4_stat.c svr4_sys_utssys(p, v, retval)
p                 667 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 678 compat/svr4/svr4_stat.c 			return svr4_sys_uname(p, &ua, retval);
p                 686 compat/svr4/svr4_stat.c 			return svr4_ustat(p, &ua, retval);
p                 700 compat/svr4/svr4_stat.c svr4_sys_utime(p, v, retval)
p                 701 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 710 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 713 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 728 compat/svr4/svr4_stat.c 	return sys_utimes(p, &ap, retval);
p                 733 compat/svr4/svr4_stat.c svr4_sys_utimes(p, v, retval)
p                 734 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 739 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 740 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 741 compat/svr4/svr4_stat.c 	return sys_utimes(p, uap, retval);
p                 791 compat/svr4/svr4_stat.c svr4_sys_pathconf(p, v, retval)
p                 792 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 797 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 799 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 811 compat/svr4/svr4_stat.c 		return sys_pathconf(p, uap, retval);
p                 816 compat/svr4/svr4_stat.c svr4_sys_fpathconf(p, v, retval)
p                 817 compat/svr4/svr4_stat.c 	register struct proc *p;
p                 833 compat/svr4/svr4_stat.c 		return sys_fpathconf(p, uap, retval);
p                 262 compat/svr4/svr4_stream.c clean_pipe(p, path)
p                 263 compat/svr4/svr4_stream.c 	struct proc *p;
p                 271 compat/svr4/svr4_stream.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 280 compat/svr4/svr4_stream.c 	if ((error = sys_lstat(p, &la, &retval)) != 0)
p                 297 compat/svr4/svr4_stream.c 	if ((error = sys_unlink(p, &ua, &retval)) != 0) {
p                 419 compat/svr4/svr4_stream.c si_ogetudata(fp, fd, ioc, p)
p                 423 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 475 compat/svr4/svr4_stream.c si_sockparams(fp, fd, ioc, p)
p                 479 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 489 compat/svr4/svr4_stream.c si_listen(fp, fd, ioc, p)
p                 493 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 522 compat/svr4/svr4_stream.c 	if ((error = sys_listen(p, &la, &retval)) != 0) {
p                 557 compat/svr4/svr4_stream.c si_getudata(fp, fd, ioc, p)
p                 561 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 613 compat/svr4/svr4_stream.c si_shutdown(fp, fd, ioc, p)
p                 617 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 634 compat/svr4/svr4_stream.c 	return sys_shutdown(p, &ap, &retval);
p                 638 compat/svr4/svr4_stream.c sockmod(fp, fd, ioc, p)
p                 642 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 647 compat/svr4/svr4_stream.c 		return si_ogetudata(fp, fd, ioc, p);
p                 651 compat/svr4/svr4_stream.c 		return si_shutdown(fp, fd, ioc, p);
p                 655 compat/svr4/svr4_stream.c 		return si_listen(fp, fd, ioc, p);
p                 679 compat/svr4/svr4_stream.c 		return si_sockparams(fp, fd, ioc, p);
p                 683 compat/svr4/svr4_stream.c 		return si_getudata(fp, fd, ioc, p);
p                 694 compat/svr4/svr4_stream.c ti_getinfo(fp, fd, ioc, p)
p                 698 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 735 compat/svr4/svr4_stream.c ti_bind(fp, fd, ioc, p)
p                 739 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 797 compat/svr4/svr4_stream.c 		if ((error = clean_pipe(p, saun.sun_path)) != 0)
p                 809 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
p                 820 compat/svr4/svr4_stream.c 	if ((error = sys_bind(p, &ba, &retval)) != 0) {
p                 842 compat/svr4/svr4_stream.c timod(fp, fd, ioc, p)
p                 846 compat/svr4/svr4_stream.c 	struct proc		*p;
p                 851 compat/svr4/svr4_stream.c 		return ti_getinfo(fp, fd, ioc, p);
p                 859 compat/svr4/svr4_stream.c 		return ti_bind(fp, fd, ioc, p);
p                 873 compat/svr4/svr4_stream.c svr4_stream_ti_ioctl(fp, p, retval, fd, cmd, dat)
p                 875 compat/svr4/svr4_stream.c 	struct proc *p;
p                 914 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
p                 931 compat/svr4/svr4_stream.c 			if ((error = sys_getsockname(p, &ap, retval)) != 0) {
p                 945 compat/svr4/svr4_stream.c 			if ((error = sys_getpeername(p, &ap, retval)) != 0) {
p                1014 compat/svr4/svr4_stream.c i_nread(fp, p, retval, fd, cmd, dat)
p                1016 compat/svr4/svr4_stream.c 	struct proc *p;
p                1033 compat/svr4/svr4_stream.c 	    (caddr_t) &nread, p)) != 0)
p                1045 compat/svr4/svr4_stream.c i_fdinsert(fp, p, retval, fd, cmd, dat)
p                1047 compat/svr4/svr4_stream.c 	struct proc *p;
p                1085 compat/svr4/svr4_stream.c 	if ((error = sys_dup2(p, &d2p, retval)) != 0) {
p                1093 compat/svr4/svr4_stream.c 	if ((error = sys_close(p, &clp, retval)) != 0) {
p                1107 compat/svr4/svr4_stream.c _i_bind_rsvd(fp, p, retval, fd, cmd, dat)
p                1109 compat/svr4/svr4_stream.c 	struct proc *p;
p                1127 compat/svr4/svr4_stream.c 	return sys_mkfifo(p, &ap, retval);
p                1131 compat/svr4/svr4_stream.c _i_rele_rsvd(fp, p, retval, fd, cmd, dat)
p                1133 compat/svr4/svr4_stream.c 	struct proc *p;
p                1147 compat/svr4/svr4_stream.c 	return sys_unlink(p, &ap, retval);
p                1151 compat/svr4/svr4_stream.c i_str(fp, p, retval, fd, cmd, dat)
p                1153 compat/svr4/svr4_stream.c 	struct proc *p;
p                1172 compat/svr4/svr4_stream.c 		if ((error = sockmod(fp, fd, &ioc, p)) != 0)
p                1177 compat/svr4/svr4_stream.c 		if ((error = timod(fp, fd, &ioc, p)) != 0)
p                1196 compat/svr4/svr4_stream.c svr4_stream_ioctl(fp, p, retval, fd, cmd, dat)
p                1198 compat/svr4/svr4_stream.c 	struct proc *p;
p                1212 compat/svr4/svr4_stream.c 		return i_nread(fp, p, retval, fd, cmd, dat);
p                1240 compat/svr4/svr4_stream.c 		return i_str(fp, p, retval, fd, cmd, dat);
p                1259 compat/svr4/svr4_stream.c 			if ((error = sys_fcntl(p, &fa, &oflags)) != 0)
p                1272 compat/svr4/svr4_stream.c 				if ((error = sys_fcntl(p, &fa, &flags)) != 0)
p                1279 compat/svr4/svr4_stream.c 				SCARG(&fa, arg) = (void *) p->p_pid;
p                1280 compat/svr4/svr4_stream.c 				return sys_fcntl(p, &fa, retval);
p                1315 compat/svr4/svr4_stream.c 		return i_fdinsert(fp, p, retval, fd, cmd, dat);
p                1391 compat/svr4/svr4_stream.c 		return _i_bind_rsvd(fp, p, retval, fd, cmd, dat);
p                1395 compat/svr4/svr4_stream.c 		return _i_rele_rsvd(fp, p, retval, fd, cmd, dat);
p                1409 compat/svr4/svr4_stream.c svr4_sys_putmsg(p, v, retval)
p                1410 compat/svr4/svr4_stream.c 	register struct proc *p;
p                1415 compat/svr4/svr4_stream.c 	struct filedesc	*fdp = p->p_fd;
p                1493 compat/svr4/svr4_stream.c 			skp = svr4_find_socket(p, fp, *dev, *ino);
p                1510 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
p                1524 compat/svr4/svr4_stream.c 			error = sys_connect(p, &co, retval);
p                1541 compat/svr4/svr4_stream.c 			error = sendit(p, SCARG(uap, fd), &msg,
p                1561 compat/svr4/svr4_stream.c svr4_sys_getmsg(p, v, retval)
p                1562 compat/svr4/svr4_stream.c 	register struct proc *p;
p                1567 compat/svr4/svr4_stream.c 	struct filedesc	*fdp = p->p_fd;
p                1647 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
p                1682 compat/svr4/svr4_stream.c 		if ((error = sys_getpeername(p, &ga, retval)) != 0) {
p                1742 compat/svr4/svr4_stream.c 		if ((error = sys_accept(p, &aa, retval)) != 0) {
p                1822 compat/svr4/svr4_stream.c 		error = recvit(p, SCARG(uap, fd), &msg, (caddr_t) flen, retval);
p                 519 compat/svr4/svr4_termios.c svr4_term_ioctl(fp, p, retval, fd, cmd, data)
p                 521 compat/svr4/svr4_termios.c 	struct proc *p;
p                 539 compat/svr4/svr4_termios.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bt, p)) != 0)
p                 566 compat/svr4/svr4_termios.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t) &bt, p)) != 0)
p                 618 compat/svr4/svr4_termios.c 		return ((*ctl)(fp, cmd, (caddr_t) &bt, p));
p                 624 compat/svr4/svr4_termios.c 			error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p);
p                 636 compat/svr4/svr4_termios.c 			return ((*ctl)(fp, TIOCSWINSZ, (caddr_t) &ws, p));
p                 640 compat/svr4/svr4_termios.c 		return (svr4_stream_ti_ioctl(fp, p, retval, fd, cmd, data));
p                 186 compat/svr4/svr4_ttold.c svr4_ttold_ioctl(fp, p, retval, fd, cmd, data)
p                 188 compat/svr4/svr4_ttold.c 	struct proc *p;
p                 206 compat/svr4/svr4_ttold.c 					    (caddr_t) &pid, p)) != 0)
p                 225 compat/svr4/svr4_ttold.c 			return (*ctl)(fp, TIOCSPGRP, (caddr_t) &pid, p);
p                 233 compat/svr4/svr4_ttold.c 					    (caddr_t) &pid, p)) != 0)
p                 246 compat/svr4/svr4_ttold.c 			error = (*ctl)(fp, TIOCGETP, (caddr_t) &bs, p);
p                 271 compat/svr4/svr4_ttold.c 			return (*ctl)(fp, cmd, (caddr_t) &bs, p);
p                 279 compat/svr4/svr4_ttold.c 			error = (*ctl)(fp, TIOCGETC, (caddr_t) &bt, p);
p                 302 compat/svr4/svr4_ttold.c 			return (*ctl)(fp, TIOCSETC, (caddr_t) &bt, p);
p                 310 compat/svr4/svr4_ttold.c 			error = (*ctl)(fp, TIOCGLTC, (caddr_t) &bl, p);
p                 333 compat/svr4/svr4_ttold.c 			return (*ctl)(fp, TIOCSLTC, (caddr_t) &bl, p);
p                 339 compat/svr4/svr4_ttold.c 			if ((error = (*ctl)(fp, cmd, (caddr_t) &flags, p)) !=
p                 368 compat/svr4/svr4_ttold.c 			return (*ctl)(fp, cmd, (caddr_t) &flags, p);
p                  44 compat/svr4/svr4_util.h #define SVR4_CHECK_ALT_EXIST(p, sgp, path) \
p                  45 compat/svr4/svr4_util.h     CHECK_ALT_EXIST(p, sgp, svr4_emul_path, path)
p                  47 compat/svr4/svr4_util.h #define SVR4_CHECK_ALT_CREAT(p, sgp, path) \
p                  48 compat/svr4/svr4_util.h     CHECK_ALT_CREAT(p, sgp, svr4_emul_path, path)
p                 194 compat/ultrix/ultrix_fs.c ultrix_sys_getmnt(p, v, retval)
p                 195 compat/ultrix/ultrix_fs.c 	struct proc *p;
p                 256 compat/ultrix/ultrix_fs.c 			    (error = VFS_STATFS(mp, sp, p)) != 0)
p                 326 compat/ultrix/ultrix_fs.c ultrix_sys_mount(p, v, retval)
p                 327 compat/ultrix/ultrix_fs.c 	struct proc *p;
p                 338 compat/ultrix/ultrix_fs.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 444 compat/ultrix/ultrix_fs.c 	return (sys_mount(p, &nuap, retval));
p                 441 compat/ultrix/ultrix_ioctl.c ultrix_sys_ioctl(p, v, retval)
p                 442 compat/ultrix/ultrix_ioctl.c 	register struct proc *p;
p                 447 compat/ultrix/ultrix_ioctl.c 	struct filedesc *fdp = p->p_fd;
p                 484 compat/ultrix/ultrix_ioctl.c 		error = (*ctl)(fp, TIOCSETD, (caddr_t)&disc, p);
p                 504 compat/ultrix/ultrix_ioctl.c 		error = (*ctl)(fp, TIOCCONS, (caddr_t)&on, p);
p                 512 compat/ultrix/ultrix_ioctl.c 		if ((error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p)) != 0)
p                 521 compat/ultrix/ultrix_ioctl.c 		error = ((*ctl)(fp, TIOCSWINSZ, (caddr_t)&ws, p));
p                 529 compat/ultrix/ultrix_ioctl.c 		if ((error = (*ctl)(fp, TIOCGWINSZ, (caddr_t)&ws, p)) != 0)
p                 555 compat/ultrix/ultrix_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0)
p                 585 compat/ultrix/ultrix_ioctl.c 		if ((error = (*ctl)(fp, TIOCGETA, (caddr_t)&bts, p)) != 0)
p                 600 compat/ultrix/ultrix_ioctl.c 		    (caddr_t)&bts, p);
p                 618 compat/ultrix/ultrix_ioctl.c 		    (caddr_t)&bts, p);
p                 630 compat/ultrix/ultrix_ioctl.c 		error = (*ctl)(fp, TIOCUCNTL, (caddr_t)&on, p);
p                 639 compat/ultrix/ultrix_ioctl.c 		error = (*ctl)(fp, TIOCSIG, (caddr_t)&sig, p);
p                 651 compat/ultrix/ultrix_ioctl.c 	error = (*ctl)(fp, a, (caddr_t)&localbuf, p); \
p                 660 compat/ultrix/ultrix_ioctl.c 	if ((error = (*ctl)(fp, a, (caddr_t)&localbuf, p)) != 0) \
p                 671 compat/ultrix/ultrix_ioctl.c 	error = (*ctl)(fp, a, (caddr_t)&ifreq, p); \
p                 679 compat/ultrix/ultrix_ioctl.c 	if ((error = (*ctl)(fp, a, (caddr_t)&ifreq, p)) != 0) \
p                 770 compat/ultrix/ultrix_ioctl.c 				    * (caddr_t)&ifconf, p)) !=0 )
p                 778 compat/ultrix/ultrix_ioctl.c 	error = (sys_ioctl(p, uap, retval));
p                 171 compat/ultrix/ultrix_misc.c ultrix_sys_getsysinfo(p, v, retval)
p                 172 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 193 compat/ultrix/ultrix_misc.c ultrix_sys_setsysinfo(p, v, retval)
p                 194 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 208 compat/ultrix/ultrix_misc.c ultrix_sys_waitpid(p, v, retval)
p                 209 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 221 compat/ultrix/ultrix_misc.c 	return (sys_wait4(p, &ua, retval));
p                 225 compat/ultrix/ultrix_misc.c ultrix_sys_wait3(p, v, retval)
p                 226 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 238 compat/ultrix/ultrix_misc.c 	return (sys_wait4(p, &ua, retval));
p                 249 compat/ultrix/ultrix_misc.c ultrix_sys_select(p, v, retval)
p                 250 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 278 compat/ultrix/ultrix_misc.c 	error = sys_select(p, (void *) uap, retval);
p                 288 compat/ultrix/ultrix_misc.c async_daemon(p, v, retval)
p                 289 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 298 compat/ultrix/ultrix_misc.c 	return (sys_nfssvc(p, &ouap, retval));
p                 306 compat/ultrix/ultrix_misc.c ultrix_sys_mmap(p, v, retval)
p                 307 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 328 compat/ultrix/ultrix_misc.c 	    SCARG(&ouap, addr) < (void *)round_page((vaddr_t)p->p_vmspace->vm_daddr+MAXDSIZ))
p                 329 compat/ultrix/ultrix_misc.c 		SCARG(&ouap, addr) = (void *)round_page((vaddr_t)p->p_vmspace->vm_daddr+MAXDSIZ);
p                 336 compat/ultrix/ultrix_misc.c 	return (sys_mmap(p, &ouap, retval));
p                 340 compat/ultrix/ultrix_misc.c ultrix_sys_setsockopt(p, v, retval)
p                 341 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 350 compat/ultrix/ultrix_misc.c 	if ((error = getsock(p->p_fd, SCARG(uap, s), &fp))  != 0)
p                 391 compat/ultrix/ultrix_misc.c ultrix_sys_uname(p, v, retval)
p                 392 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 414 compat/ultrix/ultrix_misc.c ultrix_sys_setpgrp(p, v, retval)
p                 415 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 428 compat/ultrix/ultrix_misc.c 	    (!SCARG(uap, pid) || SCARG(uap, pid) == p->p_pid))
p                 429 compat/ultrix/ultrix_misc.c 		return sys_setsid(p, uap, retval);
p                 431 compat/ultrix/ultrix_misc.c 		return sys_setpgid(p, uap, retval);
p                 436 compat/ultrix/ultrix_misc.c ultrix_sys_nfssvc(p, v, retval)
p                 437 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 444 compat/ultrix/ultrix_misc.c 	struct emul *e = p->p_emul;
p                 462 compat/ultrix/ultrix_misc.c 	return nfssvc(p, &outuap, retval);
p                 477 compat/ultrix/ultrix_misc.c ultrix_sys_ustat(p, v, retval)
p                 478 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 499 compat/ultrix/ultrix_misc.c ultrix_sys_quotactl(p, v, retval)
p                 500 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 513 compat/ultrix/ultrix_misc.c ultrix_sys_vhangup(p, v, retval)
p                 514 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 523 compat/ultrix/ultrix_misc.c ultrix_sys_exportfs(p, v, retval)
p                 524 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 540 compat/ultrix/ultrix_misc.c ultrix_sys_sigpending(p, v, retval)
p                 541 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 546 compat/ultrix/ultrix_misc.c 	int mask = p->p_siglist & p->p_sigmask;
p                 552 compat/ultrix/ultrix_misc.c ultrix_sys_sigcleanup(p, v, retval)
p                 553 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 559 compat/ultrix/ultrix_misc.c 	return sys_sigreturn(p, (struct sys_sigreturn_args *)uap, retval);
p                 563 compat/ultrix/ultrix_misc.c ultrix_sys_sigreturn(p, v, retval)
p                 564 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 573 compat/ultrix/ultrix_misc.c 	return sys_sigreturn(p, (struct sys_sigreturn_args  *)uap, retval);
p                 577 compat/ultrix/ultrix_misc.c ultrix_sys_execve(p, v, retval)
p                 578 compat/ultrix/ultrix_misc.c 	struct proc *p;
p                 590 compat/ultrix/ultrix_misc.c 	sg = stackgap_init(p->p_emul);
p                 591 compat/ultrix/ultrix_misc.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 597 compat/ultrix/ultrix_misc.c 	return (sys_execve(p, &ap, retval));
p                  79 compat/ultrix/ultrix_pathname.c ultrix_sys_creat(p, v, retval)
p                  80 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                  87 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                  88 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                  94 compat/ultrix/ultrix_pathname.c 	return (sys_open(p, &ouap, retval));
p                  99 compat/ultrix/ultrix_pathname.c ultrix_sys_access(p, v, retval)
p                 100 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 105 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 106 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 108 compat/ultrix/ultrix_pathname.c 	return (sys_access(p, uap, retval));
p                 112 compat/ultrix/ultrix_pathname.c ultrix_sys_stat(p, v, retval)
p                 113 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 118 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 119 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 121 compat/ultrix/ultrix_pathname.c 	return (compat_43_sys_stat(p, uap, retval));
p                 125 compat/ultrix/ultrix_pathname.c ultrix_sys_lstat(p, v, retval)
p                 126 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 131 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 132 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 134 compat/ultrix/ultrix_pathname.c 	return (compat_43_sys_lstat(p, uap, retval));
p                 138 compat/ultrix/ultrix_pathname.c ultrix_sys_execv(p, v, retval)
p                 139 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 146 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 147 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 153 compat/ultrix/ultrix_pathname.c 	return (sys_execve(p, &ouap, retval));
p                 157 compat/ultrix/ultrix_pathname.c ultrix_sys_open(p, v, retval)
p                 158 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 167 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 168 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 180 compat/ultrix/ultrix_pathname.c 	ret = sys_open(p, (struct sys_open_args *)uap, retval);
p                 182 compat/ultrix/ultrix_pathname.c 	if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
p                 183 compat/ultrix/ultrix_pathname.c 		struct filedesc *fdp = p->p_fd;
p                 191 compat/ultrix/ultrix_pathname.c 			(fp->f_ops->fo_ioctl)(fp, TIOCSCTTY, (caddr_t)0, p);
p                 237 compat/ultrix/ultrix_pathname.c ultrix_sys_statfs(p, v, retval)
p                 238 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 248 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 249 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 251 compat/ultrix/ultrix_pathname.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, SCARG(uap, path), p);
p                 258 compat/ultrix/ultrix_pathname.c 	if ((error = VFS_STATFS(mp, sp, p)) != 0)
p                 270 compat/ultrix/ultrix_pathname.c ultrix_sys_fstatfs(p, v, retval)
p                 271 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 281 compat/ultrix/ultrix_pathname.c 	if ((error = getvnode(p->p_fd, SCARG(uap, fd), &fp)) != 0)
p                 286 compat/ultrix/ultrix_pathname.c 	error = VFS_STATFS(mp, sp, p);
p                 295 compat/ultrix/ultrix_pathname.c ultrix_sys_mknod(p, v, retval)
p                 296 compat/ultrix/ultrix_pathname.c 	struct proc *p;
p                 302 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
p                 303 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
p                 306 compat/ultrix/ultrix_pathname.c 		return sys_mkfifo(p, uap, retval);
p                 308 compat/ultrix/ultrix_pathname.c 	return sys_mknod(p, (struct sys_mknod_args *)uap, retval);
p                  39 compat/ultrix/ultrix_util.h #define ULTRIX_CHECK_ALT_EXIST(p, sgp, path) \
p                  40 compat/ultrix/ultrix_util.h     CHECK_ALT_EXIST(p, sgp, ultrix_emul_path, path)
p                  69 compat/vax1k/vax1k_exec.c exec_vax1k_makecmds(p, epp)
p                  70 compat/vax1k/vax1k_exec.c 	struct proc *p;
p                  89 compat/vax1k/vax1k_exec.c 		error = exec_vax1k_prep_anymagic(p, epp, 0);
p                  94 compat/vax1k/vax1k_exec.c 		error = exec_vax1k_prep_anymagic(p, epp, sizeof(struct exec));
p                 116 compat/vax1k/vax1k_exec.c exec_vax1k_prep_anymagic(p, epp, off)
p                 117 compat/vax1k/vax1k_exec.c         struct proc *p;
p                 143 compat/vax1k/vax1k_exec.c         return exec_setup_stack(p, epp);
p                  54 compat/vax1k/vax1k_subr.c vax1k_map_readvn(p, cmd)
p                  55 compat/vax1k/vax1k_subr.c 	struct proc *p;
p                  66 compat/vax1k/vax1k_subr.c 	error = uvm_map(&p->p_vmspace->vm_map, &cmd->ev_addr, 
p                  78 compat/vax1k/vax1k_subr.c 	    p->p_ucred, NULL, p);
p                  89 compat/vax1k/vax1k_subr.c 		return(uvm_map_protect(&p->p_vmspace->vm_map, 
p                  62 crypto/blf.c   #define BLFRND(s,p,i,j,n) (i ^= F(s,j) ^ (p)[n])
p                  70 crypto/blf.c   	u_int32_t *p = c->P;
p                  75 crypto/blf.c   	Xl ^= p[0];
p                  76 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 1); BLFRND(s, p, Xl, Xr, 2);
p                  77 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 3); BLFRND(s, p, Xl, Xr, 4);
p                  78 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 5); BLFRND(s, p, Xl, Xr, 6);
p                  79 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 7); BLFRND(s, p, Xl, Xr, 8);
p                  80 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 9); BLFRND(s, p, Xl, Xr, 10);
p                  81 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 11); BLFRND(s, p, Xl, Xr, 12);
p                  82 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 13); BLFRND(s, p, Xl, Xr, 14);
p                  83 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 15); BLFRND(s, p, Xl, Xr, 16);
p                  85 crypto/blf.c   	x[0] = Xr ^ p[17];
p                  95 crypto/blf.c   	u_int32_t *p = c->P;
p                 100 crypto/blf.c   	Xl ^= p[17];
p                 101 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 16); BLFRND(s, p, Xl, Xr, 15);
p                 102 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 14); BLFRND(s, p, Xl, Xr, 13);
p                 103 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 12); BLFRND(s, p, Xl, Xr, 11);
p                 104 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 10); BLFRND(s, p, Xl, Xr, 9);
p                 105 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 8); BLFRND(s, p, Xl, Xr, 7);
p                 106 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 6); BLFRND(s, p, Xl, Xr, 5);
p                 107 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 4); BLFRND(s, p, Xl, Xr, 3);
p                 108 crypto/blf.c   	BLFRND(s, p, Xr, Xl, 2); BLFRND(s, p, Xl, Xr, 1);
p                 110 crypto/blf.c   	x[0] = Xr ^ p[0];
p                  88 crypto/cryptodev.c int	cryptof_ioctl(struct file *, u_long, caddr_t, struct proc *p);
p                 139 crypto/cryptodev.c cryptof_ioctl(struct file *fp, u_long cmd, caddr_t data, struct proc *p)
p                 289 crypto/cryptodev.c 		error = cryptodev_op(cse, cop, p);
p                 304 crypto/cryptodev.c cryptodev_op(struct csession *cse, struct crypt_op *cop, struct proc *p)
p                 324 crypto/cryptodev.c 	cse->uio.uio_procp = p;
p                 596 crypto/cryptodev.c cryptof_poll(struct file *fp, int events, struct proc *p)
p                 610 crypto/cryptodev.c cryptof_stat(struct file *fp, struct stat *sb, struct proc *p)
p                 617 crypto/cryptodev.c cryptof_close(struct file *fp, struct proc *p)
p                 637 crypto/cryptodev.c cryptoopen(dev_t dev, int flag, int mode, struct proc *p)
p                 649 crypto/cryptodev.c cryptoclose(dev_t dev, int flag, int mode, struct proc *p)
p                 667 crypto/cryptodev.c cryptoioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 680 crypto/cryptodev.c 		error = falloc(p, &f, &fd);
p                 700 crypto/cryptodev.c cryptopoll(dev_t dev, int events, struct proc *p)
p                 702 crypto/cryptodev.c 	return (seltrue(dev, events, p));
p                 657 ddb/db_command.c 	char *p;
p                 664 ddb/db_command.c 	for (i = 0, p = msgbufp->msg_bufc + off;
p                 665 ddb/db_command.c 	    i < msgbufp->msg_bufs; i++, p++) {
p                 666 ddb/db_command.c 		if (p >= msgbufp->msg_bufc + msgbufp->msg_bufs)
p                 667 ddb/db_command.c 			p = msgbufp->msg_bufc;
p                 668 ddb/db_command.c 		if (*p != '\0')
p                 669 ddb/db_command.c 			db_putchar(*p);
p                 105 ddb/db_hangman.c 	char	*p, *q;
p                 133 ddb/db_hangman.c 	for ((*lenp) = 0, p = q; *p; p++)
p                 134 ddb/db_hangman.c 		if (ISALPHA(*p))
p                 143 ddb/db_hangman.c 	const char	*p;
p                 150 ddb/db_hangman.c 	for (p = hangpic; *p; p++)
p                 151 ddb/db_hangman.c 		cnputc((*p >= '0' && *p <= '9') ? ((tries <= (*p) - '0') ?
p                 152 ddb/db_hangman.c 		    substchar[(*p) - '0'] : ' ') : *p);
p                 154 ddb/db_hangman.c 	for (p = word; *p; p++) {
p                 155 ddb/db_hangman.c 		c = TOLOWER(*p);
p                 156 ddb/db_hangman.c 		cnputc(ISLOWALPHA(c) && ABC_ISCLR(c) ? '-' : *p);
p                 213 ddb/db_hangman.c 				char	*p;
p                 217 ddb/db_hangman.c 				for (n = 0, p = word; *p ; p++)
p                 218 ddb/db_hangman.c 					if (TOLOWER(*p) == c)
p                 235 ddb/db_hangman.c 			char	*p = word;
p                 236 ddb/db_hangman.c 			for (; *p; p++)
p                 237 ddb/db_hangman.c 				if (ISALPHA(*p))
p                 238 ddb/db_hangman.c 					ABC_SETRIGHT(TOLOWER(*p));
p                  97 ddb/db_input.c 	char *p;
p                 103 ddb/db_input.c 	for (p = db_lc; p < db_le-n; p++) {
p                 104 ddb/db_input.c 	    *p = *(p+n);
p                 105 ddb/db_input.c 	    cnputc(*p);
p                 220 ddb/db_input.c 			char *p;
p                 222 ddb/db_input.c 			for (p = db_history_curr, db_le = db_lbuf_start;*p; ) {
p                 223 ddb/db_input.c 				*db_le++ = *p++;
p                 224 ddb/db_input.c 				if (p == db_history + db_history_size)
p                 225 ddb/db_input.c 					p = db_history;
p                 241 ddb/db_input.c 				char *p;
p                 242 ddb/db_input.c 				for (p = db_history_curr,
p                 243 ddb/db_input.c 				     db_le = db_lbuf_start; *p;) {
p                 244 ddb/db_input.c 					*db_le++ = *p++;
p                 245 ddb/db_input.c 					if (p == db_history + db_history_size)
p                 246 ddb/db_input.c 						p = db_history;
p                 293 ddb/db_input.c 			char *p;
p                 295 ddb/db_input.c 			for (p = db_lbuf_start; p != db_le; p++) {
p                 296 ddb/db_input.c 				*db_history_last++ = *p;
p                 312 ddb/db_input.c 		    char *p;
p                 314 ddb/db_input.c 		    for (p = db_le; p > db_lc; p--)
p                 315 ddb/db_input.c 			*p = *(p-1);
p                 113 ddb/db_output.c 	char *p;
p                 116 ddb/db_output.c 	for (p = "--db_more--"; *p; p++)
p                 117 ddb/db_output.c 	    cnputc(*p);
p                 131 ddb/db_output.c 	p = "\b\b\b\b\b\b\b\b\b\b\b           \b\b\b\b\b\b\b\b\b\b\b";
p                 132 ddb/db_output.c 	while (*p)
p                 133 ddb/db_output.c 	    cnputc(*p++);
p                 328 ddb/db_sym.c   	char *find, *p;
p                 335 ddb/db_sym.c   	p = name;		/* String we're searching within. */
p                 343 ddb/db_sym.c   				if ((sc = *p++) == 0)
p                 346 ddb/db_sym.c   		} while (strncmp(p, find, len) != 0);
p                  40 ddb/db_usrreq.c     size_t newlen, struct proc *p)
p                 761 dev/acpi/acpi.c acpiopen(dev_t dev, int flag, int mode, struct proc *p)
p                 774 dev/acpi/acpi.c acpiclose(dev_t dev, int flag, int mode, struct proc *p)
p                 786 dev/acpi/acpi.c acpiioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                  30 dev/acpi/acpiutil.c 	const u_char *p = v;
p                  35 dev/acpi/acpiutil.c 		s += p[i];
p                 706 dev/acpi/dsdt.c 	static char namebuf[128], *p;
p                 709 dev/acpi/dsdt.c 	p = namebuf;
p                 711 dev/acpi/dsdt.c 		*(p++) = *(name++);
p                 729 dev/acpi/dsdt.c 		memcpy(p, name, 4);
p                 730 dev/acpi/dsdt.c 		p[4] = '.';
p                 731 dev/acpi/dsdt.c 		p += 5;
p                 735 dev/acpi/dsdt.c 	*(--p) = 0;
p                 406 dev/adb/akbd.c akbd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 512 dev/adb/ams.c  ams_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                  70 dev/ata/ata.c  	u_int16_t *p;
p                 139 dev/ata/ata.c  			p = (u_short *)(prms->atap_model + i);
p                 140 dev/ata/ata.c  			*p = swap16(*p);
p                 143 dev/ata/ata.c  			p = (u_short *)(prms->atap_serial + i);
p                 144 dev/ata/ata.c  			*p = swap16(*p);
p                 147 dev/ata/ata.c  			p = (u_short *)(prms->atap_revision + i);
p                 148 dev/ata/ata.c  			*p = swap16(*p);
p                 228 dev/ata/wd.c   	char buf[41], c, *p, *q;
p                 249 dev/ata/wd.c   	for (blank = 0, p = wd->sc_params.atap_model, q = buf, i = 0;
p                 251 dev/ata/wd.c   		c = *p++;
p                 649 dev/ata/wd.c   wdopen(dev_t dev, int flag, int fmt, struct proc *p)
p                 728 dev/ata/wd.c   wdclose(dev_t dev, int flag, int fmt, struct proc *p)
p                 821 dev/ata/wd.c   wdioctl(dev_t dev, u_long xfer, caddr_t addr, int flag, struct proc *p)
p                 915 dev/ata/wd.c   		auio.uio_procp = p;
p                 926 dev/ata/wd.c   		error = wdc_ioctl(wd->drvp, xfer, addr, flag, p);
p                 444 dev/atapiscsi/atapiscsi.c wdc_atapi_ioctl (sc_link, cmd, addr, flag, p)
p                 449 dev/atapiscsi/atapiscsi.c 	struct proc *p;
p                 458 dev/atapiscsi/atapiscsi.c 	return (wdc_ioctl(drvp, cmd, addr, flag, p));
p                  43 dev/auconv.c   change_sign8(void *v, u_char *p, int cc)
p                  46 dev/auconv.c   		*p ^= 0x80;
p                  47 dev/auconv.c   		++p;
p                  52 dev/auconv.c   change_sign16_le(void *v, u_char *p, int cc)
p                  55 dev/auconv.c   		p[1] ^= 0x80;
p                  56 dev/auconv.c   		p += 2;
p                  61 dev/auconv.c   change_sign16_be(void *v, u_char *p, int cc)
p                  64 dev/auconv.c   		p[0] ^= 0x80;
p                  65 dev/auconv.c   		p += 2;
p                  70 dev/auconv.c   swap_bytes(void *v, u_char *p, int cc)
p                  75 dev/auconv.c   		t = p[0];
p                  76 dev/auconv.c   		p[0] = p[1];
p                  77 dev/auconv.c   		p[1] = t;
p                  78 dev/auconv.c   		p += 2;
p                  83 dev/auconv.c   swap_bytes_change_sign16_le(void *v, u_char *p, int cc)
p                  88 dev/auconv.c   		t = p[1];
p                  89 dev/auconv.c   		p[1] = p[0] ^ 0x80;
p                  90 dev/auconv.c   		p[0] = t;
p                  91 dev/auconv.c   		p += 2;
p                  96 dev/auconv.c   swap_bytes_change_sign16_be(void *v, u_char *p, int cc)
p                 101 dev/auconv.c   		t = p[0];
p                 102 dev/auconv.c   		p[0] = p[1] ^ 0x80;
p                 103 dev/auconv.c   		p[1] = t;
p                 104 dev/auconv.c   		p += 2;
p                 109 dev/auconv.c   change_sign16_swap_bytes_le(void *v, u_char *p, int cc)
p                 111 dev/auconv.c   	swap_bytes_change_sign16_be(v, p, cc);
p                 115 dev/auconv.c   change_sign16_swap_bytes_be(void *v, u_char *p, int cc)
p                 117 dev/auconv.c   	swap_bytes_change_sign16_le(v, p, cc);
p                 121 dev/auconv.c   linear8_to_linear16_le(void *v, u_char *p, int cc)
p                 123 dev/auconv.c   	u_char *q = p;
p                 125 dev/auconv.c   	p += cc;
p                 129 dev/auconv.c   		q[1] = *--p;
p                 135 dev/auconv.c   linear8_to_linear16_be(void *v, u_char *p, int cc)
p                 137 dev/auconv.c   	u_char *q = p;
p                 139 dev/auconv.c   	p += cc;
p                 143 dev/auconv.c   		q[0] = *--p;
p                 149 dev/auconv.c   linear16_to_linear8_le(void *v, u_char *p, int cc)
p                 151 dev/auconv.c   	u_char *q = p;
p                 154 dev/auconv.c   		*q++ = p[1];
p                 155 dev/auconv.c   		p += 2;
p                 160 dev/auconv.c   linear16_to_linear8_be(void *v, u_char *p, int cc)
p                 162 dev/auconv.c   	u_char *q = p;
p                 165 dev/auconv.c   		*q++ = p[0];
p                 166 dev/auconv.c   		p += 2;
p                 171 dev/auconv.c   ulinear8_to_linear16_le(void *v, u_char *p, int cc)
p                 173 dev/auconv.c   	u_char *q = p;
p                 175 dev/auconv.c   	p += cc;
p                 179 dev/auconv.c   		q[1] = (*--p) ^ 0x80;
p                 185 dev/auconv.c   ulinear8_to_linear16_be(void *v, u_char *p, int cc)
p                 187 dev/auconv.c   	u_char *q = p;
p                 189 dev/auconv.c   	p += cc;
p                 193 dev/auconv.c   		q[0] = (*--p) ^ 0x80;
p                 199 dev/auconv.c   linear16_to_ulinear8_le(void *v, u_char *p, int cc)
p                 201 dev/auconv.c   	u_char *q = p;
p                 204 dev/auconv.c   		*q++ = p[1] ^ 0x80;
p                 205 dev/auconv.c   		p += 2;
p                 210 dev/auconv.c   linear16_to_ulinear8_be(void *v, u_char *p, int cc)
p                 212 dev/auconv.c   	u_char *q = p;
p                 215 dev/auconv.c   		*q++ = p[0] ^ 0x80;
p                 216 dev/auconv.c   		p += 2;
p                 224 dev/auconv.c   noswap_bytes_mts(void *v, u_char *p, int cc)
p                 226 dev/auconv.c   	u_char *q = p;
p                 228 dev/auconv.c   	p += cc;
p                 232 dev/auconv.c   		q[1] = q[3] = *--p;
p                 233 dev/auconv.c   		q[0] = q[2] = *--p;
p                 241 dev/auconv.c   swap_bytes_mts(void *v, u_char *p, int cc)
p                 243 dev/auconv.c   	u_char *q = p;
p                 245 dev/auconv.c   	p += cc;
p                 249 dev/auconv.c   		q[0] = q[2] = *--p;
p                 250 dev/auconv.c   		q[1] = q[3] = *--p;
p                 258 dev/auconv.c   linear8_to_linear16_le_mts(void *v, u_char *p, int cc)
p                 260 dev/auconv.c   	u_char *q = p;
p                 262 dev/auconv.c   	p += cc;
p                 266 dev/auconv.c   		q[1] = q[3] = *--p;
p                 275 dev/auconv.c   linear8_to_linear16_be_mts(void *v, u_char *p, int cc)
p                 277 dev/auconv.c   	u_char *q = p;
p                 279 dev/auconv.c   	p += cc;
p                 283 dev/auconv.c   		q[0] = q[2] = *--p;
p                 292 dev/auconv.c   ulinear8_to_linear16_le_mts(void *v, u_char *p, int cc)
p                 294 dev/auconv.c   	u_char *q = p;
p                 296 dev/auconv.c   	p += cc;
p                 300 dev/auconv.c   		q[1] = q[3] = (*--p) ^ 0x80;
p                 309 dev/auconv.c   ulinear8_to_linear16_be_mts(void *v, u_char *p, int cc)
p                 311 dev/auconv.c   	u_char *q = p;
p                 313 dev/auconv.c   	p += cc;
p                 317 dev/auconv.c   		q[0] = q[2] = (*--p) ^ 0x80;
p                 326 dev/auconv.c   change_sign16_le_mts(void *v, u_char *p, int cc)
p                 328 dev/auconv.c   	u_char *q = p;
p                 330 dev/auconv.c   	p += cc;
p                 334 dev/auconv.c   		q[1] = q[3] = (*--p) ^ 0x80;
p                 335 dev/auconv.c   		q[0] = q[2] = *--p;
p                 343 dev/auconv.c   change_sign16_be_mts(void *v, u_char *p, int cc)
p                 345 dev/auconv.c   	u_char *q = p;
p                 347 dev/auconv.c   	p += cc;
p                 351 dev/auconv.c   		q[0] = q[2] = (*--p) ^ 0x80;
p                 352 dev/auconv.c   		q[1] = q[3] = *--p;
p                 360 dev/auconv.c   change_sign16_swap_bytes_le_mts(void *v, u_char *p, int cc)
p                 362 dev/auconv.c   	change_sign16_be_mts(v, p, cc);
p                 369 dev/auconv.c   change_sign16_swap_bytes_be_mts(void *v, u_char *p, int cc)
p                 371 dev/auconv.c   	change_sign16_le_mts(v, p, cc);
p                 119 dev/audio.c    static	void mixer_remove(struct audio_softc *, struct proc *p);
p                 520 dev/audio.c    audio_print_params(char *s, struct audio_params *p)
p                 523 dev/audio.c    	    p->sample_rate, p->encoding, p->channels, p->precision);
p                 563 dev/audio.c    audioopen(dev_t dev, int flags, int ifmt, struct proc *p)
p                 584 dev/audio.c    		error = audio_open(dev, sc, flags, ifmt, p);
p                 587 dev/audio.c    		error = mixer_open(dev, sc, flags, ifmt, p);
p                 601 dev/audio.c    audioclose(dev_t dev, int flags, int ifmt, struct proc *p)
p                 607 dev/audio.c    		return (audio_close(dev, flags, ifmt, p));
p                 609 dev/audio.c    		return (mixer_close(dev, flags, ifmt, p));
p                 686 dev/audio.c    audioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 704 dev/audio.c    		error = audio_ioctl(dev, cmd, addr, flag, p);
p                 707 dev/audio.c    		error = mixer_ioctl(dev, cmd, addr, flag, p);
p                 720 dev/audio.c    audiopoll(dev_t dev, int events, struct proc *p)
p                 737 dev/audio.c    		error = audio_poll(dev, events, p);
p                 915 dev/audio.c        struct proc *p)
p                1109 dev/audio.c    audio_close(dev_t dev, int flags, int ifmt, struct proc *p)
p                1325 dev/audio.c    audio_fill_silence(struct audio_params *params, u_char *p, int n)
p                1369 dev/audio.c    			*p++ = auzero0; /* XXX memset */
p                1372 dev/audio.c    			*p++ = auzero0;
p                1373 dev/audio.c    			*p++ = auzero1;
p                1561 dev/audio.c    audio_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                1581 dev/audio.c    			sc->sc_async_audio = p;
p                1582 dev/audio.c    			DPRINTF(("audio_ioctl: FIOASYNC %p\n", p));
p                1762 dev/audio.c    audio_poll(dev_t dev, int events, struct proc *p)
p                1780 dev/audio.c    			selrecord(p, &sc->sc_rsel);
p                1782 dev/audio.c    			selrecord(p, &sc->sc_wsel);
p                1915 dev/audio.c    	u_char *s, *e, *p, *q;
p                1920 dev/audio.c    		p = inp;	/* adjusted pointer to area to fill */
p                1921 dev/audio.c    		if (p < s)
p                1922 dev/audio.c    			p += cb->end - cb->start;
p                1923 dev/audio.c    		q = p+cc;
p                1925 dev/audio.c    		if (!(s <= p && p <  e &&
p                1927 dev/audio.c    			if (s <= p)
p                2163 dev/audio.c    audio_check_params(struct audio_params *p)
p                2165 dev/audio.c    	if (p->encoding == AUDIO_ENCODING_PCM16) {
p                2166 dev/audio.c    		if (p->precision == 8)
p                2167 dev/audio.c    			p->encoding = AUDIO_ENCODING_ULINEAR;
p                2169 dev/audio.c    			p->encoding = AUDIO_ENCODING_SLINEAR;
p                2170 dev/audio.c    	} else if (p->encoding == AUDIO_ENCODING_PCM8) {
p                2171 dev/audio.c    		if (p->precision == 8)
p                2172 dev/audio.c    			p->encoding = AUDIO_ENCODING_ULINEAR;
p                2177 dev/audio.c    	if (p->encoding == AUDIO_ENCODING_SLINEAR)
p                2179 dev/audio.c    		p->encoding = AUDIO_ENCODING_SLINEAR_LE;
p                2181 dev/audio.c    		p->encoding = AUDIO_ENCODING_SLINEAR_BE;
p                2183 dev/audio.c    	if (p->encoding == AUDIO_ENCODING_ULINEAR)
p                2185 dev/audio.c    		p->encoding = AUDIO_ENCODING_ULINEAR_LE;
p                2187 dev/audio.c    		p->encoding = AUDIO_ENCODING_ULINEAR_BE;
p                2190 dev/audio.c    	switch (p->encoding) {
p                2194 dev/audio.c    		if (p->precision != 8)
p                2201 dev/audio.c    		if (p->precision != 8 && p->precision != 16)
p                2215 dev/audio.c    	if (p->channels < 1 || p->channels > 8)	/* sanity check # of channels */
p                2464 dev/audio.c    	struct audio_prinfo *r = &ai->record, *p = &ai->play;
p                2489 dev/audio.c    	if (p->sample_rate != ~0) {
p                2490 dev/audio.c    		pp.sample_rate = p->sample_rate;
p                2497 dev/audio.c    	if (p->encoding != ~0) {
p                2498 dev/audio.c    		pp.encoding = p->encoding;
p                2505 dev/audio.c    	if (p->precision != ~0) {
p                2506 dev/audio.c    		pp.precision = p->precision;
p                2513 dev/audio.c    	if (p->channels != ~0) {
p                2514 dev/audio.c    		pp.channels = p->channels;
p                2604 dev/audio.c    	if (p->port != ~0) {
p                2609 dev/audio.c    		error = au_set_port(sc, &sc->sc_outports, p->port);
p                2622 dev/audio.c    	if (p->gain != ~0) {
p                2624 dev/audio.c    		error = au_set_gain(sc, &sc->sc_outports, p->gain, balance);
p                2635 dev/audio.c    	if (p->balance != (u_char)~0) {
p                2637 dev/audio.c    		error = au_set_gain(sc, &sc->sc_outports, gain, p->balance);
p                2737 dev/audio.c    	if (p->pause != (u_char)~0) {
p                2738 dev/audio.c    		sc->sc_pr.pause = p->pause;
p                2739 dev/audio.c    		if (!p->pause && !sc->sc_pbus && (sc->sc_mode & AUMODE_PLAY)) {
p                2764 dev/audio.c    	struct audio_prinfo *r = &ai->record, *p = &ai->play;
p                2770 dev/audio.c    	p->sample_rate = sc->sc_pparams.sample_rate;
p                2772 dev/audio.c    	p->channels = sc->sc_pparams.channels;
p                2774 dev/audio.c    	p->precision = sc->sc_pparams.precision;
p                2776 dev/audio.c    	p->encoding = sc->sc_pparams.encoding;
p                2780 dev/audio.c    	p->port = au_get_port(sc, &sc->sc_outports);
p                2783 dev/audio.c    	p->avail_ports = sc->sc_outports.allports;
p                2786 dev/audio.c    	au_get_gain(sc, &sc->sc_outports, &p->gain, &p->balance);
p                2802 dev/audio.c    	p->seek = sc->sc_pr.used / sc->sc_pparams.factor;
p                2805 dev/audio.c    	p->samples = sc->sc_pr.stamp - sc->sc_pr.drops;
p                2808 dev/audio.c    	p->eof = sc->sc_eof;
p                2811 dev/audio.c    	p->pause = sc->sc_pr.pause;
p                2814 dev/audio.c    	p->error = sc->sc_pr.drops != 0;
p                2817 dev/audio.c    	p->waiting = r->waiting = 0;		/* open never hangs */
p                2819 dev/audio.c    	p->open = (sc->sc_open & AUOPEN_WRITE) != 0;
p                2822 dev/audio.c    	p->active = sc->sc_pbus;
p                2825 dev/audio.c    	p->buffer_size = sc->sc_pr.bufsize / sc->sc_pparams.factor;
p                2844 dev/audio.c        struct proc *p)
p                2855 dev/audio.c    mixer_remove(struct audio_softc *sc, struct proc *p)
p                2860 dev/audio.c    		if ((*pm)->proc == p) {
p                2886 dev/audio.c    mixer_close(dev_t dev, int flags, int ifmt, struct proc *p)
p                2893 dev/audio.c    	mixer_remove(sc, p);
p                2899 dev/audio.c    mixer_ioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                2911 dev/audio.c    		mixer_remove(sc, p); /* remove old entry */
p                2917 dev/audio.c    			ma->proc = p;
p                  61 dev/bio.c      bioopen(dev_t dev, int flags, int mode, struct proc *p)
p                  67 dev/bio.c      bioclose(dev_t dev, int flags, int mode, struct proc *p)
p                  73 dev/bio.c      bioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                  82 dev/bluetooth/bthub.c bthubopen(dev_t dev, int flag, int mode, struct proc *p)
p                 104 dev/bluetooth/bthub.c bthubclose(dev_t dev, int flag, int mode, struct proc *p)
p                 118 dev/bluetooth/bthub.c bthubioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 212 dev/cardbus/cardbus.c 			struct cardbus_rom_image *p;
p                 229 dev/cardbus/cardbus.c 			for (p = SIMPLEQ_FIRST(&rom_image); p;
p                 230 dev/cardbus/cardbus.c 			    p = SIMPLEQ_NEXT(p, next)) {
p                 231 dev/cardbus/cardbus.c 				if (p->rom_image ==
p                 233 dev/cardbus/cardbus.c 					bus_space_read_region_1(p->romt,
p                 234 dev/cardbus/cardbus.c 					    p->romh, CARDBUS_CIS_ADDR(cis_ptr),
p                 235 dev/cardbus/cardbus.c 					    tuples, MIN(p->image_size, len));
p                 242 dev/cardbus/cardbus.c 			while ((p = SIMPLEQ_FIRST(&rom_image)) != NULL) {
p                 244 dev/cardbus/cardbus.c 				free(p, M_DEVBUF);
p                 285 dev/cardbus/cardbus.c 	char *p;
p                 300 dev/cardbus/cardbus.c 		p = cis->cis1_info_buf + 2;
p                 303 dev/cardbus/cardbus.c 			if (p >= cis->cis1_info_buf + tuple[1] || *p == '\xff')
p                 305 dev/cardbus/cardbus.c 			cis->cis1_info[i++] = p;
p                 306 dev/cardbus/cardbus.c 			while (*p != '\0' && *p != '\xff')
p                 307 dev/cardbus/cardbus.c 				p++;
p                 308 dev/cardbus/cardbus.c 			if (*p == '\0')
p                 309 dev/cardbus/cardbus.c 				p++;
p                 182 dev/ccd.c      int	ccdlookup(char *, struct proc *p, struct vnode **);
p                 266 dev/ccd.c      ccdinit(struct ccddevice *ccd, char **cpaths, struct proc *p)
p                 329 dev/ccd.c      		if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p)) != 0) {
p                 343 dev/ccd.c      		    FREAD, p->p_ucred, p);
p                 564 dev/ccd.c      ccdopen(dev_t dev, int flags, int fmt, struct proc *p)
p                 623 dev/ccd.c      ccdclose(dev_t dev, int flags, int fmt, struct proc *p)
p                1022 dev/ccd.c      ccdioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                1091 dev/ccd.c      			if ((error = ccdlookup(cpp[i], p, &vpp[i])) != 0) {
p                1094 dev/ccd.c      					    p->p_ucred, p);
p                1109 dev/ccd.c      		if ((error = ccdinit(&ccd, cpp, p)) != 0) {
p                1112 dev/ccd.c      				    p->p_ucred, p);
p                1176 dev/ccd.c      			    p->p_ucred, p);
p                1306 dev/ccd.c      ccdlookup(char *path, struct proc *p, struct vnode **vpp)
p                1313 dev/ccd.c      	NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, path, p);
p                1322 dev/ccd.c      		VOP_UNLOCK(vp, 0, p);
p                1323 dev/ccd.c      		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                1327 dev/ccd.c      	if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p)) != 0) {
p                1330 dev/ccd.c      		VOP_UNLOCK(vp, 0, p);
p                1331 dev/ccd.c      		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                1337 dev/ccd.c      		VOP_UNLOCK(vp, 0, p);
p                1338 dev/ccd.c      		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                1346 dev/ccd.c      	VOP_UNLOCK(vp, 0, p);
p                  61 dev/cons.c     cnopen(dev_t dev, int flag, int mode, struct proc *p)
p                  84 dev/cons.c     	return ((*cdevsw[major(cndev)].d_open)(cndev, flag, mode, p));
p                  88 dev/cons.c     cnclose(dev_t dev, int flag, int mode, struct proc *p)
p                 108 dev/cons.c     	return ((*cdevsw[major(dev)].d_close)(dev, flag, mode, p));
p                 156 dev/cons.c         struct proc *p)
p                 165 dev/cons.c     		error = suser(p, SUSER_NOACCT);
p                 184 dev/cons.c     	return ((*cdevsw[major(dev)].d_ioctl)(dev, cmd, data, flag, p));
p                 189 dev/cons.c     cnpoll(dev_t dev, int rw, struct proc *p)
p                 203 dev/cons.c     	return (ttpoll(cn_tab->cn_dev, rw, p));
p                  34 dev/firmload.c 	struct proc *p = curproc;
p                  55 dev/firmload.c 	NDINIT(&nid, LOOKUP, NOFOLLOW|LOCKLEAF, UIO_SYSSPACE, path, p);
p                  59 dev/firmload.c 	error = VOP_GETATTR(nid.ni_vp, &va, p->p_ucred, p);
p                  84 dev/firmload.c 	uio.uio_procp = p;
p                  86 dev/firmload.c 	error = VOP_READ(nid.ni_vp, &uio, 0, p->p_ucred);
p                 453 dev/flash.c    	u_int8_t *p = (u_int8_t *)oob;
p                 508 dev/flash.c    		p[i] = flash_reg8_read(sc, FLASH_REG_DATA);
p                 519 dev/flash.c    	caddr_t p;
p                 525 dev/flash.c    	p = data;
p                 527 dev/flash.c    		error = flash_chip_write_page(sc, pageno, p, oob);
p                 530 dev/flash.c    		p += sc->sc_flashdev->pagesize;
p                 674 dev/flash.c    flashopen(dev_t dev, int oflags, int devtype, struct proc *p)
p                 739 dev/flash.c    flashclose(dev_t dev, int fflag, int devtype, struct proc *p)
p                 837 dev/flash.c    flashioctl(dev_t dev, u_long cmd, caddr_t data, int fflag, struct proc *p)
p                 232 dev/gpio/gpio.c gpioopen(dev_t dev, int flag, int mode, struct proc *p)
p                 248 dev/gpio/gpio.c gpioclose(dev_t dev, int flag, int mode, struct proc *p)
p                 259 dev/gpio/gpio.c gpioioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 301 dev/hil/hilkbd.c hilkbd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 203 dev/hil/hilms.c hilms_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                  45 dev/hotplug.c  #define EVQUEUE_NEXT(p) (p == HOTPLUG_MAXEVENTS - 1 ? 0 : p + 1)
p                 121 dev/hotplug.c  hotplugopen(dev_t dev, int flag, int mode, struct proc *p)
p                 134 dev/hotplug.c  hotplugclose(dev_t dev, int flag, int mode, struct proc *p)
p                 166 dev/hotplug.c  hotplugioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 182 dev/hotplug.c  hotplugpoll(dev_t dev, int events, struct proc *p)
p                 190 dev/hotplug.c  			selrecord(p, &hotplug_sel);
p                1701 dev/i2o/iop.c  	u_int32_t *p;
p                1736 dev/i2o/iop.c  	p = mb + off;
p                1757 dev/i2o/iop.c  	for (i = nsegs, ds = dm->dm_segs; i > 1; i--, p += 2, ds++) {
p                1758 dev/i2o/iop.c  		p[0] = (u_int32_t)ds->ds_len | flg;
p                1759 dev/i2o/iop.c  		p[1] = (u_int32_t)ds->ds_addr;
p                1763 dev/i2o/iop.c  	p[0] = (u_int32_t)ds->ds_len | flg | I2O_SGL_END_BUFFER;
p                1764 dev/i2o/iop.c  	p[1] = (u_int32_t)ds->ds_addr;
p                1804 dev/i2o/iop.c  	u_int32_t *p;
p                1831 dev/i2o/iop.c  		p = mb + off + 1;
p                1842 dev/i2o/iop.c  				*p++ = letoh32(saddr);
p                1853 dev/i2o/iop.c  		p = mb + off;
p                1861 dev/i2o/iop.c  		for (i = nsegs, ds = dm->dm_segs; i > 1; i--, p += 2, ds++) {
p                1862 dev/i2o/iop.c  			p[0] = (u_int32_t)ds->ds_len | flg;
p                1863 dev/i2o/iop.c  			p[1] = (u_int32_t)ds->ds_addr;
p                1866 dev/i2o/iop.c  		p[0] = (u_int32_t)ds->ds_len | flg | I2O_SGL_END_BUFFER |
p                1868 dev/i2o/iop.c  		p[1] = (u_int32_t)ds->ds_addr;
p                2214 dev/i2o/iop.c  	} __attribute__ ((__packed__)) p;
p                2218 dev/i2o/iop.c  	rv = iop_param_op(sc, tid, NULL, 0, I2O_PARAM_DEVICE_IDENTITY, &p,
p                2219 dev/i2o/iop.c  	    sizeof(p));
p                2223 dev/i2o/iop.c  	iop_strvis(sc, p.di.vendorinfo, sizeof(p.di.vendorinfo), buf,
p                2226 dev/i2o/iop.c  	iop_strvis(sc, p.di.productinfo, sizeof(p.di.productinfo), buf,
p                2229 dev/i2o/iop.c  	iop_strvis(sc, p.di.revlevel, sizeof(p.di.revlevel), buf, sizeof(buf));
p                2306 dev/i2o/iop.c  iopopen(dev_t dev, int flag, int mode, struct proc *p)
p                2329 dev/i2o/iop.c  iopclose(dev_t dev, int flag, int mode, struct proc *p)
p                2340 dev/i2o/iop.c  iopioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 194 dev/i2o/ioprbs.c 		} p;
p                 262 dev/i2o/ioprbs.c 	sc->sc_secsize = letoh32(param.p.bdi.blocksize);
p                 264 dev/i2o/ioprbs.c 	    (letoh64(param.p.bdi.capacity) / sc->sc_secsize);
p                 266 dev/i2o/ioprbs.c 	switch (param.p.bdi.type) {
p                 289 dev/i2o/ioprbs.c 	if ((letoh32(param.p.bdi.capabilities) & I2O_RBS_CAP_REMOVABLE_MEDIA)
p                 312 dev/i2o/ioprbs.c 	if ((cachesz = letoh32(param.p.cc.totalcachesize)) != 0)
p                 329 dev/i2o/ioprbs.c 	param.p.op.timeoutbase = htole32(IOPRBS_TIMEOUT * 1000); 
p                 330 dev/i2o/ioprbs.c 	param.p.op.rwvtimeoutbase = htole32(IOPRBS_TIMEOUT * 1000); 
p                 331 dev/i2o/ioprbs.c 	param.p.op.rwvtimeout = 0; 
p                 147 dev/i2o/iopsp.c 		} p;
p                 171 dev/i2o/iopsp.c 	fcal = (param.p.ci.bustype == I2O_HBA_BUS_FCA);		/* XXX */
p                 191 dev/i2o/iopsp.c 	    sc->sc_dv.dv_xname, param.p.sci.maxdatawidth,
p                 192 dev/i2o/iopsp.c 	    (u_int32_t)letoh64(param.p.sci.maxsyncrate) / 1000,
p                 193 dev/i2o/iopsp.c 	    letoh32(param.p.sci.initiatorid));
p                 198 dev/i2o/iopsp.c 	sc->sc_link.adapter_target = letoh32(param.p.sci.initiatorid);
p                 202 dev/i2o/iopsp.c 	    IOPSP_MAX_FCAL_TARGET : param.p.sci.maxdatawidth;
p                1044 dev/ic/ac97.c  ac97_set_rate(struct ac97_codec_if *codec_if, struct audio_params *p,
p                1050 dev/ic/ac97.c  	DPRINTFN(5, ("set_rate(%lu) ", p->sample_rate));
p                1053 dev/ic/ac97.c  		p->sample_rate = AC97_SINGLERATE;
p                1057 dev/ic/ac97.c  	if (p->sample_rate > 0xffff) {
p                1067 dev/ic/ac97.c  		p->sample_rate /= 2;
p                1079 dev/ic/ac97.c  	if (ac97_write(as, reg, (u_int16_t) p->sample_rate) ||
p                1082 dev/ic/ac97.c  	p->sample_rate = regval;
p                1084 dev/ic/ac97.c  		p->sample_rate *= 2;
p                1367 dev/ic/aic6360.c aic_dataout_pio(struct aic_softc *sc, u_char *p, int n)
p                1408 dev/ic/aic6360.c 			    (u_int32_t *)p, DOUTAMOUNT >> 2);
p                1411 dev/ic/aic6360.c 			    (u_int16_t *)p, DOUTAMOUNT >> 1);
p                1414 dev/ic/aic6360.c 			p += DOUTAMOUNT;
p                1427 dev/ic/aic6360.c 				    (u_int32_t *)p, xfer >> 2);
p                1428 dev/ic/aic6360.c 				p += xfer & ~3;
p                1434 dev/ic/aic6360.c 				    (u_int16_t *)p, xfer >> 1);
p                1435 dev/ic/aic6360.c 				p += xfer & ~1;
p                1443 dev/ic/aic6360.c 				bus_space_write_multi_1(iot, ioh,  DMADATA, p,
p                1445 dev/ic/aic6360.c 				p += xfer;
p                1509 dev/ic/aic6360.c aic_datain_pio(struct aic_softc *sc, u_char *p, int n)
p                1548 dev/ic/aic6360.c 			    (u_int32_t *)p, DINAMOUNT >> 2);
p                1551 dev/ic/aic6360.c 			    (u_int16_t *)p, DINAMOUNT >> 1);
p                1554 dev/ic/aic6360.c 			p += DINAMOUNT;
p                1567 dev/ic/aic6360.c 				    (u_int32_t *)p, xfer >> 2);
p                1568 dev/ic/aic6360.c 				p += xfer & ~3;
p                1574 dev/ic/aic6360.c 				    (u_int16_t *)p, xfer >> 1);
p                1575 dev/ic/aic6360.c 				p += xfer & ~1;
p                1583 dev/ic/aic6360.c 				bus_space_read_multi_1(iot, ioh, DMADATA, p,
p                1585 dev/ic/aic6360.c 				p += xfer;
p                 929 dev/ic/aic6915.c 	uint32_t *p;
p                 932 dev/ic/aic6915.c 	p = &stats.TransmitOKFrames;
p                 934 dev/ic/aic6915.c 		*p++ = sf_genreg_read(sc,
p                 569 dev/ic/aic6915.h #define	SF_MII_PHY_REG(p, r)	(SF_MII_BASE +				\
p                 570 dev/ic/aic6915.h 				 ((p) * 32 * sizeof(uint32_t)) +	\
p                 374 dev/ic/ami.c   	const char *p;
p                 433 dev/ic/ami.c   			p = "FC loop";
p                 469 dev/ic/ami.c   		p = "target";
p                 530 dev/ic/ami.c   	    sc->sc_channels, sc->sc_targets, p, sc->sc_nunits,
p                 536 dev/ic/ami.c   	    sc->sc_channels, sc->sc_targets, p, sc->sc_nunits);
p                1649 dev/ic/ami.c       struct proc *p)
p                1864 dev/ic/ami.c   	struct ami_big_diskarray *p; /* struct too large for stack */
p                1872 dev/ic/ami.c   	p = malloc(sizeof *p, M_DEVBUF, M_NOWAIT);
p                1873 dev/ic/ami.c   	if (!p)
p                1882 dev/ic/ami.c   	if ((error = ami_mgmt(sc, AMI_FCOP, AMI_FC_RDCONF, 0, 0, sizeof *p,
p                1883 dev/ic/ami.c   	    p)))
p                1888 dev/ic/ami.c   	bi->bi_novol = p->ada_nld;
p                1894 dev/ic/ami.c   	for (i = 0; i < p->ada_nld; i++)
p                1895 dev/ic/ami.c   		for (s = 0; s < p->ald[i].adl_spandepth; s++)
p                1896 dev/ic/ami.c   			for (t = 0; t < p->ald[i].adl_nstripes; t++) {
p                1897 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
p                1899 dev/ic/ami.c   				    p->ald[i].asp[s].adv[t].add_target;
p                1924 dev/ic/ami.c   		if (p->apd[i].adp_size) {
p                1939 dev/ic/ami.c   	free(p, M_DEVBUF);
p                1945 dev/ic/ami.c   ami_vol(struct ami_softc *sc, struct bioc_vol *bv, struct ami_big_diskarray *p)
p                1950 dev/ic/ami.c   	int ld = p->ada_nld, error = EINVAL;
p                1960 dev/ic/ami.c   	for (i = 0; i < p->ada_nld; i++)
p                1961 dev/ic/ami.c   		for (s = 0; s < p->ald[i].adl_spandepth; s++)
p                1962 dev/ic/ami.c   			for (t = 0; t < p->ald[i].adl_nstripes; t++) {
p                1963 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
p                1965 dev/ic/ami.c   				    p->ald[i].asp[s].adv[t].add_target;
p                1981 dev/ic/ami.c   		if (p->apd[i].adp_size) {
p                1992 dev/ic/ami.c   				bv->bv_size = (u_quad_t)p->apd[i].adp_size *
p                1999 dev/ic/ami.c   				if (p->apd[i].adp_ostatus == AMI_PD_HOTSPARE
p                2000 dev/ic/ami.c   				    && p->apd[i].adp_type == 0)
p                2019 dev/ic/ami.c       struct ami_big_diskarray *p)
p                2025 dev/ic/ami.c   	int ld = p->ada_nld, error = EINVAL;
p                2035 dev/ic/ami.c   	for (i = 0; i < p->ada_nld; i++)
p                2036 dev/ic/ami.c   		for (s = 0; s < p->ald[i].adl_spandepth; s++)
p                2037 dev/ic/ami.c   			for (t = 0; t < p->ald[i].adl_nstripes; t++) {
p                2038 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
p                2040 dev/ic/ami.c   				    p->ald[i].asp[s].adv[t].add_target;
p                2055 dev/ic/ami.c   		if (!p->apd[i].adp_size)
p                2090 dev/ic/ami.c   		bd->bd_size = (u_quad_t)p->apd[i].adp_size * (u_quad_t)512;
p                2098 dev/ic/ami.c   		if (p->apd[i].adp_ostatus == AMI_PD_HOTSPARE)
p                2104 dev/ic/ami.c   		if (p->apd[i].adp_type != 0)
p                2106 dev/ic/ami.c   			    ch, tg, p->apd[i].adp_type, inqbuf.device);
p                2122 dev/ic/ami.c   	struct ami_big_diskarray *p; /* struct too large for stack */
p                2128 dev/ic/ami.c   	p = malloc(sizeof *p, M_DEVBUF, M_NOWAIT);
p                2129 dev/ic/ami.c   	if (!p)
p                2132 dev/ic/ami.c   	if ((error = ami_mgmt(sc, AMI_FCOP, AMI_FC_RDCONF, 0, 0, sizeof *p, p)))
p                2135 dev/ic/ami.c   	if (bv->bv_volid >= p->ada_nld) {
p                2136 dev/ic/ami.c   		error = ami_vol(sc, bv, p);
p                2142 dev/ic/ami.c   	switch (p->ald[i].adl_status) {
p                2176 dev/ic/ami.c   	for (s = 0; s < p->ald[i].adl_spandepth; s++)
p                2177 dev/ic/ami.c   		for (t = 0; t < p->ald[i].adl_nstripes; t++) {
p                2178 dev/ic/ami.c   			off = p->ald[i].asp[s].adv[t].add_channel *
p                2180 dev/ic/ami.c   			    p->ald[i].asp[s].adv[t].add_target;
p                2182 dev/ic/ami.c   			if (p->apd[off].adp_ostatus != AMI_PD_RBLD)
p                2188 dev/ic/ami.c   			    p->ald[i].asp[s].adv[t].add_channel,
p                2189 dev/ic/ami.c   			    p->ald[i].asp[s].adv[t].add_target, 0,
p                2203 dev/ic/ami.c   	bv->bv_level = p->ald[i].adl_raidlvl;
p                2206 dev/ic/ami.c   	for (s = 0; s < p->ald[i].adl_spandepth; s++) {
p                2207 dev/ic/ami.c   		for (t = 0; t < p->ald[i].adl_nstripes; t++)
p                2212 dev/ic/ami.c   			bv->bv_size += p->ald[i].asp[s].ads_length *
p                2213 dev/ic/ami.c   			    p->ald[i].adl_nstripes;
p                2217 dev/ic/ami.c   			bv->bv_size += p->ald[i].asp[s].ads_length;
p                2221 dev/ic/ami.c   			bv->bv_size += p->ald[i].asp[s].ads_length *
p                2222 dev/ic/ami.c   			    (p->ald[i].adl_nstripes - 1);
p                2227 dev/ic/ami.c   	if (p->ald[i].adl_spandepth > 1)
p                2235 dev/ic/ami.c   	free(p, M_DEVBUF);
p                2245 dev/ic/ami.c   	struct ami_big_diskarray *p; /* struct too large for stack */
p                2251 dev/ic/ami.c   	p = malloc(sizeof *p, M_DEVBUF, M_NOWAIT);
p                2252 dev/ic/ami.c   	if (!p)
p                2255 dev/ic/ami.c   	if ((error = ami_mgmt(sc, AMI_FCOP, AMI_FC_RDCONF, 0, 0, sizeof *p, p)))
p                2258 dev/ic/ami.c   	if (bd->bd_volid >= p->ada_nld) {
p                2259 dev/ic/ami.c   		error = ami_disk(sc, bd, p);
p                2266 dev/ic/ami.c   	for (s = 0, d = 0; s < p->ald[i].adl_spandepth; s++)
p                2267 dev/ic/ami.c   		for (t = 0; t < p->ald[i].adl_nstripes; t++) {
p                2273 dev/ic/ami.c   			off = p->ald[i].asp[s].adv[t].add_channel *
p                2275 dev/ic/ami.c   			    p->ald[i].asp[s].adv[t].add_target;
p                2277 dev/ic/ami.c   			switch (p->apd[off].adp_ostatus) {
p                2302 dev/ic/ami.c   			bd->bd_size = (u_quad_t)p->apd[off].adp_size *
p                2305 dev/ic/ami.c   			ch = p->ald[i].asp[s].adv[t].add_target >> 4;
p                2306 dev/ic/ami.c   			tg = p->ald[i].asp[s].adv[t].add_target & 0x0f;
p                2342 dev/ic/ami.c   	free(p, M_DEVBUF);
p                 171 dev/ic/an.c    an_swap16(u_int16_t *p, int cnt)
p                 173 dev/ic/an.c            for (; cnt--; p++)
p                 174 dev/ic/an.c                    *p = swap16(*p);
p                 178 dev/ic/an.c    #define an_swap16(p, cnt)
p                 319 dev/ic/athvar.h #define LE_READ_2(p)							\
p                 321 dev/ic/athvar.h 	 ((((u_int8_t *)(p))[0]      ) | (((u_int8_t *)(p))[1] <<  8)))
p                 322 dev/ic/athvar.h #define LE_READ_4(p)							\
p                 324 dev/ic/athvar.h 	 ((((u_int8_t *)(p))[0]      ) | (((u_int8_t *)(p))[1] <<  8) |	\
p                 325 dev/ic/athvar.h 	 (((u_int8_t *)(p))[2] << 16) | (((u_int8_t *)(p))[3] << 24)))
p                  65 dev/ic/atwreg.h #define GTEQ_POWER(x, p) (((u_long)(x) >> (p)) != 0)
p                 470 dev/ic/awi.c   	u_int8_t *p;
p                 561 dev/ic/awi.c   			p = sc->sc_bss.essid;
p                 563 dev/ic/awi.c   			p = sc->sc_mib_mac.aDesired_ESS_ID;
p                 564 dev/ic/awi.c   		error = copyout(p + 1, ifr->ifr_data, 1 + IEEE80211_NWID_LEN);
p                2701 dev/ic/awi.c   	u_int8_t *p;
p                2707 dev/ic/awi.c   	for (i = 0, p = essid + 2; i < len; i++, p++) {
p                2708 dev/ic/awi.c   		if (*p < ' ' || *p > 0x7e)
p                2713 dev/ic/awi.c   		for (i = 0, p = essid + 2; i < len; i++, p++)
p                2714 dev/ic/awi.c   			printf("%c", *p);
p                2718 dev/ic/awi.c   		for (i = 0, p = essid + 2; i < len; i++, p++)
p                2719 dev/ic/awi.c   			printf("%02x", *p);
p                 190 dev/ic/awivar.h #define	LE_READ_2(p)							\
p                 191 dev/ic/awivar.h 	(((u_int8_t *)(p))[0] | (((u_int8_t *)(p))[1] << 8))
p                 192 dev/ic/awivar.h #define	LE_READ_4(p)							\
p                 193 dev/ic/awivar.h 	(((u_int8_t *)(p))[0] | (((u_int8_t *)(p))[1] << 8) |		\
p                 194 dev/ic/awivar.h 	 (((u_int8_t *)(p))[2] << 16) | (((u_int8_t *)(p))[3] << 24))
p                 195 dev/ic/awivar.h #define	LE_WRITE_2(p, v)						\
p                 196 dev/ic/awivar.h 	((((u_int8_t *)(p))[0] = ((u_int32_t)(v) & 0xff)),		\
p                 197 dev/ic/awivar.h 	 (((u_int8_t *)(p))[1] = (((u_int32_t)(v) >> 8) & 0xff)))
p                 198 dev/ic/awivar.h #define	LE_WRITE_4(p, v)						\
p                 199 dev/ic/awivar.h 	((((u_int8_t *)(p))[0] = ((u_int32_t)(v) & 0xff)),		\
p                 200 dev/ic/awivar.h 	 (((u_int8_t *)(p))[1] = (((u_int32_t)(v) >> 8) & 0xff)),	\
p                 201 dev/ic/awivar.h 	 (((u_int8_t *)(p))[2] = (((u_int32_t)(v) >> 16) & 0xff)),	\
p                 202 dev/ic/awivar.h 	 (((u_int8_t *)(p))[3] = (((u_int32_t)(v) >> 24) & 0xff)))
p                1273 dev/ic/bha.c   	char *p;
p                1278 dev/ic/bha.c   	p = sc->sc_firmware;
p                1283 dev/ic/bha.c   	*p++ = revision.reply.firm_revision;
p                1284 dev/ic/bha.c   	*p++ = '.';
p                1285 dev/ic/bha.c   	*p++ = revision.reply.firm_version;
p                1290 dev/ic/bha.c   	*p++ = digit.reply.digit;
p                1298 dev/ic/bha.c   		*p++ = digit.reply.digit;
p                1300 dev/ic/bha.c   	while (p > sc->sc_firmware && (p[-1] == ' ' || p[-1] == '\0'))
p                1301 dev/ic/bha.c   		p--;
p                1302 dev/ic/bha.c   	*p = '\0';
p                1308 dev/ic/bha.c   		p = sc->sc_model;
p                1314 dev/ic/bha.c   		*p++ = model.reply.id[0];
p                1315 dev/ic/bha.c   		*p++ = model.reply.id[1];
p                1316 dev/ic/bha.c   		*p++ = model.reply.id[2];
p                1317 dev/ic/bha.c   		*p++ = model.reply.id[3];
p                1318 dev/ic/bha.c   		while (p > sc->sc_model && (p[-1] == ' ' || p[-1] == '\0'))
p                1319 dev/ic/bha.c   			p--;
p                1320 dev/ic/bha.c   		*p++ = model.reply.version[0];
p                1321 dev/ic/bha.c   		*p++ = model.reply.version[1];
p                1322 dev/ic/bha.c   		while (p > sc->sc_model && (p[-1] == ' ' || p[-1] == '\0'))
p                1323 dev/ic/bha.c   			p--;
p                1324 dev/ic/bha.c   		*p = '\0';
p                 553 dev/ic/bt463.c bt463_copyback(p)
p                 554 dev/ic/bt463.c 	 void *p;
p                 556 dev/ic/bt463.c 	struct bt463data *data = (struct bt463data *)p;
p                 578 dev/ic/bt463.c bt463_update(p)
p                 579 dev/ic/bt463.c 	void *p;
p                 581 dev/ic/bt463.c 	struct bt463data *data = (struct bt463data *)p;
p                 571 dev/ic/cac.c   	const char *p;
p                 614 dev/ic/cac.c   		case 0: p = "RAID0";	break;
p                 615 dev/ic/cac.c   		case 1: p = "RAID4";	break;
p                 616 dev/ic/cac.c   		case 2: p = "RAID1";	break;
p                 617 dev/ic/cac.c   		case 3: p = "RAID5";	break;
p                 618 dev/ic/cac.c   		default:p = "<UNK>";	break;
p                 621 dev/ic/cac.c   		    p, target);
p                  74 dev/ic/ciss.c      caddr_t addr, int flag, struct proc *p);
p                1010 dev/ic/ciss.c      caddr_t addr, int flag, struct proc *p)
p                 267 dev/ic/com.c   comopen(dev_t dev, int flag, int mode, struct proc *p)
p                 429 dev/ic/com.c   	} else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0)
p                 476 dev/ic/com.c   comclose(dev_t dev, int flag, int mode, struct proc *p)
p                 623 dev/ic/com.c   comioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 632 dev/ic/com.c   	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                 635 dev/ic/com.c   	error = ttioctl(tp, cmd, data, flag, p);
p                 710 dev/ic/com.c   		error = suser(p, 0);
p                1136 dev/ic/com.c   			u_char *p = sc->sc_ibufp;
p                1154 dev/ic/com.c   				if (p >= sc->sc_ibufend) {
p                1159 dev/ic/com.c   					*p++ = data;
p                1160 dev/ic/com.c   					*p++ = lsr;
p                1161 dev/ic/com.c   					if (p == sc->sc_ibufhigh &&
p                1175 dev/ic/com.c   			sc->sc_ibufp = p;
p                 277 dev/ic/cy.c    cyopen(dev, flag, mode, p)
p                 280 dev/ic/cy.c    	struct proc *p;
p                 380 dev/ic/cy.c    	} else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0) {
p                 410 dev/ic/cy.c    cyclose(dev, flag, mode, p)
p                 413 dev/ic/cy.c    	struct proc *p;
p                 515 dev/ic/cy.c    cyioctl(dev, cmd, data, flag, p)
p                 520 dev/ic/cy.c    	struct proc *p;
p                 534 dev/ic/cy.c    	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                 538 dev/ic/cy.c    	error = ttioctl(tp, cmd, data, flag, p);
p                 585 dev/ic/cy.c    		error = suser(p, 0);
p                1445 dev/ic/dc.c    	u_int8_t *p;
p                1460 dev/ic/dc.c    	for (i = 0, p = m->dc_reset_ptr; i < m->dc_reset_len; i++, p += 2) {
p                1461 dev/ic/dc.c    		reg = (p[0] | (p[1] << 8)) << 16;
p                1465 dev/ic/dc.c    	for (i = 0, p = m->dc_gp_ptr; i < m->dc_gp_len; i++, p += 2) {
p                1466 dev/ic/dc.c    		reg = (p[0] | (p[1] << 8)) << 16;
p                1551 dev/ic/dc.c    	u_int8_t *p;
p                1562 dev/ic/dc.c    	p = (u_int8_t *)l;
p                1563 dev/ic/dc.c    	p += sizeof(struct dc_eblock_mii);
p                1564 dev/ic/dc.c    	m->dc_gp_ptr = p;
p                1565 dev/ic/dc.c    	p += 2 * l->dc_gpr_len;
p                1566 dev/ic/dc.c    	m->dc_reset_len = *p;
p                1567 dev/ic/dc.c    	p++;
p                1568 dev/ic/dc.c    	m->dc_reset_ptr = p;
p                 553 dev/ic/dpt.c   	u_int16_t *p;
p                 596 dev/ic/dpt.c   	p = (u_int16_t *)ec;
p                 606 dev/ic/dpt.c   		*p++ = dpt_inw(sc, HA_DATA);
p                 620 dev/ic/dpt.c                   *p++ = dpt_inw(sc, HA_DATA);
p                 628 dev/ic/dpt.c   	if (p <= (u_short *)&ec->ec_hba[DPT_MAX_CHANNELS - 1])
p                 168 dev/ic/fxpvar.h #define	FXP_TXCB_SYNC(sc, txs, p)					\
p                 170 dev/ic/fxpvar.h 	sizeof(struct fxp_cb_tx), (p))
p                 172 dev/ic/fxpvar.h #define	FXP_MCS_SYNC(sc, p)						\
p                 174 dev/ic/fxpvar.h 	offsetof(struct fxp_ctrl, u.mcs), sizeof(struct fxp_cb_mcs), (p))
p                 176 dev/ic/fxpvar.h #define	FXP_IAS_SYNC(sc, p)						\
p                 178 dev/ic/fxpvar.h 	offsetof(struct fxp_ctrl, u.ias), sizeof(struct fxp_cb_ias), (p))
p                 180 dev/ic/fxpvar.h #define	FXP_CFG_SYNC(sc, p)						\
p                 182 dev/ic/fxpvar.h 	offsetof(struct fxp_ctrl, u.cfg), sizeof(struct fxp_cb_config), (p))
p                 184 dev/ic/fxpvar.h #define FXP_UCODE_SYNC(sc, p)						\
p                 186 dev/ic/fxpvar.h 	offsetof(struct fxp_ctrl, u.code), sizeof(struct fxp_cb_ucode), (p))
p                 188 dev/ic/fxpvar.h #define	FXP_STATS_SYNC(sc, p)						\
p                 190 dev/ic/fxpvar.h 	offsetof(struct fxp_ctrl, stats), sizeof(struct fxp_stats), (p)) 
p                 192 dev/ic/fxpvar.h #define	FXP_MBUF_SYNC(sc, m, p)						\
p                 193 dev/ic/fxpvar.h     bus_dmamap_sync((sc)->sc_dmat, (m), 0, (m)->dm_mapsize, (p))
p                1599 dev/ic/gdt_common.c 		gdt_ctrt_t *p;
p                1602 dev/ic/gdt_common.c 		p = (gdt_ctrt_t *)addr;
p                1603 dev/ic/gdt_common.c 		p->oem_id = 0x8000;
p                1604 dev/ic/gdt_common.c 		p->type = 0xfd;
p                1605 dev/ic/gdt_common.c 		p->info = (gdt->sc_bus << 8) | (gdt->sc_slot << 3);
p                1606 dev/ic/gdt_common.c 		p->ext_type = 0x6000 | gdt->sc_subdevice;
p                1607 dev/ic/gdt_common.c 		p->device_id = gdt->sc_device;
p                1608 dev/ic/gdt_common.c 		p->sub_device_id = gdt->sc_subdevice;
p                1614 dev/ic/gdt_common.c 		gdt_osv_t *p;
p                1616 dev/ic/gdt_common.c 		p = (gdt_osv_t *)addr;
p                1617 dev/ic/gdt_common.c 		p->oscode = 10;
p                1618 dev/ic/gdt_common.c 		p->version = osrelease[0] - '0';
p                1620 dev/ic/gdt_common.c 			p->subversion = osrelease[2] - '0';
p                1622 dev/ic/gdt_common.c 			p->subversion = 0;
p                1624 dev/ic/gdt_common.c 			p->revision = osrelease[4] - '0';
p                1626 dev/ic/gdt_common.c 			p->revision = 0;
p                1627 dev/ic/gdt_common.c 		strlcpy(p->name, ostype, sizeof p->name);
p                1633 dev/ic/gdt_common.c 		gdt_event_t *p;
p                1636 dev/ic/gdt_common.c 		p = (gdt_event_t *)addr;
p                1637 dev/ic/gdt_common.c 		if (p->erase == 0xff) {
p                1638 dev/ic/gdt_common.c 			if (p->dvr.event_source == GDT_ES_TEST)
p                1639 dev/ic/gdt_common.c 				p->dvr.event_data.size =
p                1640 dev/ic/gdt_common.c 				    sizeof(p->dvr.event_data.eu.test);
p                1641 dev/ic/gdt_common.c 			else if (p->dvr.event_source == GDT_ES_DRIVER)
p                1642 dev/ic/gdt_common.c 				p->dvr.event_data.size =
p                1643 dev/ic/gdt_common.c 				    sizeof(p->dvr.event_data.eu.driver);
p                1644 dev/ic/gdt_common.c 			else if (p->dvr.event_source == GDT_ES_SYNC)
p                1645 dev/ic/gdt_common.c 				p->dvr.event_data.size =
p                1646 dev/ic/gdt_common.c 				    sizeof(p->dvr.event_data.eu.sync);
p                1648 dev/ic/gdt_common.c 				p->dvr.event_data.size =
p                1649 dev/ic/gdt_common.c 				    sizeof(p->dvr.event_data.eu.async);
p                1651 dev/ic/gdt_common.c 			gdt_store_event(p->dvr.event_source, p->dvr.event_idx,
p                1652 dev/ic/gdt_common.c 			    &p->dvr.event_data);
p                1654 dev/ic/gdt_common.c 		} else if (p->erase == 0xfe) {
p                1658 dev/ic/gdt_common.c 		} else if (p->erase == 0) {
p                1659 dev/ic/gdt_common.c 			p->handle = gdt_read_event(p->handle, &p->dvr);
p                1661 dev/ic/gdt_common.c 			gdt_readapp_event((u_int8_t)p->erase, &p->dvr);
p                 413 dev/ic/hme.c   	caddr_t p;
p                 417 dev/ic/hme.c   	p = hr->rb_membase;
p                 423 dev/ic/hme.c   	hr->rb_txd = p;
p                 425 dev/ic/hme.c   	p += HME_TX_RING_SIZE * HME_XD_SIZE;
p                 429 dev/ic/hme.c   	p = (caddr_t)roundup((u_long)p, 2048);
p                 434 dev/ic/hme.c   	hr->rb_rxd = p;
p                 436 dev/ic/hme.c   	p += HME_RX_RING_SIZE * HME_XD_SIZE;
p                 440 dev/ic/hme.c   	p = (caddr_t)roundup((u_long)p, 2048);
p                 277 dev/ic/hmereg.h #define HME_XD_GETFLAGS(p, b, i)					\
p                 278 dev/ic/hmereg.h 	(p) ? letoh32(*((u_int32_t *)HME_XD_FLAGS(b,i))) :		\
p                 280 dev/ic/hmereg.h #define HME_XD_SETFLAGS(p, b, i, f)	do {				\
p                 281 dev/ic/hmereg.h 	*((u_int32_t *)HME_XD_FLAGS(b,i)) = ((p) ? htole32(f) : (f));	\
p                 283 dev/ic/hmereg.h #define HME_XD_SETADDR(p, b, i, a)	do {				\
p                 284 dev/ic/hmereg.h 	*((u_int32_t *)HME_XD_ADDR(b,i)) = ((p) ? htole32(a) : (a));	\
p                1280 dev/ic/i82596.c 				u_int8_t *e, *p = mtod(m, u_int8_t *);
p                1284 dev/ic/i82596.c 				for (e = p + m->m_len; p < e; i++, p += 2) {
p                1288 dev/ic/i82596.c 					printf(" %02x%02x", p[0], p[1]);
p                1553 dev/ic/if_wi.c 	struct proc		*p = curproc;
p                1665 dev/ic/if_wi.c 			if (suser(p, 0))
p                2784 dev/ic/if_wi.c 		char *p;
p                2791 dev/ic/if_wi.c 		    *(p = (char *)sver.wi_str) >= 'A' &&
p                2792 dev/ic/if_wi.c 		    p[2] == '.' && p[5] == '-' && p[8] == '\0') {
p                2794 dev/ic/if_wi.c 			sc->sc_sta_firmware_ver = (p[1] - '0') * 10000 +
p                2795 dev/ic/if_wi.c 			    (p[3] - '0') * 1000 + (p[4] - '0') * 100 +
p                2796 dev/ic/if_wi.c 			    (p[6] - '0') * 10 + (p[7] - '0');
p                1202 dev/ic/if_wi_hostap.c 	struct proc		*p = curproc;
p                1219 dev/ic/if_wi_hostap.c 		if ((error = suser(p, 0)))
p                1263 dev/ic/if_wi_hostap.c 		if ((error = suser(p, 0)))
p                1286 dev/ic/if_wi_hostap.c 		if ((error = suser(p, 0)))
p                  86 dev/ic/lemacvar.h #define	LEMAC_OUTSB(sc, o, l, p) \
p                  87 dev/ic/lemacvar.h 	bus_space_write_multi_1((sc)->sc_iot, (sc)->sc_ioh, (o), (p), (l))
p                  90 dev/ic/lemacvar.h #define	LEMAC_INSB(sc, o, l, p) \
p                  91 dev/ic/lemacvar.h 	bus_space_read_multi_1((sc)->sc_iot, (sc)->sc_ioh, (o), (p), (l))
p                  93 dev/ic/lemacvar.h #define	LEMAC_PUTBUF8(sc, o, l, p) \
p                  94 dev/ic/lemacvar.h 	bus_space_write_region_1((sc)->sc_memt, (sc)->sc_memh, (o), (p), (l))
p                  95 dev/ic/lemacvar.h #define	LEMAC_PUTBUF16(sc, o, l, p) \
p                  96 dev/ic/lemacvar.h 	bus_space_write_raw_region_2((sc)->sc_memt, (sc)->sc_memh, (o), (p), \
p                  98 dev/ic/lemacvar.h #define	LEMAC_PUTBUF32(sc, o, l, p) \
p                  99 dev/ic/lemacvar.h 	bus_space_write_raw_region_4((sc)->sc_memt, (sc)->sc_memh, (o), (p), \
p                 109 dev/ic/lemacvar.h #define	LEMAC_GETBUF8(sc, o, l, p) \
p                 110 dev/ic/lemacvar.h 	bus_space_read_region_1((sc)->sc_memt, (sc)->sc_memh, (o), (p), (l))
p                 111 dev/ic/lemacvar.h #define	LEMAC_GETBUF16(sc, o, l, p) \
p                 112 dev/ic/lemacvar.h 	bus_space_read_raw_region_2((sc)->sc_memt, (sc)->sc_memh, (o), (p), \
p                 114 dev/ic/lemacvar.h #define	LEMAC_GETBUF32(sc, o, l, p) \
p                 115 dev/ic/lemacvar.h 	bus_space_read_raw_region_4((sc)->sc_memt, (sc)->sc_memh, (o), (p), \
p                 152 dev/ic/lpt.c   lptopen(dev, flag, mode, p)
p                 156 dev/ic/lpt.c   	struct proc *p;
p                 272 dev/ic/lpt.c   lptclose(dev, flag, mode, p)
p                 276 dev/ic/lpt.c   	struct proc *p;
p                 434 dev/ic/lpt.c   lptioctl(dev, cmd, data, flag, p)
p                 439 dev/ic/lpt.c   	struct proc *p;
p                1205 dev/ic/mfi.c       struct proc *p)
p                1301 dev/ic/ncr53c9x.c ncr53c9x_wrfifo(struct ncr53c9x_softc *sc, u_char *p, int len)
p                1309 dev/ic/ncr53c9x.c 			printf(" %02x", p[i]);
p                1315 dev/ic/ncr53c9x.c 		NCR_WRITE_REG(sc, NCR_FIFO, p[i]);
p                1413 dev/ic/ncr53c9x.c __verify_msg_format(u_char *p, int len)
p                1416 dev/ic/ncr53c9x.c 	if (len == 1 && IS1BYTEMSG(p[0]))
p                1418 dev/ic/ncr53c9x.c 	if (len == 2 && IS2BYTEMSG(p[0]))
p                1420 dev/ic/ncr53c9x.c 	if (len >= 3 && ISEXTMSG(p[0]) &&
p                1421 dev/ic/ncr53c9x.c 	    len == p[1] + 2)
p                1660 dev/ic/ncr53c9x.c 					int p;
p                1662 dev/ic/ncr53c9x.c 					p = ncr53c9x_stp2cpb(sc, ti->period);
p                1663 dev/ic/ncr53c9x.c 					ti->period = ncr53c9x_cpb2stp(sc, p);
p                 196 dev/ic/ncr53c9xvar.h #define LOGLINE(p)
p                 662 dev/ic/oosiop.c 	int i, p;
p                 675 dev/ic/oosiop.c 				p = oosiop_period(sc, i, sc->sc_ccf);
p                 676 dev/ic/oosiop.c 				if (p >= period)
p                 688 dev/ic/oosiop.c 				p = oosiop_period(sc, synctbl[i].tp + 4,
p                 690 dev/ic/oosiop.c 				if (p >= period)
p                 308 dev/ic/opl.c   	const struct opl_operators *p = sc->voices[v].patch;
p                 310 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_AM_VIB,          v, 0, p->ops[OO_CHARS+0]);
p                 311 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_AM_VIB,          v, 1, p->ops[OO_CHARS+1]);
p                 312 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_KSL_LEVEL,       v, 0, p->ops[OO_KSL_LEV+0]);
p                 313 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_KSL_LEVEL,       v, 1, p->ops[OO_KSL_LEV+1]);
p                 314 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_ATTACK_DECAY,    v, 0, p->ops[OO_ATT_DEC+0]);
p                 315 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_ATTACK_DECAY,    v, 1, p->ops[OO_ATT_DEC+1]);
p                 316 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_SUSTAIN_RELEASE, v, 0, p->ops[OO_SUS_REL+0]);
p                 317 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_SUSTAIN_RELEASE, v, 1, p->ops[OO_SUS_REL+1]);
p                 318 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_WAVE_SELECT,     v, 0, p->ops[OO_WAV_SEL+0]);
p                 319 dev/ic/opl.c   	opl_set_op_reg(sc, OPL_WAVE_SELECT,     v, 1, p->ops[OO_WAV_SEL+1]);
p                 320 dev/ic/opl.c   	opl_set_ch_reg(sc, OPL_FEEDBACK_CONNECTION, v, p->ops[OO_FB_CONN]);
p                 464 dev/ic/opl.c   	const struct opl_operators *p;
p                 488 dev/ic/opl.c   	p = &opl2_instrs[MS_GETPGM(ms, voice)];
p                 489 dev/ic/opl.c   	v->patch = p;
p                 502 dev/ic/opl.c   	chars0 = p->ops[OO_CHARS+0];
p                 503 dev/ic/opl.c   	chars1 = p->ops[OO_CHARS+1];
p                 515 dev/ic/opl.c   	ksl0 = p->ops[OO_KSL_LEV+0];
p                 516 dev/ic/opl.c   	ksl1 = p->ops[OO_KSL_LEV+1];
p                 517 dev/ic/opl.c   	if (p->ops[OO_FB_CONN] & 0x01) {
p                 532 dev/ic/opl.c   	fbc = p->ops[OO_FB_CONN];
p                 150 dev/ic/osiop.c 	u_int8_t p;	/* period from sync request message */
p                1926 dev/ic/osiop.c 			if (period <= sync_tab[i].p) {
p                1341 dev/ic/pdq.c       pdq_uint8_t *p;
p                1377 dev/ic/pdq.c       p = (pdq_uint8_t *) PDQ_OS_MEMALLOC_CONTIG(contig_bytes);
p                1378 dev/ic/pdq.c       if (p != NULL) {
p                1379 dev/ic/pdq.c   	pdq_physaddr_t physaddr = PDQ_OS_VA_TO_PA(pdq, p);
p                1386 dev/ic/pdq.c   	    if (PDQ_OS_VA_TO_PA(pdq, p + idx) - physaddr != idx)
p                1391 dev/ic/pdq.c   	    pdq->pdq_unsolicited_info.ui_events = (pdq_unsolicited_event_t *) p;
p                1392 dev/ic/pdq.c   	    pdq->pdq_dbp = (pdq_descriptor_block_t *) &p[0x2000 - physaddr];
p                1394 dev/ic/pdq.c   	    pdq->pdq_dbp = (pdq_descriptor_block_t *) p;
p                1395 dev/ic/pdq.c   	    pdq->pdq_unsolicited_info.ui_events = (pdq_unsolicited_event_t *) &p[0x2000];
p                1410 dev/ic/pdq.c   	if (p /* pdq->pdq_dbp */ != NULL)
p                1411 dev/ic/pdq.c   	    PDQ_OS_MEMFREE_CONTIG(p /* pdq->pdq_dbp */, contig_bytes);
p                  85 dev/ic/pdqvar.h #define	PDQ_OS_MEMZERO(p, n)		bzero((caddr_t)(p), (n))
p                  87 dev/ic/pdqvar.h #define	PDQ_OS_VA_TO_PA(pdq, p)		(alpha_XXX_dmamap((vaddr_t)p))
p                  89 dev/ic/pdqvar.h #define	PDQ_OS_VA_TO_PA(pdq, p)		vtophys((vaddr_t)p)
p                  92 dev/ic/pdqvar.h #define	PDQ_OS_MEMFREE(p, n)		free((void *) p, M_DEVBUF)
p                  95 dev/ic/pdqvar.h #define	PDQ_OS_MEMFREE_CONTIG(p, n)	kmem_free(kernel_map, (vm_offset_t) p, n)
p                  98 dev/ic/pdqvar.h #define	PDQ_OS_MEMFREE_CONTIG(p, n)	uvm_km_free(kernel_map, (vaddr_t) p, n)
p                 248 dev/ic/pdqvar.h #define	PDQ_OS_MEMZERO(p, n)		bzero((caddr_t)(p), (n))
p                 249 dev/ic/pdqvar.h #define	PDQ_OS_VA_TO_PA(pdq, p)		vtop((caddr_t)p, NULL)
p                 251 dev/ic/pdqvar.h #define	PDQ_OS_MEMFREE(p, n)		kmem_free((caddr_t) p, n)
p                 253 dev/ic/pdqvar.h #define	PDQ_OS_MEMFREE_CONTIG(p, n)	PDQ_OS_MEMFREE(p, n)
p                1322 dev/ic/pgt.c   	char *p;
p                1347 dev/ic/pgt.c   	p = mtod(m, char *) + sizeof(*pa);
p                1348 dev/ic/pgt.c   	*(uint32_t *)p = oid;
p                1349 dev/ic/pgt.c   	p += sizeof(uint32_t);
p                1350 dev/ic/pgt.c   	memcpy(p, trapdata, size);
p                  50 dev/ic/rtwreg.h #define GTEQ_POWER(x, p) (((u_long)(x) >> (p)) != 0)
p                  78 dev/ic/sti.c   int sti_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p);
p                 281 dev/ic/sti.c   		u_int8_t *p = (u_int8_t *)scr->scr_code;
p                 286 dev/ic/sti.c   			*p++ = bus_space_read_4(memt, romh, addr) & 0xff;
p                 345 dev/ic/sti.c   		u_int32_t *p;
p                 355 dev/ic/sti.c   		for (p = cc->regions; !r.last &&
p                 356 dev/ic/sti.c   		     p < &cc->regions[STI_REGION_MAX]; p++) {
p                 366 dev/ic/sti.c   			*p = bases[p - cc->regions] + (r.offset << PGSHIFT);
p                 370 dev/ic/sti.c   			    r.length << PGSHIFT, *p, r.sys_only? " sys" : "",
p                 377 dev/ic/sti.c   			if (p == cc->regions && romh == bases[0])
p                 380 dev/ic/sti.c   			if (bus_space_map(memt, *p, r.length << PGSHIFT,
p                 388 dev/ic/sti.c   				if (p - cc->regions == 1) {
p                 389 dev/ic/sti.c   					scr->fbaddr = *p;
p                 392 dev/ic/sti.c   				*p = fbh;
p                 769 dev/ic/sti.c   sti_ioctl(v, cmd, data, flag, p)
p                 774 dev/ic/sti.c   	struct proc *p;
p                 138 dev/ic/tc921x.c __tc921x_write_burst(unsigned int length, u_int32_t data, struct tc921x_t *c, int p) {
p                 142 dev/ic/tc921x.c 	cldh = p == PERIOD_LOW ? PL_CL_DH(c) : PH_CL_DH(c);
p                 143 dev/ic/tc921x.c 	chdh = p == PERIOD_LOW ? PL_CH_DH(c) : PH_CH_DH(c);
p                 144 dev/ic/tc921x.c 	cldl = p == PERIOD_LOW ? PL_CL_DL(c) : PH_CL_DL(c);
p                 145 dev/ic/tc921x.c 	chdl = p == PERIOD_LOW ? PL_CH_DL(c) : PH_CH_DL(c);
p                 595 dev/ic/vga.c   vga_ioctl(v, cmd, data, flag, p)
p                 600 dev/ic/vga.c   	struct proc *p;
p                 607 dev/ic/vga.c   	    (error = vga_pci_ioctl(v, cmd, data, flag, p)) != ENOTTY)
p                 932 dev/ic/vga.c   		int ul, we, p, st;
p                 943 dev/ic/vga.c   		p = (scr->pcs.visibleoffset - ul + we) % we + lines *
p                 946 dev/ic/vga.c   		if (p < margin)
p                 947 dev/ic/vga.c   			p = 0;
p                 948 dev/ic/vga.c   		if (p > st - margin)
p                 949 dev/ic/vga.c   			p = st;
p                 950 dev/ic/vga.c   		scr->pcs.visibleoffset = (p + ul) % we;
p                2292 dev/ic/wdc.c   wdc_ioctl(drvp, xfer, addr, flag, p)
p                2297 dev/ic/wdc.c   	struct proc *p;
p                1560 dev/ic/xl.c    	u_int8_t		*p;
p                1571 dev/ic/xl.c    	p = (u_int8_t *)&xl_stats;
p                1577 dev/ic/xl.c    		*p++ = CSR_READ_1(sc, XL_W6_CARRIER_LOST + i);
p                 324 dev/ic/z8530tty.c zsopen(dev, flags, mode, p)
p                 328 dev/ic/z8530tty.c 	struct proc *p;
p                 351 dev/ic/z8530tty.c 	    && (p->p_ucred->cr_uid != 0) )
p                 428 dev/ic/z8530tty.c zsclose(dev, flags, mode, p)
p                 432 dev/ic/z8530tty.c 	struct proc *p;
p                 500 dev/ic/z8530tty.c zsioctl(dev, cmd, data, flag, p)
p                 505 dev/ic/z8530tty.c 	struct proc *p;
p                 516 dev/ic/z8530tty.c 	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                 519 dev/ic/z8530tty.c 	error = ttioctl(tp, cmd, data, flag, p);
p                 538 dev/ic/z8530tty.c 		error = suser(p, 0);
p                 615 dev/ic/z8530tty.c 		register char *p = tp->t_outq.c_cf;
p                 623 dev/ic/z8530tty.c 		zs_write_data(cs, *p);
p                 624 dev/ic/z8530tty.c 		zst->zst_tba = p + 1;
p                1012 dev/isa/ad1848.c ad1848_set_params(addr, setmode, usemode, p, r)
p                1015 dev/isa/ad1848.c     struct audio_params *p, *r;
p                1023 dev/isa/ad1848.c 	     p->encoding, p->precision, p->channels, p->sample_rate));
p                1025 dev/isa/ad1848.c     enc = p->encoding;
p                1029 dev/isa/ad1848.c 	if (p->precision == 8) {
p                1035 dev/isa/ad1848.c 	if (p->precision == 16 && sc->mode == 1) {
p                1041 dev/isa/ad1848.c 	if (p->precision == 16) {
p                1047 dev/isa/ad1848.c 	if (p->precision == 16) {
p                1065 dev/isa/ad1848.c 	if (p->precision == 16)
p                1071 dev/isa/ad1848.c 	if (p->precision == 16)
p                1077 dev/isa/ad1848.c 	if (p->precision == 8)
p                1086 dev/isa/ad1848.c     if (p->channels < 1 || p->channels > 2)
p                1089 dev/isa/ad1848.c     error = ad1848_set_speed(sc, &p->sample_rate);
p                1093 dev/isa/ad1848.c     p->sw_code = pswcode;
p                1097 dev/isa/ad1848.c     sc->channels = p->channels;
p                1098 dev/isa/ad1848.c     sc->precision = p->precision;
p                1463 dev/isa/ad1848.c ad1848_dma_input(addr, p, cc, intr, arg)
p                1465 dev/isa/ad1848.c     void *p;
p                1489 dev/isa/ad1848.c 	sc->sc_dma_bp = p;
p                1491 dev/isa/ad1848.c 	isa_dmastart(sc->sc_isa, sc->sc_recdrq, p, cc, NULL,
p                1548 dev/isa/ad1848.c ad1848_dma_output(addr, p, cc, intr, arg)
p                1550 dev/isa/ad1848.c     void *p;
p                1565 dev/isa/ad1848.c 	printf("ad1848_dma_output: cc=%d at %p %p (%p)\n", cc, p, intr, arg);
p                1574 dev/isa/ad1848.c 	sc->sc_dma_bp = p;
p                1576 dev/isa/ad1848.c 	isa_dmastart(sc->sc_isa, sc->sc_drq, p, cc, NULL,
p                1167 dev/isa/aha.c  	char *p;
p                1231 dev/isa/aha.c  	p = sc->sc_firmware;
p                1232 dev/isa/aha.c  	*p++ = revision.reply.revision_1;
p                1233 dev/isa/aha.c  	*p++ = '.';
p                1234 dev/isa/aha.c  	*p++ = revision.reply.revision_2;
p                1235 dev/isa/aha.c  	*p = '\0';
p                1083 dev/isa/aria.c aria_start_input(addr, p, cc, intr, arg)
p                1085 dev/isa/aria.c 	void *p;
p                1093 dev/isa/aria.c 	DPRINTF(("aria_start_input %d @ %x\n", cc, p));
p                1103 dev/isa/aria.c 	sc->sc_rdiobuffer = p;
p                1114 dev/isa/aria.c aria_start_output(addr, p, cc, intr, arg)
p                1116 dev/isa/aria.c 	void *p;
p                1124 dev/isa/aria.c 	DPRINTF(("aria_start_output %d @ %x\n", cc, p));
p                1134 dev/isa/aria.c 	sc->sc_pdiobuffer = p;
p                 586 dev/isa/ega.c  ega_ioctl(v, cmd, data, flag, p)
p                 591 dev/isa/ega.c  	struct proc *p;
p                 108 dev/isa/elink.c elink_idseq(bus_space_tag_t iot, bus_space_handle_t ioh, u_char p)
p                 118 dev/isa/elink.c 			c ^= p;
p                  41 dev/isa/elink.h void elink_idseq(bus_space_tag_t, bus_space_handle_t, u_char p);
p                1198 dev/isa/ess.c  	struct audio_params *p;
p                1228 dev/isa/ess.c  		p = mode == AUMODE_PLAY ? play : rec;
p                1230 dev/isa/ess.c  		if (p->sample_rate < ESS_MINRATE ||
p                1231 dev/isa/ess.c  		    p->sample_rate > ESS_MAXRATE ||
p                1232 dev/isa/ess.c  		    (p->precision != 8 && p->precision != 16) ||
p                1233 dev/isa/ess.c  		    (p->channels != 1 && p->channels != 2))
p                1236 dev/isa/ess.c  		p->factor = 1;
p                1237 dev/isa/ess.c  		p->sw_code = 0;
p                1238 dev/isa/ess.c  		switch (p->encoding) {
p                1241 dev/isa/ess.c  			if (p->precision == 16)
p                1242 dev/isa/ess.c  				p->sw_code = swap_bytes;
p                1249 dev/isa/ess.c  				p->factor = 2;
p                1250 dev/isa/ess.c  				p->sw_code = mulaw_to_ulinear16;
p                1252 dev/isa/ess.c  				p->sw_code = ulinear8_to_mulaw;
p                1256 dev/isa/ess.c  				p->factor = 2;
p                1257 dev/isa/ess.c  				p->sw_code = alaw_to_ulinear16;
p                1259 dev/isa/ess.c  				p->sw_code = ulinear8_to_alaw;
p                 538 dev/isa/fd.c   fdopen(dev, flags, mode, p)
p                 542 dev/isa/fd.c   	struct proc *p;
p                 570 dev/isa/fd.c   fdclose(dev, flags, mode, p)
p                 574 dev/isa/fd.c   	struct proc *p;
p                 954 dev/isa/fd.c   fdioctl(dev, cmd, addr, flag, p)
p                 959 dev/isa/fd.c   	struct proc *p;
p                1024 dev/isa/fd.c                           return fdformat(dev, (struct fd_formb *)addr, p);
p                1049 dev/isa/fd.c   fdformat(dev, finfo, p)
p                1052 dev/isa/fd.c           struct proc *p;
p                1067 dev/isa/fd.c           bp->b_proc = p;
p                1510 dev/isa/gus.c  gusmax_set_params(addr, setmode, usemode, p, r)
p                1513 dev/isa/gus.c  	struct audio_params *p, *r;
p                1519 dev/isa/gus.c  	error = ad1848_set_params(ac, setmode, usemode, p, r);
p                1522 dev/isa/gus.c  	error = gus_set_params(sc, setmode, usemode, p, r);
p                1527 dev/isa/gus.c  gus_set_params(addr, setmode, usemode, p, r)
p                1530 dev/isa/gus.c  	struct audio_params *p, *r;
p                1535 dev/isa/gus.c  	switch (p->encoding) {
p                1549 dev/isa/gus.c  	if (p->precision == 8) {
p                1557 dev/isa/gus.c  	sc->sc_encoding = p->encoding;
p                1558 dev/isa/gus.c  	sc->sc_precision = p->precision;
p                1559 dev/isa/gus.c  	sc->sc_channels = p->channels;
p                1563 dev/isa/gus.c  	if (p->sample_rate > gus_max_frequency[sc->sc_voices - GUS_MIN_VOICES])
p                1564 dev/isa/gus.c  		p->sample_rate = gus_max_frequency[sc->sc_voices - GUS_MIN_VOICES];
p                1566 dev/isa/gus.c  		sc->sc_irate = p->sample_rate;
p                1568 dev/isa/gus.c  		sc->sc_orate = p->sample_rate;
p                1570 dev/isa/gus.c  	switch (p->encoding) {
p                1572 dev/isa/gus.c  		p->sw_code = mulaw_to_ulinear8;
p                1576 dev/isa/gus.c  		p->sw_code = alaw_to_ulinear8;
p                1581 dev/isa/gus.c  		r->sw_code = p->sw_code = swap_bytes;
p                1902 dev/isa/if_ie.c #define	_ALLOC(p, n)	(bzero(p, n), p += n, p - n)
p                1903 dev/isa/if_ie.c #define	ALLOC(p, n)	_ALLOC(p, ALIGN(n))
p                 290 dev/isa/isadma.c isa_dmastart(isadev, chan, addr, nbytes, p, flags, busdmaflags)
p                 295 dev/isa/isadma.c 	struct proc *p;
p                 319 dev/isa/isadma.c 	    chan, addr, nbytes, p, flags, busdmaflags);
p                 346 dev/isa/isadma.c 	error = bus_dmamap_load(sc->sc_dmat, dmam, addr, nbytes, p,
p                 487 dev/isa/isapnp.c 	char *p = v;
p                 489 dev/isa/isapnp.c 	*p++ = 'A' + (id[0] >> 2) - 1;
p                 490 dev/isa/isapnp.c 	*p++ = 'A' + ((id[0] & 3) << 3) + (id[1] >> 5) - 1;
p                 491 dev/isa/isapnp.c 	*p++ = 'A' + (id[1] & 0x1f) - 1;
p                 492 dev/isa/isapnp.c 	*p++ = hex[id[2] >> 4];
p                 493 dev/isa/isapnp.c 	*p++ = hex[id[2] & 0x0f];
p                 494 dev/isa/isapnp.c 	*p++ = hex[id[3] >> 4];
p                 495 dev/isa/isapnp.c 	*p++ = hex[id[3] & 0x0f];
p                 496 dev/isa/isapnp.c 	*p = '\0';
p                 531 dev/isa/isapnp.c isapnp_print_pin(str, p, n)
p                 533 dev/isa/isapnp.c 	struct isapnp_pin *p;
p                 542 dev/isa/isapnp.c 	for (i = 0; i < n; i++, p++) {
p                 543 dev/isa/isapnp.c 		printf("%d", p->num);
p                 651 dev/isa/isapnp.c 	int p;
p                 661 dev/isa/isapnp.c 	for (p = ISAPNP_RDDATA_MIN; p <= ISAPNP_RDDATA_MAX; p += 4) {
p                 662 dev/isa/isapnp.c 		sc->sc_read_port = p;
p                 665 dev/isa/isapnp.c 		DPRINTF(("%s: Trying port %x\n", sc->sc_dev.dv_xname, p));
p                 671 dev/isa/isapnp.c 	if (p > ISAPNP_RDDATA_MAX) {
p                 701 dev/isa/isapnp.c 	const struct isapnp_pin *p;
p                 748 dev/isa/isapnp.c 			p = &ipa->ipa_irq[i];
p                 750 dev/isa/isapnp.c 			p = &pz;
p                 753 dev/isa/isapnp.c 		    isapnp_irq_range[i] + ISAPNP_IRQ_NUMBER, p->num);
p                 755 dev/isa/isapnp.c 		switch (p->flags) {
p                 261 dev/isa/isapnpdebug.c 	struct isapnp_pin *p;
p                 305 dev/isa/isapnpdebug.c 		p = &pa->ipa_irq[i];
p                 306 dev/isa/isapnpdebug.c 		p->num = v0 & 0xf;
p                 307 dev/isa/isapnpdebug.c 		if (p->num == 0)
p                 312 dev/isa/isapnpdebug.c 		    p->flags = ISAPNP_IRQTYPE_LEVEL_PLUS;
p                 315 dev/isa/isapnpdebug.c 		    p->flags = ISAPNP_IRQTYPE_EDGE_PLUS;
p                 318 dev/isa/isapnpdebug.c 		    p->flags = ISAPNP_IRQTYPE_LEVEL_MINUS;
p                 321 dev/isa/isapnpdebug.c 		    p->flags = ISAPNP_IRQTYPE_EDGE_MINUS;
p                 329 dev/isa/isapnpdebug.c 		p = &pa->ipa_drq[i];
p                 330 dev/isa/isapnpdebug.c 		p->num = v0 & 0xf;
p                 331 dev/isa/isapnpdebug.c 		if (p->num == 4)
p                 376 dev/isa/isapnpdebug.c 	const struct isapnp_pin *p;
p                 393 dev/isa/isapnpdebug.c 			p = &pa->ipa_irq[i];
p                 394 dev/isa/isapnpdebug.c 			printf("irq[%d]: %d\n", i, p->num);
p                 399 dev/isa/isapnpdebug.c 			p = &pa->ipa_drq[i];
p                 400 dev/isa/isapnpdebug.c 			printf("drq[%d]: %d\n", i, p->num);
p                 232 dev/isa/isapnpres.c 	struct isapnp_pin *p;
p                 320 dev/isa/isapnpres.c 		p = &pa->ipa_irq[pa->ipa_nirq++];
p                 321 dev/isa/isapnpres.c 		p->bits = buf[0] | (buf[1] << 8);
p                 322 dev/isa/isapnpres.c 		p->flags = buf[2];
p                 324 dev/isa/isapnpres.c 		isapnp_print_irq("", p);
p                 332 dev/isa/isapnpres.c 		p = &pa->ipa_drq[pa->ipa_ndrq++];
p                 333 dev/isa/isapnpres.c 		p->bits = buf[0];
p                 334 dev/isa/isapnpres.c 		p->flags = buf[1];
p                 336 dev/isa/isapnpres.c 		isapnp_print_drq("", p);
p                 450 dev/isa/isapnpres.c 	u_char buf[ISAPNP_MAX_TAGSIZE], *p;
p                 498 dev/isa/isapnpres.c 		for (p = buf, i = 0; i < len; i++) {
p                 501 dev/isa/isapnpres.c 				*p++ = d;
p                 331 dev/isa/mcd.c  mcdopen(dev, flag, fmt, p)
p                 334 dev/isa/mcd.c  	struct proc *p;
p                 437 dev/isa/mcd.c  mcdclose(dev, flag, fmt, p)
p                 440 dev/isa/mcd.c  	struct proc *p;
p                 577 dev/isa/mcd.c  		struct partition *p;
p                 578 dev/isa/mcd.c  		p = &sc->sc_dk.dk_label->d_partitions[DISKPART(bp->b_dev)];
p                 579 dev/isa/mcd.c  		sc->mbx.blkno += DL_GETPOFFSET(p);
p                 613 dev/isa/mcd.c  mcdioctl(dev, cmd, addr, flag, p)
p                 618 dev/isa/mcd.c  	struct proc *p;
p                1653 dev/isa/mcd.c  mcd_playtracks(sc, p)
p                1655 dev/isa/mcd.c  	struct ioc_play_track *p;
p                1658 dev/isa/mcd.c  	int a = p->start_track;
p                1659 dev/isa/mcd.c  	int z = p->end_track;
p                1665 dev/isa/mcd.c  		    a, p->start_index, z, p->end_index);
p                1691 dev/isa/mcd.c  mcd_playmsf(sc, p)
p                1693 dev/isa/mcd.c  	struct ioc_play_msf *p;
p                1701 dev/isa/mcd.c  		    p->start_m, p->start_s, p->start_f,
p                1702 dev/isa/mcd.c  		    p->end_m, p->end_s, p->end_f);
p                1704 dev/isa/mcd.c  	if ((p->start_m * 60 * 75 + p->start_s * 75 + p->start_f) >=
p                1705 dev/isa/mcd.c  	    (p->end_m * 60 * 75 + p->end_s * 75 + p->end_f))
p                1713 dev/isa/mcd.c  	mbx.cmd.data.play.start_msf[0] = bin2bcd(p->start_m);
p                1714 dev/isa/mcd.c  	mbx.cmd.data.play.start_msf[1] = bin2bcd(p->start_s);
p                1715 dev/isa/mcd.c  	mbx.cmd.data.play.start_msf[2] = bin2bcd(p->start_f);
p                1716 dev/isa/mcd.c  	mbx.cmd.data.play.end_msf[0] = bin2bcd(p->end_m);
p                1717 dev/isa/mcd.c  	mbx.cmd.data.play.end_msf[1] = bin2bcd(p->end_s);
p                1718 dev/isa/mcd.c  	mbx.cmd.data.play.end_msf[2] = bin2bcd(p->end_f);
p                1725 dev/isa/mcd.c  mcd_playblocks(sc, p)
p                1727 dev/isa/mcd.c  	struct ioc_play_blocks *p;
p                1734 dev/isa/mcd.c  		    sc->sc_dev.dv_xname, p->blk, p->len);
p                1736 dev/isa/mcd.c  	if (p->blk > sc->disksize || p->len > sc->disksize ||
p                1737 dev/isa/mcd.c  	    (p->blk + p->len) > sc->disksize)
p                1745 dev/isa/mcd.c  	hsg2msf(p->blk, mbx.cmd.data.play.start_msf);
p                1746 dev/isa/mcd.c  	hsg2msf(p->blk + p->len, mbx.cmd.data.play.end_msf);
p                 160 dev/isa/pas.c  #define pasread(p) inb(p)
p                 161 dev/isa/pas.c  #define paswrite(d, p) outb(p, d)
p                 334 dev/isa/pcdisplay.c pcdisplay_ioctl(v, cmd, data, flag, p)
p                 339 dev/isa/pcdisplay.c 	struct proc *p;
p                 531 dev/isa/sbdsp.c 	struct audio_params *p;
p                 564 dev/isa/sbdsp.c 		p = mode == AUMODE_PLAY ? play : rec;
p                 569 dev/isa/sbdsp.c 			    p->channels == m->channels &&
p                 570 dev/isa/sbdsp.c 			    p->precision == m->precision &&
p                 571 dev/isa/sbdsp.c 			    p->sample_rate >= m->lowrate &&
p                 572 dev/isa/sbdsp.c 			    p->sample_rate <= m->highrate)
p                 577 dev/isa/sbdsp.c 		rate = p->sample_rate;
p                 583 dev/isa/sbdsp.c 			switch (p->encoding) {
p                 585 dev/isa/sbdsp.c 				if (p->precision == 16)
p                 592 dev/isa/sbdsp.c 				if (p->precision == 16)
p                 619 dev/isa/sbdsp.c 			if (p->channels == 2)
p                 622 dev/isa/sbdsp.c 			switch (p->encoding) {
p                 646 dev/isa/sbdsp.c 			tc = SB_RATE_TO_TC(p->sample_rate * p->channels);
p                 647 dev/isa/sbdsp.c 			p->sample_rate = SB_TC_TO_RATE(tc) / p->channels;
p                 649 dev/isa/sbdsp.c 			switch (p->encoding) {
p                 668 dev/isa/sbdsp.c 			tc = SB_RATE_TO_TC(p->sample_rate * p->channels);
p                 669 dev/isa/sbdsp.c 			p->sample_rate = SB_TC_TO_RATE(tc) / p->channels;
p                 687 dev/isa/sbdsp.c 		p->sw_code = swcode;
p                 688 dev/isa/sbdsp.c 		p->factor = factor;
p                 690 dev/isa/sbdsp.c 			 sc->sc_model, mode, p->sample_rate, p->precision, p->channels,
p                 691 dev/isa/sbdsp.c 			 p->encoding, tc, m->cmd, bmode, m->cmdchan, swcode, factor));
p                 923 dev/isa/seagate.c 	u_char p = *phase, tmp;
p                 950 dev/isa/seagate.c 		if ((tmp & PH_MASK) != p)
p                 954 dev/isa/seagate.c 		if (!(p & STAT_IO))
p                 991 dev/isa/seagate.c 	if (c && (*phase != p))
p                 417 dev/isa/spkr.c spkropen(dev, flags, mode, p)
p                 421 dev/isa/spkr.c 	struct proc *p;
p                 464 dev/isa/spkr.c spkrclose(dev, flags, mode, p)
p                 468 dev/isa/spkr.c 	struct proc *p;
p                 485 dev/isa/spkr.c spkrioctl(dev, cmd, data, flag, p)
p                 490 dev/isa/spkr.c 	struct proc *p;
p                 156 dev/ksyms.c    ksymsopen(dev, flag, mode, p)
p                 159 dev/ksyms.c    	struct proc *p;
p                 179 dev/ksyms.c    ksymsclose(dev, flag, mode, p)
p                 182 dev/ksyms.c    	struct proc *p;
p                1914 dev/microcode/aic7xxx/aicasm_gram.y 	char *p;
p                1926 dev/microcode/aic7xxx/aicasm_gram.y 	for (p = &versions[oldlen + strlen(prefix)], q = verstring; *q; q++) {
p                1929 dev/microcode/aic7xxx/aicasm_gram.y 		*p++ = *q;
p                1931 dev/microcode/aic7xxx/aicasm_gram.y 	*p++ = '\n';
p                1932 dev/microcode/aic7xxx/aicasm_gram.y 	*p = '\0';
p                  67 dev/microcode/bnx/build.c hswapn(u_int32_t *p, int wcount)
p                  70 dev/microcode/bnx/build.c 		*p = htonl(*p);
p                  71 dev/microcode/bnx/build.c 		p++;
p                 337 dev/microcode/ncr53cxxx/ncr53cxxx.c 	struct	patchlist *p;
p                 360 dev/microcode/ncr53cxxx/ncr53cxxx.c 		p = symbols[i].patchlist;
p                 361 dev/microcode/ncr53cxxx/ncr53cxxx.c 		while (p) {
p                 362 dev/microcode/ncr53cxxx/ncr53cxxx.c 			fprintf (outfp, "\t%08x,\n", p->offset / 4);
p                 363 dev/microcode/ncr53cxxx/ncr53cxxx.c 			p = p->next;
p                 392 dev/microcode/ncr53cxxx/ncr53cxxx.c 	char *p = inbuf;
p                 400 dev/microcode/ncr53cxxx/ncr53cxxx.c 		while ((c = *p++) && c != '\n' && c <= ' ' || c == '\t')
p                 412 dev/microcode/ncr53cxxx/ncr53cxxx.c 		    	while (((c = *p) >= '0' && c <= '9') ||
p                 415 dev/microcode/ncr53cxxx/ncr53cxxx.c 		    	    	*s++ = *p++;
p                 466 dev/microcode/ncr53cxxx/ncr53cxxx.c 	struct patchlist *p;
p                 478 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p = symbols[i].patchlist;
p                 479 dev/microcode/ncr53cxxx/ncr53cxxx.c 				while (p) {
p                 480 dev/microcode/ncr53cxxx/ncr53cxxx.c 					if (p->offset > dsps)
p                 483 dev/microcode/ncr53cxxx/ncr53cxxx.c 						script[p->offset / 4] = dsps - p->offset - 4;
p                 484 dev/microcode/ncr53cxxx/ncr53cxxx.c 					p = p->next;
p                 660 dev/microcode/ncr53cxxx/ncr53cxxx.c 	struct patchlist *p;
p                 666 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p = (struct patchlist *) &symbols[i].patchlist;
p                 667 dev/microcode/ncr53cxxx/ncr53cxxx.c 				while (p->next)
p                 668 dev/microcode/ncr53cxxx/ncr53cxxx.c 					p = p->next;
p                 669 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p->next = (struct patchlist *) malloc (sizeof (struct patchlist));
p                 670 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p = p->next;
p                 671 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p->next = NULL;
p                 672 dev/microcode/ncr53cxxx/ncr53cxxx.c 				p->offset = dsps + 4;
p                 684 dev/microcode/ncr53cxxx/ncr53cxxx.c 	p = (struct patchlist *) malloc (sizeof (struct patchlist));
p                 685 dev/microcode/ncr53cxxx/ncr53cxxx.c 	symbols[nsymbols].patchlist = p;
p                 686 dev/microcode/ncr53cxxx/ncr53cxxx.c 	p->next = NULL;
p                 687 dev/microcode/ncr53cxxx/ncr53cxxx.c 	p->offset = dsps + 4;
p                 338 dev/microcode/siop/ncr53cxxx.c 	struct patchlist *p;
p                 462 dev/microcode/siop/ncr53cxxx.c 		p = patches;
p                 463 dev/microcode/siop/ncr53cxxx.c 		while (p) {
p                 464 dev/microcode/siop/ncr53cxxx.c 			fprintf (outfp, "\t0x%08x,\n", p->offset / 4);
p                 465 dev/microcode/siop/ncr53cxxx.c 			p = p->next;
p                 499 dev/microcode/siop/ncr53cxxx.c 	struct	patchlist *p;
p                 527 dev/microcode/siop/ncr53cxxx.c 		p = symbols[i].patchlist;
p                 528 dev/microcode/siop/ncr53cxxx.c 		while (p) {
p                 529 dev/microcode/siop/ncr53cxxx.c 			fprintf (outfp, "\t0x%08x,\n", p->offset / 4);
p                 530 dev/microcode/siop/ncr53cxxx.c 			p = p->next;
p                 559 dev/microcode/siop/ncr53cxxx.c 	char *p = inbuf;
p                 567 dev/microcode/siop/ncr53cxxx.c 		while ((c = *p++) && c != '\n' && (c <= ' ' || c == '\t'))
p                 579 dev/microcode/siop/ncr53cxxx.c 		    	while (((c = *p) >= '0' && c <= '9') ||
p                 582 dev/microcode/siop/ncr53cxxx.c 		    	    	*s++ = *p++;
p                 633 dev/microcode/siop/ncr53cxxx.c 	struct patchlist *p;
p                 645 dev/microcode/siop/ncr53cxxx.c 				p = symbols[i].patchlist;
p                 646 dev/microcode/siop/ncr53cxxx.c 				while (p) {
p                 647 dev/microcode/siop/ncr53cxxx.c 					if (p->offset > dsps)
p                 650 dev/microcode/siop/ncr53cxxx.c 						script[p->offset / 4] += dsps;
p                 651 dev/microcode/siop/ncr53cxxx.c 					p = p->next;
p                 673 dev/microcode/siop/ncr53cxxx.c 	struct patchlist *p, **h;
p                 678 dev/microcode/siop/ncr53cxxx.c 	p = (struct patchlist *) malloc (sizeof (struct patchlist));
p                 679 dev/microcode/siop/ncr53cxxx.c 	*h = p;
p                 680 dev/microcode/siop/ncr53cxxx.c 	p->next = NULL;
p                 681 dev/microcode/siop/ncr53cxxx.c 	p->offset = dsps + 4;
p                 837 dev/microcode/siop/ncr53cxxx.c 	struct patchlist *p;
p                 843 dev/microcode/siop/ncr53cxxx.c 				p = (struct patchlist *) &symbols[i].patchlist;
p                 844 dev/microcode/siop/ncr53cxxx.c 				while (p->next)
p                 845 dev/microcode/siop/ncr53cxxx.c 					p = p->next;
p                 846 dev/microcode/siop/ncr53cxxx.c 				p->next = (struct patchlist *) malloc (sizeof (struct patchlist));
p                 847 dev/microcode/siop/ncr53cxxx.c 				p = p->next;
p                 848 dev/microcode/siop/ncr53cxxx.c 				p->next = NULL;
p                 849 dev/microcode/siop/ncr53cxxx.c 				p->offset = dsps + 4;
p                 861 dev/microcode/siop/ncr53cxxx.c 	p = (struct patchlist *) malloc (sizeof (struct patchlist));
p                 862 dev/microcode/siop/ncr53cxxx.c 	symbols[nsymbols].patchlist = p;
p                 863 dev/microcode/siop/ncr53cxxx.c 	p->next = NULL;
p                 864 dev/microcode/siop/ncr53cxxx.c 	p->offset = dsps + 4;
p                  31 dev/microcode/yds/build.c hswapn(u_int32_t *p, int wcount)
p                  34 dev/microcode/yds/build.c 		*p = htonl(*p);
p                  35 dev/microcode/yds/build.c 		p++;
p                 347 dev/midi.c     midipoll(dev_t dev, int events, struct proc *p)
p                 367 dev/midi.c     			selrecord(p, &sc->rsel);
p                 369 dev/midi.c     			selrecord(p, &sc->wsel);
p                 377 dev/midi.c     midiioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 390 dev/midi.c     			sc->async = p;
p                 403 dev/midi.c     midiopen(dev_t dev, int flags, int mode, struct proc *p)
p                 439 dev/midi.c     midiclose(dev_t dev, int fflag, int devtype, struct proc *p)
p                 144 dev/midisyn.c  midisyn_ioctl(maddr, cmd, addr, flag, p)
p                 149 dev/midisyn.c  	struct proc *p;
p                 154 dev/midisyn.c  		return (ms->mets->ioctl(ms, cmd, addr, flag, p));
p                 217 dev/mii/miivar.h #define	PHY_READ(p, r) \
p                 218 dev/mii/miivar.h 	(*(p)->mii_pdata->mii_readreg)((p)->mii_dev.dv_parent, \
p                 219 dev/mii/miivar.h 	    (p)->mii_phy, (r))
p                 221 dev/mii/miivar.h #define	PHY_WRITE(p, r, v) \
p                 222 dev/mii/miivar.h 	(*(p)->mii_pdata->mii_writereg)((p)->mii_dev.dv_parent, \
p                 223 dev/mii/miivar.h 	    (p)->mii_phy, (r), (v))
p                 225 dev/mii/miivar.h #define	PHY_SERVICE(p, d, o) \
p                 226 dev/mii/miivar.h 	(*(p)->mii_funcs->pf_service)((p), (d), (o))
p                 228 dev/mii/miivar.h #define	PHY_STATUS(p) \
p                 229 dev/mii/miivar.h 	(*(p)->mii_funcs->pf_status)((p))
p                 231 dev/mii/miivar.h #define	PHY_RESET(p) \
p                 232 dev/mii/miivar.h 	(*(p)->mii_funcs->pf_reset)((p))
p                 252 dev/mulaw.c    mulaw_to_ulinear8(void *v, u_char *p, int cc)
p                 256 dev/mulaw.c    		*p = mulawtolin16[*p][0];
p                 257 dev/mulaw.c    		++p;
p                 262 dev/mulaw.c    mulaw_to_slinear8(void *v, u_char *p, int cc)
p                 266 dev/mulaw.c    		*p = mulawtolin16[*p][0] ^ 0x80;
p                 267 dev/mulaw.c    		++p;
p                 272 dev/mulaw.c    mulaw_to_ulinear16_le(void *v, u_char *p, int cc)
p                 274 dev/mulaw.c    	u_char *q = p;
p                 276 dev/mulaw.c    	p += cc;
p                 279 dev/mulaw.c    		--p;
p                 281 dev/mulaw.c    		q[1] = mulawtolin16[*p][0];
p                 282 dev/mulaw.c    		q[0] = mulawtolin16[*p][1];
p                 287 dev/mulaw.c    mulaw_to_ulinear16_be(void *v, u_char *p, int cc)
p                 289 dev/mulaw.c    	u_char *q = p;
p                 291 dev/mulaw.c    	p += cc;
p                 294 dev/mulaw.c    		--p;
p                 296 dev/mulaw.c    		q[0] = mulawtolin16[*p][0];
p                 297 dev/mulaw.c    		q[1] = mulawtolin16[*p][1];
p                 302 dev/mulaw.c    mulaw_to_slinear16_le(void *v, u_char *p, int cc)
p                 304 dev/mulaw.c    	u_char *q = p;
p                 306 dev/mulaw.c    	p += cc;
p                 309 dev/mulaw.c    		--p;
p                 311 dev/mulaw.c    		q[1] = mulawtolin16[*p][0] ^ 0x80;
p                 312 dev/mulaw.c    		q[0] = mulawtolin16[*p][1];
p                 317 dev/mulaw.c    mulaw_to_slinear16_le_mts(void *v, u_char *p, int cc)
p                 319 dev/mulaw.c    	u_char *q = p;
p                 321 dev/mulaw.c    	p += cc;
p                 324 dev/mulaw.c    		--p;
p                 326 dev/mulaw.c    		q[1] = q[3] = mulawtolin16[*p][0] ^ 0x80;
p                 327 dev/mulaw.c    		q[0] = q[2] = mulawtolin16[*p][1];
p                 332 dev/mulaw.c    mulaw_to_slinear16_be(void *v, u_char *p, int cc)
p                 334 dev/mulaw.c    	u_char *q = p;
p                 336 dev/mulaw.c    	p += cc;
p                 339 dev/mulaw.c    		--p;
p                 341 dev/mulaw.c    		q[0] = mulawtolin16[*p][0] ^ 0x80;
p                 342 dev/mulaw.c    		q[1] = mulawtolin16[*p][1];
p                 347 dev/mulaw.c    mulaw_to_slinear16_be_mts(void *v, u_char *p, int cc)
p                 349 dev/mulaw.c    	u_char *q = p;
p                 351 dev/mulaw.c    	p += cc;
p                 354 dev/mulaw.c    		--p;
p                 356 dev/mulaw.c    		q[0] = q[2] = mulawtolin16[*p][0] ^ 0x80;
p                 357 dev/mulaw.c    		q[1] = q[3] = mulawtolin16[*p][1];
p                 362 dev/mulaw.c    slinear16_to_mulaw_le(void *v, u_char* p, int cc)
p                 364 dev/mulaw.c    	u_char *q = p + 1;	/* q points higher byte. */
p                 367 dev/mulaw.c    		*p++ = lintomulaw[*q ^ 0x80];
p                 373 dev/mulaw.c    ulinear8_to_mulaw(void *v, u_char *p, int cc)
p                 376 dev/mulaw.c    		*p = lintomulaw[*p];
p                 377 dev/mulaw.c    		++p;
p                 382 dev/mulaw.c    slinear8_to_mulaw(void *v, u_char *p, int cc)
p                 385 dev/mulaw.c    		*p = lintomulaw[*p ^ 0x80];
p                 386 dev/mulaw.c    		++p;
p                 391 dev/mulaw.c    alaw_to_ulinear8(void *v, u_char *p, int cc)
p                 395 dev/mulaw.c    		*p = alawtolin16[*p][0];
p                 396 dev/mulaw.c    		++p;
p                 401 dev/mulaw.c    alaw_to_slinear8(void *v, u_char *p, int cc)
p                 405 dev/mulaw.c    		*p = alawtolin16[*p][0] ^ 0x80;
p                 406 dev/mulaw.c    		++p;
p                 411 dev/mulaw.c    alaw_to_ulinear16_le(void *v, u_char *p, int cc)
p                 413 dev/mulaw.c    	u_char *q = p;
p                 415 dev/mulaw.c    	p += cc;
p                 418 dev/mulaw.c    		--p;
p                 420 dev/mulaw.c    		q[1] = alawtolin16[*p][0];
p                 421 dev/mulaw.c    		q[0] = alawtolin16[*p][1];
p                 426 dev/mulaw.c    alaw_to_ulinear16_be(void *v, u_char *p, int cc)
p                 428 dev/mulaw.c    	u_char *q = p;
p                 430 dev/mulaw.c    	p += cc;
p                 433 dev/mulaw.c    		--p;
p                 435 dev/mulaw.c    		q[0] = alawtolin16[*p][0];
p                 436 dev/mulaw.c    		q[1] = alawtolin16[*p][1];
p                 441 dev/mulaw.c    alaw_to_slinear16_le(void *v, u_char *p, int cc)
p                 443 dev/mulaw.c    	u_char *q = p;
p                 445 dev/mulaw.c    	p += cc;
p                 448 dev/mulaw.c    		--p;
p                 450 dev/mulaw.c    		q[1] = alawtolin16[*p][0] ^ 0x80;
p                 451 dev/mulaw.c    		q[0] = alawtolin16[*p][1];
p                 456 dev/mulaw.c    alaw_to_slinear16_be(void *v, u_char *p, int cc)
p                 458 dev/mulaw.c    	u_char *q = p;
p                 460 dev/mulaw.c    	p += cc;
p                 463 dev/mulaw.c    		--p;
p                 465 dev/mulaw.c    		q[0] = alawtolin16[*p][0] ^ 0x80;
p                 466 dev/mulaw.c    		q[1] = alawtolin16[*p][1];
p                 471 dev/mulaw.c    ulinear8_to_alaw(void *v, u_char *p, int cc)
p                 474 dev/mulaw.c    		*p = lintoalaw[*p];
p                 475 dev/mulaw.c    		++p;
p                 480 dev/mulaw.c    slinear8_to_alaw(void *v, u_char *p, int cc)
p                 483 dev/mulaw.c    		*p = lintoalaw[*p ^ 0x80];
p                 484 dev/mulaw.c    		++p;
p                 489 dev/mulaw.c    slinear16_to_alaw_le(void *v, u_char *p, int cc)
p                 491 dev/mulaw.c    	u_char *q = p;
p                 494 dev/mulaw.c    		*p = lintoalaw[q[1] ^ 0x80];
p                 495 dev/mulaw.c    		++p;
p                 502 dev/mulaw.c    slinear16_to_alaw_be(void *v, u_char *p, int cc)
p                 504 dev/mulaw.c    	u_char *q = p;
p                 507 dev/mulaw.c    		*p = lintoalaw[q[0] ^ 0x80];
p                 508 dev/mulaw.c    		++p;
p                 517 dev/mulaw.c    mulaw_to_ulinear16_le_mts(void *v, u_char *p, int cc)
p                 519 dev/mulaw.c    	u_char *q = p;
p                 521 dev/mulaw.c    	p += cc;
p                 524 dev/mulaw.c    		--p;
p                 526 dev/mulaw.c    		q[1] = q[3] = mulawtolin16[*p][0];
p                 527 dev/mulaw.c    		q[0] = q[2] = mulawtolin16[*p][1];
p                 535 dev/mulaw.c    mulaw_to_ulinear16_be_mts(void *v, u_char *p, int cc)
p                 537 dev/mulaw.c    	u_char *q = p;
p                 539 dev/mulaw.c    	p += cc;
p                 542 dev/mulaw.c    		--p;
p                 544 dev/mulaw.c    		q[0] = q[2] = mulawtolin16[*p][0];
p                 545 dev/mulaw.c    		q[1] = q[3] = mulawtolin16[*p][1];
p                 553 dev/mulaw.c    alaw_to_slinear16_le_mts(void *v, u_char *p, int cc)
p                 555 dev/mulaw.c    	u_char *q = p;
p                 557 dev/mulaw.c    	p += cc;
p                 560 dev/mulaw.c    		--p;
p                 562 dev/mulaw.c    		q[1] = q[3] = alawtolin16[*p][0] ^ 0x80;
p                 563 dev/mulaw.c    		q[0] = q[2] = alawtolin16[*p][1];
p                 571 dev/mulaw.c    alaw_to_slinear16_be_mts(void *v, u_char *p, int cc)
p                 573 dev/mulaw.c    	u_char *q = p;
p                 575 dev/mulaw.c    	p += cc;
p                 578 dev/mulaw.c    		--p;
p                 580 dev/mulaw.c    		q[0] = q[2] = alawtolin16[*p][0] ^ 0x80;
p                 581 dev/mulaw.c    		q[1] = q[3] = alawtolin16[*p][1];
p                 586 dev/mulaw.c    alaw_to_mulaw(void *v, u_char *p, int cc)
p                 589 dev/mulaw.c    		*p = lintomulaw[alawtolin16[*p][0]];
p                 590 dev/mulaw.c    		++p;
p                 595 dev/mulaw.c    mulaw_to_alaw(void *v, u_char *p, int cc)
p                 598 dev/mulaw.c    		*p = lintoalaw[mulawtolin16[*p][0]];
p                 599 dev/mulaw.c    		++p;
p                 244 dev/onewire/onewire.c 	u_int8_t *p = buf;
p                 250 dev/onewire/onewire.c 		*p++ = onewire_read_byte(arg);
p                 258 dev/onewire/onewire.c 	const u_int8_t *p = buf;
p                 264 dev/onewire/onewire.c 		onewire_write_byte(arg, *p++);
p                  73 dev/onewire/onewire_subr.c 	const u_int8_t *p = buf;
p                  77 dev/onewire/onewire_subr.c 		crc = crctable[crc ^ *p++];
p                  64 dev/pci/agpvar.h #define AGP_BIND_PAGE(sc,o,p)	 ((sc)->sc_methods->bind_page((sc),(o),(p)))
p                  52 dev/pci/arc.c  #define DPRINTF(p...)		do { if (arcdebug) printf(p); } while (0)
p                  53 dev/pci/arc.c  #define DNPRINTF(n, p...)	do { if ((n) & arcdebug) printf(p); } while (0)
p                  56 dev/pci/arc.c  #define DPRINTF(p...)		/* p */
p                  57 dev/pci/arc.c  #define DNPRINTF(n, p...)	/* n, p */
p                1063 dev/pci/auich.c 	struct auich_dma *p;
p                1069 dev/pci/auich.c 	p = malloc(sizeof(*p), pool, flags);
p                1070 dev/pci/auich.c 	if (!p)
p                1072 dev/pci/auich.c 	bzero(p, sizeof(*p));
p                1074 dev/pci/auich.c 	p->size = size;
p                1075 dev/pci/auich.c 	if ((error = bus_dmamem_alloc(sc->dmat, p->size, NBPG, 0, p->segs,
p                1076 dev/pci/auich.c 	    1, &p->nsegs, BUS_DMA_NOWAIT)) != 0) {
p                1079 dev/pci/auich.c 		free(p, pool);
p                1083 dev/pci/auich.c 	if ((error = bus_dmamem_map(sc->dmat, p->segs, p->nsegs, p->size,
p                1084 dev/pci/auich.c 	    &p->addr, BUS_DMA_NOWAIT | BUS_DMA_COHERENT)) != 0) {
p                1087 dev/pci/auich.c 		bus_dmamem_free(sc->dmat, p->segs, p->nsegs);
p                1088 dev/pci/auich.c 		free(p, pool);
p                1092 dev/pci/auich.c 	if ((error = bus_dmamap_create(sc->dmat, p->size, 1,
p                1093 dev/pci/auich.c 	    p->size, 0, BUS_DMA_NOWAIT, &p->map)) != 0) {
p                1096 dev/pci/auich.c 		bus_dmamem_unmap(sc->dmat, p->addr, size);
p                1097 dev/pci/auich.c 		bus_dmamem_free(sc->dmat, p->segs, p->nsegs);
p                1098 dev/pci/auich.c 		free(p, pool);
p                1102 dev/pci/auich.c 	if ((error = bus_dmamap_load(sc->dmat, p->map, p->addr, p->size,
p                1106 dev/pci/auich.c 		bus_dmamap_destroy(sc->dmat, p->map);
p                1107 dev/pci/auich.c 		bus_dmamem_unmap(sc->dmat, p->addr, size);
p                1108 dev/pci/auich.c 		bus_dmamem_free(sc->dmat, p->segs, p->nsegs);
p                1109 dev/pci/auich.c 		free(p, pool);
p                1113 dev/pci/auich.c 	p->next = sc->sc_dmas;
p                1114 dev/pci/auich.c 	sc->sc_dmas = p;
p                1116 dev/pci/auich.c 	return p->addr;
p                1126 dev/pci/auich.c 	struct auich_dma *p;
p                1128 dev/pci/auich.c 	for (p = sc->sc_dmas; p->addr != ptr; p = p->next)
p                1129 dev/pci/auich.c 		if (p->next == NULL) {
p                1134 dev/pci/auich.c 	bus_dmamap_unload(sc->dmat, p->map);
p                1135 dev/pci/auich.c 	bus_dmamap_destroy(sc->dmat, p->map);
p                1136 dev/pci/auich.c 	bus_dmamem_unmap(sc->dmat, p->addr, p->size);
p                1137 dev/pci/auich.c 	bus_dmamem_free(sc->dmat, p->segs, p->nsegs);
p                1138 dev/pci/auich.c 	free(p, pool);
p                1161 dev/pci/auich.c 	struct auich_dma *p;
p                1166 dev/pci/auich.c 	for (p = sc->sc_dmas; p && p->addr != mem; p = p->next);
p                1167 dev/pci/auich.c 	if (!p)
p                1170 dev/pci/auich.c 	return bus_dmamem_mmap(sc->dmat, p->segs, p->nsegs,
p                1330 dev/pci/auich.c 	struct auich_dma *p;
p                1336 dev/pci/auich.c 	for (p = sc->sc_dmas; p && p->addr != start; p = p->next);
p                1337 dev/pci/auich.c 	if (!p)
p                1348 dev/pci/auich.c 	sc->pcmo_start = p->segs->ds_addr;
p                1381 dev/pci/auich.c 	struct auich_dma *p;
p                1387 dev/pci/auich.c 	for (p = sc->sc_dmas; p && p->addr != start; p = p->next);
p                1388 dev/pci/auich.c 	if (!p)
p                1399 dev/pci/auich.c 	sc->pcmi_start = p->segs->ds_addr;
p                1463 dev/pci/auich.c 	struct auich_dma *p;
p                1480 dev/pci/auich.c 	for (p = sc->sc_dmas; p && p->addr != temp_buffer; p = p->next)
p                1482 dev/pci/auich.c 	if (p == NULL) {
p                1488 dev/pci/auich.c 		sc->dmalist_pcmi[i].base = p->map->dm_segs[0].ds_addr;
p                  89 dev/pci/auixp.c #define KERNADDR(p)	((void *)((p)->addr))
p                  90 dev/pci/auixp.c #define	DMAADDR(p)	((p)->map->dm_segs[0].ds_addr)
p                1159 dev/pci/auixp.c auixp_freemem(struct auixp_softc *sc, struct auixp_dma *p)
p                1162 dev/pci/auixp.c 	bus_dmamap_unload(sc->sc_dmat, p->map);
p                1163 dev/pci/auixp.c 	bus_dmamap_destroy(sc->sc_dmat, p->map);
p                1164 dev/pci/auixp.c 	bus_dmamem_unmap(sc->sc_dmat, p->addr, p->size);
p                1165 dev/pci/auixp.c 	bus_dmamem_free(sc->sc_dmat, p->segs, p->nsegs);
p                1177 dev/pci/auixp.c 	struct auixp_dma *p;
p                1186 dev/pci/auixp.c 	SLIST_FOREACH(p, &sc->sc_dma_list, dma_chain) {
p                1187 dev/pci/auixp.c 		if (KERNADDR(p) == mem)
p                1192 dev/pci/auixp.c 	if (!p)
p                1196 dev/pci/auixp.c 	return bus_dmamem_mmap(sc->sc_dmat, p->segs, p->nsegs,
p                  78 dev/pci/autri.c #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr)
p                  79 dev/pci/autri.c #define KERNADDR(p) ((void *)((p)->addr))
p                 787 dev/pci/autri.c autri_intr(p)
p                 788 dev/pci/autri.c 	void *p;
p                 790 dev/pci/autri.c 	struct autri_softc *sc = p;
p                 866 dev/pci/autri.c autri_allocmem(sc, size, align, p)
p                 870 dev/pci/autri.c 	struct autri_dma *p;
p                 874 dev/pci/autri.c 	p->size = size;
p                 875 dev/pci/autri.c 	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                 876 dev/pci/autri.c 	    p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                 877 dev/pci/autri.c 	    &p->nsegs, BUS_DMA_NOWAIT);
p                 881 dev/pci/autri.c 	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size,
p                 882 dev/pci/autri.c 	    &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                 886 dev/pci/autri.c 	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                 887 dev/pci/autri.c 	    0, BUS_DMA_NOWAIT, &p->map);
p                 891 dev/pci/autri.c 	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL,
p                 898 dev/pci/autri.c 	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 900 dev/pci/autri.c 	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 902 dev/pci/autri.c 	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 907 dev/pci/autri.c autri_freemem(sc, p)
p                 909 dev/pci/autri.c 	struct autri_dma *p;
p                 911 dev/pci/autri.c 	bus_dmamap_unload(sc->sc_dmatag, p->map);
p                 912 dev/pci/autri.c 	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 913 dev/pci/autri.c 	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 914 dev/pci/autri.c 	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1005 dev/pci/autri.c 	struct audio_params *p;
p                1013 dev/pci/autri.c 		p = mode == AUMODE_PLAY ? play : rec;
p                1015 dev/pci/autri.c 		if (p->sample_rate < 4000 || p->sample_rate > 48000 ||
p                1016 dev/pci/autri.c 		    (p->precision != 8 && p->precision != 16) ||
p                1017 dev/pci/autri.c 		    (p->channels != 1 && p->channels != 2))
p                1020 dev/pci/autri.c 		p->factor = 1;
p                1021 dev/pci/autri.c 		p->sw_code = 0;
p                1022 dev/pci/autri.c 		switch (p->encoding) {
p                1025 dev/pci/autri.c 			if (p->precision == 16)
p                1026 dev/pci/autri.c 				p->sw_code = swap_bytes;
p                1033 dev/pci/autri.c 				p->sw_code = mulaw_to_ulinear8;
p                1035 dev/pci/autri.c 				p->sw_code = ulinear8_to_mulaw;
p                1040 dev/pci/autri.c 				p->sw_code = alaw_to_ulinear8;
p                1042 dev/pci/autri.c 				p->sw_code = ulinear8_to_alaw;
p                1174 dev/pci/autri.c 	struct autri_dma *p;
p                1177 dev/pci/autri.c 	p = malloc(sizeof(*p), pool, flags);
p                1178 dev/pci/autri.c 	if (!p)
p                1182 dev/pci/autri.c 	error = autri_allocmem(sc, size, 16, p);
p                1184 dev/pci/autri.c 	error = autri_allocmem(sc, size, 0x10000, p);
p                1186 dev/pci/autri.c 		free(p, pool);
p                1190 dev/pci/autri.c 	p->next = sc->sc_dmas;
p                1191 dev/pci/autri.c 	sc->sc_dmas = p;
p                1192 dev/pci/autri.c 	return KERNADDR(p);
p                1202 dev/pci/autri.c 	struct autri_dma **pp, *p;
p                1204 dev/pci/autri.c 	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->next) {
p                1205 dev/pci/autri.c 		if (KERNADDR(p) == ptr) {
p                1206 dev/pci/autri.c 			autri_freemem(sc, p);
p                1207 dev/pci/autri.c 			*pp = p->next;
p                1208 dev/pci/autri.c 			free(p, pool);
p                1219 dev/pci/autri.c 	struct autri_dma *p;
p                1221 dev/pci/autri.c 	for (p = sc->sc_dmas; p && KERNADDR(p) != addr; p = p->next)
p                1224 dev/pci/autri.c 	return p;
p                1235 dev/pci/autri.c 	struct autri_dma *p;
p                1240 dev/pci/autri.c 	p = autri_find_dma(sc, mem);
p                1241 dev/pci/autri.c 	if (!p)
p                1244 dev/pci/autri.c 	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs,
p                1402 dev/pci/autri.c 	struct autri_dma *p;
p                1413 dev/pci/autri.c 	p = autri_find_dma(sc, start);
p                1414 dev/pci/autri.c 	if (!p) {
p                1419 dev/pci/autri.c 	sc->sc_play.dma = p;
p                1446 dev/pci/autri.c 	struct autri_dma *p;
p                1458 dev/pci/autri.c 	p = autri_find_dma(sc, start);
p                1459 dev/pci/autri.c 	if (!p) {
p                1464 dev/pci/autri.c 	sc->sc_rec.dma = p;
p                 523 dev/pci/auvia.c 	struct audio_params *p;
p                 534 dev/pci/auvia.c 			p = play;
p                 537 dev/pci/auvia.c 			p = rec;
p                 547 dev/pci/auvia.c 			    (p->sample_rate / 20) / (48000 / 20);
p                 549 dev/pci/auvia.c 			if (p->channels == 2)
p                 551 dev/pci/auvia.c 			if (p->precision == 16)
p                 558 dev/pci/auvia.c 		if (ac97_set_rate(sc->codec_if, p, mode))
p                 561 dev/pci/auvia.c 		if ((p->precision != 8 && p->precision != 16) ||
p                 562 dev/pci/auvia.c 		    (p->channels != 1 && p->channels != 2))
p                 565 dev/pci/auvia.c 		p->factor = 1;
p                 566 dev/pci/auvia.c 		p->sw_code = 0;
p                 567 dev/pci/auvia.c 		switch (p->encoding) {
p                 569 dev/pci/auvia.c 			if (p->precision == 16)
p                 570 dev/pci/auvia.c 				p->sw_code = swap_bytes;
p                 572 dev/pci/auvia.c 				p->sw_code = change_sign8;
p                 575 dev/pci/auvia.c 			if (p->precision != 16)
p                 576 dev/pci/auvia.c 				p->sw_code = change_sign8;
p                 579 dev/pci/auvia.c 			if (p->precision == 16)
p                 580 dev/pci/auvia.c 				p->sw_code = mode == AUMODE_PLAY?
p                 585 dev/pci/auvia.c 			if (p->precision == 16)
p                 586 dev/pci/auvia.c 				p->sw_code = change_sign16_le;
p                 590 dev/pci/auvia.c 				p->factor = 2;
p                 591 dev/pci/auvia.c 				p->sw_code = mulaw_to_slinear16_le;
p                 593 dev/pci/auvia.c 				p->sw_code = ulinear8_to_mulaw;
p                 597 dev/pci/auvia.c 				p->factor = 2;
p                 598 dev/pci/auvia.c 				p->sw_code = alaw_to_slinear16_le;
p                 600 dev/pci/auvia.c 				p->sw_code = ulinear8_to_alaw;
p                 609 dev/pci/auvia.c 		regval = (p->channels == 2 ? AUVIA_RPMODE_STEREO : 0)
p                 610 dev/pci/auvia.c 			| (p->precision * p->factor == 16 ?
p                 704 dev/pci/auvia.c 	struct auvia_dma *p;
p                 708 dev/pci/auvia.c 	p = malloc(sizeof(*p), pool, flags);
p                 709 dev/pci/auvia.c 	if (!p)
p                 712 dev/pci/auvia.c 	p->size = size;
p                 713 dev/pci/auvia.c 	if ((error = bus_dmamem_alloc(sc->sc_dmat, size, PAGE_SIZE, 0, &p->seg,
p                 720 dev/pci/auvia.c 	if ((error = bus_dmamem_map(sc->sc_dmat, &p->seg, rseg, size, &p->addr,
p                 728 dev/pci/auvia.c 	    BUS_DMA_NOWAIT, &p->map)) != 0) {
p                 734 dev/pci/auvia.c 	if ((error = bus_dmamap_load(sc->sc_dmat, p->map, p->addr, size, NULL,
p                 741 dev/pci/auvia.c 	p->next = sc->sc_dmas;
p                 742 dev/pci/auvia.c 	sc->sc_dmas = p;
p                 744 dev/pci/auvia.c 	return p->addr;
p                 748 dev/pci/auvia.c 	bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 750 dev/pci/auvia.c 	bus_dmamem_unmap(sc->sc_dmat, p->addr, size);
p                 752 dev/pci/auvia.c 	bus_dmamem_free(sc->sc_dmat, &p->seg, 1);
p                 754 dev/pci/auvia.c 	free(p, pool);
p                 763 dev/pci/auvia.c 	struct auvia_dma **pp, *p;
p                 765 dev/pci/auvia.c 	for (pp = &(sc->sc_dmas); (p = *pp) != NULL; pp = &p->next)
p                 766 dev/pci/auvia.c 		if (p->addr == ptr) {
p                 767 dev/pci/auvia.c 			bus_dmamap_unload(sc->sc_dmat, p->map);
p                 768 dev/pci/auvia.c 			bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 769 dev/pci/auvia.c 			bus_dmamem_unmap(sc->sc_dmat, p->addr, p->size);
p                 770 dev/pci/auvia.c 			bus_dmamem_free(sc->sc_dmat, &p->seg, 1);
p                 772 dev/pci/auvia.c 			*pp = p->next;
p                 773 dev/pci/auvia.c 			free(p, pool);
p                 784 dev/pci/auvia.c 	struct auvia_dma *p;
p                 789 dev/pci/auvia.c 	for (p = sc->sc_dmas; p && p->addr != mem; p = p->next)
p                 792 dev/pci/auvia.c 	if (!p)
p                 795 dev/pci/auvia.c 	return bus_dmamem_mmap(sc->sc_dmat, &p->seg, 1, off, prot,
p                 810 dev/pci/auvia.c     struct auvia_dma *p, void *start, void *end, int blksize)
p                 818 dev/pci/auvia.c 	s = p->map->dm_segs[0].ds_addr;
p                 865 dev/pci/auvia.c 	struct auvia_dma *p;
p                 867 dev/pci/auvia.c 	for (p = sc->sc_dmas; p && p->addr != start; p = p->next)
p                 870 dev/pci/auvia.c 	if (!p)
p                 874 dev/pci/auvia.c 	if (auvia_build_dma_ops(sc, ch, p, start, end, blksize)) {
p                 911 dev/pci/auvia.c 	struct auvia_dma *p;
p                 913 dev/pci/auvia.c 	for (p = sc->sc_dmas; p && p->addr != start; p = p->next)
p                 916 dev/pci/auvia.c 	if (!p)
p                 920 dev/pci/auvia.c 	if (auvia_build_dma_ops(sc, ch, p, start, end, blksize))
p                 150 dev/pci/azalia.c #define AZALIA_DMA_DMAADDR(p)	((p)->map->dm_segs[0].ds_addr)
p                 343 dev/pci/azalia.c #define PCI_ID_CODE0(v, p)	PCI_ID_CODE(PCI_VENDOR_##v, PCI_PRODUCT_##v##_##p)
p                1973 dev/pci/azalia.c azalia_set_params(void *v, int smode, int umode, audio_params_t *p,
p                2017 dev/pci/azalia.c 	if (smode & AUMODE_PLAY && p != NULL) {
p                2018 dev/pci/azalia.c 		if (p->encoding == AUDIO_ENCODING_ULAW) {	 /*XXX*/
p                2019 dev/pci/azalia.c 			p->encoding = AUDIO_ENCODING_SLINEAR_LE;
p                2020 dev/pci/azalia.c 			p->precision = 16;
p                2021 dev/pci/azalia.c 			p->channels = 2;
p                2022 dev/pci/azalia.c 			p->sample_rate = 44100;
p                2025 dev/pci/azalia.c 			if (p->encoding != codec->formats[i].encoding)
p                2027 dev/pci/azalia.c 			if (p->precision != codec->formats[i].precision)
p                2029 dev/pci/azalia.c 			if (p->channels != codec->formats[i].channels)
p                2039 dev/pci/azalia.c 			if (p->sample_rate != codec->formats[i].frequency[j])
p                2045 dev/pci/azalia.c 			    p->sample_rate);
p                2048 dev/pci/azalia.c 		p->sw_code = pswcode;
p                 349 dev/pci/bktr/bktr_os.c bktr_open(dev_t dev, int flags, int fmt, struct proc *p)
p                 382 dev/pci/bktr/bktr_os.c bktr_close(dev_t dev, int flags, int fmt, struct proc *p)
p                 632 dev/pci/cmpci.c 		struct audio_params *p;
p                 637 dev/pci/cmpci.c 			p = play;
p                 641 dev/pci/cmpci.c 			p = rec;
p                 651 dev/pci/cmpci.c 		p->sw_code = NULL;
p                 652 dev/pci/cmpci.c 		switch (p->channels) {
p                 662 dev/pci/cmpci.c 		switch (p->encoding) {
p                 664 dev/pci/cmpci.c 			if (p->precision != 8)
p                 667 dev/pci/cmpci.c 				p->factor = 2;
p                 668 dev/pci/cmpci.c 				p->sw_code = mulaw_to_slinear16_le;
p                 671 dev/pci/cmpci.c 				p->sw_code = ulinear8_to_mulaw;
p                 676 dev/pci/cmpci.c 			if (p->precision != 8)
p                 679 dev/pci/cmpci.c 				p->factor = 2;
p                 680 dev/pci/cmpci.c 				p->sw_code = alaw_to_slinear16_le;
p                 683 dev/pci/cmpci.c 				p->sw_code = ulinear8_to_alaw;
p                 688 dev/pci/cmpci.c 			switch (p->precision) {
p                 690 dev/pci/cmpci.c 				p->sw_code = change_sign8;
p                 701 dev/pci/cmpci.c 			switch (p->precision) {
p                 704 dev/pci/cmpci.c 				p->sw_code = change_sign8;
p                 708 dev/pci/cmpci.c 				p->sw_code = swap_bytes;
p                 715 dev/pci/cmpci.c 			switch (p->precision) {
p                 721 dev/pci/cmpci.c 				p->sw_code = change_sign16_le;
p                 728 dev/pci/cmpci.c 			switch (p->precision) {
p                 735 dev/pci/cmpci.c 					p->sw_code =
p                 738 dev/pci/cmpci.c 					p->sw_code =
p                 759 dev/pci/cmpci.c 		md_index = cmpci_rate_to_index(p->sample_rate);
p                 761 dev/pci/cmpci.c 		p->sample_rate = cmpci_index_to_rate(md_index);
p                 763 dev/pci/cmpci.c 			 sc->sc_dev.dv_xname, (int)p->sample_rate, md_divide));
p                1182 dev/pci/cmpci.c 	struct cmpci_dmanode *p;
p                1184 dev/pci/cmpci.c 	for (p = sc->sc_dmap; p; p = p->cd_next) {
p                1185 dev/pci/cmpci.c 		if (KVADDR(p) == (void *)addr)
p                1188 dev/pci/cmpci.c 	return p;
p                1192 dev/pci/cmpci.c void cmpci_print_dmamem(struct cmpci_dmanode *p);
p                1195 dev/pci/cmpci.c cmpci_print_dmamem(struct cmpci_dmanode *p)
p                1198 dev/pci/cmpci.c 		 (void *)p->cd_addr, (void *)p->cd_segs[0].ds_addr,
p                1199 dev/pci/cmpci.c 		 (void *)DMAADDR(p), (void *)p->cd_size));
p                1736 dev/pci/cmpci.c 	struct cmpci_dmanode *p;
p                1738 dev/pci/cmpci.c 	if (offset < 0 || NULL == (p = cmpci_find_dmamem(sc, addr)))
p                1741 dev/pci/cmpci.c 	return bus_dmamem_mmap(p->cd_tag, p->cd_segs,
p                1742 dev/pci/cmpci.c 		   sizeof(p->cd_segs)/sizeof(p->cd_segs[0]),
p                1758 dev/pci/cmpci.c 	struct cmpci_dmanode *p;
p                1768 dev/pci/cmpci.c 	if (!(p = cmpci_find_dmamem(sc, start)))
p                1771 dev/pci/cmpci.c 	    DMAADDR(p));
p                1795 dev/pci/cmpci.c 	struct cmpci_dmanode *p;
p                1805 dev/pci/cmpci.c 	if (!(p = cmpci_find_dmamem(sc, start)))
p                1808 dev/pci/cmpci.c 	    DMAADDR(p));
p                 101 dev/pci/cs4280.c #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr)
p                 102 dev/pci/cs4280.c #define BUFADDR(p)  ((void *)((p)->dum))
p                 103 dev/pci/cs4280.c #define KERNADDR(p) ((void *)((p)->addr))
p                 670 dev/pci/cs4280.c cs4280_intr(p)
p                 671 dev/pci/cs4280.c 	void *p;
p                 695 dev/pci/cs4280.c 	struct cs4280_softc *sc = p;
p                1107 dev/pci/cs4280.c 	struct audio_params *p;
p                1115 dev/pci/cs4280.c 		p = mode == AUMODE_PLAY ? play : rec;
p                1117 dev/pci/cs4280.c 		if (p == play) {
p                1119 dev/pci/cs4280.c 				p->sample_rate, p->precision, p->channels));
p                1124 dev/pci/cs4280.c 			if (p->sample_rate < 8000 || p->sample_rate > 48000 ||
p                1125 dev/pci/cs4280.c 			    (p->precision != 8 && p->precision != 16) ||
p                1126 dev/pci/cs4280.c 			    (p->channels != 1  && p->channels != 2) ) {
p                1131 dev/pci/cs4280.c 				p->sample_rate, p->precision, p->channels));
p                1140 dev/pci/cs4280.c 			if (p->sample_rate < 8000 || p->sample_rate > 48000 ||
p                1141 dev/pci/cs4280.c 			    (p->precision != 8 && p->precision != 16) ||
p                1142 dev/pci/cs4280.c 			    (p->channels  != 1 && p->channels  != 2) ) {
p                1146 dev/pci/cs4280.c 		p->factor  = 1;
p                1147 dev/pci/cs4280.c 		p->sw_code = 0;
p                1150 dev/pci/cs4280.c 		switch (p->encoding) {
p                1153 dev/pci/cs4280.c 				if (p->precision == 16)
p                1154 dev/pci/cs4280.c 					p->sw_code = swap_bytes;
p                1161 dev/pci/cs4280.c 				if (p->precision == 16)
p                1162 dev/pci/cs4280.c 					p->sw_code = change_sign16_swap_bytes;
p                1164 dev/pci/cs4280.c 					p->sw_code = change_sign8;
p                1169 dev/pci/cs4280.c 				if (p->precision == 16)
p                1170 dev/pci/cs4280.c 					p->sw_code = change_sign16;
p                1172 dev/pci/cs4280.c 					p->sw_code = change_sign8;
p                1177 dev/pci/cs4280.c 				p->factor = 2;
p                1178 dev/pci/cs4280.c 				p->sw_code = mulaw_to_slinear16;
p                1180 dev/pci/cs4280.c 				p->sw_code = slinear8_to_mulaw;
p                1185 dev/pci/cs4280.c 				p->factor = 2;
p                1186 dev/pci/cs4280.c 				p->sw_code = alaw_to_slinear16;
p                1188 dev/pci/cs4280.c 				p->sw_code = slinear8_to_alaw;
p                1255 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1259 dev/pci/cs4280.c 	for (p = sc->sc_dmas; p && BUFADDR(p) != mem; p = p->next)
p                1261 dev/pci/cs4280.c 	if (!p) {
p                1265 dev/pci/cs4280.c 	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs, 
p                1343 dev/pci/cs4280.c cs4280_freemem(sc, p)
p                1345 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1347 dev/pci/cs4280.c 	bus_dmamap_unload(sc->sc_dmatag, p->map);
p                1348 dev/pci/cs4280.c 	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1349 dev/pci/cs4280.c 	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1350 dev/pci/cs4280.c 	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1355 dev/pci/cs4280.c cs4280_allocmem(sc, size, align, p)
p                1359 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1364 dev/pci/cs4280.c 	p->size = size;
p                1365 dev/pci/cs4280.c 	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                1366 dev/pci/cs4280.c 				 p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                1367 dev/pci/cs4280.c 				 &p->nsegs, BUS_DMA_NOWAIT);
p                1374 dev/pci/cs4280.c 	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size, 
p                1375 dev/pci/cs4280.c 			       &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                1382 dev/pci/cs4280.c 	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                1383 dev/pci/cs4280.c 				  0, BUS_DMA_NOWAIT, &p->map);
p                1390 dev/pci/cs4280.c 	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL, 
p                1400 dev/pci/cs4280.c 	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1402 dev/pci/cs4280.c 	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1404 dev/pci/cs4280.c 	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1417 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1425 dev/pci/cs4280.c 	p = malloc(sizeof(*p), pool, flags);
p                1426 dev/pci/cs4280.c 	if (!p) {
p                1433 dev/pci/cs4280.c 	error = cs4280_allocmem(sc, CS4280_DCHUNK, CS4280_DALIGN, p);
p                1437 dev/pci/cs4280.c 		free(p, pool);
p                1441 dev/pci/cs4280.c 	p->next = sc->sc_dmas;
p                1442 dev/pci/cs4280.c 	sc->sc_dmas = p;
p                1443 dev/pci/cs4280.c 	p->dum = q; /* return to audio driver */
p                1445 dev/pci/cs4280.c 	return (p->dum);
p                1455 dev/pci/cs4280.c 	struct cs4280_dma **pp, *p;
p                1457 dev/pci/cs4280.c 	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->next) {
p                1458 dev/pci/cs4280.c 		if (BUFADDR(p) == ptr) {
p                1459 dev/pci/cs4280.c 			cs4280_freemem(sc, p);
p                1460 dev/pci/cs4280.c 			*pp = p->next;
p                1461 dev/pci/cs4280.c 			free(p->dum, pool);
p                1462 dev/pci/cs4280.c 			free(p, pool);
p                1479 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1505 dev/pci/cs4280.c 	for (p = sc->sc_dmas; p != NULL && BUFADDR(p) != start; p = p->next)
p                1507 dev/pci/cs4280.c 	if (p == NULL) {
p                1511 dev/pci/cs4280.c 	if (DMAADDR(p) % CS4280_DALIGN != 0 ) {
p                1513 dev/pci/cs4280.c 		       "4kB align\n", DMAADDR(p));
p                1520 dev/pci/cs4280.c 	sc->sc_pdma = p;
p                1521 dev/pci/cs4280.c 	sc->sc_pbuf = KERNADDR(p);
p                1534 dev/pci/cs4280.c 	BA1WRITE4(sc, CS4280_PBA, DMAADDR(p));
p                1572 dev/pci/cs4280.c 	struct cs4280_dma *p;
p                1605 dev/pci/cs4280.c 	for (p = sc->sc_dmas; p && BUFADDR(p) != start; p = p->next)
p                1607 dev/pci/cs4280.c 	if (!p) {
p                1611 dev/pci/cs4280.c 	if (DMAADDR(p) % CS4280_DALIGN != 0) {
p                1613 dev/pci/cs4280.c 		       "4kB align\n", DMAADDR(p));
p                1616 dev/pci/cs4280.c 	sc->sc_rdma = p;
p                1617 dev/pci/cs4280.c 	sc->sc_rbuf = KERNADDR(p);
p                1620 dev/pci/cs4280.c 	BA1WRITE4(sc, CS4280_CBA, DMAADDR(p));
p                  77 dev/pci/cs4281.c #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr)
p                  78 dev/pci/cs4281.c #define BUFADDR(p)  ((void *)((p)->dum))
p                  79 dev/pci/cs4281.c #define KERNADDR(p) ((void *)((p)->addr))
p                 388 dev/pci/cs4281.c cs4281_intr(p)
p                 389 dev/pci/cs4281.c 	void *p;
p                 391 dev/pci/cs4281.c 	struct cs4281_softc *sc = p;
p                 518 dev/pci/cs4281.c 	struct audio_params *p;
p                 526 dev/pci/cs4281.c 		p = mode == AUMODE_PLAY ? play : rec;
p                 528 dev/pci/cs4281.c 		if (p == play) {
p                 530 dev/pci/cs4281.c 				p->sample_rate, p->precision, p->channels));
p                 531 dev/pci/cs4281.c 			if (p->sample_rate < 6023 || p->sample_rate > 48000 ||
p                 532 dev/pci/cs4281.c 			    (p->precision != 8 && p->precision != 16) ||
p                 533 dev/pci/cs4281.c 			    (p->channels != 1  && p->channels != 2)) {
p                 538 dev/pci/cs4281.c 				p->sample_rate, p->precision, p->channels));
p                 539 dev/pci/cs4281.c 			if (p->sample_rate < 6023 || p->sample_rate > 48000 ||
p                 540 dev/pci/cs4281.c 			    (p->precision != 8 && p->precision != 16) ||
p                 541 dev/pci/cs4281.c 			    (p->channels != 1 && p->channels != 2)) {
p                 545 dev/pci/cs4281.c 		p->factor = 1;
p                 546 dev/pci/cs4281.c 		p->sw_code = 0;
p                 548 dev/pci/cs4281.c 		switch (p->encoding) {
p                 559 dev/pci/cs4281.c 				p->sw_code = mulaw_to_slinear8;
p                 561 dev/pci/cs4281.c 				p->sw_code = slinear8_to_mulaw;
p                 566 dev/pci/cs4281.c 				p->sw_code = alaw_to_slinear8;
p                 568 dev/pci/cs4281.c 				p->sw_code = slinear8_to_alaw;
p                 630 dev/pci/cs4281.c 	struct cs4281_dma *p;
p                 650 dev/pci/cs4281.c 	for (p = sc->sc_dmas; p != NULL && BUFADDR(p) != start; p = p->next)
p                 652 dev/pci/cs4281.c 	if (p == NULL) {
p                 660 dev/pci/cs4281.c 	sc->sc_pdma = p;
p                 661 dev/pci/cs4281.c 	sc->sc_pbuf = KERNADDR(p);
p                 680 dev/pci/cs4281.c 		 (int)DMAADDR(p), dma_count));
p                 681 dev/pci/cs4281.c 	BA0WRITE4(sc, CS4281_DBA0, DMAADDR(p));
p                 733 dev/pci/cs4281.c 	struct cs4281_dma *p;
p                 751 dev/pci/cs4281.c 	for (p = sc->sc_dmas; p && BUFADDR(p) != start; p = p->next)
p                 753 dev/pci/cs4281.c 	if (!p) {
p                 761 dev/pci/cs4281.c 	sc->sc_rdma = p;
p                 762 dev/pci/cs4281.c 	sc->sc_rbuf = KERNADDR(p);
p                 773 dev/pci/cs4281.c 		 (int)DMAADDR(p), dma_count));
p                 774 dev/pci/cs4281.c 	BA0WRITE4(sc, CS4281_DBA1, DMAADDR(p));
p                1354 dev/pci/cs4281.c 	struct cs4281_dma   *p;
p                1359 dev/pci/cs4281.c 	p = malloc(sizeof(*p), pool, flags);
p                1360 dev/pci/cs4281.c 	if (!p)
p                1363 dev/pci/cs4281.c 	error = cs4281_allocmem(sc, size, pool, flags, p);
p                1366 dev/pci/cs4281.c 		free(p, pool);
p                1370 dev/pci/cs4281.c 	p->next = sc->sc_dmas;
p                1371 dev/pci/cs4281.c 	sc->sc_dmas = p;
p                1372 dev/pci/cs4281.c 	return (BUFADDR(p));
p                1381 dev/pci/cs4281.c 	struct cs4281_dma **pp, *p;
p                1384 dev/pci/cs4281.c 	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->next) {
p                1385 dev/pci/cs4281.c 		if (BUFADDR(p) == ptr) {
p                1386 dev/pci/cs4281.c 			bus_dmamap_unload(sc->sc_dmatag, p->map);
p                1387 dev/pci/cs4281.c 			bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1388 dev/pci/cs4281.c 			bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1389 dev/pci/cs4281.c 			bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1390 dev/pci/cs4281.c 			free(p->dum, pool);
p                1391 dev/pci/cs4281.c 			*pp = p->next;
p                1392 dev/pci/cs4281.c 			free(p, pool);
p                1414 dev/pci/cs4281.c 	struct cs4281_dma *p;
p                1420 dev/pci/cs4281.c 	for (p = sc->sc_dmas; p && BUFADDR(p) != mem; p = p->next)
p                1423 dev/pci/cs4281.c 	if (!p) {
p                1428 dev/pci/cs4281.c 	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs, off, prot,
p                1527 dev/pci/cs4281.c 		struct cs4281_dma *p)
p                1533 dev/pci/cs4281.c 	p->size = sc->dma_size;
p                1535 dev/pci/cs4281.c 	p->dum  = malloc(size, pool, flags);
p                1536 dev/pci/cs4281.c 	if (!p->dum)
p                1538 dev/pci/cs4281.c 	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                1539 dev/pci/cs4281.c 				 p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                1540 dev/pci/cs4281.c 				 &p->nsegs, BUS_DMA_NOWAIT);
p                1547 dev/pci/cs4281.c 	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size,
p                1548 dev/pci/cs4281.c 			       &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                1555 dev/pci/cs4281.c 	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                1556 dev/pci/cs4281.c 				  0, BUS_DMA_NOWAIT, &p->map);
p                1563 dev/pci/cs4281.c 	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL,
p                1573 dev/pci/cs4281.c 	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1575 dev/pci/cs4281.c 	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1577 dev/pci/cs4281.c 	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 951 dev/pci/cz.c   czttyopen(dev_t dev, int flags, int mode, struct proc *p)
p                 969 dev/pci/cz.c   	    p->p_ucred->cr_uid != 0)
p                1070 dev/pci/cz.c   czttyclose(dev_t dev, int flags, int mode, struct proc *p)
p                1129 dev/pci/cz.c   czttypoll(dev_t dev, int events, struct proc p)
p                1134 dev/pci/cz.c   	return ((*linesw[tp->t_line].l_poll)(tp, events, p));
p                1144 dev/pci/cz.c   czttyioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                1150 dev/pci/cz.c   	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                1154 dev/pci/cz.c   	error = ttioctl(tp, cmd, data, flag, p);
p                1176 dev/pci/cz.c   		error = suser(p, 0);
p                1568 dev/pci/cz.c   #define	TX_MOVEABLE(g, p, s)	(((g) > (p)) ? ((g) - (p) - 1) : ((s) - (p)))
p                1569 dev/pci/cz.c   #define RX_MOVEABLE(g, p, s)	(((g) > (p)) ? ((s) - (g)) : ((p) - (g)))
p                 110 dev/pci/eap.c  #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr)
p                 111 dev/pci/eap.c  #define KERNADDR(p) ((void *)((p)->addr))
p                 749 dev/pci/eap.c  eap_intr(void *p)
p                 751 dev/pci/eap.c  	struct eap_softc *sc = p;
p                 810 dev/pci/eap.c  eap_allocmem(struct eap_softc *sc, size_t size, size_t align, struct eap_dma *p)
p                 814 dev/pci/eap.c  	p->size = size;
p                 815 dev/pci/eap.c  	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                 816 dev/pci/eap.c  	    p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                 817 dev/pci/eap.c  	    &p->nsegs, BUS_DMA_NOWAIT);
p                 821 dev/pci/eap.c  	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size,
p                 822 dev/pci/eap.c  	    &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                 826 dev/pci/eap.c  	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                 827 dev/pci/eap.c  	    0, BUS_DMA_NOWAIT, &p->map);
p                 831 dev/pci/eap.c  	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL,
p                 838 dev/pci/eap.c  	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 840 dev/pci/eap.c  	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 842 dev/pci/eap.c  	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 847 dev/pci/eap.c  eap_freemem(struct eap_softc *sc, struct eap_dma *p)
p                 849 dev/pci/eap.c  	bus_dmamap_unload(sc->sc_dmatag, p->map);
p                 850 dev/pci/eap.c  	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 851 dev/pci/eap.c  	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 852 dev/pci/eap.c  	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 939 dev/pci/eap.c  	struct audio_params *p;
p                 965 dev/pci/eap.c  		p = mode == AUMODE_PLAY ? play : rec;
p                 967 dev/pci/eap.c  		if (p->sample_rate < 4000 || p->sample_rate > 48000 ||
p                 968 dev/pci/eap.c  		    (p->precision != 8 && p->precision != 16) ||
p                 969 dev/pci/eap.c  		    (p->channels != 1 && p->channels != 2))
p                 972 dev/pci/eap.c  		p->factor = 1;
p                 973 dev/pci/eap.c  		p->sw_code = 0;
p                 974 dev/pci/eap.c  		switch (p->encoding) {
p                 976 dev/pci/eap.c  			if (p->precision == 16)
p                 977 dev/pci/eap.c  				p->sw_code = swap_bytes;
p                 979 dev/pci/eap.c  				p->sw_code = change_sign8;
p                 982 dev/pci/eap.c  			if (p->precision != 16)
p                 983 dev/pci/eap.c  				p->sw_code = change_sign8;
p                 986 dev/pci/eap.c  			if (p->precision == 16) {
p                 988 dev/pci/eap.c  					p->sw_code = swap_bytes_change_sign16_le;
p                 990 dev/pci/eap.c  					p->sw_code = change_sign16_swap_bytes_le;
p                 994 dev/pci/eap.c  			if (p->precision == 16)
p                 995 dev/pci/eap.c  				p->sw_code = change_sign16_le;
p                 999 dev/pci/eap.c  				p->factor = 2;
p                1000 dev/pci/eap.c  				p->sw_code = mulaw_to_slinear16_le;
p                1002 dev/pci/eap.c  				p->sw_code = ulinear8_to_mulaw;
p                1006 dev/pci/eap.c  				p->factor = 2;
p                1007 dev/pci/eap.c  				p->sw_code = alaw_to_slinear16_le;
p                1009 dev/pci/eap.c  				p->sw_code = ulinear8_to_alaw;
p                1062 dev/pci/eap.c  	struct eap_dma *p;
p                1092 dev/pci/eap.c  	for (p = sc->sc_dmas; p && KERNADDR(p) != start; p = p->next)
p                1094 dev/pci/eap.c  	if (!p) {
p                1100 dev/pci/eap.c  	    (int)DMAADDR(p),
p                1103 dev/pci/eap.c  	EWRITE4(sc, EAP_DAC2_ADDR, DMAADDR(p));
p                1131 dev/pci/eap.c  	struct eap_dma *p;
p                1160 dev/pci/eap.c  	for (p = sc->sc_dmas; p && KERNADDR(p) != start; p = p->next)
p                1162 dev/pci/eap.c  	if (!p) {
p                1168 dev/pci/eap.c  	    (int)DMAADDR(p),
p                1171 dev/pci/eap.c  	EWRITE4(sc, EAP_ADC_ADDR, DMAADDR(p));
p                1614 dev/pci/eap.c  	struct eap_dma *p;
p                1617 dev/pci/eap.c  	p = malloc(sizeof(*p), pool, flags);
p                1618 dev/pci/eap.c  	if (!p)
p                1620 dev/pci/eap.c  	error = eap_allocmem(sc, size, 16, p);
p                1622 dev/pci/eap.c  		free(p, pool);
p                1625 dev/pci/eap.c  	p->next = sc->sc_dmas;
p                1626 dev/pci/eap.c  	sc->sc_dmas = p;
p                1627 dev/pci/eap.c  	return (KERNADDR(p));
p                1634 dev/pci/eap.c  	struct eap_dma **pp, *p;
p                1636 dev/pci/eap.c  	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->next) {
p                1637 dev/pci/eap.c  		if (KERNADDR(p) == ptr) {
p                1638 dev/pci/eap.c  			eap_freemem(sc, p);
p                1639 dev/pci/eap.c  			*pp = p->next;
p                1640 dev/pci/eap.c  			free(p, pool);
p                1650 dev/pci/eap.c  	struct eap_dma *p;
p                1654 dev/pci/eap.c  	for (p = sc->sc_dmas; p && KERNADDR(p) != mem; p = p->next)
p                1656 dev/pci/eap.c  	if (!p)
p                1658 dev/pci/eap.c  	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs,
p                 128 dev/pci/emuxki.c int emuxki_set_vparms(struct emuxki_voice *voice, struct audio_params *p);
p                2115 dev/pci/emuxki.c emuxki_set_vparms(struct emuxki_voice *voice, struct audio_params *p)
p                2121 dev/pci/emuxki.c 	p->factor = 1;
p                2122 dev/pci/emuxki.c 	p->sw_code = NULL;
p                2123 dev/pci/emuxki.c 	if (p->channels != 1 && p->channels != 2)
p                2131 dev/pci/emuxki.c 		b16 = (p->precision == 16);
p                2134 dev/pci/emuxki.c 		if (p->precision == 8)
p                2135 dev/pci/emuxki.c 			p->factor *= 2;
p                2138 dev/pci/emuxki.c 	switch (p->encoding) {
p                2141 dev/pci/emuxki.c 			p->factor = 2;
p                2142 dev/pci/emuxki.c 			p->sw_code = mulaw_to_slinear16_le;
p                2145 dev/pci/emuxki.c 			p->sw_code = slinear16_to_mulaw_le;
p                2150 dev/pci/emuxki.c 			p->factor = 2;
p                2151 dev/pci/emuxki.c 			p->sw_code = alaw_to_slinear16_le;
p                2154 dev/pci/emuxki.c 			p->sw_code = slinear16_to_alaw_le;
p                2158 dev/pci/emuxki.c 		if (p->precision == 8) {
p                2160 dev/pci/emuxki.c 				p->sw_code = change_sign8;
p                2162 dev/pci/emuxki.c 				p->sw_code = linear16_to_linear8_le;
p                2167 dev/pci/emuxki.c 		if (p->precision == 16)
p                2168 dev/pci/emuxki.c 			p->sw_code = change_sign16_le;
p                2170 dev/pci/emuxki.c 			p->sw_code = slinear16_to_ulinear8_le;
p                2174 dev/pci/emuxki.c 		if (p->precision == 16)
p                2175 dev/pci/emuxki.c 			p->sw_code = swap_bytes;
p                2178 dev/pci/emuxki.c 				p->sw_code = change_sign8;
p                2180 dev/pci/emuxki.c 				p->sw_code = linear16_to_linear8_le;
p                2185 dev/pci/emuxki.c 		if (p->precision == 16) {
p                2187 dev/pci/emuxki.c 				p->sw_code = swap_bytes_change_sign16_le;
p                2189 dev/pci/emuxki.c 				p->sw_code = change_sign16_swap_bytes_le;
p                2191 dev/pci/emuxki.c 			p->sw_code = slinear16_to_ulinear8_le;
p                2198 dev/pci/emuxki.c 	return (emuxki_voice_set_audioparms(voice, p->channels == 2,
p                2199 dev/pci/emuxki.c 				     b16, p->sample_rate));
p                2208 dev/pci/emuxki.c 	struct audio_params *p;
p                2215 dev/pci/emuxki.c 		p = (mode == AUMODE_PLAY) ? play : rec;
p                2219 dev/pci/emuxki.c 						sc->pvoice : sc->rvoice, p)))
p                 259 dev/pci/esa.c  	struct audio_params *p;
p                 269 dev/pci/esa.c  			p = play;
p                 273 dev/pci/esa.c  			p = rec;
p                 278 dev/pci/esa.c  		if (p->sample_rate < ESA_MINRATE ||
p                 279 dev/pci/esa.c  		    p->sample_rate > ESA_MAXRATE ||
p                 280 dev/pci/esa.c  		    (p->precision != 8 && p->precision != 16) ||
p                 281 dev/pci/esa.c  		    (p->channels < 1 || p->channels > 2))
p                 284 dev/pci/esa.c  		p->factor = 1;
p                 285 dev/pci/esa.c  		p->sw_code = 0;
p                 287 dev/pci/esa.c  		switch(p->encoding) {
p                 289 dev/pci/esa.c  			if (p->precision == 16)
p                 290 dev/pci/esa.c  				p->sw_code = swap_bytes;
p                 292 dev/pci/esa.c  				p->sw_code = change_sign8;
p                 295 dev/pci/esa.c  			if (p->precision != 16)
p                 296 dev/pci/esa.c  				p->sw_code = change_sign8;
p                 299 dev/pci/esa.c  			if (p->precision == 16) {
p                 301 dev/pci/esa.c  					p->sw_code =
p                 304 dev/pci/esa.c  					p->sw_code =
p                 309 dev/pci/esa.c  			if (p->precision == 16)
p                 310 dev/pci/esa.c  				p->sw_code = change_sign16_le;
p                 314 dev/pci/esa.c  				p->factor = 2;
p                 315 dev/pci/esa.c  				p->sw_code = mulaw_to_slinear16_le;
p                 317 dev/pci/esa.c  				p->sw_code = ulinear8_to_mulaw;
p                 321 dev/pci/esa.c  				p->factor = 2;
p                 322 dev/pci/esa.c  				p->sw_code = alaw_to_slinear16_le;
p                 324 dev/pci/esa.c  				p->sw_code = ulinear8_to_alaw;
p                 330 dev/pci/esa.c  		ch->mode = *p;
p                 341 dev/pci/esa.c  	struct audio_params *p = &vc->play.mode;
p                 352 dev/pci/esa.c  	if (p->channels == 1)
p                 359 dev/pci/esa.c  	if (p->precision * p->factor == 8)
p                 366 dev/pci/esa.c  	if ((freq = ((p->sample_rate << 15) + 24000) / 48000) != 0) {
p                 493 dev/pci/esa.c  	struct esa_dma *p;
p                 496 dev/pci/esa.c  	p = malloc(sizeof(*p), type, flags);
p                 497 dev/pci/esa.c  	if (!p)
p                 499 dev/pci/esa.c  	error = esa_allocmem(sc, size, 16, p);
p                 501 dev/pci/esa.c  		free(p, type);
p                 506 dev/pci/esa.c  	p->next = vc->dma;
p                 507 dev/pci/esa.c  	vc->dma = p;
p                 509 dev/pci/esa.c  	return (KERNADDR(p));
p                 517 dev/pci/esa.c  	struct esa_dma *p;
p                 520 dev/pci/esa.c  	for (pp = &vc->dma; (p = *pp) != NULL; pp = &p->next)
p                 521 dev/pci/esa.c  		if (KERNADDR(p) == addr) {
p                 522 dev/pci/esa.c  			esa_freemem(sc, p);
p                 523 dev/pci/esa.c  			*pp = p->next;
p                 524 dev/pci/esa.c  			free(p, type);
p                 592 dev/pci/esa.c  	struct esa_dma *p;
p                 613 dev/pci/esa.c  	for (p = vc->dma; p && KERNADDR(p) != start; p = p->next)
p                 615 dev/pci/esa.c  	if (!p) {
p                 628 dev/pci/esa.c  	bufaddr = DMAADDR(p);
p                 726 dev/pci/esa.c  	struct esa_dma *p;
p                 752 dev/pci/esa.c  	for (p = vc->dma; p && KERNADDR(p) != start; p = p->next)
p                 754 dev/pci/esa.c  	if (!p) {
p                 767 dev/pci/esa.c  	bufaddr = DMAADDR(p);
p                 942 dev/pci/esa.c  		struct esa_dma *p)
p                 946 dev/pci/esa.c  	p->size = size;
p                 947 dev/pci/esa.c  	error = bus_dmamem_alloc(sc->sc_dmat, p->size, align, 0,
p                 948 dev/pci/esa.c  				 p->segs, sizeof(p->segs) / sizeof(p->segs[0]),
p                 949 dev/pci/esa.c  				 &p->nsegs, BUS_DMA_NOWAIT);
p                 953 dev/pci/esa.c  	error = bus_dmamem_map(sc->sc_dmat, p->segs, p->nsegs, p->size,
p                 954 dev/pci/esa.c  				&p->addr, BUS_DMA_NOWAIT | BUS_DMA_COHERENT);
p                 958 dev/pci/esa.c  	error = bus_dmamap_create(sc->sc_dmat, p->size, 1, p->size, 0,
p                 959 dev/pci/esa.c  				  BUS_DMA_NOWAIT, &p->map);
p                 963 dev/pci/esa.c  	error = bus_dmamap_load(sc->sc_dmat, p->map, p->addr, p->size, NULL,
p                 971 dev/pci/esa.c  	bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 973 dev/pci/esa.c  	bus_dmamem_unmap(sc->sc_dmat, p->addr, p->size);
p                 975 dev/pci/esa.c  	bus_dmamem_free(sc->sc_dmat, p->segs, p->nsegs);
p                 981 dev/pci/esa.c  esa_freemem(struct esa_softc *sc, struct esa_dma *p)
p                 984 dev/pci/esa.c  	bus_dmamap_unload(sc->sc_dmat, p->map);
p                 985 dev/pci/esa.c  	bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 986 dev/pci/esa.c  	bus_dmamem_unmap(sc->sc_dmat, p->addr, p->size);
p                 987 dev/pci/esa.c  	bus_dmamem_free(sc->sc_dmat, p->segs, p->nsegs);
p                1717 dev/pci/esa.c  	struct esa_dma *p;
p                1721 dev/pci/esa.c  	for (p = vc->dma; p && KERNADDR(p) != mem; p = p->next)
p                1723 dev/pci/esa.c  	if (!p)
p                1725 dev/pci/esa.c  	return (bus_dmamem_mmap(sc->sc_dmat, p->segs, p->nsegs,
p                  50 dev/pci/esavar.h #define KERNADDR(p)	((void *)((p)->addr))
p                  51 dev/pci/esavar.h #define	DMAADDR(p)	((p)->map->dm_segs[0].ds_addr)
p                 728 dev/pci/eso.c  	struct audio_params *p;
p                 737 dev/pci/eso.c  		p = (mode == AUMODE_PLAY) ? play : rec;
p                 739 dev/pci/eso.c  		if (p->sample_rate < ESO_MINRATE ||
p                 740 dev/pci/eso.c  		    p->sample_rate > ESO_MAXRATE ||
p                 741 dev/pci/eso.c  		    (p->precision != 8 && p->precision != 16) ||
p                 742 dev/pci/eso.c  		    (p->channels != 1 && p->channels != 2))
p                 745 dev/pci/eso.c  		p->factor = 1;
p                 746 dev/pci/eso.c  		p->sw_code = NULL;
p                 747 dev/pci/eso.c  		switch (p->encoding) {
p                 750 dev/pci/eso.c  			if (mode == AUMODE_PLAY && p->precision == 16)
p                 751 dev/pci/eso.c  				p->sw_code = swap_bytes;
p                 755 dev/pci/eso.c  			if (mode == AUMODE_RECORD && p->precision == 16)
p                 756 dev/pci/eso.c  				p->sw_code = swap_bytes;
p                 760 dev/pci/eso.c  				p->factor = 2;
p                 761 dev/pci/eso.c  				p->sw_code = mulaw_to_ulinear16;
p                 763 dev/pci/eso.c  				p->sw_code = ulinear8_to_mulaw;
p                 768 dev/pci/eso.c  				p->factor = 2;
p                 769 dev/pci/eso.c  				p->sw_code = alaw_to_ulinear16;
p                 771 dev/pci/eso.c  				p->sw_code = ulinear8_to_alaw;
p                 784 dev/pci/eso.c  		    (128 - (rd[0] = 128 - ESO_CLK0 / p->sample_rate));
p                 786 dev/pci/eso.c  		    (128 - (rd[1] = 128 - ESO_CLK1 / p->sample_rate));
p                 788 dev/pci/eso.c  		clk = ABS(p->sample_rate - r[0]) > ABS(p->sample_rate - r[1]);
p                 792 dev/pci/eso.c  		fltdiv = 256 - 200279L / p->sample_rate;
p                 795 dev/pci/eso.c  		p->sample_rate = r[clk];
p                1576 dev/pci/eso.c  	struct eso_dma *p, **pp;
p                1578 dev/pci/eso.c  	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->ed_next) {
p                1579 dev/pci/eso.c  		if (KVADDR(p) == addr) {
p                1580 dev/pci/eso.c  			eso_freemem(sc, p);
p                1581 dev/pci/eso.c  			*pp = p->ed_next;
p                1582 dev/pci/eso.c  			free(p, type);
p                 713 dev/pci/fms.c  	struct fms_dma *p;
p                 717 dev/pci/fms.c  	p = malloc(sizeof(*p), pool, flags);
p                 718 dev/pci/fms.c  	if (!p)
p                 721 dev/pci/fms.c  	p->size = size;
p                 722 dev/pci/fms.c  	if ((error = bus_dmamem_alloc(sc->sc_dmat, size, NBPG, 0, &p->seg, 1, 
p                 729 dev/pci/fms.c  	if ((error = bus_dmamem_map(sc->sc_dmat, &p->seg, rseg, size, &p->addr,
p                 737 dev/pci/fms.c  				       BUS_DMA_NOWAIT, &p->map)) != 0) {
p                 743 dev/pci/fms.c  	if ((error = bus_dmamap_load(sc->sc_dmat, p->map, p->addr, size, NULL,
p                 750 dev/pci/fms.c  	p->next = sc->sc_dmas;
p                 751 dev/pci/fms.c  	sc->sc_dmas = p;
p                 753 dev/pci/fms.c  	return p->addr;
p                 757 dev/pci/fms.c  	bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 759 dev/pci/fms.c  	bus_dmamem_unmap(sc->sc_dmat, p->addr, size);
p                 761 dev/pci/fms.c  	bus_dmamem_free(sc->sc_dmat, &p->seg, 1);
p                 763 dev/pci/fms.c  	free(p, pool);
p                 774 dev/pci/fms.c  	struct fms_dma **pp, *p;
p                 776 dev/pci/fms.c  	for (pp = &(sc->sc_dmas); (p = *pp) != NULL; pp = &p->next)
p                 777 dev/pci/fms.c  		if (p->addr == ptr) {
p                 778 dev/pci/fms.c  			bus_dmamap_unload(sc->sc_dmat, p->map);
p                 779 dev/pci/fms.c  			bus_dmamap_destroy(sc->sc_dmat, p->map);
p                 780 dev/pci/fms.c  			bus_dmamem_unmap(sc->sc_dmat, p->addr, p->size);
p                 781 dev/pci/fms.c  			bus_dmamem_free(sc->sc_dmat, &p->seg, 1);
p                 783 dev/pci/fms.c  			*pp = p->next;
p                 784 dev/pci/fms.c  			free(p, pool);
p                 799 dev/pci/fms.c  	struct fms_dma *p;
p                 804 dev/pci/fms.c  	for (p = sc->sc_dmas; p && p->addr != mem; p = p->next)
p                 806 dev/pci/fms.c  	if (!p)
p                 809 dev/pci/fms.c  	return bus_dmamem_mmap(sc->sc_dmat, &p->seg, 1, off, prot, 
p                 841 dev/pci/fms.c  	struct fms_dma *p;
p                 846 dev/pci/fms.c  	for (p = sc->sc_dmas; p && p->addr != start; p = p->next)
p                 849 dev/pci/fms.c  	if (!p)
p                 853 dev/pci/fms.c  	sc->sc_play_start = p->map->dm_segs[0].ds_addr;
p                 879 dev/pci/fms.c  	struct fms_dma *p;
p                 884 dev/pci/fms.c  	for (p = sc->sc_dmas; p && p->addr != start; p = p->next)
p                 887 dev/pci/fms.c  	if (!p)
p                 891 dev/pci/fms.c  	sc->sc_rec_start = p->map->dm_segs[0].ds_addr;
p                 983 dev/pci/hifn7751.c 	dma->srcr[srci].p = htole32(sc->sc_dmamap->dm_segs[0].ds_addr
p                 985 dev/pci/hifn7751.c 	dma->dstr[dsti].p = htole32(sc->sc_dmamap->dm_segs[0].ds_addr
p                1046 dev/pci/hifn7751.c 	dma->srcr[srci].p = htole32(sc->sc_dmamap->dm_segs[0].ds_addr +
p                1049 dev/pci/hifn7751.c 	dma->dstr[dsti].p =  htole32(sc->sc_dmamap->dm_segs[0].ds_addr +
p                1102 dev/pci/hifn7751.c 		dma->cmdr[i].p = htole32(sc->sc_dmamap->dm_segs[0].ds_addr +
p                1105 dev/pci/hifn7751.c 		dma->resr[i].p = htole32(sc->sc_dmamap->dm_segs[0].ds_addr +
p                1108 dev/pci/hifn7751.c 	dma->cmdr[HIFN_D_CMD_RSIZE].p =
p                1111 dev/pci/hifn7751.c 	dma->srcr[HIFN_D_SRC_RSIZE].p =
p                1114 dev/pci/hifn7751.c 	dma->dstr[HIFN_D_DST_RSIZE].p =
p                1117 dev/pci/hifn7751.c 	dma->resr[HIFN_D_RES_RSIZE].p =
p                1277 dev/pci/hifn7751.c 	u_int32_t p, l;
p                1282 dev/pci/hifn7751.c 		dma->dstr[idx].p = htole32(map->dm_segs[i].ds_addr);
p                1299 dev/pci/hifn7751.c 		p = map->dm_segs[i].ds_addr;
p                1303 dev/pci/hifn7751.c 		p = sc->sc_dmamap->dm_segs[0].ds_addr +
p                1309 dev/pci/hifn7751.c 			dma->dstr[idx].p = htole32(map->dm_segs[i].ds_addr);
p                1326 dev/pci/hifn7751.c 	dma->dstr[idx].p = htole32(p);
p                1357 dev/pci/hifn7751.c 		dma->srcr[idx].p = htole32(map->dm_segs[i].ds_addr);
p                  75 dev/pci/hifn7751reg.h 	volatile u_int32_t p;
p                 144 dev/pci/if_bnx.c void	nswaph(u_int32_t *p, int wcount);
p                 431 dev/pci/if_bnx.c nswaph(u_int32_t *p, int wcount)
p                 434 dev/pci/if_bnx.c 		*p = ntohl(*p);
p                 435 dev/pci/if_bnx.c 		p++;
p                 443 dev/pci/if_bnx.c 	u_char *p, *q;
p                 450 dev/pci/if_bnx.c 	if ((error = loadfirmware("bnx", &p, &size)) != 0)
p                 454 dev/pci/if_bnx.c 		free(p, M_DEVBUF);
p                 458 dev/pci/if_bnx.c 	hdr = (struct bnx_firmware_header *)p;
p                 523 dev/pci/if_bnx.c 	q = p + sizeof(*hdr);
p                 596 dev/pci/if_bnx.c 	if (q - p != size) {
p                 597 dev/pci/if_bnx.c 		free(p, M_DEVBUF);
p                1574 dev/pci/if_ipw.c #define GETLE32(p) ((p)[0] | (p)[1] << 8 | (p)[2] << 16 | (p)[3] << 24)
p                1575 dev/pci/if_ipw.c #define GETLE16(p) ((p)[0] | (p)[1] << 8)
p                1579 dev/pci/if_ipw.c 	u_char *p, *end;
p                1584 dev/pci/if_ipw.c 	p = fw;
p                1586 dev/pci/if_ipw.c 	while (p < end) {
p                1587 dev/pci/if_ipw.c 		if (p + 6 > end)
p                1590 dev/pci/if_ipw.c 		dst = GETLE32(p); p += 4;
p                1591 dev/pci/if_ipw.c 		len = GETLE16(p); p += 2;
p                1593 dev/pci/if_ipw.c 		if (p + len > end)
p                1596 dev/pci/if_ipw.c 		ipw_write_mem_1(sc, dst, p, len);
p                1597 dev/pci/if_ipw.c 		p += len;
p                1629 dev/pci/if_ipw.c 	u_char *p;
p                1657 dev/pci/if_ipw.c 	p = fw->data;
p                1658 dev/pci/if_ipw.c 	hdr = (struct ipw_firmware_hdr *)p;
p                1662 dev/pci/if_ipw.c 	p += sizeof (struct ipw_firmware_hdr);
p                1670 dev/pci/if_ipw.c 	fw->main = p;
p                1671 dev/pci/if_ipw.c 	fw->ucode = p + fw->main_size;
p                1663 dev/pci/if_iwi.c #define GETLE32(p) ((p)[0] | (p)[1] << 8 | (p)[2] << 16 | (p)[3] << 24)
p                1671 dev/pci/if_iwi.c 	u_char *p, *end;
p                1723 dev/pci/if_iwi.c 	p = virtaddr;
p                1724 dev/pci/if_iwi.c 	end = p + size;
p                1727 dev/pci/if_iwi.c 	while (p < end) {
p                1728 dev/pci/if_iwi.c 		dst = GETLE32(p); p += 4; src += 4;
p                1729 dev/pci/if_iwi.c 		len = GETLE32(p); p += 4; src += 4;
p                1730 dev/pci/if_iwi.c 		p += len;
p                1977 dev/pci/if_iwi.c 	uint8_t *p;
p                1990 dev/pci/if_iwi.c 	p = scan.channels;
p                1994 dev/pci/if_iwi.c 			*++p = i;
p                1998 dev/pci/if_iwi.c 	*(p - count) = IWI_CHAN_5GHZ | count;
p                2000 dev/pci/if_iwi.c 	p = (count > 0) ? p + 1 : scan.channels;
p                2004 dev/pci/if_iwi.c 			*++p = i;
p                2008 dev/pci/if_iwi.c 	*(p - count) = IWI_CHAN_2GHZ | count;
p                1216 dev/pci/if_lmc.c 	struct proc *p = curproc;
p                1233 dev/pci/if_lmc.c 		error = suser(p, 0);
p                 548 dev/pci/if_lmcvar.h #define	LMC_BPF_TAP(sc, p, l, d)	bpf_tap((sc)->lmc_bpf, p, l, d)
p                 208 dev/pci/if_san_obsd.c 	struct proc		*p = curproc;
p                 247 dev/pci/if_san_obsd.c 		if ((err = suser(p, p->p_acflag)) != 0)
p                 316 dev/pci/if_san_obsd.c 			if ((err = suser(p, p->p_acflag)) != 0)
p                 323 dev/pci/if_san_obsd.c 			if ((err = suser(p, p->p_acflag)) != 0)
p                1871 dev/pci/if_sk.c 		u_int16_t *p;
p                1873 dev/pci/if_sk.c 		p = (u_int16_t *)(ip + 1);
p                1875 dev/pci/if_sk.c 		for (ipo_csum = 0; len > 0; len -= sizeof(*p), p++)
p                1876 dev/pci/if_sk.c 			ipo_csum = in_cksum_addword(ipo_csum, *p);
p                1412 dev/pci/if_tl.c 	u_int32_t		*p;
p                1422 dev/pci/if_tl.c 	p = (u_int32_t *)&tl_stats;
p                1425 dev/pci/if_tl.c 	*p++ = CSR_READ_4(sc, TL_DIO_DATA);
p                1426 dev/pci/if_tl.c 	*p++ = CSR_READ_4(sc, TL_DIO_DATA);
p                1427 dev/pci/if_tl.c 	*p++ = CSR_READ_4(sc, TL_DIO_DATA);
p                1428 dev/pci/if_tl.c 	*p++ = CSR_READ_4(sc, TL_DIO_DATA);
p                1429 dev/pci/if_tl.c 	*p++ = CSR_READ_4(sc, TL_DIO_DATA);
p                2130 dev/pci/if_tl.c 			u_int16_t *p;
p                2132 dev/pci/if_tl.c 			p = (u_int16_t *)&sc->arpcom.ac_enaddr[i];
p                2133 dev/pci/if_tl.c 			*p = ntohs(*p);
p                 282 dev/pci/ises.c 	int p, ticks, algs[CRYPTO_ALGORITHM_MAX + 1];
p                 287 dev/pci/ises.c 	p = ISES_STAT_IDP_STATE(READ_REG(sc, ISES_A_STAT));
p                 289 dev/pci/ises.c 		  sc->sc_initstate, p, ises_idp_state[p]));
p                 327 dev/pci/ises.c 		for (p = 0; p < 128; p++)
p                 355 dev/pci/ises.c 		p = ISES_STAT_IDP_STATE(READ_REG(sc, ISES_A_STAT));
p                 356 dev/pci/ises.c 		if (p == ISES_IDP_WFPL) {
p                 396 dev/pci/ises.c 		p = ISES_STAT_IDP_STATE(READ_REG(sc, ISES_A_STAT));
p                 397 dev/pci/ises.c 		if (READ_REG(sc, ISES_A_IQF) < 4 || p != ISES_IDP_WFPL) {
p                 406 dev/pci/ises.c 			    "IDP state is \"%s\"\n", dv, ises_idp_state[p]);
p                 414 dev/pci/ises.c 		for (p = 0; p < sizeof(ises_bf_fw)/sizeof(u_int32_t); p++) {
p                 415 dev/pci/ises.c 			WRITE_REG(sc, ISES_A_IQD, ises_bf_fw[p]);
p                 525 dev/pci/ises.c 	int p, len, s, code;
p                 561 dev/pci/ises.c 		for (p = len - 1; p >= 0; p--)
p                 562 dev/pci/ises.c 			WRITE_REG(sc, ISES_A_IQD, *(data + p));
p                 564 dev/pci/ises.c 		for (p = 0; p < len; p++)
p                 565 dev/pci/ises.c 			WRITE_REG(sc, ISES_A_IQD, *(data + p));
p                 496 dev/pci/lofn.c lofn_norm_sigbits(const u_int8_t *p, u_int pbits)
p                 503 dev/pci/lofn.c 		c = p[i];
p                 333 dev/pci/mbg.c  	char *p = buf;
p                 365 dev/pci/mbg.c  		*(u_int32_t *)p = data;
p                 366 dev/pci/mbg.c  		p += sizeof(data);
p                 373 dev/pci/mbg.c  			*p++ = data & 0xff;
p                 438 dev/pci/neo.c  neo_intr(void *p)
p                 440 dev/pci/neo.c  	struct neo_softc *sc = (struct neo_softc *)p;
p                 842 dev/pci/neo.c  	struct audio_params *p;
p                 849 dev/pci/neo.c  		p = mode == AUMODE_PLAY ? play : rec;
p                 851 dev/pci/neo.c  		if (p == NULL) continue;
p                 854 dev/pci/neo.c  			if (p->sample_rate < (samplerates[x] + samplerates[x + 1]) / 2)
p                 859 dev/pci/neo.c  		p->sample_rate = samplerates[x];
p                 864 dev/pci/neo.c  		if (p->precision == 16) x |= NM_RATE_BITS_16;
p                 865 dev/pci/neo.c  		if (p->channels == 2) x |= NM_RATE_STEREO;
p                 871 dev/pci/neo.c  		p->factor = 1;
p                 872 dev/pci/neo.c  		p->sw_code = 0;
p                 873 dev/pci/neo.c  		switch (p->encoding) {
p                 875 dev/pci/neo.c  			if (p->precision == 16)
p                 876 dev/pci/neo.c  				p->sw_code = swap_bytes;
p                 878 dev/pci/neo.c  				p->sw_code = change_sign8;
p                 881 dev/pci/neo.c  			if (p->precision != 16)
p                 882 dev/pci/neo.c  				p->sw_code = change_sign8;
p                 885 dev/pci/neo.c  			if (p->precision == 16) {
p                 887 dev/pci/neo.c  					p->sw_code = swap_bytes_change_sign16;
p                 889 dev/pci/neo.c  					p->sw_code = change_sign16_swap_bytes;
p                 893 dev/pci/neo.c  			if (p->precision == 16)
p                 894 dev/pci/neo.c  				p->sw_code = change_sign16;
p                 898 dev/pci/neo.c  				p->factor = 2;
p                 899 dev/pci/neo.c  				p->sw_code = mulaw_to_slinear16;
p                 901 dev/pci/neo.c  				p->sw_code = ulinear8_to_mulaw;
p                 905 dev/pci/neo.c  				p->factor = 2;
p                 906 dev/pci/neo.c  				p->sw_code = alaw_to_slinear16;
p                 908 dev/pci/neo.c  				p->sw_code = ulinear8_to_alaw;
p                1653 dev/pci/noct.c 	u_int8_t c, *p = cr->crp_p;
p                1656 dev/pci/noct.c 		c = p[i];
p                 686 dev/pci/nofn.c nofn_pk_sigbits(p, pbits)
p                 687 dev/pci/nofn.c 	const u_int8_t *p;
p                 695 dev/pci/nofn.c 		c = p[i];
p                 496 dev/pci/pci.c  int pciopen(dev_t dev, int oflags, int devtype, struct proc *p);
p                 497 dev/pci/pci.c  int pciclose(dev_t dev, int flag, int devtype, struct proc *p);
p                 498 dev/pci/pci.c  int pciioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p);
p                 501 dev/pci/pci.c  pciopen(dev_t dev, int oflags, int devtype, struct proc *p) 
p                 522 dev/pci/pci.c  pciclose(dev_t dev, int flag, int devtype, struct proc *p)
p                 529 dev/pci/pci.c  pciioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 374 dev/pci/pcscp.c 	char *p = NULL;
p                 449 dev/pci/pcscp.c 				p = *esc->sc_dmaaddr;
p                 481 dev/pci/pcscp.c 	if (p) {
p                 482 dev/pci/pcscp.c 		p += trans;
p                 483 dev/pci/pcscp.c 		*p = PCSCP_READ_REG(esc, NCR_FIFO);
p                1944 dev/pci/safe.c 	u_int8_t c, *p = cr->crp_p;
p                1947 dev/pci/safe.c 		c = p[i];
p                 427 dev/pci/sv.c   sv_intr(p)
p                 428 dev/pci/sv.c   	void *p;
p                 430 dev/pci/sv.c     struct sv_softc *sc = p;
p                 452 dev/pci/sv.c   sv_allocmem(sc, size, align, p)
p                 456 dev/pci/sv.c           struct sv_dma *p;
p                 460 dev/pci/sv.c   	p->size = size;
p                 461 dev/pci/sv.c   	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                 462 dev/pci/sv.c   				 p->segs, ARRAY_SIZE(p->segs),
p                 463 dev/pci/sv.c   				 &p->nsegs, BUS_DMA_NOWAIT);
p                 467 dev/pci/sv.c   	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size, 
p                 468 dev/pci/sv.c   			       &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                 472 dev/pci/sv.c   	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                 473 dev/pci/sv.c   				  0, BUS_DMA_NOWAIT, &p->map);
p                 477 dev/pci/sv.c   	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL, 
p                 484 dev/pci/sv.c   	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 486 dev/pci/sv.c   	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 488 dev/pci/sv.c   	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 493 dev/pci/sv.c   sv_freemem(sc, p)
p                 495 dev/pci/sv.c           struct sv_dma *p;
p                 497 dev/pci/sv.c   	bus_dmamap_unload(sc->sc_dmatag, p->map);
p                 498 dev/pci/sv.c   	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                 499 dev/pci/sv.c   	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                 500 dev/pci/sv.c   	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                 662 dev/pci/sv.c   sv_set_params(addr, setmode, usemode, p, r)
p                 665 dev/pci/sv.c   	struct audio_params *p, *r;
p                 674 dev/pci/sv.c           switch (p->encoding) {
p                 676 dev/pci/sv.c           	if (p->precision == 16)
p                 682 dev/pci/sv.c           	if (p->precision != 16)
p                 686 dev/pci/sv.c           	if (p->precision == 16) {
p                 692 dev/pci/sv.c           	if (p->precision == 16)
p                 707 dev/pci/sv.c   	if (p->precision == 16)
p                 711 dev/pci/sv.c           if (p->channels == 2)
p                 713 dev/pci/sv.c   	else if (p->channels != 1)
p                 715 dev/pci/sv.c           if (p->sample_rate < 2000 || p->sample_rate > 48000)
p                 718 dev/pci/sv.c           p->sw_code = pswcode;
p                 728 dev/pci/sv.c   	val = p->sample_rate * 65536 / 48000;
p                 808 dev/pci/sv.c   	struct sv_dma *p;
p                 813 dev/pci/sv.c           for (p = sc->sc_dmas; p && KERNADDR(p) != buf; p = p->next)
p                 815 dev/pci/sv.c   	if (!p) {
p                 823 dev/pci/sv.c   			  DMAADDR(p));
p                 839 dev/pci/sv.c   	struct sv_dma *p;
p                 843 dev/pci/sv.c           for (p = sc->sc_dmas; p && KERNADDR(p) != buf; p = p->next)
p                 845 dev/pci/sv.c   	if (!p) {
p                 853 dev/pci/sv.c   			  DMAADDR(p));
p                 863 dev/pci/sv.c   sv_dma_output(addr, p, cc, intr, arg)
p                 865 dev/pci/sv.c   	void *p;
p                 875 dev/pci/sv.c                     addr, p, cc, intr, arg));
p                 894 dev/pci/sv.c   sv_dma_input(addr, p, cc, intr, arg)
p                 896 dev/pci/sv.c   	void *p;
p                 905 dev/pci/sv.c   		     addr, p, cc, intr, arg));
p                1437 dev/pci/sv.c           struct sv_dma *p;
p                1440 dev/pci/sv.c           p = malloc(sizeof(*p), pool, flags);
p                1441 dev/pci/sv.c           if (!p)
p                1443 dev/pci/sv.c           error = sv_allocmem(sc, size, 16, p);
p                1445 dev/pci/sv.c                   free(p, pool);
p                1448 dev/pci/sv.c           p->next = sc->sc_dmas;
p                1449 dev/pci/sv.c           sc->sc_dmas = p;
p                1450 dev/pci/sv.c   	return (KERNADDR(p));
p                1460 dev/pci/sv.c           struct sv_dma **p;
p                1462 dev/pci/sv.c           for (p = &sc->sc_dmas; *p; p = &(*p)->next) {
p                1463 dev/pci/sv.c                   if (KERNADDR(*p) == ptr) {
p                1464 dev/pci/sv.c                           sv_freemem(sc, *p);
p                1465 dev/pci/sv.c                           *p = (*p)->next;
p                1466 dev/pci/sv.c                           free(*p, pool);
p                1480 dev/pci/sv.c           struct sv_dma *p;
p                1482 dev/pci/sv.c           for (p = sc->sc_dmas; p && KERNADDR(p) != mem; p = p->next)
p                1484 dev/pci/sv.c   	if (!p)
p                1486 dev/pci/sv.c   	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs, 
p                 564 dev/pci/tga.c  tga_ioctl(v, cmd, data, flag, p)
p                 569 dev/pci/tga.c  	struct proc *p;
p                1363 dev/pci/ubsec.c 		u_int32_t *p;
p                1368 dev/pci/ubsec.c 		p = (u_int32_t *)rng->rng_buf.dma_vaddr;
p                1369 dev/pci/ubsec.c 		for (i = 0; i < UBSEC_RNG_BUFSIZ; p++, i++)
p                1370 dev/pci/ubsec.c 			add_true_randomness(*p);
p                2443 dev/pci/ubsec.c 	u_int8_t c, *p = cr->crp_p;
p                2446 dev/pci/ubsec.c 		c = p[i];
p                  94 dev/pci/yds.c  static void nswaph(u_int32_t *p, int wcount);
p                  96 dev/pci/yds.c  #define DMAADDR(p) ((p)->map->dm_segs[0].ds_addr)
p                  97 dev/pci/yds.c  #define KERNADDR(p) ((void *)((p)->addr))
p                 281 dev/pci/yds.c  	u_int32_t *p;
p                 290 dev/pci/yds.c  	p = (u_int32_t*)sc->ptbl;
p                 292 dev/pci/yds.c  		printf("ptbl + %d:0x%x\n", i, *p);
p                 293 dev/pci/yds.c  		p++;
p                 301 dev/pci/yds.c  		p = (u_int32_t *)sc->pbankp[i];
p                 303 dev/pci/yds.c  		dma = yds_find_dma(sc,(void *)p);
p                 309 dev/pci/yds.c  			       (unsigned) *p++);
p                 340 dev/pci/yds.c  nswaph(u_int32_t *p, int wcount)
p                 343 dev/pci/yds.c  		*p = ntohl(*p);
p                 344 dev/pci/yds.c  		p++;
p                 353 dev/pci/yds.c  	const u_int32_t *p;
p                 366 dev/pci/yds.c  		p = (u_int32_t *)&yf->data[ntohl(yf->dsplen)];
p                 369 dev/pci/yds.c  		p = (u_int32_t *)&yf->data[ntohl(yf->dsplen) + ntohl(yf->ds1len)];
p                 408 dev/pci/yds.c  	nswaph((u_int32_t *)p, size);
p                 409 dev/pci/yds.c  	YWRITEREGION4(sc, YDS_CTRL_INSTRAM, p, size);
p                 428 dev/pci/yds.c  	struct yds_dma *p;
p                 458 dev/pci/yds.c  	p = &sc->sc_ctrldata;
p                 459 dev/pci/yds.c  	i = yds_allocmem(sc, memsize, 16, p);
p                 463 dev/pci/yds.c  		free(p, M_DEVBUF);
p                 466 dev/pci/yds.c  	mp = KERNADDR(p);
p                 467 dev/pci/yds.c  	da = DMAADDR(p);
p                 509 dev/pci/yds.c  	bus_dmamap_sync(sc->sc_dmatag, p->map,
p                 929 dev/pci/yds.c  yds_intr(p)
p                 930 dev/pci/yds.c  	void *p;
p                 932 dev/pci/yds.c  	struct yds_softc *sc = p;
p                1045 dev/pci/yds.c  yds_allocmem(sc, size, align, p)
p                1049 dev/pci/yds.c  	struct yds_dma *p;
p                1053 dev/pci/yds.c  	p->size = size;
p                1054 dev/pci/yds.c  	error = bus_dmamem_alloc(sc->sc_dmatag, p->size, align, 0,
p                1055 dev/pci/yds.c  				 p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                1056 dev/pci/yds.c  				 &p->nsegs, BUS_DMA_NOWAIT);
p                1060 dev/pci/yds.c  	error = bus_dmamem_map(sc->sc_dmatag, p->segs, p->nsegs, p->size, 
p                1061 dev/pci/yds.c  			       &p->addr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                1065 dev/pci/yds.c  	error = bus_dmamap_create(sc->sc_dmatag, p->size, 1, p->size,
p                1066 dev/pci/yds.c  				  0, BUS_DMA_NOWAIT, &p->map);
p                1070 dev/pci/yds.c  	error = bus_dmamap_load(sc->sc_dmatag, p->map, p->addr, p->size, NULL, 
p                1077 dev/pci/yds.c  	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1079 dev/pci/yds.c  	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1081 dev/pci/yds.c  	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1086 dev/pci/yds.c  yds_freemem(sc, p)
p                1088 dev/pci/yds.c  	struct yds_dma *p;
p                1090 dev/pci/yds.c  	bus_dmamap_unload(sc->sc_dmatag, p->map);
p                1091 dev/pci/yds.c  	bus_dmamap_destroy(sc->sc_dmatag, p->map);
p                1092 dev/pci/yds.c  	bus_dmamem_unmap(sc->sc_dmatag, p->addr, p->size);
p                1093 dev/pci/yds.c  	bus_dmamem_free(sc->sc_dmatag, p->segs, p->nsegs);
p                1196 dev/pci/yds.c  	struct audio_params *p;
p                1204 dev/pci/yds.c  		p = mode == AUMODE_PLAY ? play : rec;
p                1206 dev/pci/yds.c  		if (p->sample_rate < 4000 || p->sample_rate > 48000 ||
p                1207 dev/pci/yds.c  		    (p->precision != 8 && p->precision != 16) ||
p                1208 dev/pci/yds.c  		    (p->channels != 1 && p->channels != 2))
p                1211 dev/pci/yds.c  		p->factor = 1;
p                1212 dev/pci/yds.c  		p->sw_code = 0;
p                1213 dev/pci/yds.c  		switch (p->encoding) {
p                1215 dev/pci/yds.c  			if (p->precision == 16)
p                1216 dev/pci/yds.c  				p->sw_code = swap_bytes;
p                1218 dev/pci/yds.c  				p->sw_code = change_sign8;
p                1221 dev/pci/yds.c  			if (p->precision != 16)
p                1222 dev/pci/yds.c  				p->sw_code = change_sign8;
p                1225 dev/pci/yds.c  			if (p->precision == 16) {
p                1227 dev/pci/yds.c  					p->sw_code = swap_bytes_change_sign16_le;
p                1229 dev/pci/yds.c  					p->sw_code = change_sign16_swap_bytes_le;
p                1233 dev/pci/yds.c  			if (p->precision == 16)
p                1234 dev/pci/yds.c  				p->sw_code = change_sign16_le;
p                1238 dev/pci/yds.c  				p->factor = 2;
p                1239 dev/pci/yds.c  				p->precision = 16;
p                1240 dev/pci/yds.c  				p->sw_code = mulaw_to_slinear16_le;
p                1242 dev/pci/yds.c  				p->sw_code = ulinear8_to_mulaw;
p                1246 dev/pci/yds.c  				p->factor = 2;
p                1247 dev/pci/yds.c  				p->precision = 16;
p                1248 dev/pci/yds.c  				p->sw_code = alaw_to_slinear16_le;
p                1250 dev/pci/yds.c  				p->sw_code = ulinear8_to_alaw;
p                1342 dev/pci/yds.c  	struct yds_dma *p;
p                1363 dev/pci/yds.c  	p = yds_find_dma(sc, start);
p                1364 dev/pci/yds.c  	if (!p) {
p                1368 dev/pci/yds.c  	sc->sc_play.dma = p;
p                1392 dev/pci/yds.c  	s = DMAADDR(p);
p                1462 dev/pci/yds.c  	bus_dmamap_sync(sc->sc_dmatag, p->map, 0, blksize,
p                1482 dev/pci/yds.c  	struct yds_dma *p;
p                1503 dev/pci/yds.c  	p = yds_find_dma(sc, start);
p                1504 dev/pci/yds.c  	if (!p) {
p                1508 dev/pci/yds.c  	sc->sc_rec.dma = p;
p                1510 dev/pci/yds.c  	s = DMAADDR(p);
p                1555 dev/pci/yds.c  	bus_dmamap_sync(sc->sc_dmatag, p->map, 0, blksize,
p                1699 dev/pci/yds.c  	struct yds_dma *p;
p                1702 dev/pci/yds.c  	p = malloc(sizeof(*p), pool, flags);
p                1703 dev/pci/yds.c  	if (!p)
p                1705 dev/pci/yds.c  	error = yds_allocmem(sc, size, 16, p);
p                1707 dev/pci/yds.c  		free(p, pool);
p                1710 dev/pci/yds.c  	p->next = sc->sc_dmas;
p                1711 dev/pci/yds.c  	sc->sc_dmas = p;
p                1712 dev/pci/yds.c  	return (KERNADDR(p));
p                1722 dev/pci/yds.c  	struct yds_dma **pp, *p;
p                1724 dev/pci/yds.c  	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &p->next) {
p                1725 dev/pci/yds.c  		if (KERNADDR(p) == ptr) {
p                1726 dev/pci/yds.c  			yds_freemem(sc, p);
p                1727 dev/pci/yds.c  			*pp = p->next;
p                1728 dev/pci/yds.c  			free(p, pool);
p                1739 dev/pci/yds.c  	struct yds_dma *p;
p                1741 dev/pci/yds.c  	for (p = sc->sc_dmas; p && KERNADDR(p) != addr; p = p->next)
p                1744 dev/pci/yds.c  	return p;
p                1769 dev/pci/yds.c  	struct yds_dma *p;
p                1773 dev/pci/yds.c  	p = yds_find_dma(sc, mem);
p                1774 dev/pci/yds.c  	if (!p)
p                1776 dev/pci/yds.c  	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs, 
p                 584 dev/pckbc/pckbd.c pckbd_ioctl(v, cmd, data, flag, p)
p                 589 dev/pckbc/pckbd.c 	struct proc *p;
p                 237 dev/pckbc/pms.c pms_ioctl(v, cmd, data, flag, p)
p                 242 dev/pckbc/pms.c 	struct proc *p;
p                 256 dev/pckbc/pms_intelli.c pmsi_ioctl(v, cmd, data, flag, p)
p                 261 dev/pckbc/pms_intelli.c 	struct proc *p;
p                 584 dev/pcmcia/cfxga.c cfxga_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 417 dev/pcmcia/esp_pcmcia.c 	u_char	*p;
p                 437 dev/pcmcia/esp_pcmcia.c 	p = *esc->sc_dmaaddr;
p                 443 dev/pcmcia/esp_pcmcia.c 			*p++ = NCR_READ_REG(sc, NCR_FIFO);
p                 452 dev/pcmcia/esp_pcmcia.c 				NCR_WRITE_REG(sc, NCR_FIFO, *p++);
p                 471 dev/pcmcia/esp_pcmcia.c 	*esc->sc_dmaaddr = p;
p                 260 dev/pcmcia/gpr.c gpropen(dev_t dev, int flags, int mode, struct proc *p)
p                 275 dev/pcmcia/gpr.c gprclose(dev_t dev, int flags, int mode, struct proc *p)
p                 288 dev/pcmcia/gpr.c gprioctl(dev_t dev, u_long cmd, caddr_t addr, int flags, struct proc *p)
p                 355 dev/pcmcia/if_ray.c #define	ray_read_region(sc,off,p,c) \
p                 356 dev/pcmcia/if_ray.c 	bus_space_read_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
p                 357 dev/pcmcia/if_ray.c #define	ray_write_region(sc,off,p,c) \
p                 358 dev/pcmcia/if_ray.c 	bus_space_write_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
p                 424 dev/pcmcia/if_ray.c #define	SRAM_READ_FIELD_N(sc, off, s, f, p, n)	\
p                 425 dev/pcmcia/if_ray.c 	ray_read_region(sc, (off) + offsetof(struct s, f), (p), (n))
p                 438 dev/pcmcia/if_ray.c #define	SRAM_WRITE_FIELD_N(sc, off, s, f, p, n)	\
p                 439 dev/pcmcia/if_ray.c 	ray_write_region(sc, (off) + offsetof(struct s, f), (p), (n))
p                2483 dev/pcmcia/if_ray.c #define	PUT2(p, v)	\
p                2484 dev/pcmcia/if_ray.c 	do { (p)[0] = ((v >> 8) & 0xff); (p)[1] = (v & 0xff); } while(0)
p                3030 dev/pcmcia/if_ray.c 	u_int8_t *p;
p                3032 dev/pcmcia/if_ray.c 	p = vp;
p                3035 dev/pcmcia/if_ray.c 	switch ((off|(bus_addr_t)p) & 0x03) {
p                3039 dev/pcmcia/if_ray.c 			    p, n4);
p                3042 dev/pcmcia/if_ray.c 			p += tmp;
p                3047 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
p                3048 dev/pcmcia/if_ray.c 			p++, off++;
p                3050 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
p                3051 dev/pcmcia/if_ray.c 			p++, off++;
p                3053 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
p                3059 dev/pcmcia/if_ray.c 			    p, n2);
p                3062 dev/pcmcia/if_ray.c 			*(p + c) = bus_space_read_1(sc->sc_memt, sc->sc_memh,
p                3068 dev/pcmcia/if_ray.c 		bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
p                3088 dev/pcmcia/if_ray.c 	u_int8_t *p;
p                3090 dev/pcmcia/if_ray.c 	p = vp;
p                3092 dev/pcmcia/if_ray.c 	switch ((off|(bus_addr_t)p) & 0x03) {
p                3096 dev/pcmcia/if_ray.c 			    p, n4);
p                3099 dev/pcmcia/if_ray.c 			p += tmp;
p                3104 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
p                3105 dev/pcmcia/if_ray.c 			p++, off++;
p                3107 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
p                3108 dev/pcmcia/if_ray.c 			p++, off++;
p                3110 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
p                3116 dev/pcmcia/if_ray.c 			    p, n2);
p                3120 dev/pcmcia/if_ray.c 			    off + c, *(p + c));
p                3125 dev/pcmcia/if_ray.c 		bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
p                  81 dev/radio.c    radioopen(dev_t dev, int flags, int fmt, struct proc *p)
p                  93 dev/radio.c    		return (sc->hw_if->open(sc->hw_hdl, flags, fmt, p));
p                  99 dev/radio.c    radioclose(dev_t dev, int flags, int fmt, struct proc *p)
p                 106 dev/radio.c    		return (sc->hw_if->close(sc->hw_hdl, flags, fmt, p));
p                 112 dev/radio.c    radioioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                  64 dev/raidframe/rf_alloclist.c 	RF_AllocListElem_t *p, *pt;
p                  66 dev/raidframe/rf_alloclist.c 	for (p = al_free_list; p;) {
p                  67 dev/raidframe/rf_alloclist.c 		pt = p;
p                  68 dev/raidframe/rf_alloclist.c 		p = p->next;
p                 110 dev/raidframe/rf_alloclist.c rf_real_AddToAllocList(RF_AllocListElem_t *l, void *p, int size, int lockflag)
p                 124 dev/raidframe/rf_alloclist.c 	l->pointers[l->numPointers] = p;
p                 143 dev/raidframe/rf_alloclist.c 	RF_AllocListElem_t *temp, *p;
p                 145 dev/raidframe/rf_alloclist.c 	for (p = l; p; p = p->next) {
p                 146 dev/raidframe/rf_alloclist.c 		RF_ASSERT(p->numPointers >= 0 &&
p                 147 dev/raidframe/rf_alloclist.c 		    p->numPointers <= RF_POINTERS_PER_ALLOC_LIST_ELEMENT);
p                 148 dev/raidframe/rf_alloclist.c 		for (i = 0; i < p->numPointers; i++) {
p                 149 dev/raidframe/rf_alloclist.c 			RF_ASSERT(p->pointers[i]);
p                 150 dev/raidframe/rf_alloclist.c 			RF_Free(p->pointers[i], p->sizes[i]);
p                 169 dev/raidframe/rf_alloclist.c 	RF_AllocListElem_t *p;
p                 173 dev/raidframe/rf_alloclist.c 		p = al_free_list;
p                 174 dev/raidframe/rf_alloclist.c 		al_free_list = p->next;
p                 178 dev/raidframe/rf_alloclist.c 		RF_Malloc(p, sizeof(RF_AllocListElem_t),
p                 185 dev/raidframe/rf_alloclist.c 	if (p == NULL) {
p                 188 dev/raidframe/rf_alloclist.c 	bzero((char *) p, sizeof(RF_AllocListElem_t));
p                 189 dev/raidframe/rf_alloclist.c 	return (p);
p                  94 dev/raidframe/rf_aselect.c 	RF_AllocListElem_t *p;
p                  98 dev/raidframe/rf_aselect.c 	for (p = dagb->allocList; p; p = p->next) {
p                  99 dev/raidframe/rf_aselect.c 		for (i = 0; i < p->numPointers; i++) {
p                 100 dev/raidframe/rf_aselect.c 			rf_AddToAllocList(daga->allocList, p->pointers[i],
p                 101 dev/raidframe/rf_aselect.c 			    p->sizes[i]);
p                 102 dev/raidframe/rf_aselect.c 			p->pointers[i] = NULL;
p                 103 dev/raidframe/rf_aselect.c 			p->sizes[i] = 0;
p                 105 dev/raidframe/rf_aselect.c 		p->numPointers = 0;
p                  83 dev/raidframe/rf_callback.c 	RF_CallbackDesc_t *p;
p                  85 dev/raidframe/rf_callback.c 	RF_FREELIST_GET(rf_callback_freelist, p, next, (RF_CallbackDesc_t *));
p                  86 dev/raidframe/rf_callback.c 	return (p);
p                  90 dev/raidframe/rf_callback.c rf_FreeCallbackDesc(RF_CallbackDesc_t *p)
p                  92 dev/raidframe/rf_callback.c 	RF_FREELIST_FREE(rf_callback_freelist, p, next);
p                  59 dev/raidframe/rf_cvscan.c #define	pri_ok(p)	(((p) == RF_IO_NORMAL_PRIORITY) ||		\
p                  60 dev/raidframe/rf_cvscan.c 			 ((p) == RF_IO_LOW_PRIORITY))
p                 170 dev/raidframe/rf_cvscan.c 		RF_DiskQueueData_t *p = gp->next;
p                 172 dev/raidframe/rf_cvscan.c 		gp = p;
p                 182 dev/raidframe/rf_dagdegrd.c 		rdNode->params[0].p = pda;
p                 183 dev/raidframe/rf_dagdegrd.c 		rdNode->params[1].p = pda->bufPtr;
p                 192 dev/raidframe/rf_dagdegrd.c 		rdNode->params[0].p = asmap->parityInfo;
p                 193 dev/raidframe/rf_dagdegrd.c 		rdNode->params[1].p = pda->bufPtr;
p                 372 dev/raidframe/rf_dagdegrd.c 		rudNodes[i].params[0].p = pda;
p                 373 dev/raidframe/rf_dagdegrd.c 		rudNodes[i].params[1].p = pda->bufPtr;
p                 390 dev/raidframe/rf_dagdegrd.c 			rrdNodes[i].params[0].p = pda;
p                 391 dev/raidframe/rf_dagdegrd.c 			rrdNodes[i].params[1].p = pda->bufPtr;
p                 407 dev/raidframe/rf_dagdegrd.c 			rrdNodes[i + j].params[0].p = pda;
p                 408 dev/raidframe/rf_dagdegrd.c 			rrdNodes[i + j].params[1].p = pda->bufPtr;
p                 429 dev/raidframe/rf_dagdegrd.c 	rpNode->params[0].p = parityPDA;
p                 430 dev/raidframe/rf_dagdegrd.c 	rpNode->params[1].p = rpBuf;
p                 451 dev/raidframe/rf_dagdegrd.c 			bcopy((char *) rudNodes[i].params[0].p, (char *) pda,
p                 455 dev/raidframe/rf_dagdegrd.c 			xorNode->params[paramNum++].p = pda;
p                 456 dev/raidframe/rf_dagdegrd.c 			xorNode->params[paramNum++].p = pda->bufPtr;
p                 462 dev/raidframe/rf_dagdegrd.c 	xorNode->params[paramNum++].p = parityPDA;
p                 463 dev/raidframe/rf_dagdegrd.c 	xorNode->params[paramNum++].p = rpBuf;
p                 469 dev/raidframe/rf_dagdegrd.c 	xorNode->params[paramNum++].p = failedPDA;
p                 470 dev/raidframe/rf_dagdegrd.c 	xorNode->params[paramNum++].p = raidPtr;
p                 636 dev/raidframe/rf_dagdegrd.c 			rdNode->params[0].p = asmap->parityInfo;
p                 637 dev/raidframe/rf_dagdegrd.c 			rdNode->params[1].p = pda->bufPtr;
p                 643 dev/raidframe/rf_dagdegrd.c 			rdNode->params[0].p = pda;
p                 644 dev/raidframe/rf_dagdegrd.c 			rdNode->params[1].p = pda->bufPtr;
p                 654 dev/raidframe/rf_dagdegrd.c 		rdNode->params[0].p = asmap->parityInfo;
p                 655 dev/raidframe/rf_dagdegrd.c 		rdNode->params[1].p = pda->bufPtr;
p                1130 dev/raidframe/rf_dagdegrd.c 	(_node_).params[0].p = _p_ ;					\
p                1131 dev/raidframe/rf_dagdegrd.c 	(_node_).params[1].p = (_p_)->bufPtr;				\
p                1288 dev/raidframe/rf_dagdegrd.c 	recoveryNode->params[i++].p = (void *) raidPtr;
p                1289 dev/raidframe/rf_dagdegrd.c 	recoveryNode->params[i++].p = (void *) asmap;
p                 301 dev/raidframe/rf_dagdegwr.c 			rrdNodes[i].params[0].p = pda;
p                 302 dev/raidframe/rf_dagdegwr.c 			rrdNodes[i].params[1].p = pda->bufPtr;
p                 318 dev/raidframe/rf_dagdegwr.c 			rrdNodes[i + j].params[0].p = pda;
p                 319 dev/raidframe/rf_dagdegwr.c 			rrdNodes[i + j].params[1].p = pda->bufPtr;
p                 368 dev/raidframe/rf_dagdegwr.c 	wnpNode->params[0].p = parityPDA;
p                 369 dev/raidframe/rf_dagdegwr.c 	wnpNode->params[1].p = xorTargetBuf;
p                 390 dev/raidframe/rf_dagdegwr.c 			wnqNode->params[0].p = parityPDA;
p                 394 dev/raidframe/rf_dagdegwr.c 			wnqNode->params[1].p = xorNode->results[1];
p                 411 dev/raidframe/rf_dagdegwr.c 		wndNodes[i].params[0].p = pda;
p                 412 dev/raidframe/rf_dagdegwr.c 		wndNodes[i].params[1].p = pda->bufPtr;
p                 439 dev/raidframe/rf_dagdegwr.c 			bcopy((char *) wndNodes[i].params[0].p, (char *) pda,
p                 443 dev/raidframe/rf_dagdegwr.c 			xorNode->params[paramNum++].p = pda;
p                 444 dev/raidframe/rf_dagdegwr.c 			xorNode->params[paramNum++].p = pda->bufPtr;
p                 453 dev/raidframe/rf_dagdegwr.c 	xorNode->params[paramNum++].p = failedPDA;
p                 454 dev/raidframe/rf_dagdegwr.c 	xorNode->params[paramNum++].p = failedPDA->bufPtr;
p                 462 dev/raidframe/rf_dagdegwr.c 	xorNode->params[paramNum++].p = failedPDA;
p                 463 dev/raidframe/rf_dagdegwr.c 	xorNode->params[paramNum++].p = raidPtr;
p                 705 dev/raidframe/rf_dagdegwr.c #define	DISK_NODE_PDA(node)	((node)->params[0].p)
p                 708 dev/raidframe/rf_dagdegwr.c 	(_node_).params[0].p = _p_ ;					\
p                 709 dev/raidframe/rf_dagdegwr.c 	(_node_).params[1].p = (_p_)->bufPtr;				\
p                 857 dev/raidframe/rf_dagdegwr.c 		recoveryNode->params[i].p = DISK_NODE_PDA(rrdNodes + i);
p                 862 dev/raidframe/rf_dagdegwr.c 	recoveryNode->params[nReadNodes + nWudNodes].p = asmap->failedPDAs[0];
p                 863 dev/raidframe/rf_dagdegwr.c 	recoveryNode->params[nReadNodes + nWudNodes + 1].p = raidPtr;
p                 864 dev/raidframe/rf_dagdegwr.c 	recoveryNode->params[nReadNodes + nWudNodes + 2].p = asmap;
p                 893 dev/raidframe/rf_dagdegwr.c 		recoveryNode->params[nReadNodes + i].p =
p                 237 dev/raidframe/rf_dagffrd.c 		diskNodes[i].params[0].p = pda;
p                 238 dev/raidframe/rf_dagffrd.c 		diskNodes[i].params[1].p = pda->bufPtr;
p                 387 dev/raidframe/rf_dagffrd.c 		readNodes[i].params[0].p = data_pda;
p                 388 dev/raidframe/rf_dagffrd.c 		readNodes[i].params[1].p = data_pda->bufPtr;
p                 390 dev/raidframe/rf_dagffrd.c 		readNodes[i].params[2].p = 0;
p                 393 dev/raidframe/rf_dagffrd.c 		readNodes[i].params[4].p = parity_pda;
p                 243 dev/raidframe/rf_dagffwr.c 				rodNodes[nodeNum].params[0].p = pda;
p                 244 dev/raidframe/rf_dagffwr.c 				rodNodes[nodeNum].params[1].p = pda->bufPtr;
p                 263 dev/raidframe/rf_dagffwr.c 		wndNodes[i].params[0].p = pda;
p                 264 dev/raidframe/rf_dagffwr.c 		wndNodes[i].params[1].p = pda->bufPtr;
p                 297 dev/raidframe/rf_dagffwr.c 	xorNode->params[2 * (nWndNodes + nRodNodes)].p = raidPtr;
p                 307 dev/raidframe/rf_dagffwr.c 			if (((RF_PhysDiskAddr_t *) rodNodes[i].params[0].p)
p                 318 dev/raidframe/rf_dagffwr.c 		xorNode->results[0] = rodNodes[i].params[1].p;
p                 325 dev/raidframe/rf_dagffwr.c 	wnpNode->params[0].p = asmap->parityInfo;
p                 326 dev/raidframe/rf_dagffwr.c 	wnpNode->params[1].p = xorNode->results[0];
p                 347 dev/raidframe/rf_dagffwr.c 		wnqNode->params[0].p = asmap->qInfo;
p                 348 dev/raidframe/rf_dagffwr.c 		wnqNode->params[1].p = xorNode->results[1];
p                 604 dev/raidframe/rf_dagffwr.c 		readDataNodes[i].params[0].p = pda;
p                 606 dev/raidframe/rf_dagffwr.c 		readDataNodes[i].params[1].p = rf_AllocBuffer(raidPtr,
p                 626 dev/raidframe/rf_dagffwr.c 		readParityNodes[i].params[0].p = pda;
p                 628 dev/raidframe/rf_dagffwr.c 		readParityNodes[i].params[1].p = rf_AllocBuffer(raidPtr,
p                 649 dev/raidframe/rf_dagffwr.c 			readQNodes[i].params[0].p = pda;
p                 651 dev/raidframe/rf_dagffwr.c 			readQNodes[i].params[1].p = rf_AllocBuffer(raidPtr,
p                 672 dev/raidframe/rf_dagffwr.c 		writeDataNodes[i].params[0].p = pda;
p                 674 dev/raidframe/rf_dagffwr.c 		writeDataNodes[i].params[1].p = pda->bufPtr;
p                 685 dev/raidframe/rf_dagffwr.c 			unlockDataNodes[i].params[0].p = pda;
p                 748 dev/raidframe/rf_dagffwr.c 			xorNodes[i].params[6].p = raidPtr;
p                 750 dev/raidframe/rf_dagffwr.c 			xorNodes[i].results[0] = readParityNodes[i].params[1].p;
p                 767 dev/raidframe/rf_dagffwr.c 				qNodes[i].params[6].p = raidPtr;
p                 770 dev/raidframe/rf_dagffwr.c 				    readQNodes[i].params[1].p;
p                 795 dev/raidframe/rf_dagffwr.c 		xorNodes[0].params[2 * (numDataNodes + numDataNodes + 1)].p =
p                 797 dev/raidframe/rf_dagffwr.c 		xorNodes[0].results[0] = readParityNodes[0].params[1].p;
p                 828 dev/raidframe/rf_dagffwr.c 			    [2 * (numDataNodes + numDataNodes + 1)].p = raidPtr;
p                 829 dev/raidframe/rf_dagffwr.c 			qNodes[0].results[0] = readQNodes[0].params[1].p;
p                 842 dev/raidframe/rf_dagffwr.c 		writeParityNodes[i].params[0].p = pda;
p                 844 dev/raidframe/rf_dagffwr.c 		writeParityNodes[i].params[1].p = xorNodes[i].results[0];
p                 855 dev/raidframe/rf_dagffwr.c 			unlockParityNodes[i].params[0].p = pda;
p                 873 dev/raidframe/rf_dagffwr.c 			writeQNodes[i].params[0].p = pda;
p                 874 dev/raidframe/rf_dagffwr.c 			writeQNodes[i].params[1].p = qNodes[i].results[0];
p                 888 dev/raidframe/rf_dagffwr.c 				unlockQNodes[i].params[0].p = pda;
p                1203 dev/raidframe/rf_dagffwr.c 			wndNode[i].params[0].p = pda;
p                1204 dev/raidframe/rf_dagffwr.c 			wndNode[i].params[1].p = pda->bufPtr;
p                1223 dev/raidframe/rf_dagffwr.c 			wmirNode[i].params[0].p = pdaP;
p                1224 dev/raidframe/rf_dagffwr.c 			wmirNode[i].params[1].p = pda->bufPtr;
p                1381 dev/raidframe/rf_dagffwr.c 				rodNodes[nodeNum].params[0].p = pda;
p                1382 dev/raidframe/rf_dagffwr.c 				rodNodes[nodeNum].params[1].p = pda->bufPtr;
p                1401 dev/raidframe/rf_dagffwr.c 		wndNodes[i].params[0].p = pda;
p                1402 dev/raidframe/rf_dagffwr.c 		wndNodes[i].params[1].p = pda->bufPtr;
p                1427 dev/raidframe/rf_dagffwr.c 	xorNode->params[2 * (nWndNodes + nRodNodes)].p = raidPtr;
p                1437 dev/raidframe/rf_dagffwr.c 			if (((RF_PhysDiskAddr_t *) rodNodes[i].params[0].p)
p                1447 dev/raidframe/rf_dagffwr.c 		xorNode->results[0] = rodNodes[i].params[1].p;
p                1453 dev/raidframe/rf_dagffwr.c 	wnpNode->params[0].p = asmap->parityInfo;
p                1454 dev/raidframe/rf_dagffwr.c 	wnpNode->params[1].p = xorNode->results[0];
p                1475 dev/raidframe/rf_dagffwr.c 		wnqNode->params[0].p = asmap->qInfo;
p                1476 dev/raidframe/rf_dagffwr.c 		wnqNode->params[1].p = xorNode->results[1];
p                1724 dev/raidframe/rf_dagffwr.c 		readDataNodes[i].params[0].p = pda;
p                1726 dev/raidframe/rf_dagffwr.c 		readDataNodes[i].params[1].p = rf_AllocBuffer(raidPtr, dag_h,
p                1745 dev/raidframe/rf_dagffwr.c 		readParityNodes[i].params[0].p = pda;
p                1747 dev/raidframe/rf_dagffwr.c 		readParityNodes[i].params[1].p = rf_AllocBuffer(raidPtr,
p                1767 dev/raidframe/rf_dagffwr.c 			readQNodes[i].params[0].p = pda;
p                1769 dev/raidframe/rf_dagffwr.c 			readQNodes[i].params[1].p = rf_AllocBuffer(raidPtr,
p                1789 dev/raidframe/rf_dagffwr.c 		writeDataNodes[i].params[0].p = pda;
p                1791 dev/raidframe/rf_dagffwr.c 		writeDataNodes[i].params[1].p = pda->bufPtr;
p                1803 dev/raidframe/rf_dagffwr.c 			unlockDataNodes[i].params[0].p = pda;
p                1858 dev/raidframe/rf_dagffwr.c 			xorNodes[i].params[6].p = raidPtr;
p                1860 dev/raidframe/rf_dagffwr.c 			xorNodes[i].results[0] = readParityNodes[i].params[1].p;
p                1877 dev/raidframe/rf_dagffwr.c 				qNodes[i].params[6].p = raidPtr;
p                1880 dev/raidframe/rf_dagffwr.c 				    readQNodes[i].params[1].p;
p                1904 dev/raidframe/rf_dagffwr.c 		xorNodes[0].params[2 * (numDataNodes + numDataNodes + 1)].p =
p                1906 dev/raidframe/rf_dagffwr.c 		xorNodes[0].results[0] = readParityNodes[0].params[1].p;
p                1940 dev/raidframe/rf_dagffwr.c 			    [2 * (numDataNodes + numDataNodes + 1)].p =
p                1942 dev/raidframe/rf_dagffwr.c 			qNodes[0].results[0] = readQNodes[0].params[1].p;
p                1955 dev/raidframe/rf_dagffwr.c 		writeParityNodes[i].params[0].p = pda;
p                1957 dev/raidframe/rf_dagffwr.c 		writeParityNodes[i].params[1].p = xorNodes[i].results[0];
p                1968 dev/raidframe/rf_dagffwr.c 			unlockParityNodes[i].params[0].p =
p                1987 dev/raidframe/rf_dagffwr.c 			writeQNodes[i].params[0].p = pda;
p                1989 dev/raidframe/rf_dagffwr.c 			writeQNodes[i].params[1].p = qNodes[i].results[0];
p                2003 dev/raidframe/rf_dagffwr.c 				unlockQNodes[i].params[0].p = pda;
p                2298 dev/raidframe/rf_dagffwr.c 			wndNode[i].params[0].p = pda;
p                2299 dev/raidframe/rf_dagffwr.c 			wndNode[i].params[1].p = pda->bufPtr;
p                2318 dev/raidframe/rf_dagffwr.c 			wmirNode[i].params[0].p = pdaP;
p                2319 dev/raidframe/rf_dagffwr.c 			wmirNode[i].params[1].p = pda->bufPtr;
p                 174 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 175 dev/raidframe/rf_dagfuncs.c 	caddr_t buf = (caddr_t) node->params[1].p;
p                 205 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 206 dev/raidframe/rf_dagfuncs.c 	caddr_t buf = (caddr_t) node->params[1].p;
p                 279 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 280 dev/raidframe/rf_dagfuncs.c 	caddr_t buf = (caddr_t) node->params[1].p;
p                 321 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 322 dev/raidframe/rf_dagfuncs.c 	caddr_t buf = (caddr_t) node->params[1].p;
p                 365 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 390 dev/raidframe/rf_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 480 dev/raidframe/rf_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 490 dev/raidframe/rf_dagfuncs.c 			if (node->params[i + 1].p != node->results[0]) {
p                 492 dev/raidframe/rf_dagfuncs.c 				    (RF_PhysDiskAddr_t *) node->params[i].p,
p                 493 dev/raidframe/rf_dagfuncs.c 				    (char *) node->params[i + 1].p,
p                 509 dev/raidframe/rf_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 518 dev/raidframe/rf_dagfuncs.c 			if (node->params[i + 1].p != node->results[0]) {
p                 520 dev/raidframe/rf_dagfuncs.c 				    node->params[i + 1].p,
p                 524 dev/raidframe/rf_dagfuncs.c 				    node->params[i].p)->numSector),
p                 546 dev/raidframe/rf_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 549 dev/raidframe/rf_dagfuncs.c 	    (RF_PhysDiskAddr_t *) node->params[node->numParams - 2].p;
p                 561 dev/raidframe/rf_dagfuncs.c 			if (node->params[i + 1].p != node->results[0]) {
p                 562 dev/raidframe/rf_dagfuncs.c 				pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 563 dev/raidframe/rf_dagfuncs.c 				srcbuf = (char *) node->params[i + 1].p;
p                 198 dev/raidframe/rf_dagutils.c 	RF_PropHeader_t *p;
p                 200 dev/raidframe/rf_dagutils.c 	RF_CallocAndAdd(p, 1, sizeof(RF_PropHeader_t), (RF_PropHeader_t *),
p                 202 dev/raidframe/rf_dagutils.c 	p->resultNum = resultNum;
p                 203 dev/raidframe/rf_dagutils.c 	p->paramNum = paramNum;
p                 204 dev/raidframe/rf_dagutils.c 	p->next = next;
p                 205 dev/raidframe/rf_dagutils.c 	return (p);
p                 265 dev/raidframe/rf_dagutils.c 	char *p;
p                 267 dev/raidframe/rf_dagutils.c 	RF_MallocAndAdd(p, pda->numSector << raidPtr->logBytesPerSector,
p                 269 dev/raidframe/rf_dagutils.c 	return ((void *) p);
p                 307 dev/raidframe/rf_dagutils.c 		pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 308 dev/raidframe/rf_dagutils.c 		bufPtr = (void *) node->params[1].p;
p                 318 dev/raidframe/rf_dagutils.c 		pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 330 dev/raidframe/rf_dagutils.c 			pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 331 dev/raidframe/rf_dagutils.c 			bufPtr = (RF_PhysDiskAddr_t *) node->params[i + 1].p;
p                 341 dev/raidframe/rf_dagutils.c 			pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 342 dev/raidframe/rf_dagutils.c 			bufPtr = (RF_PhysDiskAddr_t *) node->params[i + 1].p;
p                1268 dev/raidframe/rf_dagutils.c 	RF_PhysDiskAddr_t *data_pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                1269 dev/raidframe/rf_dagutils.c 	RF_PhysDiskAddr_t *mirror_pda = (RF_PhysDiskAddr_t *) node->params[4].p;
p                1330 dev/raidframe/rf_dagutils.c 		node->params[0].p = mirror_pda;
p                1331 dev/raidframe/rf_dagutils.c 		node->params[4].p = tmp_pda;
p                1348 dev/raidframe/rf_dagutils.c 	RF_PhysDiskAddr_t *data_pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                1349 dev/raidframe/rf_dagutils.c 	RF_PhysDiskAddr_t *mirror_pda = (RF_PhysDiskAddr_t *) node->params[4].p;
p                1384 dev/raidframe/rf_dagutils.c 		node->params[0].p = mirror_pda;
p                1385 dev/raidframe/rf_dagutils.c 		node->params[4].p = tmp_pda;
p                  72 dev/raidframe/rf_debugMem.c rf_record_malloc(void *p, int size, int line, char *filen)
p                  77 dev/raidframe/rf_debugMem.c 	rf_memory_hash_insert(p, size, line, filen);
p                  81 dev/raidframe/rf_debugMem.c 	if ((long) p == rf_memDebugAddress) {
p                  88 dev/raidframe/rf_debugMem.c rf_unrecord_malloc(void *p, int sz)
p                  93 dev/raidframe/rf_debugMem.c 	size = rf_memory_hash_remove(p, sz);
p                  96 dev/raidframe/rf_debugMem.c 	if ((long) p == rf_memDebugAddress) {
p                 106 dev/raidframe/rf_debugMem.c 	struct mh_struct *p;
p                 109 dev/raidframe/rf_debugMem.c 		for (p = mh_table[i]; p; p = p->next)
p                 110 dev/raidframe/rf_debugMem.c 			if (p->allocated) {
p                 117 dev/raidframe/rf_debugMem.c 				    (long) p->address, p->size, p->line,
p                 118 dev/raidframe/rf_debugMem.c 				    p->filen);
p                 151 dev/raidframe/rf_debugMem.c 	struct mh_struct *p;
p                 156 dev/raidframe/rf_debugMem.c 	for (p = mh_table[bucket]; p && (p->address != addr); p = p->next);
p                 157 dev/raidframe/rf_debugMem.c 	if (!p) {
p                 158 dev/raidframe/rf_debugMem.c 		RF_Malloc(p, sizeof(struct mh_struct), (struct mh_struct *));
p                 159 dev/raidframe/rf_debugMem.c 		RF_ASSERT(p);
p                 160 dev/raidframe/rf_debugMem.c 		p->next = mh_table[bucket];
p                 161 dev/raidframe/rf_debugMem.c 		mh_table[bucket] = p;
p                 162 dev/raidframe/rf_debugMem.c 		p->address = addr;
p                 163 dev/raidframe/rf_debugMem.c 		p->allocated = 0;
p                 165 dev/raidframe/rf_debugMem.c 	if (p->allocated) {
p                 170 dev/raidframe/rf_debugMem.c 		    p->line, p->filen);
p                 173 dev/raidframe/rf_debugMem.c 	p->size = size;
p                 174 dev/raidframe/rf_debugMem.c 	p->line = line;
p                 175 dev/raidframe/rf_debugMem.c 	p->filen = filen;
p                 176 dev/raidframe/rf_debugMem.c 	p->allocated = 1;
p                 183 dev/raidframe/rf_debugMem.c 	struct mh_struct *p;
p                 186 dev/raidframe/rf_debugMem.c 	for (p = mh_table[bucket]; p && (p->address != addr); p = p->next);
p                 187 dev/raidframe/rf_debugMem.c 	if (!p) {
p                 192 dev/raidframe/rf_debugMem.c 	if (!p->allocated) {
p                 195 dev/raidframe/rf_debugMem.c 		    p->line, p->filen);
p                 198 dev/raidframe/rf_debugMem.c 	if (sz > 0 && p->size != sz) {
p                 205 dev/raidframe/rf_debugMem.c 		    (unsigned long) addr, sz, p->size, p->line, p->filen);
p                 208 dev/raidframe/rf_debugMem.c 	p->allocated = 0;
p                 209 dev/raidframe/rf_debugMem.c 	return (p->size);
p                 191 dev/raidframe/rf_diskqueue.c 	RF_DiskQueueSW_t	 *p,
p                 203 dev/raidframe/rf_diskqueue.c 	diskqueue->qPtr = p;
p                 204 dev/raidframe/rf_diskqueue.c 	diskqueue->qHdr = (p->Create) (sectPerDisk, clList, listp);
p                 264 dev/raidframe/rf_diskqueue.c 	RF_DiskQueueSW_t *p;
p                 270 dev/raidframe/rf_diskqueue.c 	for (p = NULL, i = 0; i < NUM_DISK_QUEUE_TYPES; i++) {
p                 272 dev/raidframe/rf_diskqueue.c 			p = &diskqueuesw[i];
p                 276 dev/raidframe/rf_diskqueue.c 	if (p == NULL) {
p                 279 dev/raidframe/rf_diskqueue.c 		p = &diskqueuesw[0];
p                 281 dev/raidframe/rf_diskqueue.c 	raidPtr->qType = p;
p                 297 dev/raidframe/rf_diskqueue.c 			    r, c, p, raidPtr->sectorsPerDisk,
p                 309 dev/raidframe/rf_diskqueue.c 		    raidPtr->numCol + r, p, raidPtr->sectorsPerDisk,
p                 588 dev/raidframe/rf_diskqueue.c 	RF_DiskQueueData_t *p;
p                 590 dev/raidframe/rf_diskqueue.c 	RF_FREELIST_GET_INIT(rf_dqd_freelist, p, next, (RF_DiskQueueData_t *),
p                 593 dev/raidframe/rf_diskqueue.c 	p->sectorOffset = ssect + rf_protectedSectors;
p                 594 dev/raidframe/rf_diskqueue.c 	p->numSector = nsect;
p                 595 dev/raidframe/rf_diskqueue.c 	p->type = typ;
p                 596 dev/raidframe/rf_diskqueue.c 	p->buf = buf;
p                 597 dev/raidframe/rf_diskqueue.c 	p->parityStripeID = parityStripeID;
p                 598 dev/raidframe/rf_diskqueue.c 	p->which_ru = which_ru;
p                 599 dev/raidframe/rf_diskqueue.c 	p->CompleteFunc = wakeF;
p                 600 dev/raidframe/rf_diskqueue.c 	p->argument = arg;
p                 601 dev/raidframe/rf_diskqueue.c 	p->next = next;
p                 602 dev/raidframe/rf_diskqueue.c 	p->tracerec = tracerec;
p                 603 dev/raidframe/rf_diskqueue.c 	p->priority = RF_IO_NORMAL_PRIORITY;
p                 604 dev/raidframe/rf_diskqueue.c 	p->AuxFunc = NULL;
p                 605 dev/raidframe/rf_diskqueue.c 	p->buf2 = NULL;
p                 606 dev/raidframe/rf_diskqueue.c 	p->raidPtr = raidPtr;
p                 607 dev/raidframe/rf_diskqueue.c 	p->flags = flags;
p                 608 dev/raidframe/rf_diskqueue.c 	p->b_proc = kb_proc;
p                 609 dev/raidframe/rf_diskqueue.c 	return (p);
p                 632 dev/raidframe/rf_diskqueue.c 	RF_DiskQueueData_t *p;
p                 634 dev/raidframe/rf_diskqueue.c 	RF_FREELIST_GET_INIT(rf_dqd_freelist, p, next, (RF_DiskQueueData_t *),
p                 637 dev/raidframe/rf_diskqueue.c 	p->sectorOffset = ssect + rf_protectedSectors;
p                 638 dev/raidframe/rf_diskqueue.c 	p->numSector = nsect;
p                 639 dev/raidframe/rf_diskqueue.c 	p->type = typ;
p                 640 dev/raidframe/rf_diskqueue.c 	p->buf = buf;
p                 641 dev/raidframe/rf_diskqueue.c 	p->parityStripeID = parityStripeID;
p                 642 dev/raidframe/rf_diskqueue.c 	p->which_ru = which_ru;
p                 643 dev/raidframe/rf_diskqueue.c 	p->CompleteFunc = wakeF;
p                 644 dev/raidframe/rf_diskqueue.c 	p->argument = arg;
p                 645 dev/raidframe/rf_diskqueue.c 	p->next = next;
p                 646 dev/raidframe/rf_diskqueue.c 	p->tracerec = tracerec;
p                 647 dev/raidframe/rf_diskqueue.c 	p->priority = priority;
p                 648 dev/raidframe/rf_diskqueue.c 	p->AuxFunc = AuxFunc;
p                 649 dev/raidframe/rf_diskqueue.c 	p->buf2 = buf2;
p                 650 dev/raidframe/rf_diskqueue.c 	p->raidPtr = raidPtr;
p                 651 dev/raidframe/rf_diskqueue.c 	p->flags = flags;
p                 652 dev/raidframe/rf_diskqueue.c 	p->b_proc = kb_proc;
p                 653 dev/raidframe/rf_diskqueue.c 	return (p);
p                 657 dev/raidframe/rf_diskqueue.c rf_FreeDiskQueueData(RF_DiskQueueData_t *p)
p                 659 dev/raidframe/rf_diskqueue.c 	RF_FREELIST_FREE_CLEAN(rf_dqd_freelist, p, next, rf_clean_dqd);
p                 641 dev/raidframe/rf_disks.c 	char *p;
p                 651 dev/raidframe/rf_disks.c 	p = rf_find_non_white(buf);
p                 652 dev/raidframe/rf_disks.c 	if (*buf != '\0' && p[strlen(p) - 1] == '\n') {
p                 654 dev/raidframe/rf_disks.c 		p[strlen(p) - 1] = '\0';
p                 656 dev/raidframe/rf_disks.c 	(void) strlcpy(diskPtr->devname, p, sizeof diskPtr->devname);
p                 883 dev/raidframe/rf_driver.c 	RF_DebugName_t *p;
p                 885 dev/raidframe/rf_driver.c 	for (p = rf_debugNames; p->name; p++) {
p                 886 dev/raidframe/rf_driver.c 		if (!strcmp(p->name, name)) {
p                 887 dev/raidframe/rf_driver.c 			*(p->ptr) = val;
p                 457 dev/raidframe/rf_evenodd.c 	char *pbuf, *buf, *end_p, *p;
p                 504 dev/raidframe/rf_evenodd.c 		blockNode->succedents[i]->params[0].p = pda;
p                 515 dev/raidframe/rf_evenodd.c 	blockNode->succedents[layoutPtr->numDataCol]->params[0].p =
p                 528 dev/raidframe/rf_evenodd.c 	blockNode->succedents[layoutPtr->numDataCol + 1]->params[0].p =
p                 552 dev/raidframe/rf_evenodd.c 	for (p = buf, i = 0; p < end_p; p += numbytes, i++) {
p                 553 dev/raidframe/rf_evenodd.c 		rf_e_encToBuf(raidPtr, i, p, RF_EO_MATRIX_DIM - 2,
p                 560 dev/raidframe/rf_evenodd.c 		rf_bxor(p, pbuf, numbytes, NULL);
p                 600 dev/raidframe/rf_evenodd.c 		wrBlock->succedents[0]->params[0].p = asmap->parityInfo;
p                 632 dev/raidframe/rf_evenodd.c 		wrBlock->succedents[0]->params[0].p = asmap->qInfo;
p                 114 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 128 dev/raidframe/rf_evenodd_dagfuncs.c 	    node->params[EpdaIndex].p;
p                 143 dev/raidframe/rf_evenodd_dagfuncs.c 		    ((RF_PhysDiskAddr_t *) node->params[k].p)->numSector);
p                 144 dev/raidframe/rf_evenodd_dagfuncs.c 		retcode = rf_bxor(node->params[k + EpdaIndex + 3].p,
p                 145 dev/raidframe/rf_evenodd_dagfuncs.c 		    node->params[k + 1].p, length, node->dagHdr->bp);
p                 152 dev/raidframe/rf_evenodd_dagfuncs.c 		if (node->params[i + 1].p != node->results[0]) {
p                 154 dev/raidframe/rf_evenodd_dagfuncs.c 			pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 155 dev/raidframe/rf_evenodd_dagfuncs.c 			srcbuf = (char *) node->params[i + 1].p;
p                 170 dev/raidframe/rf_evenodd_dagfuncs.c 		    ((RF_PhysDiskAddr_t *) node->params[k].p)->numSector);
p                 171 dev/raidframe/rf_evenodd_dagfuncs.c 		retcode = rf_bxor(node->params[k + EpdaIndex + 3].p,
p                 172 dev/raidframe/rf_evenodd_dagfuncs.c 		    node->params[k + 1].p, length, node->dagHdr->bp);
p                 186 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 188 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_PhysDiskAddr_t *pda = (RF_PhysDiskAddr_t *) node->params[0].p;
p                 196 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_ASSERT(((RF_PhysDiskAddr_t *) node->params[2].p)->type ==
p                 202 dev/raidframe/rf_evenodd_dagfuncs.c 		    ((RF_PhysDiskAddr_t *) node->params[4].p)->numSector);
p                 204 dev/raidframe/rf_evenodd_dagfuncs.c 		retcode = rf_bxor(node->params[5].p, node->params[1].p,
p                 211 dev/raidframe/rf_evenodd_dagfuncs.c 		srcbuf = node->params[1].p;
p                 212 dev/raidframe/rf_evenodd_dagfuncs.c 		destbuf = node->params[3].p;
p                 216 dev/raidframe/rf_evenodd_dagfuncs.c 		rf_bxor(node->params[5].p, node->params[1].p, length,
p                 238 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 249 dev/raidframe/rf_evenodd_dagfuncs.c 		RF_ASSERT(node->params[i + 1].p != ebuf);
p                 250 dev/raidframe/rf_evenodd_dagfuncs.c 		pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 253 dev/raidframe/rf_evenodd_dagfuncs.c 		srcbuf = (char *) node->params[i + 1].p;
p                 294 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 296 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_PhysDiskAddr_t *failedPDA = (RF_PhysDiskAddr_t *) node->params[node->numParams - 2].p;
p                 306 dev/raidframe/rf_evenodd_dagfuncs.c 		RF_ASSERT(node->params[i + 1].p != ebuf);
p                 307 dev/raidframe/rf_evenodd_dagfuncs.c 		pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 310 dev/raidframe/rf_evenodd_dagfuncs.c 		srcbuf = (char *) node->params[i + 1].p;
p                 444 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 446 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_PhysDiskAddr_t *failedPDA = (RF_PhysDiskAddr_t *) node->params[node->numParams - 2].p;
p                 461 dev/raidframe/rf_evenodd_dagfuncs.c 			if (node->params[i + 1].p != node->results[0]) {
p                 462 dev/raidframe/rf_evenodd_dagfuncs.c 				pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 468 dev/raidframe/rf_evenodd_dagfuncs.c 				srcbuf = (char *) node->params[i + 1].p;
p                 713 dev/raidframe/rf_evenodd_dagfuncs.c 	    node->params[np - 1].p;
p                 714 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 2].p;
p                 741 dev/raidframe/rf_evenodd_dagfuncs.c 		if (((RF_PhysDiskAddr_t *) node->params[i].p)->type !=
p                 756 dev/raidframe/rf_evenodd_dagfuncs.c 		ppda = node->params[np - 6].p;
p                 757 dev/raidframe/rf_evenodd_dagfuncs.c 		ppda2 = node->params[np - 5].p;
p                 759 dev/raidframe/rf_evenodd_dagfuncs.c 		epda = node->params[np - 4].p;
p                 760 dev/raidframe/rf_evenodd_dagfuncs.c 		epda2 = node->params[np - 3].p;
p                 764 dev/raidframe/rf_evenodd_dagfuncs.c 		ppda = node->params[np - 4].p;
p                 765 dev/raidframe/rf_evenodd_dagfuncs.c 		epda = node->params[np - 3].p;
p                 836 dev/raidframe/rf_evenodd_dagfuncs.c 		pda = node->params[prm].p;
p                 858 dev/raidframe/rf_evenodd_dagfuncs.c 				    node->params[prm].p)->bufPtr +
p                 949 dev/raidframe/rf_evenodd_dagfuncs.c 	    (RF_AccessStripeMap_t *) node->params[np - 1].p;
p                 950 dev/raidframe/rf_evenodd_dagfuncs.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 2].p;
p                 996 dev/raidframe/rf_evenodd_dagfuncs.c 		pda = (RF_PhysDiskAddr_t *) node->params[prm].p;
p                1068 dev/raidframe/rf_evenodd_dagfuncs.c 	rf_bxor(((RF_PhysDiskAddr_t *) node->params[numDataCol].p)->bufPtr,
p                  76 dev/raidframe/rf_geniq.c 	unsigned int m, p, q;
p                 141 dev/raidframe/rf_geniq.c 				for (p = 0; p < 32; p++)
p                 152 dev/raidframe/rf_geniq.c 							b = a ^ p;
p                 163 dev/raidframe/rf_geniq.c 							    i, j, p, q);
p                 113 dev/raidframe/rf_layout.c #define	RF_NU(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)
p                 115 dev/raidframe/rf_layout.c #define	RF_NU(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p)	a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p
p                 415 dev/raidframe/rf_layout.c 	RF_LayoutSW_t *p;
p                 418 dev/raidframe/rf_layout.c 	for (p = &mapsw[0]; p->parityConfig; p++)
p                 419 dev/raidframe/rf_layout.c 		if (p->parityConfig == parityConfig)
p                 421 dev/raidframe/rf_layout.c 	if (!p->parityConfig)
p                 423 dev/raidframe/rf_layout.c 	RF_ASSERT(p->parityConfig == parityConfig);
p                 424 dev/raidframe/rf_layout.c 	return (p);
p                 443 dev/raidframe/rf_layout.c 	RF_LayoutSW_t *p;
p                 460 dev/raidframe/rf_layout.c 	p = rf_GetLayout(parityConfig);
p                 461 dev/raidframe/rf_layout.c 	if (p == NULL) {
p                 465 dev/raidframe/rf_layout.c 	RF_ASSERT(p->parityConfig == parityConfig);
p                 466 dev/raidframe/rf_layout.c 	layoutPtr->map = p;
p                 470 dev/raidframe/rf_layout.c 	retval = (p->Configure) (listp, raidPtr, cfgPtr);
p                 496 dev/raidframe/rf_map.c 	RF_AccessStripeMapHeader_t *p;
p                 498 dev/raidframe/rf_map.c 	RF_FREELIST_GET(rf_asmhdr_freelist, p, next,
p                 500 dev/raidframe/rf_map.c 	bzero((char *) p, sizeof(RF_AccessStripeMapHeader_t));
p                 502 dev/raidframe/rf_map.c 	return (p);
p                 506 dev/raidframe/rf_map.c rf_FreeAccessStripeMapHeader(RF_AccessStripeMapHeader_t *p)
p                 508 dev/raidframe/rf_map.c 	RF_FREELIST_FREE(rf_asmhdr_freelist, p, next);
p                 514 dev/raidframe/rf_map.c 	RF_PhysDiskAddr_t *p;
p                 516 dev/raidframe/rf_map.c 	RF_FREELIST_GET(rf_pda_freelist, p, next, (RF_PhysDiskAddr_t *));
p                 517 dev/raidframe/rf_map.c 	bzero((char *) p, sizeof(RF_PhysDiskAddr_t));
p                 519 dev/raidframe/rf_map.c 	return (p);
p                 531 dev/raidframe/rf_map.c 	RF_PhysDiskAddr_t *p = NULL;
p                 533 dev/raidframe/rf_map.c 	RF_FREELIST_GET_N(rf_pda_freelist, p, next, (RF_PhysDiskAddr_t *),
p                 535 dev/raidframe/rf_map.c 	return (p);
p                 539 dev/raidframe/rf_map.c rf_FreePhysDiskAddr(RF_PhysDiskAddr_t *p)
p                 541 dev/raidframe/rf_map.c 	RF_FREELIST_FREE(rf_pda_freelist, p, next);
p                 559 dev/raidframe/rf_map.c 	RF_AccessStripeMap_t *p;
p                 561 dev/raidframe/rf_map.c 	RF_FREELIST_GET(rf_asm_freelist, p, next, (RF_AccessStripeMap_t *));
p                 562 dev/raidframe/rf_map.c 	bzero((char *) p, sizeof(RF_AccessStripeMap_t));
p                 564 dev/raidframe/rf_map.c 	return (p);
p                 576 dev/raidframe/rf_map.c 	RF_AccessStripeMap_t *p = NULL;
p                 578 dev/raidframe/rf_map.c 	RF_FREELIST_GET_N(rf_asm_freelist, p, next, (RF_AccessStripeMap_t *),
p                 580 dev/raidframe/rf_map.c 	return (p);
p                 584 dev/raidframe/rf_map.c rf_FreeAccessStripeMapComponent(RF_AccessStripeMap_t *p)
p                 586 dev/raidframe/rf_map.c 	RF_FREELIST_FREE(rf_asm_freelist, p, next);
p                 600 dev/raidframe/rf_map.c 	RF_AccessStripeMap_t *p, *pt = NULL;
p                 604 dev/raidframe/rf_map.c 	for (p = hdr->stripeMap; p; p = p->next) {
p                 609 dev/raidframe/rf_map.c 			pdaList = p->qInfo;
p                 611 dev/raidframe/rf_map.c 			pdaEnd->next = p->qInfo;
p                 612 dev/raidframe/rf_map.c 		for (trailer = NULL, pdp = p->qInfo; pdp;) {
p                 621 dev/raidframe/rf_map.c 			pdaList = p->parityInfo;
p                 623 dev/raidframe/rf_map.c 			pdaEnd->next = p->parityInfo;
p                 624 dev/raidframe/rf_map.c 		for (trailer = NULL, pdp = p->parityInfo; pdp;) {
p                 633 dev/raidframe/rf_map.c 			pdaList = p->physInfo;
p                 635 dev/raidframe/rf_map.c 			pdaEnd->next = p->physInfo;
p                 636 dev/raidframe/rf_map.c 		for (trailer = NULL, pdp = p->physInfo; pdp;) {
p                 644 dev/raidframe/rf_map.c 		pt = p;
p                 785 dev/raidframe/rf_map.c 	RF_PhysDiskAddr_t *p;
p                 820 dev/raidframe/rf_map.c 		for (i = 0, p = asmap->physInfo; p; p = p->next, i++) {
p                 821 dev/raidframe/rf_map.c 			printf("SU r%d c%d s%d-%d ", p->row, p->col,
p                 822 dev/raidframe/rf_map.c 			    (int) p->startSector,
p                 823 dev/raidframe/rf_map.c 			    (int) (p->startSector + p->numSector - 1));
p                 825 dev/raidframe/rf_map.c 				printf("b0x%lx ", (unsigned long) p->bufPtr);
p                 830 dev/raidframe/rf_map.c 		p = asm_h->stripeMap->failedPDAs[0];
p                 838 dev/raidframe/rf_map.c 				    p->row, p->col, (int) p->startSector,
p                 839 dev/raidframe/rf_map.c 				    (int) (p->startSector + p->numSector - 1));
p                  87 dev/raidframe/rf_memchunk.c 	RF_ChunkDesc_t *pt, *p;
p                  93 dev/raidframe/rf_memchunk.c 		for (p = hdr->list; p;) {
p                  95 dev/raidframe/rf_memchunk.c 				printf("Size %d reuse count %d\n", p->size, p->reuse_count);
p                  96 dev/raidframe/rf_memchunk.c 			pt = p;
p                  97 dev/raidframe/rf_memchunk.c 			p = p->next;
p                 141 dev/raidframe/rf_memchunk.c 	RF_ChunkDesc_t *p;
p                 144 dev/raidframe/rf_memchunk.c 		p = chunk_desc_free_list;
p                 145 dev/raidframe/rf_memchunk.c 		chunk_desc_free_list = p->next;
p                 147 dev/raidframe/rf_memchunk.c 		RF_Malloc(p, sizeof(RF_ChunkDesc_t), (RF_ChunkDesc_t *));
p                 148 dev/raidframe/rf_memchunk.c 	p->size = size;
p                 149 dev/raidframe/rf_memchunk.c 	p->buf = buf;
p                 150 dev/raidframe/rf_memchunk.c 	p->next = NULL;
p                 151 dev/raidframe/rf_memchunk.c 	p->reuse_count = 0;
p                 152 dev/raidframe/rf_memchunk.c 	return (p);
p                 163 dev/raidframe/rf_memchunk.c 	RF_ChunkDesc_t *p = NULL;
p                 169 dev/raidframe/rf_memchunk.c 			p = hdr->list;
p                 170 dev/raidframe/rf_memchunk.c 			if (p) {
p                 171 dev/raidframe/rf_memchunk.c 				hdr->list = p->next;
p                 172 dev/raidframe/rf_memchunk.c 				p->next = NULL;
p                 173 dev/raidframe/rf_memchunk.c 				p->reuse_count++;
p                 177 dev/raidframe/rf_memchunk.c 	if (!p) {
p                 179 dev/raidframe/rf_memchunk.c 		p = rf_NewMemChunk(size, buf);
p                 182 dev/raidframe/rf_memchunk.c 	(void) bzero(p->buf, size);
p                 183 dev/raidframe/rf_memchunk.c 	return (p);
p                 621 dev/raidframe/rf_openbsdkintf.c raidopen(dev_t dev, int flags, int fmt, struct proc *p)
p                 698 dev/raidframe/rf_openbsdkintf.c raidclose(dev_t dev, int flags, int fmt, struct proc *p)
p                 850 dev/raidframe/rf_openbsdkintf.c raidioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                2183 dev/raidframe/rf_openbsdkintf.c raidlookup(char *path, struct proc *p, struct vnode **vpp /* result */)
p                2190 dev/raidframe/rf_openbsdkintf.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, path, p);
p                2199 dev/raidframe/rf_openbsdkintf.c 		VOP_UNLOCK(vp, 0, p);
p                2200 dev/raidframe/rf_openbsdkintf.c 		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                2203 dev/raidframe/rf_openbsdkintf.c 	if ((error = VOP_GETATTR(vp, &va, p->p_ucred, p)) != 0) {
p                2204 dev/raidframe/rf_openbsdkintf.c 		VOP_UNLOCK(vp, 0, p);
p                2205 dev/raidframe/rf_openbsdkintf.c 		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                2210 dev/raidframe/rf_openbsdkintf.c 		VOP_UNLOCK(vp, 0, p);
p                2211 dev/raidframe/rf_openbsdkintf.c 		(void)vn_close(vp, FREAD|FWRITE, p->p_ucred, p);
p                2214 dev/raidframe/rf_openbsdkintf.c 	VOP_UNLOCK(vp, 0, p);
p                2560 dev/raidframe/rf_openbsdkintf.c 	struct proc *p = curproc;
p                2565 dev/raidframe/rf_openbsdkintf.c 			VOP_CLOSE(vp, FREAD | FWRITE, NOCRED, p);
p                2569 dev/raidframe/rf_openbsdkintf.c 			(void) vn_close(vp, FREAD | FWRITE, p->p_ucred, p);
p                 160 dev/raidframe/rf_paritylogDiskMgr.c 	rrd_rdNode->params[0].p = *rrd_pda;
p                 209 dev/raidframe/rf_paritylogDiskMgr.c 	fwr_wrNode->params[0].p = *fwr_pda;
p                 261 dev/raidframe/rf_paritylogDiskMgr.c 	prd_rdNode->params[0].p = *prd_pda;
p                 262 dev/raidframe/rf_paritylogDiskMgr.c 	prd_rdNode->params[1].p = parityBuffer;
p                 307 dev/raidframe/rf_paritylogDiskMgr.c 	pwr_wrNode->params[0].p = *pwr_pda;
p                1008 dev/raidframe/rf_paritylogging.c 							RF_PhysDiskAddr_t *p =
p                1011 dev/raidframe/rf_paritylogging.c 							    p->startSector %
p                1013 dev/raidframe/rf_paritylogging.c 							p->row = failedPDA->row;
p                1014 dev/raidframe/rf_paritylogging.c 							p->col = failedPDA->col;
p                1021 dev/raidframe/rf_paritylogging.c 							p->startSector =
p                 150 dev/raidframe/rf_parityloggingdags.c 				rodNodes[nodeNum].params[0].p = pda;
p                 151 dev/raidframe/rf_parityloggingdags.c 				rodNodes[nodeNum].params[1].p = pda->bufPtr;
p                 170 dev/raidframe/rf_parityloggingdags.c 		wndNodes[i].params[0].p = pda;
p                 171 dev/raidframe/rf_parityloggingdags.c 		wndNodes[i].params[1].p = pda->bufPtr;
p                 196 dev/raidframe/rf_parityloggingdags.c 	xorNode->params[2 * (nWndNodes + nRodNodes)].p = raidPtr;
p                 205 dev/raidframe/rf_parityloggingdags.c 		if (((RF_PhysDiskAddr_t *) rodNodes[i].params[0].p)
p                 214 dev/raidframe/rf_parityloggingdags.c 		xorNode->results[0] = rodNodes[i].params[1].p;
p                 222 dev/raidframe/rf_parityloggingdags.c 	lpoNode->params[0].p = asmap->parityInfo;
p                 223 dev/raidframe/rf_parityloggingdags.c 	lpoNode->params[1].p = xorNode->results[0];
p                 453 dev/raidframe/rf_parityloggingdags.c 		readDataNodes[i].params[0].p = pda;
p                 454 dev/raidframe/rf_parityloggingdags.c 		readDataNodes[i].params[1].p = rf_AllocBuffer(raidPtr, dag_h,
p                 473 dev/raidframe/rf_parityloggingdags.c 		readParityNodes[i].params[0].p = pda;
p                 474 dev/raidframe/rf_parityloggingdags.c 		readParityNodes[i].params[1].p = rf_AllocBuffer(raidPtr, dag_h,
p                 492 dev/raidframe/rf_parityloggingdags.c 		writeDataNodes[i].params[0].p = pda;
p                 494 dev/raidframe/rf_parityloggingdags.c 		writeDataNodes[i].params[1].p = pda->bufPtr;
p                 506 dev/raidframe/rf_parityloggingdags.c 			unlockDataNodes[i].params[0].p = pda;
p                 560 dev/raidframe/rf_parityloggingdags.c 			xorNodes[i].params[6].p = raidPtr;
p                 562 dev/raidframe/rf_parityloggingdags.c 			xorNodes[i].results[0] = readParityNodes[i].params[1].p;
p                 585 dev/raidframe/rf_parityloggingdags.c 		xorNodes[0].params[2 * (numDataNodes + numDataNodes + 1)].p =
p                 587 dev/raidframe/rf_parityloggingdags.c 		xorNodes[0].results[0] = readParityNodes[0].params[1].p;
p                 597 dev/raidframe/rf_parityloggingdags.c 		lpuNodes[i].params[0].p = pda;	/* PhysDiskAddr of parity. */
p                 599 dev/raidframe/rf_parityloggingdags.c 		lpuNodes[i].params[1].p = xorNodes[i].results[0];
p                 195 dev/raidframe/rf_parityscan.c 	char *pbuf, *buf, *end_p, *p;
p                 235 dev/raidframe/rf_parityscan.c 		blockNode->succedents[i]->params[0].p = pda;
p                 246 dev/raidframe/rf_parityscan.c 	blockNode->succedents[layoutPtr->numDataCol]->params[0].p =
p                 270 dev/raidframe/rf_parityscan.c 	for (p = buf; p < end_p; p += numbytes) {
p                 271 dev/raidframe/rf_parityscan.c 		rf_bxor(p, pbuf, numbytes, NULL);
p                 297 dev/raidframe/rf_parityscan.c 		wrBlock->succedents[0]->params[0].p = asmap->parityInfo;
p                 468 dev/raidframe/rf_parityscan.c 		nodes[i].params[1].p = (databuf + (i * bytesPerSU));
p                 298 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 1].p;
p                 312 dev/raidframe/rf_pq.c 	qbuf = (char *) node->params[2 * d + 1].p;	/* Q buffer. */
p                 314 dev/raidframe/rf_pq.c 		old = (RF_PhysDiskAddr_t *) node->params[2 * i].p;
p                 315 dev/raidframe/rf_pq.c 		obuf = (char *) node->params[2 * i + 1].p;
p                 316 dev/raidframe/rf_pq.c 		new = (RF_PhysDiskAddr_t *) node->params[2 * (d + 1 + i)].p;
p                 317 dev/raidframe/rf_pq.c 		nbuf = (char *) node->params[2 * (d + 1 + i) + 1].p;
p                 371 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 1].p;
p                 384 dev/raidframe/rf_pq.c 	qbuf = (char *) node->params[2 * d + 1].p;	/* Q buffer. */
p                 386 dev/raidframe/rf_pq.c 		old = (RF_PhysDiskAddr_t *) node->params[2 * i].p;
p                 387 dev/raidframe/rf_pq.c 		obuf = (char *) node->params[2 * i + 1].p;
p                 388 dev/raidframe/rf_pq.c 		new = (RF_PhysDiskAddr_t *) node->params[2 * (d + 1 + i)].p;
p                 389 dev/raidframe/rf_pq.c 		nbuf = (char *) node->params[2 * (d + 1 + i) + 1].p;
p                 431 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 1].p;
p                 445 dev/raidframe/rf_pq.c 		old = (RF_PhysDiskAddr_t *) node->params[2 * i].p;
p                 446 dev/raidframe/rf_pq.c 		obuf = (char *) node->params[2 * i + 1].p;
p                 482 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 1].p;
p                 493 dev/raidframe/rf_pq.c 	old = (RF_PhysDiskAddr_t *) node->params[np - 2].p;
p                 501 dev/raidframe/rf_pq.c 		old = (RF_PhysDiskAddr_t *) node->params[2 * i].p;
p                 502 dev/raidframe/rf_pq.c 		obuf = (char *) node->params[2 * i + 1].p;
p                 632 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 635 dev/raidframe/rf_pq.c 	    (RF_PhysDiskAddr_t *) node->params[node->numParams - 2].p;
p                 648 dev/raidframe/rf_pq.c 	bcopy(node->params[node->numParams - 3].p, node->results[0],
p                 651 dev/raidframe/rf_pq.c 		RF_ASSERT(node->params[i + 1].p != node->results[0]);
p                 652 dev/raidframe/rf_pq.c 		pda = (RF_PhysDiskAddr_t *) node->params[i].p;
p                 653 dev/raidframe/rf_pq.c 		srcbuf = (char *) node->params[i + 1].p;
p                 679 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[node->numParams - 1].p;
p                 703 dev/raidframe/rf_pq.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 1].p;
p                 713 dev/raidframe/rf_pq.c 	old = (RF_PhysDiskAddr_t *) node->params[np - 2].p;
p                 722 dev/raidframe/rf_pq.c 		old = (RF_PhysDiskAddr_t *) node->params[2 * i].p;
p                 723 dev/raidframe/rf_pq.c 		obuf = (char *) node->params[2 * i + 1].p;
p                 915 dev/raidframe/rf_pq.c 	unsigned long p, q, a, a0, a1;
p                 921 dev/raidframe/rf_pq.c 		p = *pbuf++;
p                 923 dev/raidframe/rf_pq.c 		a0 = EXTRACT(p, 0);
p                 929 dev/raidframe/rf_pq.c 	a0 = EXTRACT(p, i);						\
p                 949 dev/raidframe/rf_pq.c 		*bbuf++ = a ^ p;
p                 115 dev/raidframe/rf_pqdegdags.c 	(_node_).params[0].p = _p_ ;					\
p                 116 dev/raidframe/rf_pqdegdags.c 	(_node_).params[1].p = (_p_)->bufPtr;				\
p                 122 dev/raidframe/rf_pqdegdags.c #define	DISK_NODE_PDA(node)	((node)->params[0].p)
p                 204 dev/raidframe/rf_pqdegdags.c 	    (RF_AccessStripeMap_t *) node->params[np - 1].p;
p                 205 dev/raidframe/rf_pqdegdags.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 2].p;
p                 224 dev/raidframe/rf_pqdegdags.c 		ppda = node->params[np - 6].p;
p                 225 dev/raidframe/rf_pqdegdags.c 		ppda2 = node->params[np - 5].p;
p                 226 dev/raidframe/rf_pqdegdags.c 		qpda = node->params[np - 4].p;
p                 227 dev/raidframe/rf_pqdegdags.c 		qpda2 = node->params[np - 3].p;
p                 231 dev/raidframe/rf_pqdegdags.c 		ppda = node->params[np - 4].p;
p                 232 dev/raidframe/rf_pqdegdags.c 		qpda = node->params[np - 3].p;
p                 237 dev/raidframe/rf_pqdegdags.c 		pda = node->params[i].p;
p                 342 dev/raidframe/rf_pqdegdags.c 	    node->params[np - 1].p;
p                 343 dev/raidframe/rf_pqdegdags.c 	RF_Raid_t *raidPtr = (RF_Raid_t *) node->params[np - 2].p;
p                 361 dev/raidframe/rf_pqdegdags.c 		rf_applyPDA(raidPtr, node->params[i].p, ppda, qpda,
p                 419 dev/raidframe/rf_pqdegdags.c 		rf_applyPDA(raidPtr, node->params[i].p, ppda, qpda,
p                  85 dev/raidframe/rf_psstatus.c rf_init_pss(RF_ReconParityStripeStatus_t *p, RF_Raid_t *raidPtr)
p                  87 dev/raidframe/rf_psstatus.c 	RF_Calloc(p->issued, raidPtr->numCol, sizeof(char), (char *));
p                  88 dev/raidframe/rf_psstatus.c 	if (p->issued == NULL)
p                  94 dev/raidframe/rf_psstatus.c rf_clean_pss(RF_ReconParityStripeStatus_t *p, RF_Raid_t *raidPtr)
p                  96 dev/raidframe/rf_psstatus.c 	RF_Free(p->issued, raidPtr->numCol * sizeof(char));
p                 198 dev/raidframe/rf_psstatus.c 	RF_ReconParityStripeStatus_t *p, *pssPtr = hdr->chain;
p                 201 dev/raidframe/rf_psstatus.c 	for (p = pssPtr; p; p = p->next) {
p                 202 dev/raidframe/rf_psstatus.c 		if (p->parityStripeID == psID && p->which_ru == which_ru)
p                 206 dev/raidframe/rf_psstatus.c 	if (!p && (flags & RF_PSS_CREATE)) {
p                 209 dev/raidframe/rf_psstatus.c 		p = rf_AllocPSStatus(raidPtr);
p                 210 dev/raidframe/rf_psstatus.c 		p->next = hdr->chain;
p                 211 dev/raidframe/rf_psstatus.c 		hdr->chain = p;
p                 213 dev/raidframe/rf_psstatus.c 		p->parityStripeID = psID;
p                 214 dev/raidframe/rf_psstatus.c 		p->which_ru = which_ru;
p                 215 dev/raidframe/rf_psstatus.c 		p->flags = flags;
p                 216 dev/raidframe/rf_psstatus.c 		p->rbuf = NULL;
p                 217 dev/raidframe/rf_psstatus.c 		p->writeRbuf = NULL;
p                 218 dev/raidframe/rf_psstatus.c 		p->xorBufCount = 0;
p                 219 dev/raidframe/rf_psstatus.c 		p->blockCount = 0;
p                 220 dev/raidframe/rf_psstatus.c 		p->procWaitList = NULL;
p                 221 dev/raidframe/rf_psstatus.c 		p->blockWaitList = NULL;
p                 222 dev/raidframe/rf_psstatus.c 		p->bufWaitList = NULL;
p                 225 dev/raidframe/rf_psstatus.c 		if (p) {
p                 230 dev/raidframe/rf_psstatus.c 			p->flags |= flags;	/*
p                 235 dev/raidframe/rf_psstatus.c 	if (p && (flags & RF_PSS_RECON_BLOCKED)) {
p                 237 dev/raidframe/rf_psstatus.c 		p->blockCount++;
p                 239 dev/raidframe/rf_psstatus.c 			 raidPtr->raidid, psID, p->blockCount);
p                 241 dev/raidframe/rf_psstatus.c 	return (p);
p                 257 dev/raidframe/rf_psstatus.c 	RF_ReconParityStripeStatus_t *p = hdr->chain, *pt = NULL;
p                 259 dev/raidframe/rf_psstatus.c 	while (p) {
p                 260 dev/raidframe/rf_psstatus.c 		if (p == pssPtr) {
p                 262 dev/raidframe/rf_psstatus.c 				pt->next = p->next;
p                 264 dev/raidframe/rf_psstatus.c 				hdr->chain = p->next;
p                 265 dev/raidframe/rf_psstatus.c 			p->next = NULL;
p                 266 dev/raidframe/rf_psstatus.c 			rf_FreePSStatus(raidPtr, p);
p                 269 dev/raidframe/rf_psstatus.c 		pt = p;
p                 270 dev/raidframe/rf_psstatus.c 		p = p->next;
p                 287 dev/raidframe/rf_psstatus.c 	RF_ReconParityStripeStatus_t *p, *pt;
p                 291 dev/raidframe/rf_psstatus.c 	for (pt = NULL, p = hdr->chain; p; pt = p, p = p->next) {
p                 292 dev/raidframe/rf_psstatus.c 		if ((p->parityStripeID == psid) && (p->which_ru == which_ru))
p                 295 dev/raidframe/rf_psstatus.c 	if (p == NULL) {
p                 298 dev/raidframe/rf_psstatus.c 	RF_ASSERT(p);		/* It must be there. */
p                 304 dev/raidframe/rf_psstatus.c 		pt->next = p->next;
p                 306 dev/raidframe/rf_psstatus.c 		hdr->chain = p->next;
p                 307 dev/raidframe/rf_psstatus.c 	p->next = NULL;
p                 312 dev/raidframe/rf_psstatus.c 	cb = p->procWaitList;
p                 313 dev/raidframe/rf_psstatus.c 	p->procWaitList = NULL;
p                 316 dev/raidframe/rf_psstatus.c 		    p->parityStripeID);
p                 329 dev/raidframe/rf_psstatus.c 	rf_FreePSStatus(raidPtr, p);
p                 335 dev/raidframe/rf_psstatus.c 	RF_ReconParityStripeStatus_t *p;
p                 337 dev/raidframe/rf_psstatus.c 	RF_FREELIST_GET_INIT_ARG(raidPtr->pss_freelist, p, next,
p                 339 dev/raidframe/rf_psstatus.c 	if (p) {
p                 340 dev/raidframe/rf_psstatus.c 		bzero(p->issued, raidPtr->numCol);
p                 342 dev/raidframe/rf_psstatus.c 	p->next = NULL;
p                 347 dev/raidframe/rf_psstatus.c 	return (p);
p                 351 dev/raidframe/rf_psstatus.c rf_FreePSStatus(RF_Raid_t *raidPtr, RF_ReconParityStripeStatus_t *p)
p                 353 dev/raidframe/rf_psstatus.c 	RF_ASSERT(p->procWaitList == NULL);
p                 354 dev/raidframe/rf_psstatus.c 	RF_ASSERT(p->blockWaitList == NULL);
p                 355 dev/raidframe/rf_psstatus.c 	RF_ASSERT(p->bufWaitList == NULL);
p                 357 dev/raidframe/rf_psstatus.c 	RF_FREELIST_FREE_CLEAN_ARG(raidPtr->pss_freelist, p, next,
p                 365 dev/raidframe/rf_psstatus.c 	RF_ReconParityStripeStatus_t *p;
p                 370 dev/raidframe/rf_psstatus.c 		for (p = pssTable[i].chain; p; p = p->next) {
p                 372 dev/raidframe/rf_psstatus.c 			for (cb = p->procWaitList; cb; cb = cb->next)
p                 374 dev/raidframe/rf_psstatus.c 			for (cb = p->blockWaitList; cb; cb = cb->next)
p                 376 dev/raidframe/rf_psstatus.c 			for (cb = p->bufWaitList; cb; cb = cb->next)
p                 380 dev/raidframe/rf_psstatus.c 			    (long) p->parityStripeID, p->which_ru,
p                 381 dev/raidframe/rf_psstatus.c 			    p->blockCount, procsWaiting, blocksWaiting,
p                 384 dev/raidframe/rf_psstatus.c 				printf("%c", (p->issued[j]) ? '1' : '0');
p                 385 dev/raidframe/rf_psstatus.c 			if (!p->flags)
p                 388 dev/raidframe/rf_psstatus.c 				if (p->flags & RF_PSS_UNDER_RECON)
p                 390 dev/raidframe/rf_psstatus.c 				if (p->flags & RF_PSS_FORCED_ON_WRITE)
p                 392 dev/raidframe/rf_psstatus.c 				if (p->flags & RF_PSS_FORCED_ON_READ)
p                 394 dev/raidframe/rf_psstatus.c 				if (p->flags & RF_PSS_RECON_BLOCKED)
p                 396 dev/raidframe/rf_psstatus.c 				if (p->flags & RF_PSS_BUFFERWAIT)
p                 366 dev/raidframe/rf_raid1.c 		blockNode->succedents[i]->params[0].p = pda;
p                 367 dev/raidframe/rf_raid1.c 		blockNode->succedents[i]->params[1].p = buf1;
p                 389 dev/raidframe/rf_raid1.c 		blockNode->succedents[i]->params[0].p = pda;
p                 390 dev/raidframe/rf_raid1.c 		blockNode->succedents[i]->params[1].p = buf1;
p                 505 dev/raidframe/rf_raid1.c 			pda = blockNode->succedents[j]->params[0].p;
p                 506 dev/raidframe/rf_raid1.c 			pda->bufPtr = blockNode->succedents[i]->params[1].p;
p                 507 dev/raidframe/rf_raid1.c 			wrBlock->succedents[i]->params[0].p = pda;
p                 508 dev/raidframe/rf_raid1.c 			wrBlock->succedents[i]->params[1].p = pda->bufPtr;
p                 574 dev/raidframe/rf_raid1.c 	RF_CallbackDesc_t *cb, *p;
p                 675 dev/raidframe/rf_raid1.c 			for (p = reconCtrlPtr->bufferWaitList; p->next;
p                 676 dev/raidframe/rf_raid1.c 			     p = p->next);
p                 677 dev/raidframe/rf_raid1.c 			p->next = cb;
p                 242 dev/raidframe/rf_raid5.c 							RF_PhysDiskAddr_t *p =
p                 246 dev/raidframe/rf_raid5.c 							    p->startSector %
p                 248 dev/raidframe/rf_raid5.c 							p->row = failedPDA->row;
p                 249 dev/raidframe/rf_raid5.c 							p->col = failedPDA->col;
p                 256 dev/raidframe/rf_raid5.c 							p->startSector =
p                 138 dev/raidframe/rf_reconbuffer.c 	RF_CallbackDesc_t *cb, *p;
p                 276 dev/raidframe/rf_reconbuffer.c 			for (p = reconCtrlPtr->bufferWaitList; p->next;
p                 277 dev/raidframe/rf_reconbuffer.c 			     p = p->next);
p                 278 dev/raidframe/rf_reconbuffer.c 			p->next = cb;
p                 389 dev/raidframe/rf_reconbuffer.c 	RF_ReconBuffer_t *p;
p                 393 dev/raidframe/rf_reconbuffer.c 	if ((p = reconCtrlPtr->priorityList) != NULL) {
p                 394 dev/raidframe/rf_reconbuffer.c 		reconCtrlPtr->priorityList = p->next;
p                 395 dev/raidframe/rf_reconbuffer.c 		p->next = NULL;
p                 398 dev/raidframe/rf_reconbuffer.c 	if ((p = reconCtrlPtr->fullBufferList) != NULL) {
p                 399 dev/raidframe/rf_reconbuffer.c 		reconCtrlPtr->fullBufferList = p->next;
p                 400 dev/raidframe/rf_reconbuffer.c 		p->next = NULL;
p                 405 dev/raidframe/rf_reconbuffer.c 	return (p);
p                 419 dev/raidframe/rf_reconbuffer.c 	RF_ReconBuffer_t *p, *pt, *rbuf = (RF_ReconBuffer_t *) pssPtr->rbuf;
p                 434 dev/raidframe/rf_reconbuffer.c 			for (pt = reconCtrl->fullBufferList, p = pt->next;
p                 435 dev/raidframe/rf_reconbuffer.c 			     p && p->failedDiskSectorOffset <
p                 437 dev/raidframe/rf_reconbuffer.c 			     pt = p, p = p->next);
p                 438 dev/raidframe/rf_reconbuffer.c 			rbuf->next = p;
p                  90 dev/raidframe/rf_reconmap.c 	RF_ReconMap_t *p;
p                  93 dev/raidframe/rf_reconmap.c 	RF_Malloc(p, sizeof(RF_ReconMap_t), (RF_ReconMap_t *));
p                  94 dev/raidframe/rf_reconmap.c 	p->sectorsPerReconUnit = ru_sectors;
p                  95 dev/raidframe/rf_reconmap.c 	p->sectorsInDisk = disk_sectors;
p                  97 dev/raidframe/rf_reconmap.c 	p->totalRUs = num_rus;
p                  98 dev/raidframe/rf_reconmap.c 	p->spareRUs = spareUnitsPerDisk;
p                  99 dev/raidframe/rf_reconmap.c 	p->unitsLeft = num_rus - spareUnitsPerDisk;
p                 101 dev/raidframe/rf_reconmap.c 	RF_Malloc(p->status, num_rus * sizeof(RF_ReconMapListElem_t *),
p                 103 dev/raidframe/rf_reconmap.c 	RF_ASSERT(p->status != (RF_ReconMapListElem_t **) NULL);
p                 105 dev/raidframe/rf_reconmap.c 	(void) bzero((char *) p->status, num_rus *
p                 108 dev/raidframe/rf_reconmap.c 	p->size = sizeof(RF_ReconMap_t) + num_rus *
p                 110 dev/raidframe/rf_reconmap.c 	p->maxSize = p->size;
p                 112 dev/raidframe/rf_reconmap.c 	rc = rf_mutex_init(&p->mutex);
p                 116 dev/raidframe/rf_reconmap.c 		RF_Free(p->status, num_rus * sizeof(RF_ReconMapListElem_t *));
p                 117 dev/raidframe/rf_reconmap.c 		RF_Free(p, sizeof(RF_ReconMap_t));
p                 120 dev/raidframe/rf_reconmap.c 	return (p);
p                 145 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *p, *pt;
p                 155 dev/raidframe/rf_reconmap.c 		p = mapPtr->status[i];
p                 156 dev/raidframe/rf_reconmap.c 		if (p != RU_ALL) {
p                 157 dev/raidframe/rf_reconmap.c 			if (p == RU_NOTHING || p->startSector > startSector) {
p                 163 dev/raidframe/rf_reconmap.c 				     (p == RU_NOTHING) ? NULL : p);
p                 169 dev/raidframe/rf_reconmap.c 					pt = p;
p                 170 dev/raidframe/rf_reconmap.c 					p = p->next;
p                 171 dev/raidframe/rf_reconmap.c 				} while (p && (p->startSector < startSector));
p                 173 dev/raidframe/rf_reconmap.c 				    RF_MIN(stopSector, last_in_RU), p);
p                 205 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *p = mapPtr->status[i];
p                 207 dev/raidframe/rf_reconmap.c 	rf_crunch_list(mapPtr, p);
p                 209 dev/raidframe/rf_reconmap.c 	if ((p->startSector == i * sectorsPerReconUnit) &&
p                 210 dev/raidframe/rf_reconmap.c 	    (p->stopSector == i * sectorsPerReconUnit +
p                 214 dev/raidframe/rf_reconmap.c 		rf_FreeReconMapListElem(mapPtr, p);
p                 221 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *pt, *p = listPtr;
p                 223 dev/raidframe/rf_reconmap.c 	if (!p)
p                 225 dev/raidframe/rf_reconmap.c 	pt = p;
p                 226 dev/raidframe/rf_reconmap.c 	p = p->next;
p                 227 dev/raidframe/rf_reconmap.c 	while (p) {
p                 228 dev/raidframe/rf_reconmap.c 		if (pt->stopSector >= p->startSector - 1) {
p                 229 dev/raidframe/rf_reconmap.c 			pt->stopSector = RF_MAX(pt->stopSector, p->stopSector);
p                 230 dev/raidframe/rf_reconmap.c 			pt->next = p->next;
p                 231 dev/raidframe/rf_reconmap.c 			rf_FreeReconMapListElem(mapPtr, p);
p                 232 dev/raidframe/rf_reconmap.c 			p = pt->next;
p                 234 dev/raidframe/rf_reconmap.c 			pt = p;
p                 235 dev/raidframe/rf_reconmap.c 			p = p->next;
p                 251 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *p;
p                 253 dev/raidframe/rf_reconmap.c 	RF_Malloc(p, sizeof(RF_ReconMapListElem_t), (RF_ReconMapListElem_t *));
p                 254 dev/raidframe/rf_reconmap.c 	if (p == NULL)
p                 256 dev/raidframe/rf_reconmap.c 	p->startSector = startSector;
p                 257 dev/raidframe/rf_reconmap.c 	p->stopSector = stopSector;
p                 258 dev/raidframe/rf_reconmap.c 	p->next = next;
p                 259 dev/raidframe/rf_reconmap.c 	return (p);
p                 270 dev/raidframe/rf_reconmap.c rf_FreeReconMapListElem(RF_ReconMap_t *mapPtr, RF_ReconMapListElem_t *p)
p                 278 dev/raidframe/rf_reconmap.c 	RF_Free(p, sizeof(*p));
p                 292 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *p, *q;
p                 301 dev/raidframe/rf_reconmap.c 		p = mapPtr->status[i];
p                 302 dev/raidframe/rf_reconmap.c 		while (p != RU_NOTHING && p != RU_ALL) {
p                 303 dev/raidframe/rf_reconmap.c 			q = p;
p                 304 dev/raidframe/rf_reconmap.c 			p = p->next;
p                 363 dev/raidframe/rf_reconmap.c 	RF_ReconMapListElem_t *p;
p                 371 dev/raidframe/rf_reconmap.c 		p = mapPtr->status[i];
p                 372 dev/raidframe/rf_reconmap.c 		if (p == RU_ALL)
p                 375 dev/raidframe/rf_reconmap.c 			if (p == RU_NOTHING) {
p                 379 dev/raidframe/rf_reconmap.c 				rf_PrintList(p);
p                 212 dev/raidframe/rf_reconstruct.c 	RF_ReconDoneProc_t *p;
p                 215 dev/raidframe/rf_reconstruct.c 	for (p = raidPtr->recon_done_procs; p; p = p->next) {
p                 216 dev/raidframe/rf_reconstruct.c 		p->proc(raidPtr, p->arg);
p                 225 dev/raidframe/rf_reconstruct.c 	RF_ReconDoneProc_t *p;
p                 227 dev/raidframe/rf_reconstruct.c 	RF_FREELIST_GET(rf_rdp_freelist, p, next, (RF_ReconDoneProc_t *));
p                 228 dev/raidframe/rf_reconstruct.c 	if (p == NULL)
p                 230 dev/raidframe/rf_reconstruct.c 	p->proc = proc;
p                 231 dev/raidframe/rf_reconstruct.c 	p->arg = arg;
p                 233 dev/raidframe/rf_reconstruct.c 	p->next = raidPtr->recon_done_procs;
p                 234 dev/raidframe/rf_reconstruct.c 	raidPtr->recon_done_procs = p;
p                 237 dev/raidframe/rf_reconstruct.c 		*handlep = p;
p                1568 dev/raidframe/rf_reconstruct.c 	RF_CallbackDesc_t *p;
p                1592 dev/raidframe/rf_reconstruct.c 			p = reconCtrlPtr->headSepCBList;
p                1593 dev/raidframe/rf_reconstruct.c 			reconCtrlPtr->headSepCBList = p->next;
p                1594 dev/raidframe/rf_reconstruct.c 			p->next = NULL;
p                1595 dev/raidframe/rf_reconstruct.c 			rf_CauseReconEvent(raidPtr, p->row, p->col, NULL,
p                1597 dev/raidframe/rf_reconstruct.c 			rf_FreeCallbackDesc(p);
p                1627 dev/raidframe/rf_reconstruct.c 	RF_CallbackDesc_t *cb, *p, *pt;
p                1661 dev/raidframe/rf_reconstruct.c 		p = reconCtrlPtr->headSepCBList;
p                1662 dev/raidframe/rf_reconstruct.c 		if (!p)
p                1665 dev/raidframe/rf_reconstruct.c 			if (cb->callbackArg.v < p->callbackArg.v) {
p                1669 dev/raidframe/rf_reconstruct.c 				for (pt = p, p = p->next;
p                1670 dev/raidframe/rf_reconstruct.c 				    p && (p->callbackArg.v < cb->callbackArg.v);
p                1671 dev/raidframe/rf_reconstruct.c 				    pt = p, p = p->next);
p                1672 dev/raidframe/rf_reconstruct.c 				cb->next = p;
p                1900 dev/raidframe/rf_reconstruct.c 	cb->callbackArg.p = (void *) cbArg;
p                 285 dev/raidframe/rf_reconutil.c 	RF_ReconParityStripeStatus_t *p;
p                 304 dev/raidframe/rf_reconutil.c 		for (p = pssTable[i].chain; p; p = p->next) {
p                 305 dev/raidframe/rf_reconutil.c 			rbuf = (RF_ReconBuffer_t *) p->rbuf;
p                 309 dev/raidframe/rf_reconutil.c 			rbuf = (RF_ReconBuffer_t *) p->writeRbuf;
p                 313 dev/raidframe/rf_reconutil.c 			for (j = 0; j < p->xorBufCount; j++) {
p                 314 dev/raidframe/rf_reconutil.c 				rbuf = (RF_ReconBuffer_t *) p->rbufsForXor[j];
p                 206 dev/raidframe/rf_states.c 	callbackArg.p = desc->callbackArg;
p                 304 dev/raidframe/rf_states.c 		cb->callbackArg.p = (void *) desc;
p                 272 dev/raidframe/rf_stripelocks.c 	RF_LockReqDesc_t *p;
p                 348 dev/raidframe/rf_stripelocks.c 			for (p = lockDesc->granted; p; p = p->next)
p                 349 dev/raidframe/rf_stripelocks.c 				if (STRIPELOCK_CONFLICT(lockReqDesc, p)) {
p                 354 dev/raidframe/rf_stripelocks.c 				for (p = lockDesc->waitersH; p; p = p->next)
p                 355 dev/raidframe/rf_stripelocks.c 					if (STRIPELOCK_CONFLICT(lockReqDesc, p))
p                 737 dev/raidframe/rf_stripelocks.c 	RF_StripeLockDesc_t *p;
p                 739 dev/raidframe/rf_stripelocks.c 	RF_FREELIST_GET(rf_stripelock_freelist, p, next,
p                 741 dev/raidframe/rf_stripelocks.c 	if (p) {
p                 742 dev/raidframe/rf_stripelocks.c 		p->stripeID = stripeID;
p                 744 dev/raidframe/rf_stripelocks.c 	return (p);
p                 748 dev/raidframe/rf_stripelocks.c rf_FreeStripeLockDesc(RF_StripeLockDesc_t *p)
p                 750 dev/raidframe/rf_stripelocks.c 	RF_FREELIST_FREE(rf_stripelock_freelist, p, next);
p                 757 dev/raidframe/rf_stripelocks.c 	RF_StripeLockDesc_t *p;
p                 765 dev/raidframe/rf_stripelocks.c 			for (p = lockTable[i].descList; p; p = p->next) {
p                 767 dev/raidframe/rf_stripelocks.c 				    (long) p->stripeID, (int) p->stripeID,
p                 768 dev/raidframe/rf_stripelocks.c 				    p->nWriters);
p                 770 dev/raidframe/rf_stripelocks.c 				if (!(p->granted))
p                 774 dev/raidframe/rf_stripelocks.c 				for (did = 1, j = 0, q = p->granted; q;
p                 793 dev/raidframe/rf_stripelocks.c 				if (!(p->waitersH))
p                 797 dev/raidframe/rf_stripelocks.c 				for (did = 1, j = 0, q = p->waitersH; q;
p                  46 dev/raidframe/rf_strutils.c rf_find_non_white(char *p)
p                  48 dev/raidframe/rf_strutils.c 	for (; *p != '\0' && (*p == ' ' || *p == '\t'); p++);
p                  49 dev/raidframe/rf_strutils.c 	return (p);
p                  54 dev/raidframe/rf_strutils.c rf_find_white(char *p)
p                  56 dev/raidframe/rf_strutils.c 	for (; *p != '\0' && (*p != ' ' && *p != '\t'); p++);
p                  57 dev/raidframe/rf_strutils.c 	return (p);
p                 242 dev/raidframe/rf_types.h 	void		*p;
p                 123 dev/raidframe/rf_utils.c rf_atoi(char *p)
p                 127 dev/raidframe/rf_utils.c 	if (*p == '-') {
p                 129 dev/raidframe/rf_utils.c 		p++;
p                 131 dev/raidframe/rf_utils.c 	for (; ISDIGIT(*p); p++)
p                 132 dev/raidframe/rf_utils.c 		val = 10 * val + (*p - '0');
p                 137 dev/raidframe/rf_utils.c rf_htoi(char *p)
p                 140 dev/raidframe/rf_utils.c 	for (; ISHEXCHAR(*p); p++)
p                 141 dev/raidframe/rf_utils.c 		val = 16 * val + HC2INT(*p);
p                 739 dev/rasops/rasops.c 	const u_char *p;
p                 782 dev/rasops/rasops.c 	p = rasops_cmap;
p                 786 dev/rasops/rasops.c 			c = (*p >> (8 - ri->ri_rnum)) << ri->ri_rpos;
p                 788 dev/rasops/rasops.c 			c = (*p << (ri->ri_rnum - 8)) << ri->ri_rpos;
p                 789 dev/rasops/rasops.c 		p++;
p                 792 dev/rasops/rasops.c 			c |= (*p >> (8 - ri->ri_gnum)) << ri->ri_gpos;
p                 794 dev/rasops/rasops.c 			c |= (*p << (ri->ri_gnum - 8)) << ri->ri_gpos;
p                 795 dev/rasops/rasops.c 		p++;
p                 798 dev/rasops/rasops.c 			c |= (*p >> (8 - ri->ri_bnum)) << ri->ri_bpos;
p                 800 dev/rasops/rasops.c 			c |= (*p << (ri->ri_bnum - 8)) << ri->ri_bpos;
p                 801 dev/rasops/rasops.c 		p++;
p                 124 dev/rasops/rasops.h #define DELTA(p, d, cast) ((p) = (cast)((caddr_t)(p) + (d)))
p                 436 dev/rnd.c      	struct rand_event *p = rnd_event_tail;
p                 438 dev/rnd.c      	if (p == rnd_event_head)
p                 441 dev/rnd.c      	if (p + 1 >= &rnd_event_space[QEVLEN])
p                 446 dev/rnd.c      	return p;
p                 453 dev/rnd.c      	struct rand_event *p = rnd_event_head + 1;
p                 455 dev/rnd.c      	if (p >= &rnd_event_space[QEVLEN])
p                 456 dev/rnd.c      		p = rnd_event_space;
p                 458 dev/rnd.c      	if (p == rnd_event_tail)
p                 461 dev/rnd.c      	return rnd_event_head = p;
p                 638 dev/rnd.c      randomopen(dev_t dev, int flag, int mode, struct proc *p)
p                 644 dev/rnd.c      randomclose(dev_t dev, int flag, int mode, struct proc *p)
p                 710 dev/rnd.c      	struct timer_rand_state *p;
p                 725 dev/rnd.c      	p = &rnd_states[state];
p                 737 dev/rnd.c      	if (!p->dont_count_entropy) {
p                 739 dev/rnd.c      		delta  = time   - p->last_time;
p                 740 dev/rnd.c      		delta2 = delta  - p->last_delta;
p                 741 dev/rnd.c      		delta3 = delta2 - p->last_delta2;
p                 785 dev/rnd.c      		p->last_time = time;
p                 786 dev/rnd.c      		p->last_delta  = delta3;
p                 787 dev/rnd.c      		p->last_delta2 = delta2;
p                 788 dev/rnd.c      	} else if (p->max_entropy)
p                 798 dev/rnd.c      	rep->re_state = p;
p                1021 dev/rnd.c      randompoll(dev_t dev, int events, struct proc *p)
p                1028 dev/rnd.c      			selrecord(p, &rnd_rsel);
p                1129 dev/rnd.c      randomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                1134 dev/rnd.c      	add_timer_randomness((u_long)p ^ (u_long)data ^ cmd);
p                1151 dev/rnd.c      		if (suser(p, 0) != 0)
p                1163 dev/rnd.c      		if (suser(p, 0) != 0)
p                1172 dev/rnd.c      		if (suser(p, 0) != 0)
p                1183 dev/rnd.c      		if (suser(p, 0) != 0)
p                1195 dev/rnd.c      	add_timer_randomness((u_long)p ^ (u_long)data ^ cmd);
p                 237 dev/sbus/agten.c agten_ioctl(dev, cmd, data, flags, p)
p                 242 dev/sbus/agten.c 	struct proc *p;
p                 236 dev/sbus/bpp.c bppopen(dev_t dev, int flags, int mode, struct proc *p)
p                 264 dev/sbus/bpp.c bppclose(dev_t dev, int flags, int mode, struct proc *p)
p                 372 dev/sbus/bpp.c bppioctl(dev_t dev, u_long cmd, caddr_t	data, int flag, struct proc *p)
p                 221 dev/sbus/bwtwo.c bwtwo_ioctl(v, cmd, data, flags, p)
p                 226 dev/sbus/bwtwo.c 	struct proc *p;
p                 255 dev/sbus/cgsix.c cgsix_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 293 dev/sbus/cgthree.c cgthree_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 258 dev/sbus/cgtwelve.c cgtwelve_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 554 dev/sbus/cs4231.c     struct audio_params *p, struct audio_params *r)
p                 557 dev/sbus/cs4231.c 	int err, bits, enc = p->encoding;
p                 563 dev/sbus/cs4231.c 		if (p->precision != 8)
p                 568 dev/sbus/cs4231.c 		if (p->precision != 8)
p                 573 dev/sbus/cs4231.c 		if (p->precision == 8) {
p                 576 dev/sbus/cs4231.c 		} else if (p->precision == 16)
p                 582 dev/sbus/cs4231.c 		if (p->precision != 8)
p                 587 dev/sbus/cs4231.c 		if (p->precision == 8) {
p                 590 dev/sbus/cs4231.c 		} else if (p->precision == 16)
p                 596 dev/sbus/cs4231.c 		if (p->precision != 8)
p                 602 dev/sbus/cs4231.c 		if (p->precision == 8)
p                 604 dev/sbus/cs4231.c 		else if (p->precision == 16) {
p                 611 dev/sbus/cs4231.c 		if (p->precision == 8)
p                 613 dev/sbus/cs4231.c 		else if (p->precision == 16) {
p                 620 dev/sbus/cs4231.c 		if (p->precision != 8)
p                 628 dev/sbus/cs4231.c 	if (p->channels != 1 && p->channels != 2)
p                 631 dev/sbus/cs4231.c 	err = cs4231_set_speed(sc, &p->sample_rate);
p                 635 dev/sbus/cs4231.c 	p->sw_code = pswcode;
p                 639 dev/sbus/cs4231.c 	sc->sc_channels = p->channels;
p                 640 dev/sbus/cs4231.c 	sc->sc_precision = p->precision;
p                1319 dev/sbus/cs4231.c 	struct cs_dma *p;
p                1361 dev/sbus/cs4231.c 		p = chan->cs_curdma;
p                1364 dev/sbus/cs4231.c 			nextaddr = (u_int32_t)p->dmamap->dm_segs[0].ds_addr;
p                1386 dev/sbus/cs4231.c 			p = chan->cs_curdma;
p                1390 dev/sbus/cs4231.c 				    (u_int32_t)p->dmamap->dm_segs[0].ds_addr;
p                1422 dev/sbus/cs4231.c 	struct cs_dma *p;
p                1424 dev/sbus/cs4231.c 	p = (struct cs_dma *)malloc(sizeof(struct cs_dma), pool, flags);
p                1425 dev/sbus/cs4231.c 	if (p == NULL)
p                1429 dev/sbus/cs4231.c 	    BUS_DMA_NOWAIT, &p->dmamap) != 0)
p                1432 dev/sbus/cs4231.c 	p->size = size;
p                1434 dev/sbus/cs4231.c 	if (bus_dmamem_alloc(dmat, size, 64*1024, 0, p->segs,
p                1435 dev/sbus/cs4231.c 	    sizeof(p->segs)/sizeof(p->segs[0]), &p->nsegs,
p                1439 dev/sbus/cs4231.c 	if (bus_dmamem_map(dmat, p->segs, p->nsegs, p->size,
p                1440 dev/sbus/cs4231.c 	    &p->addr, BUS_DMA_NOWAIT | BUS_DMA_COHERENT) != 0)
p                1443 dev/sbus/cs4231.c 	if (bus_dmamap_load(dmat, p->dmamap, p->addr, size, NULL,
p                1447 dev/sbus/cs4231.c 	p->next = sc->sc_dmas;
p                1448 dev/sbus/cs4231.c 	sc->sc_dmas = p;
p                1449 dev/sbus/cs4231.c 	return (p->addr);
p                1452 dev/sbus/cs4231.c 	bus_dmamem_unmap(dmat, p->addr, p->size);
p                1454 dev/sbus/cs4231.c 	bus_dmamem_free(dmat, p->segs, p->nsegs);
p                1456 dev/sbus/cs4231.c 	bus_dmamap_destroy(dmat, p->dmamap);
p                1458 dev/sbus/cs4231.c 	free(p, pool);
p                1467 dev/sbus/cs4231.c 	struct cs_dma *p, **pp;
p                1469 dev/sbus/cs4231.c 	for (pp = &sc->sc_dmas; (p = *pp) != NULL; pp = &(*pp)->next) {
p                1470 dev/sbus/cs4231.c 		if (p->addr != ptr)
p                1472 dev/sbus/cs4231.c 		bus_dmamap_unload(dmat, p->dmamap);
p                1473 dev/sbus/cs4231.c 		bus_dmamem_unmap(dmat, p->addr, p->size);
p                1474 dev/sbus/cs4231.c 		bus_dmamem_free(dmat, p->segs, p->nsegs);
p                1475 dev/sbus/cs4231.c 		bus_dmamap_destroy(dmat, p->dmamap);
p                1476 dev/sbus/cs4231.c 		*pp = p->next;
p                1477 dev/sbus/cs4231.c 		free(p, pool);
p                1489 dev/sbus/cs4231.c 	struct cs_dma *p;
p                1503 dev/sbus/cs4231.c 	for (p = sc->sc_dmas; p->addr != start; p = p->next)
p                1505 dev/sbus/cs4231.c 	if (p == NULL) {
p                1518 dev/sbus/cs4231.c 	chan->cs_curdma = p;
p                1528 dev/sbus/cs4231.c 	APC_WRITE(sc, APC_PNVA, (u_long)p->dmamap->dm_segs[0].ds_addr);
p                1551 dev/sbus/cs4231.c 	struct cs_dma *p;
p                1564 dev/sbus/cs4231.c 	for (p = sc->sc_dmas; p->addr != start; p = p->next)
p                1566 dev/sbus/cs4231.c 	if (p == NULL) {
p                1579 dev/sbus/cs4231.c 	chan->cs_curdma = p;
p                1586 dev/sbus/cs4231.c 	APC_WRITE(sc, APC_CNVA, p->dmamap->dm_segs[0].ds_addr);
p                1604 dev/sbus/cs4231.c 		p = chan->cs_curdma;
p                1607 dev/sbus/cs4231.c 			nextaddr = (u_int32_t)p->dmamap->dm_segs[0].ds_addr;
p                 839 dev/sbus/magma.c mttyopen(dev_t dev, int flags, int mode, struct proc *p)
p                 901 dev/sbus/magma.c 	} else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0) {
p                 931 dev/sbus/magma.c mttyclose(dev_t dev, int flag, int mode, struct proc *p)
p                1006 dev/sbus/magma.c mttyioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                1013 dev/sbus/magma.c 	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flags, p);
p                1017 dev/sbus/magma.c 	error = ttioctl(tp, cmd, data, flags, p);
p                1063 dev/sbus/magma.c 		if (suser(p, 0))
p                1403 dev/sbus/magma.c mbppopen(dev_t dev, int flags, int mode, struct proc *p)
p                1451 dev/sbus/magma.c mbppclose(dev_t dev, int flag, int mode, struct proc *p)
p                1482 dev/sbus/magma.c mbppioctl(dev_t dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                1526 dev/sbus/magma.c mbpppoll(dev_t dev, int events, struct proc *p)
p                1528 dev/sbus/magma.c 	return (seltrue(dev, events, p));
p                 235 dev/sbus/mgx.c mgx_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 374 dev/sbus/qec.c 	caddr_t p;
p                 377 dev/sbus/qec.c 	p = qr->rb_membase;
p                 386 dev/sbus/qec.c 	qr->rb_txd = (struct qec_xd *)p;
p                 388 dev/sbus/qec.c 	p += QEC_XD_RING_MAXSIZE * sizeof(struct qec_xd);
p                 394 dev/sbus/qec.c 	qr->rb_rxd = (struct qec_xd *)p;
p                 396 dev/sbus/qec.c 	p += QEC_XD_RING_MAXSIZE * sizeof(struct qec_xd);
p                 403 dev/sbus/qec.c 	qr->rb_txbuf = p;
p                 405 dev/sbus/qec.c 	p += ntbuf * pktbufsz;
p                 411 dev/sbus/qec.c 	qr->rb_rxbuf = p;
p                 413 dev/sbus/qec.c 	p += nrbuf * pktbufsz;
p                 324 dev/sbus/rfx.c rfx_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 329 dev/sbus/spif.c sttyopen(dev, flags, mode, p)
p                 333 dev/sbus/spif.c 	struct proc *p;
p                 393 dev/sbus/spif.c 	else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0) {
p                 421 dev/sbus/spif.c sttyclose(dev, flags, mode, p)
p                 425 dev/sbus/spif.c 	struct proc *p;
p                 450 dev/sbus/spif.c sttyioctl(dev, cmd, data, flags, p)
p                 455 dev/sbus/spif.c 	struct proc *p;
p                 463 dev/sbus/spif.c 	error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flags, p);
p                 467 dev/sbus/spif.c 	error = ttioctl(tp, cmd, data, flags, p);
p                 508 dev/sbus/spif.c 		if (suser(p, 0))
p                1067 dev/sbus/spif.c sbppopen(dev, flags, mode, p)
p                1071 dev/sbus/spif.c 	struct proc *p;
p                1077 dev/sbus/spif.c sbppclose(dev, flags, mode, p)
p                1081 dev/sbus/spif.c 	struct proc *p;
p                1120 dev/sbus/spif.c sbpppoll(dev, events, p)
p                1123 dev/sbus/spif.c 	struct proc *p;
p                1125 dev/sbus/spif.c 	return (seltrue(dev, events, p));
p                1129 dev/sbus/spif.c sbppioctl(dev, cmd, data, flags, p)
p                1134 dev/sbus/spif.c 	struct proc *p;
p                 307 dev/sbus/tvtwo.c tvtwo_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 358 dev/sbus/vigra.c vigra_ioctl(void *v, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 331 dev/sbus/zx.c  zx_ioctl(void *dev, u_long cmd, caddr_t data, int flags, struct proc *p)
p                 592 dev/sdmmc/sdhc.c 			u_char *p = (u_char *)cmd->c_resp;
p                 596 dev/sdmmc/sdhc.c 				*p++ = HREAD1(hp, SDHC_RESPONSE + i);
p                 161 dev/sequencer.c sequenceropen(dev_t dev, int flags, int ifmt, struct proc *p)
p                 298 dev/sequencer.c sequencerclose(dev_t dev, int flags, int ifmt, struct proc *p)
p                 454 dev/sequencer.c sequencerioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 475 dev/sequencer.c 			sc->async = p;
p                 476 dev/sequencer.c 			DPRINTF(("sequencer_ioctl: FIOASYNC %p\n", p));
p                 604 dev/sequencer.c sequencerpoll(dev_t dev, int events, struct proc *p)
p                 621 dev/sequencer.c 			selrecord(p, &sc->rsel);
p                 623 dev/sequencer.c 			selrecord(p, &sc->wsel);
p                1264 dev/sequencer.c midiopen(dev_t dev, int flags, int ifmt, struct proc *p)
p                1277 dev/sequencer.c midiclose(dev_t dev, int flags, int ifmt, struct proc *p)
p                 553 dev/softraid.c     struct proc *p)
p                1746 dev/softraid.c sr_checksum(char *s, u_int32_t *p, u_int32_t size)
p                1751 dev/softraid.c 	DNPRINTF(SR_D_MISC, "%s: sr_checksum %p %d\n", s, p, size);
p                1757 dev/softraid.c 		chk ^= p[i];
p                 146 dev/sun/sunkbd.c sunkbd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                  69 dev/systrace.c int	systracef_ioctl(struct file *, u_long, caddr_t, struct proc *p);
p                 269 dev/systrace.c systracef_ioctl(fp, cmd, data, p)
p                 273 dev/systrace.c 	struct proc *p;
p                 384 dev/systrace.c 		fdp = p->p_fd;
p                 413 dev/systrace.c systracef_poll(fp, events, p)
p                 416 dev/systrace.c 	struct proc *p;
p                 430 dev/systrace.c 		selrecord(p, &fst->si);
p                 447 dev/systrace.c systracef_stat(fp, sb, p)
p                 450 dev/systrace.c 	struct proc *p;
p                 457 dev/systrace.c systracef_close(fp, p)
p                 459 dev/systrace.c 	struct proc *p;
p                 514 dev/systrace.c systraceopen(dev, flag, mode, p)
p                 518 dev/systrace.c 	struct proc *p;
p                 524 dev/systrace.c systraceclose(dev, flag, mode, p)
p                 528 dev/systrace.c 	struct proc *p;
p                 552 dev/systrace.c systraceioctl(dev, cmd, data, flag, p)
p                 557 dev/systrace.c 	struct proc *p;
p                 574 dev/systrace.c 		if (suser(p, 0) == 0)
p                 576 dev/systrace.c 		fst->p_ruid = p->p_cred->p_ruid;
p                 577 dev/systrace.c 		fst->p_rgid = p->p_cred->p_rgid;
p                 579 dev/systrace.c 		error = falloc(p, &f, &fd);
p                 599 dev/systrace.c systracepoll(dev, events, p)
p                 602 dev/systrace.c 	struct proc *p;
p                 604 dev/systrace.c 	return (seltrue(dev, events, p));
p                 655 dev/systrace.c systrace_fork(struct proc *oldproc, struct proc *p)
p                 671 dev/systrace.c 	if (systrace_insert_process(fst, p))
p                 673 dev/systrace.c 	if ((strp = systrace_findpid(fst, p->p_pid)) == NULL)
p                 681 dev/systrace.c 	systrace_msg_child(fst, oldstrp, p->p_pid);
p                 688 dev/systrace.c 	strp = p->p_systrace; \
p                 699 dev/systrace.c systrace_redirect(int code, struct proc *p, void *v, register_t *retval)
p                 712 dev/systrace.c 	strp = p->p_systrace;
p                 718 dev/systrace.c 	if (code < 0 || code >= p->p_emul->e_nsysent) {
p                 723 dev/systrace.c 	KASSERT(strp->proc == p);
p                 740 dev/systrace.c 	} else if (!ISSET(p->p_flag, P_SUGID) &&
p                 741 dev/systrace.c 	    !ISSET(p->p_flag, P_SUGIDEXEC)) {
p                 742 dev/systrace.c 		maycontrol = fst->p_ruid == p->p_cred->p_ruid &&
p                 743 dev/systrace.c 		    fst->p_rgid == p->p_cred->p_rgid;
p                 760 dev/systrace.c 	callp = p->p_emul->e_sysent + code;
p                 773 dev/systrace.c 			error = (*callp->sy_call)(p, v, retval);
p                 783 dev/systrace.c 	strp->sg = stackgap_init(p->p_emul);
p                 794 dev/systrace.c 	if ((strp = p->p_systrace) == NULL) {
p                 821 dev/systrace.c 	oldemul = p->p_emul;
p                 822 dev/systrace.c 	pc = p->p_cred;
p                 829 dev/systrace.c 			strp->saveuid = systrace_seteuid(p, strp->seteuid);
p                 831 dev/systrace.c 			strp->savegid = systrace_setegid(p, strp->setegid);
p                 837 dev/systrace.c 	error = (*callp->sy_call)(p, v, retval);
p                 841 dev/systrace.c 	if ((strp = p->p_systrace) == NULL) {
p                 849 dev/systrace.c 				systrace_seteuid(p, strp->saveuid);
p                 854 dev/systrace.c 				systrace_setegid(p, strp->savegid);
p                 861 dev/systrace.c 	if (ISSET(p->p_flag, P_SUGID) || ISSET(p->p_flag, P_SUGIDEXEC)) {
p                 881 dev/systrace.c 	if (p->p_emul != oldemul) {
p                 893 dev/systrace.c 	if (olduid != p->p_cred->p_ruid ||
p                 894 dev/systrace.c 	    oldgid != p->p_cred->p_rgid) {
p                 916 dev/systrace.c systrace_seteuid(struct proc *p,  uid_t euid)
p                 918 dev/systrace.c 	struct pcred *pc = p->p_cred;
p                 929 dev/systrace.c 	atomic_setbits_int(&p->p_flag, P_SUGID);
p                 935 dev/systrace.c systrace_setegid(struct proc *p,  gid_t egid)
p                 937 dev/systrace.c 	struct pcred *pc = p->p_cred;
p                 948 dev/systrace.c 	atomic_setbits_int(&p->p_flag, P_SUGID);
p                1181 dev/systrace.c 	struct proc *p = curproc, *t = strp->proc;
p                1211 dev/systrace.c 	uio.uio_procp = p;
p                1213 dev/systrace.c 	error = process_domem(p, t, &uio, PT_WRITE_I);
p                1224 dev/systrace.c 	struct proc *proc, *p = curproc;
p                1240 dev/systrace.c 	if (proc->p_pid == p->p_pid) {
p                1272 dev/systrace.c 	if ((proc->p_cred->p_ruid != p->p_cred->p_ruid ||
p                1275 dev/systrace.c 	    (error = suser(p, 0)) != 0)
p                1296 dev/systrace.c systrace_execve0(struct proc *p)
p                1301 dev/systrace.c 	strp = p->p_systrace;
p                1307 dev/systrace.c systrace_execve1(char *path, struct proc *p)
p                1315 dev/systrace.c 		strp = p->p_systrace;
p                1332 dev/systrace.c 		    fst->p_ruid != p->p_cred->p_ruid ||
p                1333 dev/systrace.c 		    fst->p_rgid != p->p_cred->p_rgid) {
p                1478 dev/systrace.c systrace_scriptname(struct proc *p, char *dst)
p                1485 dev/systrace.c 	strp = p->p_systrace;
p                1491 dev/systrace.c 	if (!fst->issuser && (ISSET(p->p_flag, P_SUGID) ||
p                1492 dev/systrace.c 		ISSET(p->p_flag, P_SUGIDEXEC) ||
p                1493 dev/systrace.c 		fst->p_ruid != p->p_cred->p_ruid ||
p                1494 dev/systrace.c 		fst->p_rgid != p->p_cred->p_rgid)) {
p                1735 dev/systrace.c 	struct proc *p = strp->proc;
p                1737 dev/systrace.c 	memcpy(msg_emul->emul, p->p_emul->e_name, SYSTR_EMULEN);
p                1746 dev/systrace.c 	struct proc *p = strp->proc;
p                1748 dev/systrace.c 	msg_ugid->uid = p->p_cred->p_ruid;
p                1749 dev/systrace.c 	msg_ugid->gid = p->p_cred->p_rgid;
p                 180 dev/tc/ioasicreg.h #define	IOASIC_DMA_ADDR(p) \
p                 181 dev/tc/ioasicreg.h     ((((p) << 3) & ~0x1f) | (((p) >> 29) & 0x1f))
p                 632 dev/usb/ehci.c 	u_char *p;
p                 642 dev/usb/ehci.c 	p = KERNADDR(&xfer->dmabuf, 0);
p                 644 dev/usb/ehci.c 	memset(p, 0, xfer->length);
p                 648 dev/usb/ehci.c 			p[i/8] |= 1 << (i%8);
p                 650 dev/usb/ehci.c 	DPRINTF(("ehci_pcd: change=0x%02x\n", *p));
p                1619 dev/usb/ehci.c ehci_str(usb_string_descriptor_t *p, int l, const char *s)
p                1625 dev/usb/ehci.c 	p->bLength = 2 * strlen(s) + 2;
p                1628 dev/usb/ehci.c 	p->bDescriptorType = UDESC_STRING;
p                1631 dev/usb/ehci.c 		USETW2(p->bString[i], 0, s[i]);
p                2371 dev/usb/ehci.c 	ehci_soft_qtd_t *p;
p                2377 dev/usb/ehci.c 	for (i = 0; sqtd != sqtdend; sqtd = p, i++) {
p                2378 dev/usb/ehci.c 		p = sqtd->nextqtd;
p                  66 dev/usb/hid.c  	u_char *p;
p                 103 dev/usb/hid.c  	s->start = s->p = d;
p                 129 dev/usb/hid.c  	u_char *p;
p                 154 dev/usb/hid.c  		p = s->p;
p                 155 dev/usb/hid.c  		if (p >= s->end)
p                 158 dev/usb/hid.c  		bSize = *p++;
p                 161 dev/usb/hid.c  			bSize = *p++;
p                 162 dev/usb/hid.c  			bSize |= *p++ << 8;
p                 163 dev/usb/hid.c  			bTag = *p++;
p                 164 dev/usb/hid.c  			data = p;
p                 165 dev/usb/hid.c  			p += bSize;
p                 173 dev/usb/hid.c  			data = p;
p                 174 dev/usb/hid.c  			p += bSize;
p                 176 dev/usb/hid.c  		s->p = p;
p                 211 dev/usb/if_aue.c #define aue_lookup(v, p) ((struct aue_type *)usb_lookup(aue_devs, v, p))
p                1022 dev/usb/if_aue.c 	struct aue_intrpkt	*p = &sc->aue_cdata.aue_ibuf;
p                1048 dev/usb/if_aue.c 	if (p->aue_txstat0)
p                1051 dev/usb/if_aue.c 	if (p->aue_txstat0 & (AUE_TXSTAT0_LATECOLL | AUE_TXSTAT0_EXCESSCOLL))
p                 174 dev/usb/if_axe.c #define axe_lookup(v, p) ((struct axe_type *)usb_lookup(axe_devs, v, p))
p                 114 dev/usb/if_cdce.c #define cdce_lookup(v, p) ((const struct cdce_type *)usb_lookup(cdce_devs, v, p))
p                1001 dev/usb/if_cdce.c 	const uint8_t *p;
p                1004 dev/usb/if_cdce.c 	p = buf;
p                1008 dev/usb/if_cdce.c 		crc = cdce_crc32_tab[(crc ^ *p++) & 0xFF] ^ (crc >> 8);
p                 111 dev/usb/if_cue.c #define cue_lookup(v, p) (usb_lookup(cue_devs, v, p))
p                 155 dev/usb/if_kue.c #define kue_lookup(v, p) (usb_lookup(kue_devs, v, p))
p                  96 dev/usb/if_uath.c #define UATH_DEV(v, p, f)						\
p                  97 dev/usb/if_uath.c 	{ { USB_VENDOR_##v, USB_PRODUCT_##v##_##p }, (f) },		\
p                  98 dev/usb/if_uath.c 	{ { USB_VENDOR_##v, USB_PRODUCT_##v##_##p##_NF },		\
p                 100 dev/usb/if_uath.c #define UATH_DEV_UG(v, p)	UATH_DEV(v, p, 0)
p                 101 dev/usb/if_uath.c #define UATH_DEV_UX(v, p)	UATH_DEV(v, p, UATH_FLAG_ABG)
p                 131 dev/usb/if_uath.c #define uath_lookup(v, p)	\
p                 132 dev/usb/if_uath.c 	((const struct uath_type *)usb_lookup(uath_devs, v, p))
p                 170 dev/usb/if_udav.c #define udav_lookup(v, p) ((struct udav_type *)usb_lookup(udav_devs, v, p))
p                 173 dev/usb/if_url.c #define url_lookup(v, p) ((struct url_type *)usb_lookup(url_devs, v, p))
p                 263 dev/usb/if_wi_usb.c #define wi_usb_lookup(v, p) ((struct wi_usb_type *)usb_lookup(wi_usb_devs, v, p))
p                  86 dev/usb/if_zyd.c #define ZYD_ZD1211_DEV(v, p)	\
p                  87 dev/usb/if_zyd.c 	{ { USB_VENDOR_##v, USB_PRODUCT_##v##_##p }, ZYD_ZD1211 }
p                  88 dev/usb/if_zyd.c #define ZYD_ZD1211B_DEV(v, p)	\
p                  89 dev/usb/if_zyd.c 	{ { USB_VENDOR_##v, USB_PRODUCT_##v##_##p }, ZYD_ZD1211B }
p                 143 dev/usb/if_zyd.c #define zyd_lookup(v, p)	\
p                 144 dev/usb/if_zyd.c 	((const struct zyd_type *)usb_lookup(zyd_devs, v, p))
p                1974 dev/usb/if_zyd.c 		const uint8_t *p = data->buf, *end = p + len;
p                1982 dev/usb/if_zyd.c 			if (len == 0 || p + len > end)
p                1985 dev/usb/if_zyd.c 			zyd_rx_data(sc, p, len);
p                1987 dev/usb/if_zyd.c 			p += (len + 3) & ~3;
p                 542 dev/usb/ohci.c 	ohci_soft_td_t *p;
p                 544 dev/usb/ohci.c 	for (; std != stdend; std = p) {
p                 545 dev/usb/ohci.c 		p = std->nexttd;
p                1085 dev/usb/ohci.c ohci_intr(void *p)
p                1087 dev/usb/ohci.c 	ohci_softc_t *sc = p;
p                1263 dev/usb/ohci.c 	ohci_soft_td_t  *std,  *sdone,  **p;
p                1288 dev/usb/ohci.c 	for (p = &sc->sc_sdone; *p != NULL; p = &(*p)->dnext)
p                1290 dev/usb/ohci.c 	*p = sdone;
p                1374 dev/usb/ohci.c 			ohci_soft_td_t *p, *n;
p                1382 dev/usb/ohci.c 			for (p = std; p->xfer == xfer; p = n) {
p                1383 dev/usb/ohci.c 				n = p->nexttd;
p                1384 dev/usb/ohci.c 				ohci_free_std(sc, p);
p                1388 dev/usb/ohci.c 			opipe->sed->ed.ed_headp = htole32(p->physaddr);
p                1553 dev/usb/ohci.c 	u_char *p;
p                1568 dev/usb/ohci.c 	p = KERNADDR(&xfer->dmabuf, 0);
p                1570 dev/usb/ohci.c 	memset(p, 0, xfer->length);
p                1574 dev/usb/ohci.c 			p[i/8] |= 1 << (i%8);
p                1576 dev/usb/ohci.c 	DPRINTF(("ohci_rhsc: change=0x%02x\n", *p));
p                1801 dev/usb/ohci.c 	ohci_soft_ed_t *p;
p                1806 dev/usb/ohci.c 	for (p = head; p != NULL && p->next != sed; p = p->next)
p                1808 dev/usb/ohci.c 	if (p == NULL)
p                1810 dev/usb/ohci.c 	p->next = sed->next;
p                1811 dev/usb/ohci.c 	p->ed.ed_nexted = sed->ed.ed_nexted;
p                2186 dev/usb/ohci.c 	ohci_soft_td_t *p, *n;
p                2240 dev/usb/ohci.c 	p = xfer->hcpriv;
p                2242 dev/usb/ohci.c 	if (p == NULL) {
p                2252 dev/usb/ohci.c 		ohci_dump_tds(p);
p                2257 dev/usb/ohci.c 	for (; p->xfer == xfer; p = n) {
p                2258 dev/usb/ohci.c 		hit |= headp == p->physaddr;
p                2259 dev/usb/ohci.c 		n = p->nexttd;
p                2260 dev/usb/ohci.c 		if (OHCI_TD_GET_CC(letoh32(p->td.td_flags)) ==
p                2262 dev/usb/ohci.c 			ohci_free_std(sc, p);
p                2267 dev/usb/ohci.c 			    (int)p->physaddr, (int)letoh32(sed->ed.ed_tailp)));
p                2268 dev/usb/ohci.c 		sed->ed.ed_headp = htole32(p->physaddr); /* unlink TDs */
p                2347 dev/usb/ohci.c ohci_str(usb_string_descriptor_t *p, int l, const char *s)
p                2353 dev/usb/ohci.c 	p->bLength = 2 * strlen(s) + 2;
p                2356 dev/usb/ohci.c 	p->bDescriptorType = UDESC_STRING;
p                2359 dev/usb/ohci.c 		USETW2(p->bString[i], 0, s[i]);
p                3092 dev/usb/ohci.c 	ohci_soft_ed_t *p, *sed = opipe->sed;
p                3103 dev/usb/ohci.c 	for (p = sc->sc_eds[pos]; p && p->next != sed; p = p->next)
p                3106 dev/usb/ohci.c 	if (p == NULL)
p                3109 dev/usb/ohci.c 	p->next = sed->next;
p                3110 dev/usb/ohci.c 	p->ed.ed_nexted = sed->ed.ed_nexted;
p                 763 dev/usb/uaudio.c 	int c, chs, ichs, ochs, i, o, bno, p, mo, mc, k;
p                 786 dev/usb/uaudio.c 	for (p = i = 0; i < d->bNrInPins; i++) {
p                 792 dev/usb/uaudio.c 				bno = (p + c) * ochs + o;
p                 803 dev/usb/uaudio.c 					bno = (p + c) * ochs + o;
p                 806 dev/usb/uaudio.c 							MAKE(p+c+1, o+1);
p                 817 dev/usb/uaudio.c 		p += chs;
p                2870 dev/usb/uaudio.c 			const struct audio_params *p, int mode,
p                2882 dev/usb/uaudio.c 		if (p->hw_channels != a1d->bNrChannels)
p                2884 dev/usb/uaudio.c 		if (p->hw_precision != a1d->bBitResolution)
p                2886 dev/usb/uaudio.c 		if (p->hw_encoding != alts[i].encoding)
p                2912 dev/usb/uaudio.c 		     const struct audio_params *p, int mode, u_long rate)
p                2918 dev/usb/uaudio.c 		 rate, p->hw_channels));
p                2923 dev/usb/uaudio.c 		if (p->hw_channels != a1d->bNrChannels)
p                2925 dev/usb/uaudio.c 		if (p->hw_precision != a1d->bBitResolution)
p                2927 dev/usb/uaudio.c 		if (p->hw_encoding != alts[i].encoding)
p                2951 dev/usb/uaudio.c 		      struct audio_params *p, int mode)
p                2959 dev/usb/uaudio.c 		 p->sample_rate, p->hw_channels, p->hw_precision));
p                2960 dev/usb/uaudio.c 	i = uaudio_match_alt_sub(nalts, alts, p, mode, p->sample_rate);
p                2964 dev/usb/uaudio.c 	uaudio_get_minmax_rates(nalts, alts, p, mode, &min, &max);
p                2970 dev/usb/uaudio.c 	while ((rate = p->sample_rate * n++) <= max) {
p                2971 dev/usb/uaudio.c 		i = uaudio_match_alt_sub(nalts, alts, p, mode, rate);
p                2973 dev/usb/uaudio.c 			p->hw_sample_rate = rate;
p                2977 dev/usb/uaudio.c 	if (p->sample_rate >= min) {
p                2978 dev/usb/uaudio.c 		i = uaudio_match_alt_sub(nalts, alts, p, mode, max);
p                2980 dev/usb/uaudio.c 			p->hw_sample_rate = max;
p                2984 dev/usb/uaudio.c 		i = uaudio_match_alt_sub(nalts, alts, p, mode, min);
p                2986 dev/usb/uaudio.c 			p->hw_sample_rate = min;
p                2995 dev/usb/uaudio.c 		 struct audio_params *p, int mode)
p                3000 dev/usb/uaudio.c 	i = uaudio_match_alt_chan(nalts, alts, p, mode);
p                3004 dev/usb/uaudio.c 	for (n = p->channels + 1; n <= AUDIO_MAX_CHANNELS; n++) {
p                3005 dev/usb/uaudio.c 		p->hw_channels = n;
p                3006 dev/usb/uaudio.c 		i = uaudio_match_alt_chan(nalts, alts, p, mode);
p                3011 dev/usb/uaudio.c 	if (p->channels != 2)
p                3013 dev/usb/uaudio.c 	p->hw_channels = 1;
p                3014 dev/usb/uaudio.c 	return uaudio_match_alt_chan(nalts, alts, p, mode);
p                3027 dev/usb/uaudio.c 	struct audio_params *p;
p                3051 dev/usb/uaudio.c 		p = (mode == AUMODE_PLAY) ? play : rec;
p                3055 dev/usb/uaudio.c 		enc = p->encoding;
p                3061 dev/usb/uaudio.c 			    && p->precision == 16 && (flags & HAS_16)) {
p                3064 dev/usb/uaudio.c 			} else if (p->precision == 8) {
p                3072 dev/usb/uaudio.c 					p->hw_precision = 16;
p                3083 dev/usb/uaudio.c 			if (p->precision == 16) {
p                3091 dev/usb/uaudio.c 			} else if (p->precision == 8) {
p                3099 dev/usb/uaudio.c 					p->hw_precision = 16;
p                3118 dev/usb/uaudio.c 				p->hw_precision = 16;
p                3141 dev/usb/uaudio.c 				p->hw_precision = 16;
p                3163 dev/usb/uaudio.c 			 p->channels, p->hw_precision, enc, p->sample_rate));
p                3165 dev/usb/uaudio.c 		p->hw_encoding = enc;
p                3166 dev/usb/uaudio.c 		i = uaudio_match_alt(sc->sc_nalts, sc->sc_alts, p, mode);
p                3170 dev/usb/uaudio.c 		p->sw_code = swcode;
p                3171 dev/usb/uaudio.c 		p->factor  = factor;
p                 118 dev/usb/uaudioreg.h #define UA_GETSAMP(p, n) ((p)->tSamFreq[(n)*3+0] | ((p)->tSamFreq[(n)*3+1] << 8) | ((p)->tSamFreq[(n)*3+2] << 16))
p                 119 dev/usb/uaudioreg.h #define UA_SAMP_LO(p) UA_GETSAMP(p, 0)
p                 120 dev/usb/uaudioreg.h #define UA_SAMP_HI(p) UA_GETSAMP(p, 1)
p                 238 dev/usb/ubsa.c #define ubsa_lookup(v, p) usb_lookup(ubsa_devs, v, p)
p                 310 dev/usb/ucom.c ucomopen(dev_t dev, int flag, int mode, struct proc *p)
p                 472 dev/usb/ucom.c 	} else if (ISSET(tp->t_state, TS_XCLUDE) && p->p_ucred->cr_uid != 0) {
p                 552 dev/usb/ucom.c ucomclose(dev_t dev, int flag, int mode, struct proc *p)
p                 624 dev/usb/ucom.c ucomioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 630 dev/usb/ucom.c 	error = ucom_do_ioctl(sc, cmd, data, flag, p);
p                 638 dev/usb/ucom.c 	      int flag, struct proc *p)
p                 649 dev/usb/ucom.c 	error = (*LINESW(tp, l_ioctl))(tp, cmd, data, flag, p);
p                 653 dev/usb/ucom.c 	error = ttioctl(tp, cmd, data, flag, p);
p                 659 dev/usb/ucom.c 			    sc->sc_portno, cmd, data, flag, p);
p                 691 dev/usb/ucom.c 		error = suser(p, 0);
p                1032 dev/usb/ucom.c ucomwritecb(usbd_xfer_handle xfer, usbd_private_handle p, usbd_status status)
p                1034 dev/usb/ucom.c 	struct ucom_softc *sc = (struct ucom_softc *)p;
p                1039 dev/usb/ucom.c 	DPRINTFN(5,("ucomwritecb: %p %p status=%d\n", xfer, p, status));
p                1106 dev/usb/ucom.c ucomreadcb(usbd_xfer_handle xfer, usbd_private_handle p, usbd_status status)
p                1108 dev/usb/ucom.c 	struct ucom_softc *sc = (struct ucom_softc *)p;
p                  57 dev/usb/ucomvar.h 			  caddr_t data, int flag, struct proc *p);
p                 166 dev/usb/ucycom.c #define ucycom_lookup(v, p) usb_lookup(ucycom_devs, v, p)
p                  89 dev/usb/ueagle.c #define ueagle_lookup(v, p)	\
p                  90 dev/usb/ueagle.c 	((struct ueagle_type *)usb_lookup(ueagle_devs, v, p))
p                 327 dev/usb/ueagle.c 	uint8_t *p;
p                 330 dev/usb/ueagle.c 	p = sc->dsp;
p                 331 dev/usb/ueagle.c 	pagecount = *p++;
p                 339 dev/usb/ueagle.c 	p += 4 * pageno;
p                 340 dev/usb/ueagle.c 	pageoffset = UGETDW(p);
p                 344 dev/usb/ueagle.c 	p = sc->dsp + pageoffset;
p                 345 dev/usb/ueagle.c 	blockcount = *p++;
p                 361 dev/usb/ueagle.c 		blockaddr = UGETW(p); p += 2;
p                 362 dev/usb/ueagle.c 		blocksize = UGETW(p); p += 2;
p                 378 dev/usb/ueagle.c 		usbd_setup_xfer(xfer, sc->pipeh_idma, sc, p, blocksize, 0,
p                 386 dev/usb/ueagle.c 		p += blocksize;
p                 918 dev/usb/ueagle.c 	uint8_t *p;
p                 926 dev/usb/ueagle.c 		p = req->offsets[i];
p                 929 dev/usb/ueagle.c 			ueagle_push_cell(sc, p);
p                 930 dev/usb/ueagle.c 			p += ATM_CELL_SIZE;
p                 335 dev/usb/uftdireg.h #define FTDI_GET_MSR(p) (((p)[0]) & FTDI_MSR_MASK)
p                 336 dev/usb/uftdireg.h #define FTDI_GET_LSR(p) ((p)[1])
p                 279 dev/usb/ugen.c ugenopen(dev_t dev, int flag, int mode, struct proc *p)
p                 423 dev/usb/ugen.c ugenclose(dev_t dev, int flag, int mode, struct proc *p)
p                1009 dev/usb/ugen.c 	      caddr_t addr, int flag, struct proc *p)
p                1192 dev/usb/ugen.c 		uio.uio_procp = p;
p                1241 dev/usb/ugen.c 			uio.uio_procp = p;
p                1279 dev/usb/ugen.c ugenioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                1288 dev/usb/ugen.c 	error = ugen_do_ioctl(sc, endpt, cmd, addr, flag, p);
p                1295 dev/usb/ugen.c ugenpoll(dev_t dev, int events, struct proc *p)
p                1328 dev/usb/ugen.c 				selrecord(p, &sce->rsel);
p                1336 dev/usb/ugen.c 				selrecord(p, &sce->rsel);
p                 762 dev/usb/uhci.c uhci_dump_td(uhci_soft_td_t *p)
p                 768 dev/usb/uhci.c 		     p, (long)p->physaddr,
p                 769 dev/usb/uhci.c 		     (long)letoh32(p->td.td_link),
p                 770 dev/usb/uhci.c 		     (long)letoh32(p->td.td_status),
p                 771 dev/usb/uhci.c 		     (long)letoh32(p->td.td_token),
p                 772 dev/usb/uhci.c 		     (long)letoh32(p->td.td_buffer)));
p                 774 dev/usb/uhci.c 	bitmask_snprintf((u_int32_t)letoh32(p->td.td_link), "\20\1T\2Q\3VF",
p                 776 dev/usb/uhci.c 	bitmask_snprintf((u_int32_t)letoh32(p->td.td_status),
p                 783 dev/usb/uhci.c 		     UHCI_TD_GET_ERRCNT(letoh32(p->td.td_status)),
p                 784 dev/usb/uhci.c 		     UHCI_TD_GET_ACTLEN(letoh32(p->td.td_status)),
p                 785 dev/usb/uhci.c 		     UHCI_TD_GET_PID(letoh32(p->td.td_token)),
p                 786 dev/usb/uhci.c 		     UHCI_TD_GET_DEVADDR(letoh32(p->td.td_token)),
p                 787 dev/usb/uhci.c 		     UHCI_TD_GET_ENDPT(letoh32(p->td.td_token)),
p                 788 dev/usb/uhci.c 		     UHCI_TD_GET_DT(letoh32(p->td.td_token)),
p                 789 dev/usb/uhci.c 		     UHCI_TD_GET_MAXLEN(letoh32(p->td.td_token))));
p                 942 dev/usb/uhci.c 	u_char *p;
p                 950 dev/usb/uhci.c 	p = KERNADDR(&xfer->dmabuf, 0);
p                 951 dev/usb/uhci.c 	p[0] = 0;
p                 953 dev/usb/uhci.c 		p[0] |= 1<<1;
p                 955 dev/usb/uhci.c 		p[0] |= 1<<2;
p                 956 dev/usb/uhci.c 	if (p[0] == 0)
p                1676 dev/usb/uhci.c 	uhci_soft_td_t *p;
p                1678 dev/usb/uhci.c 	for (; std != stdend; std = p) {
p                1679 dev/usb/uhci.c 		p = std->link.std;
p                1689 dev/usb/uhci.c 	uhci_soft_td_t *p, *lastp;
p                1726 dev/usb/uhci.c 		p = uhci_alloc_std(sc);
p                1727 dev/usb/uhci.c 		if (p == NULL) {
p                1731 dev/usb/uhci.c 		p->link.std = lastp;
p                1732 dev/usb/uhci.c 		p->td.td_link = htole32(lastlink | UHCI_PTR_VF | UHCI_PTR_TD);
p                1733 dev/usb/uhci.c 		lastp = p;
p                1734 dev/usb/uhci.c 		lastlink = p->physaddr;
p                1735 dev/usb/uhci.c 		p->td.td_status = htole32(status);
p                1741 dev/usb/uhci.c 			*ep = p;
p                1744 dev/usb/uhci.c 		p->td.td_token =
p                1747 dev/usb/uhci.c 		p->td.td_buffer = htole32(DMAADDR(dma, i * maxp));
p                2960 dev/usb/uhci.c uhci_str(usb_string_descriptor_t *p, int l, char *s)
p                2966 dev/usb/uhci.c 	p->bLength = 2 * strlen(s) + 2;
p                2969 dev/usb/uhci.c 	p->bDescriptorType = UDESC_STRING;
p                2972 dev/usb/uhci.c 		USETW2(p->bString[i], 0, s[i]);
p                 251 dev/usb/uhid.c uhidopen(dev_t dev, int flag, int mode, struct proc *p)
p                 283 dev/usb/uhid.c uhidclose(dev_t dev, int flag, int mode, struct proc *p)
p                 416 dev/usb/uhid.c 	      int flag, struct proc *p)
p                 439 dev/usb/uhid.c 			sc->sc_async = p;
p                 440 dev/usb/uhid.c 			DPRINTF(("uhid_do_ioctl: FIOASYNC %p\n", p));
p                 530 dev/usb/uhid.c uhidioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 538 dev/usb/uhid.c 	error = uhid_do_ioctl(sc, cmd, addr, flag, p);
p                 545 dev/usb/uhid.c uhidpoll(dev_t dev, int events, struct proc *p)
p                 563 dev/usb/uhid.c 			selrecord(p, &sc->sc_rsel);
p                 412 dev/usb/uhidev.c 	u_char *p;
p                 440 dev/usb/uhidev.c 	p = sc->sc_ibuf;
p                 442 dev/usb/uhidev.c 		rep = *p++, cc--;
p                 459 dev/usb/uhidev.c 	scd->sc_intr(scd, p, cc);
p                 140 dev/usb/uhub.c 	int p, port, nports, nremov, pwrdly;
p                 290 dev/usb/uhub.c 	for (p = 0; p < nports; p++) {
p                 291 dev/usb/uhub.c 		struct usbd_port *up = &hub->ports[p];
p                 294 dev/usb/uhub.c 		up->portno = p+1;
p                 303 dev/usb/uhub.c 			up->tt = &tts[UHUB_IS_SINGLE_TT(sc) ? 0 : p];
p                 131 dev/usb/uipaq.c #define uipaq_lookup(v, p) ((struct uipaq_type *)usb_lookup(uipaq_devs, v, p))
p                 280 dev/usb/ukbd.c 		struct ukbdtraceinfo *p =
p                 284 dev/usb/ukbd.c 		       p->tv.tv_sec, p->tv.tv_usec,
p                 285 dev/usb/ukbd.c 		       p->ud.modifiers, p->ud.keycode[0], p->ud.keycode[1],
p                 286 dev/usb/ukbd.c 		       p->ud.keycode[2], p->ud.keycode[3]);
p                 631 dev/usb/ukbd.c 		struct ukbdtraceinfo *p = &ukbdtracedata[ukbdtraceindex];
p                 632 dev/usb/ukbd.c 		p->unit = sc->sc_hdev.sc_dev.dv_unit;
p                 633 dev/usb/ukbd.c 		microtime(&p->tv);
p                 634 dev/usb/ukbd.c 		p->ud = *ud;
p                 798 dev/usb/ukbd.c ukbd_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 433 dev/usb/ulpt.c ulptopen(dev_t dev, int flag, int mode, struct proc *p)
p                 558 dev/usb/ulpt.c ulptclose(dev_t dev, int flag, int mode, struct proc *p)
p                 648 dev/usb/ulpt.c ulptioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 668 dev/usb/ulpt.c 	char *p, *q;
p                 670 dev/usb/ulpt.c 	for (p = str-1; p; p = strchr(p, ';')) {
p                 671 dev/usb/ulpt.c 		p++;		/* skip ';' */
p                 672 dev/usb/ulpt.c 		if (strncmp(p, "MFG:", 4) == 0 ||
p                 673 dev/usb/ulpt.c 		    strncmp(p, "MANUFACTURER:", 14) == 0 ||
p                 674 dev/usb/ulpt.c 		    strncmp(p, "MDL:", 4) == 0 ||
p                 675 dev/usb/ulpt.c 		    strncmp(p, "MODEL:", 6) == 0) {
p                 676 dev/usb/ulpt.c 			q = strchr(p, ';');
p                 678 dev/usb/ulpt.c 				printf("%.*s", (int)(q - p + 1), p);
p                 157 dev/usb/umct.c #define umct_lookup(v, p) usb_lookup(umct_devs, v, p)
p                 657 dev/usb/umidi.c 	struct umidi_endpoint *p, *q, *lowest, *endep, tmpep;
p                 662 dev/usb/umidi.c 	sc->sc_endpoints = p = malloc(sizeof(struct umidi_endpoint) * num_ep,
p                 664 dev/usb/umidi.c 	if (!p)
p                 689 dev/usb/umidi.c 				p->sc = sc;
p                 690 dev/usb/umidi.c 				p->addr = epaddr;
p                 691 dev/usb/umidi.c 				p->packetsize = eppacketsize;
p                 692 dev/usb/umidi.c 				p->num_jacks = TO_CSEPD(desc)->bNumEmbMIDIJack;
p                 695 dev/usb/umidi.c 					sc->sc_out_num_jacks += p->num_jacks;
p                 698 dev/usb/umidi.c 					sc->sc_in_num_jacks += p->num_jacks;
p                 700 dev/usb/umidi.c 				p++;
p                 710 dev/usb/umidi.c 	p = sc->sc_endpoints;
p                 711 dev/usb/umidi.c 	endep = p + num_ep;
p                 712 dev/usb/umidi.c 	while (p<endep) {
p                 713 dev/usb/umidi.c 		lowest = p;
p                 714 dev/usb/umidi.c 		for (q=p+1; q<endep; q++) {
p                 723 dev/usb/umidi.c 		if (lowest != p) {
p                 724 dev/usb/umidi.c 			memcpy((void *)&tmpep, (void *)p, sizeof(tmpep));
p                 725 dev/usb/umidi.c 			memcpy((void *)p, (void *)lowest, sizeof(tmpep));
p                 728 dev/usb/umidi.c 		p->num_open = 0;
p                 729 dev/usb/umidi.c 		p++;
p                1121 dev/usb/umidi.c #define	GET_CN(p)		(((unsigned char)(p)>>4)&0x0F)
p                1122 dev/usb/umidi.c #define GET_CIN(p)		((unsigned char)(p)&0x0F)
p                1171 dev/usb/umidi.c #define DPR_PACKET(dir, sc, p)						\
p                1175 dev/usb/umidi.c 		  (unsigned char)(p)->buffer[0],			\
p                1176 dev/usb/umidi.c 		  (unsigned char)(p)->buffer[1],			\
p                1177 dev/usb/umidi.c 		  (unsigned char)(p)->buffer[2],			\
p                1178 dev/usb/umidi.c 		  (unsigned char)(p)->buffer[3]));
p                1180 dev/usb/umidi.c #define DPR_PACKET(dir, sc, p)
p                 382 dev/usb/umidi_quirks.c 	struct umidi_quirk *p;
p                 388 dev/usb/umidi_quirks.c 	for (p=&umidi_quirklist[0]; p->vendor; p++) {
p                 390 dev/usb/umidi_quirks.c 			      p->vendor, p->product, p->iface));
p                 391 dev/usb/umidi_quirks.c 		if ((p->vendor==vendor || p->vendor==ANYVENDOR) &&
p                 392 dev/usb/umidi_quirks.c 		    (p->product==product || p->product==ANYPRODUCT) &&
p                 393 dev/usb/umidi_quirks.c 		    (p->iface==ifaceno || p->iface==ANYIFACE)) {
p                 395 dev/usb/umidi_quirks.c 			if (!p->type_mask)
p                 397 dev/usb/umidi_quirks.c 				for (q=p->quirks; q->type; q++)
p                 398 dev/usb/umidi_quirks.c 					p->type_mask |= 1<<(q->type-1);
p                 399 dev/usb/umidi_quirks.c 			return p;
p                  66 dev/usb/umidi_quirks.h #define UMQ_DEF(v, p, i)					\
p                  67 dev/usb/umidi_quirks.h static struct umq_data	umq_##v##_##p##_##i[]
p                  68 dev/usb/umidi_quirks.h #define UMQ_REG(v, p, i)					\
p                  69 dev/usb/umidi_quirks.h 	{ USB_VENDOR_##v, USB_PRODUCT_##p, i,			\
p                  70 dev/usb/umidi_quirks.h 	  umq_##v##_##p##_##i, 0 }
p                  92 dev/usb/umidi_quirks.h #define UMQ_FIXED_EP_DEF(v, p, i, noep, niep)				\
p                  94 dev/usb/umidi_quirks.h umq_##v##_##p##_##i##_fixed_ep_endpoints[noep+niep];			\
p                  96 dev/usb/umidi_quirks.h umq_##v##_##p##_##i##_fixed_ep_desc = {					\
p                  98 dev/usb/umidi_quirks.h 	&umq_##v##_##p##_##i##_fixed_ep_endpoints[0],			\
p                  99 dev/usb/umidi_quirks.h 	&umq_##v##_##p##_##i##_fixed_ep_endpoints[noep],		\
p                 102 dev/usb/umidi_quirks.h umq_##v##_##p##_##i##_fixed_ep_endpoints[noep+niep]
p                 104 dev/usb/umidi_quirks.h #define UMQ_FIXED_EP_REG(v, p, i)					\
p                 105 dev/usb/umidi_quirks.h { UMQ_TYPE_FIXED_EP, (void *)&umq_##v##_##p##_##i##_fixed_ep_desc }
p                 111 dev/usb/umidi_quirks.h #define UMQ_YAMAHA_REG(v, p, i)						\
p                  75 dev/usb/umidireg.h #define TO_D(p) ((usb_descriptor_t *)(p))
p                 560 dev/usb/umodem.c 	     struct proc *p)
p                 390 dev/usb/ums.c  ums_ioctl(void *v, u_long cmd, caddr_t data, int flag, struct proc *p)
p                  95 dev/usb/uow.c  #define uow_ctlcmd(s, c, p)	uow_cmd((s), DS2490_CONTROL_CMD, (c), (p))
p                  96 dev/usb/uow.c  #define uow_commcmd(s, c, p)	uow_cmd((s), DS2490_COMM_CMD, (c), (p))
p                  97 dev/usb/uow.c  #define uow_modecmd(s, c, p)	uow_cmd((s), DS2490_MODE_CMD, (c), (p))
p                 190 dev/usb/uplcom.c #define uplcom_lookup(v, p) usb_lookup(uplcom_devs, v, p)
p                 833 dev/usb/uplcom.c 	     struct proc *p)
p                 104 dev/usb/urio.c #define urio_lookup(v, p) usb_lookup(urio_devs, v, p)
p                 265 dev/usb/urio.c urioopen(dev_t dev, int flag, int mode, struct proc *p)
p                 302 dev/usb/urio.c urioclose(dev_t dev, int flag, int mode, struct proc *p)
p                 444 dev/usb/urio.c urioioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 508 dev/usb/urio.c 		uio.uio_procp = p;
p                 539 dev/usb/urio.c uriopoll(dev_t dev, int events, struct proc *p)
p                 387 dev/usb/usb.c  usbopen(dev_t dev, int flag, int mode, struct proc *p)
p                 446 dev/usb/usb.c  usbclose(dev_t dev, int flag, int mode, struct proc *p)
p                 459 dev/usb/usb.c  usbioctl(dev_t devt, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 472 dev/usb/usb.c  				usb_async_proc = p;
p                 532 dev/usb/usb.c  			uio.uio_procp = p;
p                 586 dev/usb/usb.c  usbpoll(dev_t dev, int events, struct proc *p)
p                 598 dev/usb/usb.c  			selrecord(p, &usb_selevent);
p                 102 dev/usb/usb_mem.c         usb_dma_block_t *p;
p                 117 dev/usb/usb_mem.c 	for (p = LIST_FIRST(&usb_blk_freelist); p; p = LIST_NEXT(p, next)) {
p                 118 dev/usb/usb_mem.c 		if (p->tag == tag && p->size >= size && p->align >= align) {
p                 119 dev/usb/usb_mem.c 			LIST_REMOVE(p, next);
p                 122 dev/usb/usb_mem.c 			*dmap = p;
p                 124 dev/usb/usb_mem.c 				    (u_long)p->size));
p                 138 dev/usb/usb_mem.c 	p = malloc(sizeof *p, M_USB, M_NOWAIT);
p                 139 dev/usb/usb_mem.c 	if (p == NULL)
p                 142 dev/usb/usb_mem.c 	p->tag = tag;
p                 143 dev/usb/usb_mem.c 	p->size = size;
p                 144 dev/usb/usb_mem.c 	p->align = align;
p                 145 dev/usb/usb_mem.c 	error = bus_dmamem_alloc(tag, p->size, align, 0,
p                 146 dev/usb/usb_mem.c 				 p->segs, sizeof(p->segs)/sizeof(p->segs[0]),
p                 147 dev/usb/usb_mem.c 				 &p->nsegs, BUS_DMA_NOWAIT);
p                 151 dev/usb/usb_mem.c 	error = bus_dmamem_map(tag, p->segs, p->nsegs, p->size,
p                 152 dev/usb/usb_mem.c 			       &p->kaddr, BUS_DMA_NOWAIT|BUS_DMA_COHERENT);
p                 156 dev/usb/usb_mem.c 	error = bus_dmamap_create(tag, p->size, 1, p->size,
p                 157 dev/usb/usb_mem.c 				  0, BUS_DMA_NOWAIT, &p->map);
p                 161 dev/usb/usb_mem.c 	error = bus_dmamap_load(tag, p->map, p->kaddr, p->size, NULL,
p                 166 dev/usb/usb_mem.c 	*dmap = p;
p                 170 dev/usb/usb_mem.c 	bus_dmamap_destroy(tag, p->map);
p                 172 dev/usb/usb_mem.c 	bus_dmamem_unmap(tag, p->kaddr, p->size);
p                 174 dev/usb/usb_mem.c 	bus_dmamem_free(tag, p->segs, p->nsegs);
p                 176 dev/usb/usb_mem.c 	free(p, M_USB);
p                 182 dev/usb/usb_mem.c usb_block_real_freemem(usb_dma_block_t *p)
p                 190 dev/usb/usb_mem.c 	bus_dmamap_unload(p->tag, p->map);
p                 191 dev/usb/usb_mem.c 	bus_dmamap_destroy(p->tag, p->map);
p                 192 dev/usb/usb_mem.c 	bus_dmamem_unmap(p->tag, p->kaddr, p->size);
p                 193 dev/usb/usb_mem.c 	bus_dmamem_free(p->tag, p->segs, p->nsegs);
p                 194 dev/usb/usb_mem.c 	free(p, M_USB);
p                 204 dev/usb/usb_mem.c usb_block_freemem(usb_dma_block_t *p)
p                 208 dev/usb/usb_mem.c 	DPRINTFN(6, ("usb_block_freemem: size=%lu\n", (u_long)p->size));
p                 210 dev/usb/usb_mem.c 	LIST_INSERT_HEAD(&usb_blk_freelist, p, next);
p                 216 dev/usb/usb_mem.c usb_allocmem(usbd_bus_handle bus, size_t size, size_t align, usb_dma_t *p)
p                 229 dev/usb/usb_mem.c 		err = usb_block_allocmem(tag, size, align, &p->block);
p                 231 dev/usb/usb_mem.c 			p->block->fullblock = 1;
p                 232 dev/usb/usb_mem.c 			p->offs = 0;
p                 258 dev/usb/usb_mem.c 	p->block = f->block;
p                 259 dev/usb/usb_mem.c 	p->offs = f->offs;
p                 267 dev/usb/usb_mem.c usb_freemem(usbd_bus_handle bus, usb_dma_t *p)
p                 272 dev/usb/usb_mem.c 	if (p->block->fullblock) {
p                 274 dev/usb/usb_mem.c 		usb_block_freemem(p->block);
p                 277 dev/usb/usb_mem.c 	f = KERNADDR(p, 0);
p                 278 dev/usb/usb_mem.c 	f->block = p->block;
p                 279 dev/usb/usb_mem.c 	f->offs = p->offs;
p                 206 dev/usb/usb_subr.c usbd_trim_spaces(char *p)
p                 210 dev/usb/usb_subr.c 	if (p == NULL)
p                 212 dev/usb/usb_subr.c 	q = e = p;
p                 215 dev/usb/usb_subr.c 	while ((*p = *q++))	/* copy string */
p                 216 dev/usb/usb_subr.c 		if (*p++ != ' ') /* remember last non-space */
p                 217 dev/usb/usb_subr.c 			e = p;
p                 222 dev/usb/usb_subr.c usbd_devinfo_vp(usbd_device_handle dev, char *v, char *p, int usedev)
p                 232 dev/usb/usb_subr.c 		v[0] = p[0] = '\0';
p                 239 dev/usb/usb_subr.c 		product = usbd_get_string(dev, udd->iProduct, p);
p                 274 dev/usb/usb_subr.c 		strlcpy(p, product, USB_MAX_STRING_LEN); /* XXX */
p                 276 dev/usb/usb_subr.c 		snprintf(p, USB_MAX_STRING_LEN, "product 0x%04x", /* XXX */
p                 405 dev/usb/usb_subr.c 	char *p = (char *)cd;
p                 406 dev/usb/usb_subr.c 	char *end = p + UGETW(cd->wTotalLength);
p                 410 dev/usb/usb_subr.c 	for (curidx = lastidx = -1; p < end; ) {
p                 411 dev/usb/usb_subr.c 		d = (usb_interface_descriptor_t *)p;
p                 418 dev/usb/usb_subr.c 		p += d->bLength;
p                 419 dev/usb/usb_subr.c 		if (p <= end && d->bDescriptorType == UDESC_INTERFACE) {
p                 437 dev/usb/usb_subr.c 	char *p = (char *)cd;
p                 438 dev/usb/usb_subr.c 	char *end = p + UGETW(cd->wTotalLength);
p                 450 dev/usb/usb_subr.c 	for (p = (char *)d + d->bLength; p < end; ) {
p                 451 dev/usb/usb_subr.c 		e = (usb_endpoint_descriptor_t *)p;
p                 454 dev/usb/usb_subr.c 		p += e->bLength;
p                 455 dev/usb/usb_subr.c 		if (p <= end && e->bDescriptorType == UDESC_INTERFACE)
p                 457 dev/usb/usb_subr.c 		if (p <= end && e->bDescriptorType == UDESC_ENDPOINT) {
p                 471 dev/usb/usb_subr.c 	char *p, *end;
p                 493 dev/usb/usb_subr.c 	p = (char *)ifc->idesc + ifc->idesc->bLength;
p                 495 dev/usb/usb_subr.c #define ed ((usb_endpoint_descriptor_t *)p)
p                 498 dev/usb/usb_subr.c 		for (; p < end; p += ed->bLength) {
p                 500 dev/usb/usb_subr.c 			    "len=%d type=%d\n", p, end, ed->bLength,
p                 502 dev/usb/usb_subr.c 			if (p + ed->bLength <= end && ed->bLength != 0 &&
p                 542 dev/usb/usb_subr.c 		p += ed->bLength;
p                 770 dev/usb/usb_subr.c 	usbd_pipe_handle p;
p                 775 dev/usb/usb_subr.c 	p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT);
p                 776 dev/usb/usb_subr.c 	if (p == NULL)
p                 778 dev/usb/usb_subr.c 	p->device = dev;
p                 779 dev/usb/usb_subr.c 	p->iface = iface;
p                 780 dev/usb/usb_subr.c 	p->endpoint = ep;
p                 782 dev/usb/usb_subr.c 	p->refcnt = 1;
p                 783 dev/usb/usb_subr.c 	p->intrxfer = 0;
p                 784 dev/usb/usb_subr.c 	p->running = 0;
p                 785 dev/usb/usb_subr.c 	p->aborting = 0;
p                 786 dev/usb/usb_subr.c 	p->repeat = 0;
p                 787 dev/usb/usb_subr.c 	p->interval = ival;
p                 788 dev/usb/usb_subr.c 	SIMPLEQ_INIT(&p->queue);
p                 789 dev/usb/usb_subr.c 	err = dev->bus->methods->open_pipe(p);
p                 794 dev/usb/usb_subr.c 		free(p, M_USB);
p                 797 dev/usb/usb_subr.c 	*pipe = p;
p                 966 dev/usb/usb_subr.c 	int p;
p                1010 dev/usb/usb_subr.c 		for (p = 0; p < hub->hub->hubdesc.bNbrPorts; p++) {
p                1011 dev/usb/usb_subr.c 			if (hub->hub->ports[p].device == adev) {
p                1012 dev/usb/usb_subr.c 				dev->myhsport = &hub->hub->ports[p];
p                1018 dev/usb/usb_subr.c 		DPRINTFN(1,("usbd_new_device: high speed port %d\n", p));
p                1244 dev/usb/usb_subr.c 	struct usbd_port *p;
p                1279 dev/usb/usb_subr.c 			p = &dev->hub->ports[i];
p                1280 dev/usb/usb_subr.c 			if (p->device)
p                1281 dev/usb/usb_subr.c 				err = p->device->address;
p                1283 dev/usb/usb_subr.c 				s = UGETW(p->status.wPortStatus);
p                 172 dev/usb/usbdi.c 	usbd_pipe_handle p;
p                 191 dev/usb/usbdi.c 	err = usbd_setup_pipe(iface->device, iface, ep, ival, &p);
p                 194 dev/usb/usbdi.c 	LIST_INSERT_HEAD(&iface->pipes, p, next);
p                 195 dev/usb/usbdi.c 	*pipe = p;
p                 666 dev/usb/usbdi.c 	char *p = (char *)cdesc;
p                 667 dev/usb/usbdi.c 	char *end = p + UGETW(cdesc->wTotalLength);
p                 671 dev/usb/usbdi.c 	for (n = 0; p < end; p += d->bLength) {
p                 672 dev/usb/usbdi.c 		d = (usb_interface_descriptor_t *)p;
p                 673 dev/usb/usbdi.c 		if (p + d->bLength <= end &&
p                 359 dev/usb/usbdi_util.c 	char *p, *end;
p                 366 dev/usb/usbdi_util.c 	p = (char *)idesc + idesc->bLength;
p                 369 dev/usb/usbdi_util.c 	for (; p < end; p += hd->bLength) {
p                 370 dev/usb/usbdi_util.c 		hd = (usb_hid_descriptor_t *)p;
p                 371 dev/usb/usbdi_util.c 		if (p + hd->bLength <= end && hd->bDescriptorType == UDESC_HID)
p                 525 dev/usb/usbdi_util.c         uByte *p = (uByte *)cd;
p                 526 dev/usb/usbdi_util.c         uByte *end = p + UGETW(cd->wTotalLength);
p                 528 dev/usb/usbdi_util.c 	while (p < end) {
p                 529 dev/usb/usbdi_util.c 		desc = (usb_descriptor_t *)p;
p                 532 dev/usb/usbdi_util.c 		p += desc->bLength;
p                  72 dev/usb/usbf_subr.c 	void *p;
p                  83 dev/usb/usbf_subr.c 	p = malloc(newsize, M_USB, M_NOWAIT);
p                  84 dev/usb/usbf_subr.c 	if (p == NULL)
p                  89 dev/usb/usbf_subr.c 		bcopy(*pp, p, oldsize);
p                  90 dev/usb/usbf_subr.c 	*pp = p;
p                  92 dev/usb/usbf_subr.c 	return p;
p                 637 dev/usb/usbf_subr.c 	usbf_pipe_handle p;
p                 645 dev/usb/usbf_subr.c 	    ival, &p);
p                 648 dev/usb/usbf_subr.c 	LIST_INSERT_HEAD(&iface->pipes, p, next);
p                 649 dev/usb/usbf_subr.c 	*pipe = p;
p                 657 dev/usb/usbf_subr.c 	struct usbf_pipe *p;
p                 660 dev/usb/usbf_subr.c 	p = malloc(dev->bus->pipe_size, M_USB, M_NOWAIT);
p                 661 dev/usb/usbf_subr.c 	if (p == NULL)
p                 664 dev/usb/usbf_subr.c 	p->device = dev;
p                 665 dev/usb/usbf_subr.c 	p->iface = iface;
p                 666 dev/usb/usbf_subr.c 	p->endpoint = ep;
p                 668 dev/usb/usbf_subr.c 	p->running = 0;
p                 669 dev/usb/usbf_subr.c 	p->refcnt = 1;
p                 670 dev/usb/usbf_subr.c 	p->repeat = 0;
p                 671 dev/usb/usbf_subr.c 	p->interval = ival;
p                 672 dev/usb/usbf_subr.c 	p->methods = NULL;	/* set by bus driver in open_pipe() */
p                 673 dev/usb/usbf_subr.c 	SIMPLEQ_INIT(&p->queue);
p                 674 dev/usb/usbf_subr.c 	err = dev->bus->methods->open_pipe(p);
p                 676 dev/usb/usbf_subr.c 		free(p, M_USB);
p                 679 dev/usb/usbf_subr.c 	*pipe = p;
p                 829 dev/usb/usbf_subr.c usbf_allocmem(usbf_bus_handle bus, size_t size, size_t align, usb_dma_t *p)
p                 836 dev/usb/usbf_subr.c 	err = usb_allocmem(&dbus, size, align, p);
p                 841 dev/usb/usbf_subr.c usbf_freemem(usbf_bus_handle bus, usb_dma_t *p)
p                 843 dev/usb/usbf_subr.c 	usb_freemem((usbd_bus_handle)NULL, p);
p                 890 dev/usb/usbf_subr.c 	u_char *p = xfer->buffer;
p                 903 dev/usb/usbf_subr.c 		printf(" %02x", p[i]);
p                 175 dev/usb/usbhid.h #define HID_USAGE2(p, u) (((p) << 16) | u)
p                 201 dev/usb/uscanner.c #define uscanner_lookup(v, p) ((const struct uscan_info *)usb_lookup(uscanner_devs, v, p))
p                 342 dev/usb/uscanner.c uscanneropen(dev_t dev, int flag, int mode, struct proc *p)
p                 409 dev/usb/uscanner.c uscannerclose(dev_t dev, int flag, int mode, struct proc *p)
p                 627 dev/usb/uscanner.c uscannerpoll(dev_t dev, int events, struct proc *p)
p                 649 dev/usb/uscanner.c uscannerioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 390 dev/usb/uts.c  	u_char *p = sc->sc_ibuf;
p                 395 dev/usb/uts.c  		down = (~p[7] & 0x20);
p                 396 dev/usb/uts.c  		x = ((p[0] & 0x1f) << 7) | (p[3] & 0x7f);  
p                 398 dev/usb/uts.c  		y = 0x0fff - abs(((p[1] & 0x1f) << 7) | (p[4] & 0x7f));
p                 409 dev/usb/uts.c  			down = (p[0] & 0x01);
p                 411 dev/usb/uts.c  			x = 0x07ff - abs(((p[3] & 0x0f) << 7) | (p[4] & 0x7f));
p                 412 dev/usb/uts.c  			y = ((p[1] & 0x0f) << 7) | (p[2] & 0x7f);
p                 416 dev/usb/uts.c  			down = (~p[7] & 0x20);
p                 418 dev/usb/uts.c  			x = 0x0fff - abs(((p[0] & 0x1f) << 7) | (p[2] & 0x7f));
p                 419 dev/usb/uts.c  			y = ((p[1] & 0x1f) << 7) | (p[3] & 0x7f);
p                 202 dev/usb/uvisor.c #define uvisor_lookup(v, p) ((struct uvisor_type *)usb_lookup(uvisor_devs, v, p))
p                 208 dev/usb/uvscom.c #define uvscom_lookup(v, p) usb_lookup(uvscom_devs, v, p)
p                  55 dev/vesa/vesabios.c #define FAR2FLATPTR(p) ((p & 0xffff) + ((p >> 12) & 0xffff0))
p                  95 dev/vnd.c      #define	DNPRINTF(f, p...)	do { if ((f) & vnddebug) printf(p); } while (0)
p                  97 dev/vnd.c      #define	DNPRINTF(f, p...)	/* nothing */
p                 219 dev/vnd.c      vndopen(dev_t dev, int flags, int mode, struct proc *p)
p                 225 dev/vnd.c      	DNPRINTF(VDB_FOLLOW, "vndopen(%x, %x, %x, %p)\n", dev, flags, mode, p);
p                 331 dev/vnd.c      vndclose(dev_t dev, int flags, int mode, struct proc *p)
p                 337 dev/vnd.c      	DNPRINTF(VDB_FOLLOW, "vndclose(%x, %x, %x, %p)\n", dev, flags, mode, p);
p                 391 dev/vnd.c      	struct proc *p = curproc;
p                 446 dev/vnd.c      			auio.uio_procp = p;
p                 448 dev/vnd.c      			vn_lock(vnd->sc_vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 472 dev/vnd.c      			VOP_UNLOCK(vnd->sc_vp, 0, p);
p                 508 dev/vnd.c      		vn_lock(vnd->sc_vp, LK_RETRY | LK_EXCLUSIVE, p);
p                 510 dev/vnd.c      		VOP_UNLOCK(vnd->sc_vp, 0, p);
p                 697 dev/vnd.c      vndioctl(dev_t dev, u_long cmd, caddr_t addr, int flag, struct proc *p)
p                 708 dev/vnd.c      	    dev, cmd, addr, flag, p, unit);
p                 710 dev/vnd.c      	error = suser(p, 0);
p                 748 dev/vnd.c      		NDINIT(&nd, LOOKUP, FOLLOW, UIO_USERSPACE, vio->vnd_file, p);
p                 760 dev/vnd.c      		error = VOP_GETATTR(nd.ni_vp, &vattr, p->p_ucred, p);
p                 762 dev/vnd.c      			VOP_UNLOCK(nd.ni_vp, 0, p);
p                 763 dev/vnd.c      			(void) vn_close(nd.ni_vp, VNDRW(vnd), p->p_ucred, p);
p                 767 dev/vnd.c      		VOP_UNLOCK(nd.ni_vp, 0, p);
p                 770 dev/vnd.c      		if ((error = vndsetcred(vnd, p->p_ucred)) != 0) {
p                 771 dev/vnd.c      			(void) vn_close(nd.ni_vp, VNDRW(vnd), p->p_ucred, p);
p                 785 dev/vnd.c      				    p->p_ucred, p);
p                 865 dev/vnd.c      			error = VOP_GETATTR(vnd->sc_vp, &vattr, p->p_ucred, p);
p                 946 dev/vnd.c      	struct proc *p = curproc;
p                 960 dev/vnd.c      	vn_lock(vnd->sc_vp, LK_RETRY | LK_EXCLUSIVE, p);
p                 962 dev/vnd.c      	VOP_UNLOCK(vnd->sc_vp, 0, p);
p                 982 dev/vnd.c      	struct proc *p = curproc;		/* XXX */
p                 989 dev/vnd.c      	(void) vn_close(vp, VNDRW(vnd), vnd->sc_cred, p);
p                 816 dev/wscons/wsdisplay.c wsdisplayopen(dev_t dev, int flag, int mode, struct proc *p)
p                 852 dev/wscons/wsdisplay.c 			   p->p_ucred->cr_uid != 0)
p                 873 dev/wscons/wsdisplay.c wsdisplayclose(dev_t dev, int flag, int mode, struct proc *p)
p                 919 dev/wscons/wsdisplay.c 		    (caddr_t)&kbmode, FWRITE, p);
p                1003 dev/wscons/wsdisplay.c wsdisplayioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                1014 dev/wscons/wsdisplay.c 	error = wsdisplay_usl_ioctl1(sc, cmd, data, flag, p);
p                1020 dev/wscons/wsdisplay.c 		return (wsdisplay_cfg_ioctl(sc, cmd, data, flag, p));
p                1033 dev/wscons/wsdisplay.c 		error = (*linesw[tp->t_line].l_ioctl)(tp, cmd, data, flag, p);
p                1039 dev/wscons/wsdisplay.c 		error = ttioctl(tp, cmd, data, flag, p);
p                1045 dev/wscons/wsdisplay.c 	error = wsdisplay_usl_ioctl2(sc, scr, cmd, data, flag, p);
p                1050 dev/wscons/wsdisplay.c 	error = wsdisplay_internal_ioctl(sc, scr, cmd, data, flag, p);
p                1065 dev/wscons/wsdisplay.c     u_long cmd, caddr_t data, int flag, struct proc *p)
p                1087 dev/wscons/wsdisplay.c 		error = wsevsrc_display_ioctl(inp, cmd, data, flag, p);
p                1159 dev/wscons/wsdisplay.c 		    flag, p);
p                1241 dev/wscons/wsdisplay.c 	    flag, p));
p                1246 dev/wscons/wsdisplay.c     int flag, struct proc *p)
p                1258 dev/wscons/wsdisplay.c 		error = wsmoused(sc, cmd, data, flag, p);
p                1325 dev/wscons/wsdisplay.c 		return (wsevsrc_ioctl(inp, cmd, data, flag,p));
p                1352 dev/wscons/wsdisplay.c wsdisplaypoll(dev_t dev, int events, struct proc *p)
p                1366 dev/wscons/wsdisplay.c 	return (ttpoll(dev, events, p));
p                2212 dev/wscons/wsdisplay.c     int flag, struct proc *p)
p                2233 dev/wscons/wsdisplay.c 			    ws_sc, p));
p                2319 dev/wscons/wsdisplay.c ctrl_event(u_int type, int value, struct wsdisplay_softc *ws_sc, struct proc *p)
p                  95 dev/wscons/wsdisplay_compat_usl.c usl_sync_init(scr, sdp, p, acqsig, relsig, frsig)
p                  98 dev/wscons/wsdisplay_compat_usl.c 	struct proc *p;
p                 111 dev/wscons/wsdisplay_compat_usl.c 	sd->s_proc = p;
p                 112 dev/wscons/wsdisplay_compat_usl.c 	sd->s_pid = p->p_pid;
p                 302 dev/wscons/wsdisplay_compat_usl.c wsdisplay_usl_ioctl1(sc, cmd, data, flag, p)
p                 307 dev/wscons/wsdisplay_compat_usl.c 	struct proc *p;
p                 370 dev/wscons/wsdisplay_compat_usl.c wsdisplay_usl_ioctl2(sc, scr, cmd, data, flag, p)
p                 376 dev/wscons/wsdisplay_compat_usl.c 	struct proc *p;
p                 388 dev/wscons/wsdisplay_compat_usl.c 			res = usl_sync_init(scr, &sd, p, newmode->acqsig,
p                 430 dev/wscons/wsdisplay_compat_usl.c 		if (suser(p, 0) || securelevel > 0)
p                 436 dev/wscons/wsdisplay_compat_usl.c 		struct trapframe *fp = (struct trapframe *)p->p_md.md_regs;
p                 440 dev/wscons/wsdisplay_compat_usl.c 		if (p->p_emul == &emul_freebsd_aout ||
p                 441 dev/wscons/wsdisplay_compat_usl.c 		    p->p_emul == &emul_freebsd_elf) {
p                 544 dev/wscons/wsdisplay_compat_usl.c 	res = wsdisplay_internal_ioctl(sc, scr, req, arg, flag, p);
p                 117 dev/wscons/wsdisplayvar.h 		    struct proc *p);
p                 195 dev/wscons/wsdisplayvar.h 				  int flag, struct proc *p);
p                 205 dev/wscons/wsdisplayvar.h 			     int flag, struct proc *p);
p                 187 dev/wscons/wsevent.c wsevent_poll(struct wseventvar *ev, int events, struct proc *p)
p                 196 dev/wscons/wsevent.c 			selrecord(p, &ev->sel);
p                 784 dev/wscons/wskbd.c wskbdopen(dev_t dev, int flags, int mode, struct proc *p)
p                 797 dev/wscons/wskbd.c 		 sc->sc_base.me_parent, p));
p                 821 dev/wscons/wskbd.c 	evar->io = p;
p                 843 dev/wscons/wskbd.c wskbdclose(dev_t dev, int flags, int mode, struct proc *p)
p                 901 dev/wscons/wskbd.c wskbdioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 903 dev/wscons/wskbd.c 	return (wskbd_do_ioctl(wskbd_cd.cd_devs[minor(dev)], cmd, data, flag,p));
p                 909 dev/wscons/wskbd.c     struct proc *p)
p                 915 dev/wscons/wskbd.c 	error = wskbd_do_ioctl_sc(sc, cmd, data, flag, p);
p                 923 dev/wscons/wskbd.c      struct proc *p)
p                 960 dev/wscons/wskbd.c 	error = wskbd_displayioctl(&sc->sc_base.me_dv, cmd, data, flag, p);
p                 970 dev/wscons/wskbd.c     struct proc *p)
p                1007 dev/wscons/wskbd.c 		    WSKBDIO_COMPLEXBELL, (caddr_t)&sc->sc_bell_data, flag, p));
p                1013 dev/wscons/wskbd.c 		    WSKBDIO_COMPLEXBELL, (caddr_t)ubdp, flag, p));
p                1030 dev/wscons/wskbd.c 		if ((error = suser(p, 0)) != 0)
p                1066 dev/wscons/wskbd.c 		if ((error = suser(p, 0)) != 0)
p                1139 dev/wscons/wskbd.c 					   flag, p);
p                1161 dev/wscons/wskbd.c wskbdpoll(dev_t dev, int events, struct proc *p)
p                1167 dev/wscons/wskbd.c 	return (wsevent_poll(sc->sc_base.me_evp, events, p));
p                  48 dev/wscons/wskbdvar.h 			      struct proc *p);
p                 487 dev/wscons/wsmouse.c wsmouseopen(dev_t dev, int flags, int mode, struct proc *p)
p                 500 dev/wscons/wsmouse.c 		 sc->sc_base.me_parent, p));
p                 515 dev/wscons/wsmouse.c 	evar->io = p;
p                 528 dev/wscons/wsmouse.c wsmouseclose(dev_t dev, int flags, int mode, struct proc *p)
p                 586 dev/wscons/wsmouse.c wsmouseioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 589 dev/wscons/wsmouse.c 	    cmd, data, flag, p));
p                 595 dev/wscons/wsmouse.c     struct proc *p)
p                 601 dev/wscons/wsmouse.c 	error = wsmouse_do_ioctl(sc, cmd, data, flag, p);
p                 609 dev/wscons/wsmouse.c     struct proc *p)
p                 659 dev/wscons/wsmouse.c 	    data, flag, p);
p                 664 dev/wscons/wsmouse.c wsmousepoll(dev_t dev, int events, struct proc *p)
p                 670 dev/wscons/wsmouse.c 	return (wsevent_poll(sc->sc_base.me_evp, events, p));
p                  43 dev/wscons/wsmoused.h 		  struct proc *p);
p                  47 dev/wscons/wsmousevar.h 		    struct proc *p);
p                 109 dev/wscons/wsmux.c 	    int flag, struct proc *p);
p                 173 dev/wscons/wsmux.c wsmuxopen(dev_t dev, int flags, int mode, struct proc *p)
p                 184 dev/wscons/wsmux.c 	DPRINTF(("wsmuxopen: %s: sc=%p p=%p\n", sc->sc_base.me_dv.dv_xname, sc, p));
p                 203 dev/wscons/wsmux.c 	evar->io = p;
p                 276 dev/wscons/wsmux.c wsmuxclose(dev_t dev, int flags, int mode, struct proc *p)
p                 357 dev/wscons/wsmux.c wsmuxioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
p                 359 dev/wscons/wsmux.c 	return wsmux_do_ioctl(&wsmuxdevs[minor(dev)]->sc_base.me_dv, cmd, data, flag, p);
p                 367 dev/wscons/wsmux.c     struct proc *p)
p                 522 dev/wscons/wsmux.c 		error = wsevsrc_ioctl(me, cmd, data, flag, p);
p                 544 dev/wscons/wsmux.c wsmuxpoll(dev_t dev, int events, struct proc *p)
p                 555 dev/wscons/wsmux.c 	return (wsevent_poll(sc->sc_base.me_evp, events, p));
p                 713 dev/wscons/wsmux.c     struct proc *p)
p                 744 dev/wscons/wsmux.c 			error = wsevsrc_display_ioctl(me, cmd, data, flag, p);
p                  75 dev/wscons/wsmuxvar.h #define wsevsrc_ioctl(me, cmd, data, flag, p) \
p                  76 dev/wscons/wsmuxvar.h 	((me)->me_ops->dioctl(&(me)->me_dv, cmd, (caddr_t)data, flag, p))
p                  77 dev/wscons/wsmuxvar.h #define wsevsrc_display_ioctl(me, cmd, data, flag, p) \
p                  78 dev/wscons/wsmuxvar.h 	((me)->me_ops->ddispioctl(&(me)->me_dv, cmd, (caddr_t)data, flag, p))
p                 226 dev/wsfont/wsfont.c 	u_char *p, *m;
p                 228 dev/wsfont/wsfont.c 	p = (u_char *)font->data;
p                 229 dev/wsfont/wsfont.c 	m = p + font->stride * font->numchars * font->fontheight;
p                 231 dev/wsfont/wsfont.c 	for (; p < m; p++)	
p                 232 dev/wsfont/wsfont.c 		*p = reverse[*p];
p                 127 isofs/cd9660/cd9660_lookup.c 	struct proc *p = cnp->cn_proc;
p                 382 isofs/cd9660/cd9660_lookup.c 		VOP_UNLOCK(pdp, 0, p);	/* race to get the inode */
p                 387 isofs/cd9660/cd9660_lookup.c 			if (vn_lock(pdp, LK_EXCLUSIVE | LK_RETRY, p) == 0)
p                 392 isofs/cd9660/cd9660_lookup.c 			if ((error = vn_lock(pdp, LK_EXCLUSIVE, p))) {
p                 410 isofs/cd9660/cd9660_lookup.c 			VOP_UNLOCK(pdp, 0, p);
p                 157 isofs/cd9660/cd9660_node.c 	struct proc *p = curproc;               /* XXX */
p                 167 isofs/cd9660/cd9660_node.c                        if (vget(vp, LK_EXCLUSIVE, p))
p                 239 isofs/cd9660/cd9660_node.c 	struct proc *p = ap->a_p;
p                 249 isofs/cd9660/cd9660_node.c 	VOP_UNLOCK(vp, 0, p);
p                 255 isofs/cd9660/cd9660_node.c 		vrecycle(vp, p);
p                  90 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_ATTR *p = v;
p                  92 isofs/cd9660/cd9660_rrip.c 	ana->inop->inode.iso_mode = isonum_733(p->mode);
p                  93 isofs/cd9660/cd9660_rrip.c 	ana->inop->inode.iso_uid = isonum_733(p->uid);
p                  94 isofs/cd9660/cd9660_rrip.c 	ana->inop->inode.iso_gid = isonum_733(p->gid);
p                  95 isofs/cd9660/cd9660_rrip.c 	ana->inop->inode.iso_links = isonum_733(p->links);
p                 120 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_SLINK  *p = v;
p                 126 isofs/cd9660/cd9660_rrip.c 	pcomp = (ISO_RRIP_SLINK_COMPONENT *)p->component;
p                 128 isofs/cd9660/cd9660_rrip.c 	    (ISO_RRIP_SLINK_COMPONENT *)((char *)p + isonum_711(p->h.length));
p                 216 isofs/cd9660/cd9660_rrip.c 	if (!isonum_711(p->flags)) {
p                 231 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_ALTNAME *p = v;
p                 240 isofs/cd9660/cd9660_rrip.c 	switch (*p->flags) {
p                 262 isofs/cd9660/cd9660_rrip.c 		wlen = isonum_711(p->h.length) - 5;
p                 263 isofs/cd9660/cd9660_rrip.c 		inbuf = (char *)p + 5;
p                 321 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_CLINK  *p = v;
p                 323 isofs/cd9660/cd9660_rrip.c 	*ana->inump = isonum_733(p->dir_loc) << ana->imp->im_bshift;
p                 325 isofs/cd9660/cd9660_rrip.c 	return (*p->h.type == 'C' ? ISO_SUSP_CLINK : ISO_SUSP_PLINK);
p                 349 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_TSTAMP *p = v;
p                 352 isofs/cd9660/cd9660_rrip.c 	ptime = p->time;
p                 355 isofs/cd9660/cd9660_rrip.c 	if (!(*p->flags & ISO_SUSP_TSTAMP_FORM17)) {
p                 356 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_CREAT)
p                 359 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_MODIFY) {
p                 367 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_ACCESS) {
p                 375 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_ATTR)
p                 383 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_CREAT)
p                 386 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_MODIFY) {
p                 394 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_ACCESS) {
p                 402 isofs/cd9660/cd9660_rrip.c 		if (*p->flags & ISO_SUSP_TSTAMP_ATTR)
p                 432 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_DEVICE *p = v;
p                 435 isofs/cd9660/cd9660_rrip.c 	high = isonum_733(p->dev_t_high);
p                 436 isofs/cd9660/cd9660_rrip.c 	low  = isonum_733(p->dev_t_low);
p                 454 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_IDFLAG *p = v;
p                 457 isofs/cd9660/cd9660_rrip.c 	ana->fields &= isonum_711(p->flags) | ~0xff;
p                 460 isofs/cd9660/cd9660_rrip.c 		return (cd9660_rrip_reldir(p, ana));
p                 473 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_CONT *p = v;
p                 475 isofs/cd9660/cd9660_rrip.c 	ana->iso_ce_blk = isonum_733(p->location);
p                 476 isofs/cd9660/cd9660_rrip.c 	ana->iso_ce_off = isonum_733(p->offset);
p                 477 isofs/cd9660/cd9660_rrip.c 	ana->iso_ce_len = isonum_733(p->length);
p                 500 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_EXTREF *p = v;
p                 502 isofs/cd9660/cd9660_rrip.c 	if (isonum_711(p->version) != 1)
p                 504 isofs/cd9660/cd9660_rrip.c 	if (isonum_711(p->len_id) != 9 &&
p                 505 isofs/cd9660/cd9660_rrip.c 	    isonum_711(p->len_id) != 10)
p                 507 isofs/cd9660/cd9660_rrip.c 	if (isonum_711(p->len_id) == 9 &&
p                 508 isofs/cd9660/cd9660_rrip.c 	    bcmp((char *)p + 8, "IEEE_1282", 9))
p                 510 isofs/cd9660/cd9660_rrip.c 	if (isonum_711(p->len_id) == 10 &&
p                 511 isofs/cd9660/cd9660_rrip.c 	    bcmp((char *)p + 8, "IEEE_P1282", 10) &&
p                 512 isofs/cd9660/cd9660_rrip.c 	    bcmp((char *)p + 8, "RRIP_1991A", 10))
p                 755 isofs/cd9660/cd9660_rrip.c 	ISO_RRIP_OFFSET *p;
p                 759 isofs/cd9660/cd9660_rrip.c 	p = (ISO_RRIP_OFFSET *)(isodir->name + 1);
p                 760 isofs/cd9660/cd9660_rrip.c 	if (bcmp(p, "SP\7\1\276\357", 6)) {
p                 763 isofs/cd9660/cd9660_rrip.c 		p = (ISO_RRIP_OFFSET *)((char *)p + 15);
p                 764 isofs/cd9660/cd9660_rrip.c 		if (bcmp(p, "SP\7\1\276\357", 6))
p                 774 isofs/cd9660/cd9660_rrip.c 	return (isonum_711(p->skip));
p                  84 isofs/cd9660/cd9660_vfsops.c 	    struct proc *p, struct iso_args *argp);
p                  93 isofs/cd9660/cd9660_vfsops.c 	struct proc *p = curproc;	/* XXX */
p                 109 isofs/cd9660/cd9660_vfsops.c 	if ((error = iso_mountfs(rootvp, mp, p, &args)) != 0) {
p                 117 isofs/cd9660/cd9660_vfsops.c         (void)cd9660_statfs(mp, &mp->mnt_stat, p);
p                 130 isofs/cd9660/cd9660_vfsops.c cd9660_mount(mp, path, data, ndp, p)
p                 135 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 164 isofs/cd9660/cd9660_vfsops.c 	NDINIT(ndp, LOOKUP, FOLLOW, UIO_USERSPACE, args.fspec, p);
p                 181 isofs/cd9660/cd9660_vfsops.c 	if (p->p_ucred->cr_uid != 0) {
p                 182 isofs/cd9660/cd9660_vfsops.c 		vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
p                 183 isofs/cd9660/cd9660_vfsops.c 		error = VOP_ACCESS(devvp, VREAD, p->p_ucred, p);
p                 188 isofs/cd9660/cd9660_vfsops.c 		VOP_UNLOCK(devvp, 0, p);
p                 191 isofs/cd9660/cd9660_vfsops.c 		error = iso_mountfs(devvp, mp, p, &args);
p                 209 isofs/cd9660/cd9660_vfsops.c 	(void)cd9660_statfs(mp, &mp->mnt_stat, p);
p                 217 isofs/cd9660/cd9660_vfsops.c iso_mountfs(devvp, mp, p, argp)
p                 220 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 254 isofs/cd9660/cd9660_vfsops.c 	if ((error = vinvalbuf(devvp, V_SAVE, p->p_ucred, p, 0, 0)) != 0)
p                 257 isofs/cd9660/cd9660_vfsops.c 	error = VOP_OPEN(devvp, ronly ? FREAD : FREAD|FWRITE, FSCRED, p);
p                 276 isofs/cd9660/cd9660_vfsops.c 		    FSCRED, p);
p                 448 isofs/cd9660/cd9660_vfsops.c 		    p);
p                 546 isofs/cd9660/cd9660_vfsops.c cd9660_start(mp, flags, p)
p                 549 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 558 isofs/cd9660/cd9660_vfsops.c cd9660_unmount(mp, mntflags, p)
p                 561 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 584 isofs/cd9660/cd9660_vfsops.c 	error = VOP_CLOSE(isomp->im_devvp, FREAD, NOCRED, p);
p                 618 isofs/cd9660/cd9660_vfsops.c cd9660_quotactl(mp, cmd, uid, arg, p)
p                 623 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 633 isofs/cd9660/cd9660_vfsops.c cd9660_statfs(mp, sbp, p)
p                 636 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                 663 isofs/cd9660/cd9660_vfsops.c cd9660_sync(mp, waitfor, cred, p)
p                 667 isofs/cd9660/cd9660_vfsops.c 	struct proc *p;
p                  94 isofs/cd9660/cd9660_vnops.c cd9660_mknod(ndp, vap, cred, p)
p                  98 isofs/cd9660/cd9660_vnops.c 	struct proc *p;
p                 189 isofs/cd9660/iso.h isonum_711(u_char *p)
p                 191 isofs/cd9660/iso.h 	return *p;
p                 196 isofs/cd9660/iso.h isonum_712(char *p)
p                 198 isofs/cd9660/iso.h 	return *p;
p                 203 isofs/cd9660/iso.h isonum_721(p)
p                 204 isofs/cd9660/iso.h 	u_char *p;
p                 207 isofs/cd9660/iso.h 	return *(u_int16_t *)p;
p                 209 isofs/cd9660/iso.h 	return *p|((char)p[1] << 8);
p                 215 isofs/cd9660/iso.h isonum_722(p)
p                 216 isofs/cd9660/iso.h 	unsigned char *p;
p                 219 isofs/cd9660/iso.h 	return *(u_int16_t *)p;
p                 221 isofs/cd9660/iso.h 	return ((char)*p << 8)|p[1];
p                 227 isofs/cd9660/iso.h isonum_723(u_char *p)
p                 232 isofs/cd9660/iso.h 	return *(u_int16_t *)p;
p                 234 isofs/cd9660/iso.h 	return *(u_int16_t *)(p + 2);
p                 237 isofs/cd9660/iso.h 	return *p|(p[1] << 8);
p                 243 isofs/cd9660/iso.h isonum_731(p)
p                 244 isofs/cd9660/iso.h 	u_char *p;
p                 247 isofs/cd9660/iso.h 	return *(u_int32_t *)p;
p                 249 isofs/cd9660/iso.h 	return *p|(p[1] << 8)|(p[2] << 16)|(p[3] << 24);
p                 255 isofs/cd9660/iso.h isonum_732(p)
p                 256 isofs/cd9660/iso.h 	unsigned char *p;
p                 259 isofs/cd9660/iso.h 	return *(u_int32_t *)p;
p                 261 isofs/cd9660/iso.h 	return (*p << 24)|(p[1] << 16)|(p[2] << 8)|p[3];
p                 267 isofs/cd9660/iso.h isonum_733(u_char *p)
p                 272 isofs/cd9660/iso.h 	return *(u_int32_t *)p;
p                 274 isofs/cd9660/iso.h 	return *(u_int32_t *)(p + 4);
p                 277 isofs/cd9660/iso.h 	return *p|(p[1] << 8)|(p[2] << 16)|(p[3] << 24);
p                 114 isofs/udf/udf_vfsops.c udf_start(struct mount *mp, int flags, struct proc *p)
p                 121 isofs/udf/udf_vfsops.c     struct nameidata *ndp,  struct proc *p)
p                 147 isofs/udf/udf_vfsops.c 	NDINIT(ndp, LOOKUP, FOLLOW, UIO_USERSPACE, args.fspec, p);
p                 163 isofs/udf/udf_vfsops.c 	if (p->p_ucred->cr_uid) {
p                 164 isofs/udf/udf_vfsops.c 		vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
p                 165 isofs/udf/udf_vfsops.c 		error = VOP_ACCESS(devvp, VREAD, p->p_ucred, p);
p                 166 isofs/udf/udf_vfsops.c 		VOP_UNLOCK(devvp, 0, p);
p                 173 isofs/udf/udf_vfsops.c 	if ((error = udf_mountfs(devvp, mp, args.lastblock, p))) {
p                 215 isofs/udf/udf_vfsops.c udf_mountfs(struct vnode *devvp, struct mount *mp, uint32_t lb, struct proc *p)
p                 241 isofs/udf/udf_vfsops.c 	vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
p                 242 isofs/udf/udf_vfsops.c 	error = vinvalbuf(devvp, V_SAVE, p->p_ucred, p, 0, 0);
p                 243 isofs/udf/udf_vfsops.c 	VOP_UNLOCK(devvp, 0, p);
p                 247 isofs/udf/udf_vfsops.c 	error = VOP_OPEN(devvp, FREAD, FSCRED, p);
p                 404 isofs/udf/udf_vfsops.c 	VOP_CLOSE(devvp, FREAD, FSCRED, p);
p                 410 isofs/udf/udf_vfsops.c udf_unmount(struct mount *mp, int mntflags, struct proc *p)
p                 425 isofs/udf/udf_vfsops.c 	vn_lock(devvp, LK_EXCLUSIVE | LK_RETRY, p);
p                 426 isofs/udf/udf_vfsops.c 	vinvalbuf(devvp, V_SAVE, NOCRED, p, 0, 0);
p                 427 isofs/udf/udf_vfsops.c 	error = VOP_CLOSE(devvp, FREAD, NOCRED, p);
p                 428 isofs/udf/udf_vfsops.c 	VOP_UNLOCK(devvp, 0, p);
p                 476 isofs/udf/udf_vfsops.c     struct proc *p)
p                 482 isofs/udf/udf_vfsops.c udf_statfs(struct mount *mp, struct statfs *sbp, struct proc *p)
p                 500 isofs/udf/udf_vfsops.c udf_sync(struct mount *mp, int waitfor, struct ucred *cred, struct proc *p)
p                 511 isofs/udf/udf_vfsops.c 	struct proc *p;
p                 517 isofs/udf/udf_vfsops.c 	p = curproc;
p                 571 isofs/udf/udf_vfsops.c 	if ((error = udf_allocv(mp, &vp, p))) {
p                 669 isofs/udf/udf_vfsops.c     size_t newlen, struct proc *p)
p                  93 isofs/udf/udf_vnops.c 	struct proc *p = curproc;
p                 109 isofs/udf/udf_vnops.c 			error = vget(up->u_vnode, flags, p);
p                 129 isofs/udf/udf_vnops.c 	struct proc *p = curproc;
p                 133 isofs/udf/udf_vnops.c 	vn_lock(up->u_vnode, LK_EXCLUSIVE | LK_RETRY, p);
p                 163 isofs/udf/udf_vnops.c udf_allocv(struct mount *mp, struct vnode **vpp, struct proc *p)
p                 970 isofs/udf/udf_vnops.c 	struct proc *p;
p                 989 isofs/udf/udf_vnops.c 	p = ap->a_cnp->cn_proc;
p                 995 isofs/udf/udf_vnops.c 	error = VOP_ACCESS(dvp, VEXEC, ap->a_cnp->cn_cred, p);
p                1083 isofs/udf/udf_vnops.c 				VOP_UNLOCK(dvp, 0, p);
p                1121 isofs/udf/udf_vnops.c 	struct proc *p = ap->a_p;
p                1126 isofs/udf/udf_vnops.c 	VOP_UNLOCK(vp, 0, p);
p                  61 kern/exec_aout.c exec_aout_makecmds(struct proc *p, struct exec_package *epp)
p                  79 kern/exec_aout.c 		error = exec_aout_prep_zmagic(p, epp);
p                  82 kern/exec_aout.c 		error = exec_aout_prep_nmagic(p, epp);
p                  85 kern/exec_aout.c 		error = exec_aout_prep_omagic(p, epp);
p                  88 kern/exec_aout.c 		error = cpu_exec_aout_makecmds(p, epp);
p                 111 kern/exec_aout.c exec_aout_prep_zmagic(struct proc *p, struct exec_package *epp)
p                 150 kern/exec_aout.c 	return exec_setup_stack(p, epp);
p                 158 kern/exec_aout.c exec_aout_prep_nmagic(struct proc *p, struct exec_package *epp)
p                 186 kern/exec_aout.c 	return exec_setup_stack(p, epp);
p                 194 kern/exec_aout.c exec_aout_prep_omagic(struct proc *p, struct exec_package *epp)
p                 227 kern/exec_aout.c 	return exec_setup_stack(p, epp);
p                  60 kern/exec_ecoff.c exec_ecoff_makecmds(struct proc *p, struct exec_package *epp)
p                  73 kern/exec_ecoff.c 		error = exec_ecoff_prep_omagic(p, epp);
p                  76 kern/exec_ecoff.c 		error = exec_ecoff_prep_nmagic(p, epp);
p                  79 kern/exec_ecoff.c 		error = exec_ecoff_prep_zmagic(p, epp);
p                  86 kern/exec_ecoff.c 		error = cpu_exec_ecoff_hook(p, epp);
p                  98 kern/exec_ecoff.c exec_ecoff_prep_omagic(struct proc *p, struct exec_package *epp)
p                 121 kern/exec_ecoff.c 	return exec_setup_stack(p, epp);
p                 129 kern/exec_ecoff.c exec_ecoff_prep_nmagic(struct proc *p, struct exec_package *epp)
p                 156 kern/exec_ecoff.c 	return exec_setup_stack(p, epp);
p                 169 kern/exec_ecoff.c exec_ecoff_prep_zmagic(struct proc *p, struct exec_package *epp)
p                 210 kern/exec_ecoff.c 	return exec_setup_stack(p, epp);
p                 320 kern/exec_elf.c ELFNAME(read_from)(struct proc *p, struct vnode *vp, u_long off, caddr_t buf,
p                 327 kern/exec_elf.c 	    0, p->p_ucred, &resid, p)) != 0)
p                 342 kern/exec_elf.c ELFNAME(load_file)(struct proc *p, char *path, struct exec_package *epp,
p                 364 kern/exec_elf.c 	NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF, UIO_SYSSPACE, path, p);
p                 373 kern/exec_elf.c 	if ((error = VOP_GETATTR(vp, epp->ep_vap, p->p_ucred, p)) != 0)
p                 379 kern/exec_elf.c 	if ((error = VOP_ACCESS(vp, VREAD, p->p_ucred, p)) != 0)
p                 381 kern/exec_elf.c 	if ((error = ELFNAME(read_from)(p, nd.ni_vp, 0,
p                 397 kern/exec_elf.c 	if ((error = ELFNAME(read_from)(p, nd.ni_vp, eh.e_phoff, (caddr_t)ph,
p                 418 kern/exec_elf.c 		pos = uvm_map_hint(p, VM_PROT_EXECUTE);
p                 445 kern/exec_elf.c 		if ((addr + size > (vaddr_t)p->p_vmspace->vm_daddr) &&
p                 446 kern/exec_elf.c 		    (addr < (vaddr_t)p->p_vmspace->vm_daddr + MAXDSIZ))
p                 447 kern/exec_elf.c 			addr = round_page((vaddr_t)p->p_vmspace->vm_daddr +
p                 450 kern/exec_elf.c 		if (uvm_map_findspace(&p->p_vmspace->vm_map, addr, size,
p                 452 kern/exec_elf.c 			if (uvm_map_findspace(&p->p_vmspace->vm_map, addr, size,
p                 513 kern/exec_elf.c 	VOP_CLOSE(nd.ni_vp, FREAD, p->p_ucred, p);
p                 533 kern/exec_elf.c ELFNAME2(exec,makecmds)(struct proc *p, struct exec_package *epp)
p                 571 kern/exec_elf.c 	if ((error = ELFNAME(read_from)(p, epp->ep_vp, eh->e_phoff, (caddr_t)ph,
p                 584 kern/exec_elf.c 			if ((error = ELFNAME(read_from)(p, epp->ep_vp,
p                 609 kern/exec_elf.c 	p->p_os = OOS_OPENBSD;
p                 611 kern/exec_elf.c 	if (ELFNAME(os_pt_note)(p, epp, epp->ep_hdr, "OpenBSD", 8, 4) == 0) {
p                 620 kern/exec_elf.c 			    (*ELFNAME(probes)[i].func)(p, epp, interp, &pos, &os) :
p                 624 kern/exec_elf.c 		p->p_os = os;
p                 755 kern/exec_elf.c 	if (p->p_os == OOS_DELL)
p                 763 kern/exec_elf.c 	return (exec_setup_stack(p, epp));
p                 778 kern/exec_elf.c ELFNAME2(exec,fixup)(struct proc *p, struct exec_package *epp)
p                 793 kern/exec_elf.c 	if ((error = ELFNAME(load_file)(p, interp, epp, ap, &pos)) != 0) {
p                 802 kern/exec_elf.c 	error = exec_process_vmcmds(p, epp);
p                 863 kern/exec_elf.c ELFNAME(os_pt_note)(struct proc *p, struct exec_package *epp, Elf_Ehdr *eh,
p                 873 kern/exec_elf.c 	if ((error = ELFNAME(read_from)(p, epp->ep_vp, eh->e_phoff,
p                 884 kern/exec_elf.c 		if ((error = ELFNAME(read_from)(p, epp->ep_vp, ph->p_offset,
p                  72 kern/exec_script.c exec_script_makecmds(struct proc *p, struct exec_package *epp)
p                 175 kern/exec_script.c 	vn_lock(scriptvp, LK_EXCLUSIVE|LK_RETRY, p);
p                 176 kern/exec_script.c 	error = VOP_ACCESS(scriptvp, VREAD, p->p_ucred, p);
p                 177 kern/exec_script.c 	VOP_UNLOCK(scriptvp, 0, p);
p                 190 kern/exec_script.c 		if ((error = falloc(p, &fp, &epp->ep_fd)))
p                 222 kern/exec_script.c 		if (ISSET(p->p_flag, P_SYSTRACE)) {
p                 223 kern/exec_script.c 			error = systrace_scriptname(p, *tmpsap);
p                 257 kern/exec_script.c 	if ((error = check_exec(p, epp)) == 0) {
p                 268 kern/exec_script.c 			vn_close(scriptvp, FREAD, p->p_ucred, p);
p                 300 kern/exec_script.c 		(void) fdrelease(p, epp->ep_fd);
p                 302 kern/exec_script.c 		vn_close(scriptvp, FREAD, p->p_ucred, p);
p                  59 kern/exec_subr.c 	int	(*proc)(struct proc * p, struct exec_vmcmd *);
p                 132 kern/exec_subr.c exec_process_vmcmds(struct proc *p, struct exec_package *epp)
p                 150 kern/exec_subr.c 		error = (*vcp->ev_proc)(p, vcp);
p                 168 kern/exec_subr.c vmcmd_map_pagedvn(p, cmd)
p                 169 kern/exec_subr.c 	struct proc *p;
p                 206 kern/exec_subr.c 	error = uvm_map(&p->p_vmspace->vm_map, &cmd->ev_addr, cmd->ev_len,
p                 233 kern/exec_subr.c vmcmd_map_readvn(struct proc *p, struct exec_vmcmd *cmd)
p                 244 kern/exec_subr.c 	error = uvm_map(&p->p_vmspace->vm_map, &cmd->ev_addr,
p                 255 kern/exec_subr.c 	    p->p_ucred, NULL, p);
p                 266 kern/exec_subr.c 		return (uvm_map_protect(&p->p_vmspace->vm_map,
p                 281 kern/exec_subr.c vmcmd_map_zero(p, cmd)
p                 282 kern/exec_subr.c 	struct proc *p;
p                 291 kern/exec_subr.c 	error = uvm_map(&p->p_vmspace->vm_map, &cmd->ev_addr,
p                 316 kern/exec_subr.c exec_setup_stack(p, epp)
p                 317 kern/exec_subr.c 	struct proc *p;
p                 328 kern/exec_subr.c 	epp->ep_ssize = round_page(p->p_rlimit[RLIMIT_STACK].rlim_cur);
p                 181 kern/init_main.c 	struct proc *p;
p                 196 kern/init_main.c 	curproc = p = &proc0;
p                 197 kern/init_main.c 	p->p_cpu = curcpu();
p                 256 kern/init_main.c 	process0.ps_mainproc = p;
p                 258 kern/init_main.c 	TAILQ_INSERT_TAIL(&process0.ps_threads, p, p_thr_link);
p                 259 kern/init_main.c 	p->p_p = &process0;
p                 261 kern/init_main.c 	LIST_INSERT_HEAD(&allproc, p, p_list);
p                 262 kern/init_main.c 	p->p_pgrp = &pgrp0;
p                 263 kern/init_main.c 	LIST_INSERT_HEAD(PIDHASH(0), p, p_hash);
p                 266 kern/init_main.c 	LIST_INSERT_HEAD(&pgrp0.pg_members, p, p_pglist);
p                 270 kern/init_main.c 	session0.s_leader = p;
p                 272 kern/init_main.c 	atomic_setbits_int(&p->p_flag, P_SYSTEM | P_NOCLDWAIT);
p                 273 kern/init_main.c 	p->p_stat = SONPROC;
p                 274 kern/init_main.c 	p->p_nice = NZERO;
p                 275 kern/init_main.c 	p->p_emul = &emul_native;
p                 276 kern/init_main.c 	bcopy("swapper", p->p_comm, sizeof ("swapper"));
p                 279 kern/init_main.c 	timeout_set(&p->p_sleep_to, endtsleep, p);
p                 280 kern/init_main.c 	timeout_set(&p->p_realit_to, realitexpire, p);
p                 284 kern/init_main.c 	p->p_cred = &cred0;
p                 285 kern/init_main.c 	p->p_ucred = crget();
p                 286 kern/init_main.c 	p->p_ucred->cr_ngroups = 1;	/* group 0 */
p                 290 kern/init_main.c 	p->p_sigacts = &sigacts0;
p                 291 kern/init_main.c 	siginit(p);
p                 294 kern/init_main.c 	p->p_fd = fdinit(NULL);
p                 297 kern/init_main.c 	p->p_p->ps_limit = &limit0;
p                 298 kern/init_main.c 	for (i = 0; i < sizeof(p->p_rlimit)/sizeof(p->p_rlimit[0]); i++)
p                 314 kern/init_main.c 	p->p_vmspace = &vmspace0;
p                 316 kern/init_main.c 	p->p_addr = proc0paddr;				/* XXX */
p                 322 kern/init_main.c 	p->p_stats = &p->p_addr->u_stats;
p                 339 kern/init_main.c 	uvm_init_limits(p);
p                 351 kern/init_main.c 	KERNEL_PROC_LOCK(p);
p                 420 kern/init_main.c 	if (fork1(p, SIGCHLD, FORK_FORK, NULL, 0, start_init, NULL, NULL,
p                 456 kern/init_main.c 	p->p_fd->fd_cdir = rootvnode;
p                 457 kern/init_main.c 	VREF(p->p_fd->fd_cdir);
p                 458 kern/init_main.c 	VOP_UNLOCK(rootvnode, 0, p);
p                 459 kern/init_main.c 	p->p_fd->fd_rdir = NULL;
p                 480 kern/init_main.c 	LIST_FOREACH(p, &allproc, p_list) {
p                 481 kern/init_main.c 		p->p_stats->p_start = boottime;
p                 482 kern/init_main.c 		microuptime(&p->p_cpu->ci_schedstate.spc_runtime);
p                 483 kern/init_main.c 		p->p_rtime.tv_sec = p->p_rtime.tv_usec = 0;
p                 548 kern/init_main.c check_console(struct proc *p)
p                 553 kern/init_main.c 	NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, "/dev/console", p);
p                 571 kern/init_main.c 	struct proc *p = arg;
p                 594 kern/init_main.c 	check_console(p);
p                 604 kern/init_main.c 	if (uvm_map(&p->p_vmspace->vm_map, &addr, PAGE_SIZE, 
p                 609 kern/init_main.c 	p->p_vmspace->vm_maxsaddr = (caddr_t)addr;
p                 693 kern/init_main.c 		if ((error = sys_execve(p, &args, retval)) == 0) {
p                 694 kern/init_main.c 			KERNEL_PROC_UNLOCK(p);
p                  98 kern/kern_acct.c sys_acct(struct proc *p, void *v, register_t *retval)
p                 107 kern/kern_acct.c 	if ((error = suser(p, 0)) != 0)
p                 116 kern/kern_acct.c 		    p);
p                 119 kern/kern_acct.c 		VOP_UNLOCK(nd.ni_vp, 0, p);
p                 121 kern/kern_acct.c 			vn_close(nd.ni_vp, FWRITE, p->p_ucred, p);
p                 133 kern/kern_acct.c 		    p->p_ucred, p);
p                 146 kern/kern_acct.c 		(void)vn_close(nd.ni_vp, FWRITE, p->p_ucred, p);
p                 159 kern/kern_acct.c acct_process(struct proc *p)
p                 178 kern/kern_acct.c 	if (p->p_p->ps_limit->p_refcnt > 1) {
p                 179 kern/kern_acct.c 		oplim = p->p_p->ps_limit;
p                 180 kern/kern_acct.c 		p->p_p->ps_limit = limcopy(p->p_p->ps_limit);
p                 182 kern/kern_acct.c 	p->p_rlimit[RLIMIT_FSIZE].rlim_cur = RLIM_INFINITY;
p                 189 kern/kern_acct.c 	bcopy(p->p_comm, acct.ac_comm, sizeof acct.ac_comm);
p                 192 kern/kern_acct.c 	calcru(p, &ut, &st, NULL);
p                 197 kern/kern_acct.c 	acct.ac_btime = p->p_stats->p_start.tv_sec;
p                 199 kern/kern_acct.c 	timersub(&tmp, &p->p_stats->p_start, &tmp);
p                 203 kern/kern_acct.c 	r = &p->p_stats->p_ru;
p                 215 kern/kern_acct.c 	acct.ac_uid = p->p_cred->p_ruid;
p                 216 kern/kern_acct.c 	acct.ac_gid = p->p_cred->p_rgid;
p                 219 kern/kern_acct.c 	if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp)
p                 220 kern/kern_acct.c 		acct.ac_tty = p->p_pgrp->pg_session->s_ttyp->t_dev;
p                 225 kern/kern_acct.c 	acct.ac_flag = p->p_acflag;
p                 231 kern/kern_acct.c 	    (off_t)0, UIO_SYSSPACE, IO_APPEND|IO_UNIT, p->p_ucred, NULL, p);
p                 234 kern/kern_acct.c 		limfree(p->p_p->ps_limit);
p                 235 kern/kern_acct.c 		p->p_p->ps_limit = oplim;
p                 300 kern/kern_acct.c 	struct proc *p = curproc;
p                 305 kern/kern_acct.c 				(void) vn_close(savacctp, FWRITE, NOCRED, p);
p                 317 kern/kern_acct.c 				(void) vn_close(acctp, FWRITE, NOCRED, p);
p                 340 kern/kern_acct.c 	struct proc *p = curproc;
p                 344 kern/kern_acct.c 		    NOCRED, p);
p                 202 kern/kern_clock.c 	struct proc *p = v;
p                 204 kern/kern_clock.c 	psignal(p, SIGVTALRM);
p                 210 kern/kern_clock.c 	struct proc *p = v;
p                 212 kern/kern_clock.c 	psignal(p, SIGPROF);
p                 221 kern/kern_clock.c 	struct proc *p;
p                 231 kern/kern_clock.c 	p = curproc;
p                 232 kern/kern_clock.c 	if (p && ((p->p_flag & (P_SYSTEM | P_WEXIT)) == 0)) {
p                 238 kern/kern_clock.c 		pstats = p->p_stats;
p                 436 kern/kern_clock.c startprofclock(struct proc *p)
p                 440 kern/kern_clock.c 	if ((p->p_flag & P_PROFIL) == 0) {
p                 441 kern/kern_clock.c 		atomic_setbits_int(&p->p_flag, P_PROFIL);
p                 455 kern/kern_clock.c stopprofclock(struct proc *p)
p                 459 kern/kern_clock.c 	if (p->p_flag & P_PROFIL) {
p                 460 kern/kern_clock.c 		atomic_clearbits_int(&p->p_flag, P_PROFIL);
p                 483 kern/kern_clock.c 	struct proc *p = curproc;
p                 500 kern/kern_clock.c 		if (p->p_flag & P_PROFIL)
p                 501 kern/kern_clock.c 			addupc_intr(p, CLKF_PC(frame));
p                 508 kern/kern_clock.c 		p->p_uticks++;
p                 509 kern/kern_clock.c 		if (p->p_nice > NZERO)
p                 528 kern/kern_clock.c 		if (p != NULL && p->p_flag & P_PROFIL)
p                 529 kern/kern_clock.c 			addupc_intr(p, PROC_PC(p));
p                 546 kern/kern_clock.c 			if (p != NULL)
p                 547 kern/kern_clock.c 				p->p_iticks++;
p                 549 kern/kern_clock.c 		} else if (p != NULL) {
p                 550 kern/kern_clock.c 			p->p_sticks++;
p                 557 kern/kern_clock.c 	if (p != NULL) {
p                 558 kern/kern_clock.c 		p->p_cpticks++;
p                 566 kern/kern_clock.c 				schedclock(p);
p                 202 kern/kern_descrip.c sys_dup(struct proc *p, void *v, register_t *retval)
p                 207 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 218 kern/kern_descrip.c 	if ((error = fdalloc(p, 0, &new)) != 0) {
p                 221 kern/kern_descrip.c 			fdexpand(p);
p                 227 kern/kern_descrip.c 	error = finishdup(p, fp, old, new, retval);
p                 239 kern/kern_descrip.c sys_dup2(struct proc *p, void *v, register_t *retval)
p                 246 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 253 kern/kern_descrip.c 	if ((u_int)new >= p->p_rlimit[RLIMIT_NOFILE].rlim_cur ||
p                 268 kern/kern_descrip.c 		if ((error = fdalloc(p, new, &i)) != 0) {
p                 271 kern/kern_descrip.c 				fdexpand(p);
p                 281 kern/kern_descrip.c 	error = finishdup(p, fp, old, new, retval);
p                 293 kern/kern_descrip.c sys_fcntl(struct proc *p, void *v, register_t *retval)
p                 301 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 316 kern/kern_descrip.c 		if ((u_int)newmin >= p->p_rlimit[RLIMIT_NOFILE].rlim_cur ||
p                 322 kern/kern_descrip.c 		if ((error = fdalloc(p, newmin, &i)) != 0) {
p                 324 kern/kern_descrip.c 				fdexpand(p);
p                 332 kern/kern_descrip.c 			error = finishdup(p, fp, fd, i, retval);
p                 358 kern/kern_descrip.c 		error = (*fp->f_ops->fo_ioctl)(fp, FIONBIO, (caddr_t)&tmp, p);
p                 362 kern/kern_descrip.c 		error = (*fp->f_ops->fo_ioctl)(fp, FIOASYNC, (caddr_t)&tmp, p);
p                 367 kern/kern_descrip.c 		(void) (*fp->f_ops->fo_ioctl)(fp, FIONBIO, (caddr_t)&tmp, p);
p                 376 kern/kern_descrip.c 			(fp, TIOCGPGRP, (caddr_t)&tmp, p);
p                 385 kern/kern_descrip.c 			so->so_siguid = p->p_cred->p_ruid;
p                 386 kern/kern_descrip.c 			so->so_sigeuid = p->p_ucred->cr_uid;
p                 400 kern/kern_descrip.c 			(fp, TIOCSPGRP, (caddr_t)&SCARG(uap, arg), p));
p                 433 kern/kern_descrip.c 			atomic_setbits_int(&p->p_flag, P_ADVLOCK);
p                 434 kern/kern_descrip.c 			error = (VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg));
p                 442 kern/kern_descrip.c 			atomic_setbits_int(&p->p_flag, P_ADVLOCK);
p                 443 kern/kern_descrip.c 			error = (VOP_ADVLOCK(vp, (caddr_t)p, F_SETLK, &fl, flg));
p                 447 kern/kern_descrip.c 			error = (VOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &fl,
p                 482 kern/kern_descrip.c 		error = VOP_ADVLOCK(vp, (caddr_t)p, F_GETLK, &fl, F_POSIX);
p                 502 kern/kern_descrip.c finishdup(struct proc *p, struct file *fp, int old, int new, register_t *retval)
p                 505 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 530 kern/kern_descrip.c 			knote_fdclose(p, new);
p                 531 kern/kern_descrip.c 		closef(oldfp, p);
p                 545 kern/kern_descrip.c fdrelease(struct proc *p, int fd)
p                 547 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 563 kern/kern_descrip.c 		knote_fdclose(p, fd);
p                 564 kern/kern_descrip.c 	return (closef(fp, p));
p                 572 kern/kern_descrip.c sys_close(struct proc *p, void *v, register_t *retval)
p                 578 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 583 kern/kern_descrip.c 	error = fdrelease(p, fd);
p                 594 kern/kern_descrip.c sys_fstat(struct proc *p, void *v, register_t *retval)
p                 601 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 609 kern/kern_descrip.c 	error = (*fp->f_ops->fo_stat)(fp, &ub, p);
p                 616 kern/kern_descrip.c 		if (suser(p, 0))
p                 629 kern/kern_descrip.c sys_fpathconf(struct proc *p, void *v, register_t *retval)
p                 636 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 657 kern/kern_descrip.c 		vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 659 kern/kern_descrip.c 		VOP_UNLOCK(vp, 0, p);
p                 674 kern/kern_descrip.c fdalloc(struct proc *p, int want, int *result)
p                 676 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 686 kern/kern_descrip.c 	lim = min((int)p->p_rlimit[RLIMIT_NOFILE].rlim_cur, maxfiles);
p                 721 kern/kern_descrip.c fdexpand(struct proc *p)
p                 723 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 787 kern/kern_descrip.c falloc(struct proc *p, struct file **resultfp, int *resultfd)
p                 793 kern/kern_descrip.c 	if ((error = fdalloc(p, 0, &i)) != 0) {
p                 795 kern/kern_descrip.c 			fdexpand(p);
p                 801 kern/kern_descrip.c 		fd_unused(p->p_fd, i);
p                 815 kern/kern_descrip.c 	if ((fq = p->p_fd->fd_ofiles[0]) != NULL) {
p                 820 kern/kern_descrip.c 	p->p_fd->fd_ofiles[i] = fp;
p                 822 kern/kern_descrip.c 	fp->f_cred = p->p_ucred;
p                 836 kern/kern_descrip.c fdinit(struct proc *p)
p                 843 kern/kern_descrip.c 	if (p != NULL) {
p                 844 kern/kern_descrip.c 		struct filedesc *fdp = p->p_fd;
p                 874 kern/kern_descrip.c fdshare(struct proc *p)
p                 876 kern/kern_descrip.c 	p->p_fd->fd_refcnt++;
p                 877 kern/kern_descrip.c 	return (p->p_fd);
p                 884 kern/kern_descrip.c fdcopy(struct proc *p)
p                 886 kern/kern_descrip.c 	struct filedesc *newfdp, *fdp = p->p_fd;
p                 972 kern/kern_descrip.c fdfree(struct proc *p)
p                 974 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                 986 kern/kern_descrip.c 			(void) closef(fp, p);
p                 989 kern/kern_descrip.c 	p->p_fd = NULL;
p                1016 kern/kern_descrip.c closef(struct file *fp, struct proc *p)
p                1033 kern/kern_descrip.c 	if (p && (p->p_flag & P_ADVLOCK) && fp->f_type == DTYPE_VNODE) {
p                1039 kern/kern_descrip.c 		(void) VOP_ADVLOCK(vp, (caddr_t)p, F_UNLCK, &lf, F_POSIX);
p                1077 kern/kern_descrip.c 		error = (*fp->f_ops->fo_close)(fp, p);
p                1102 kern/kern_descrip.c sys_flock(struct proc *p, void *v, register_t *retval)
p                1110 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                1157 kern/kern_descrip.c filedescopen(dev_t dev, int mode, int type, struct proc *p)
p                1168 kern/kern_descrip.c 	p->p_dupfd = minor(dev);
p                1255 kern/kern_descrip.c fdcloseexec(struct proc *p)
p                1257 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                1262 kern/kern_descrip.c 			(void) fdrelease(p, fd);
p                1266 kern/kern_descrip.c sys_closefrom(struct proc *p, void *v, register_t *retval)
p                1269 kern/kern_descrip.c 	struct filedesc *fdp = p->p_fd;
p                1281 kern/kern_descrip.c 		fdrelease(p, i);
p                  57 kern/kern_event.c 		    struct proc *p, int *retval);
p                  64 kern/kern_event.c 		    struct proc *p);
p                  65 kern/kern_event.c int	kqueue_poll(struct file *fp, int events, struct proc *p);
p                  67 kern/kern_event.c int	kqueue_stat(struct file *fp, struct stat *st, struct proc *p);
p                  68 kern/kern_event.c int	kqueue_close(struct file *fp, struct proc *p);
p                  82 kern/kern_event.c void	knote_drop(struct knote *kn, struct proc *p, struct filedesc *fdp);
p                 194 kern/kern_event.c 	struct proc *p;
p                 196 kern/kern_event.c 	p = pfind(kn->kn_id);
p                 197 kern/kern_event.c 	if (p == NULL)
p                 204 kern/kern_event.c 	if ((p->p_cred->p_ruid != curproc->p_cred->p_ruid ||
p                 205 kern/kern_event.c 	    (p->p_flag & P_SUGID)) && suser(curproc, 0) != 0)
p                 208 kern/kern_event.c 	kn->kn_ptr.p_proc = p;
p                 221 kern/kern_event.c 	SLIST_INSERT_HEAD(&p->p_klist, kn, kn_selnext);
p                 237 kern/kern_event.c 	struct proc *p = kn->kn_ptr.p_proc;
p                 243 kern/kern_event.c 	SLIST_REMOVE(&p->p_klist, kn, knote, kn_selnext);
p                 380 kern/kern_event.c sys_kqueue(struct proc *p, void *v, register_t *retval)
p                 382 kern/kern_event.c 	struct filedesc *fdp = p->p_fd;
p                 387 kern/kern_event.c 	error = falloc(p, &fp, &fd);
p                 406 kern/kern_event.c sys_kevent(struct proc *p, void *v, register_t *retval)
p                 408 kern/kern_event.c 	struct filedesc* fdp = p->p_fd;
p                 449 kern/kern_event.c 			error = kqueue_register(kq, kevp, p);
p                 475 kern/kern_event.c 			    SCARG(uap, timeout), p, &n);
p                 483 kern/kern_event.c kqueue_register(struct kqueue *kq, struct kevent *kev, struct proc *p)
p                 569 kern/kern_event.c 				knote_drop(kn, p, fdp);
p                 590 kern/kern_event.c 		knote_drop(kn, p, p->p_fd);
p                 612 kern/kern_event.c 		closef(fp, p);
p                 618 kern/kern_event.c 	const struct timespec *tsp, struct proc *p, int *retval)
p                 715 kern/kern_event.c 			knote_drop(kn, p, p->p_fd);
p                 769 kern/kern_event.c kqueue_ioctl(struct file *fp, u_long com, caddr_t data, struct proc *p)
p                 776 kern/kern_event.c kqueue_poll(struct file *fp, int events, struct proc *p)
p                 786 kern/kern_event.c 			selrecord(p, &kq->kq_sel);
p                 796 kern/kern_event.c kqueue_stat(struct file *fp, struct stat *st, struct proc *p)
p                 809 kern/kern_event.c kqueue_close(struct file *fp, struct proc *p)
p                 812 kern/kern_event.c 	struct filedesc *fdp = p->p_fd;
p                 824 kern/kern_event.c 				closef(kn->kn_fp, p);
p                 889 kern/kern_event.c knote_remove(struct proc *p, struct klist *list)
p                 895 kern/kern_event.c 		knote_drop(kn, p, p->p_fd);
p                 903 kern/kern_event.c knote_fdclose(struct proc *p, int fd)
p                 905 kern/kern_event.c 	struct filedesc *fdp = p->p_fd;
p                 908 kern/kern_event.c 	knote_remove(p, list);
p                 951 kern/kern_event.c knote_drop(struct knote *kn, struct proc *p, struct filedesc *fdp)
p                 965 kern/kern_event.c 		closef(kn->kn_fp, p);
p                 112 kern/kern_exec.c check_exec(struct proc *p, struct exec_package *epp)
p                 138 kern/kern_exec.c 	if ((error = VOP_GETATTR(vp, epp->ep_vap, p->p_ucred, p)) != 0)
p                 151 kern/kern_exec.c 	if ((error = VOP_ACCESS(vp, VEXEC, p->p_ucred, p)) != 0)
p                 159 kern/kern_exec.c 	if ((error = VOP_OPEN(vp, FREAD, p->p_ucred, p)) != 0)
p                 163 kern/kern_exec.c 	VOP_UNLOCK(vp, 0, p);
p                 167 kern/kern_exec.c 	    UIO_SYSSPACE, 0, p->p_ucred, &resid, p);
p                 182 kern/kern_exec.c 		newerror = (*execsw[i].es_check)(p, epp);
p                 199 kern/kern_exec.c 		    (epp->ep_dsize > p->p_rlimit[RLIMIT_DATA].rlim_cur))
p                 216 kern/kern_exec.c 	vn_close(vp, FREAD, p->p_ucred, p);
p                 235 kern/kern_exec.c sys_execve(struct proc *p, void *v, register_t *retval)
p                 246 kern/kern_exec.c 	struct ucred *cred = p->p_ucred;
p                 256 kern/kern_exec.c 	struct vmspace *vm = p->p_vmspace;
p                 261 kern/kern_exec.c 	    ISSET(p->p_flag, P_SUGID) || ISSET(p->p_flag, P_SUGIDEXEC);
p                 270 kern/kern_exec.c 	atomic_setbits_int(&p->p_flag, P_INEXEC);
p                 273 kern/kern_exec.c 	if (ISSET(p->p_flag, P_SYSTRACE)) {
p                 274 kern/kern_exec.c 		systrace_execve0(p);
p                 283 kern/kern_exec.c 		NDINIT(&nid, LOOKUP, NOFOLLOW, UIO_SYSSPACE, pathbuf, p);
p                 286 kern/kern_exec.c 		    SCARG(uap, path), p);
p                 308 kern/kern_exec.c 	if ((error = check_exec(p, &pack)) != 0) {
p                 409 kern/kern_exec.c 	uvmspace_exec(p, VM_MIN_ADDRESS, VM_MAXUSER_ADDRESS);
p                 411 kern/kern_exec.c 	vm = p->p_vmspace;
p                 427 kern/kern_exec.c 	error = exec_process_vmcmds(p, &pack);
p                 451 kern/kern_exec.c 	stopprofclock(p);	/* stop profiling */
p                 452 kern/kern_exec.c 	fdcloseexec(p);		/* handle close on exec */
p                 453 kern/kern_exec.c 	execsigs(p);		/* reset caught signals */
p                 457 kern/kern_exec.c 	bcopy(nid.ni_cnd.cn_nameptr, p->p_comm, len);
p                 458 kern/kern_exec.c 	p->p_comm[len] = 0;
p                 459 kern/kern_exec.c 	p->p_acflag &= ~AFORK;
p                 462 kern/kern_exec.c 	if (p->p_textvp)
p                 463 kern/kern_exec.c 		vrele(p->p_textvp);
p                 465 kern/kern_exec.c 	p->p_textvp = pack.ep_vp;
p                 467 kern/kern_exec.c 	atomic_setbits_int(&p->p_flag, P_EXEC);
p                 468 kern/kern_exec.c 	if (p->p_flag & P_PPWAIT) {
p                 469 kern/kern_exec.c 		atomic_clearbits_int(&p->p_flag, P_PPWAIT);
p                 470 kern/kern_exec.c 		wakeup((caddr_t)p->p_pptr);
p                 477 kern/kern_exec.c 	if (p->p_ucred->cr_uid != p->p_cred->p_ruid ||
p                 478 kern/kern_exec.c 	    p->p_ucred->cr_uid != p->p_cred->p_svuid ||
p                 479 kern/kern_exec.c 	    p->p_ucred->cr_gid != p->p_cred->p_rgid ||
p                 480 kern/kern_exec.c 	    p->p_ucred->cr_gid != p->p_cred->p_svgid)
p                 481 kern/kern_exec.c 		atomic_setbits_int(&p->p_flag, P_SUGIDEXEC);
p                 483 kern/kern_exec.c 		atomic_clearbits_int(&p->p_flag, P_SUGIDEXEC);
p                 489 kern/kern_exec.c 	if ((attr.va_mode & (VSUID | VSGID)) && proc_cansugid(p)) {
p                 492 kern/kern_exec.c 		atomic_setbits_int(&p->p_flag, P_SUGID|P_SUGIDEXEC);
p                 499 kern/kern_exec.c 		if (p->p_tracep && !(p->p_traceflag & KTRFAC_ROOT)) {
p                 500 kern/kern_exec.c 			p->p_traceflag = 0;
p                 501 kern/kern_exec.c 			ktrsettracevnode(p, NULL);
p                 504 kern/kern_exec.c 		p->p_ucred = crcopy(cred);
p                 506 kern/kern_exec.c 			p->p_ucred->cr_uid = attr.va_uid;
p                 508 kern/kern_exec.c 			p->p_ucred->cr_gid = attr.va_gid;
p                 522 kern/kern_exec.c 			fp = fd_getfile(p->p_fd, i);
p                 530 kern/kern_exec.c 				fdrelease(p, i);
p                 546 kern/kern_exec.c 				if ((error = falloc(p, &fp, &indx)) != 0)
p                 553 kern/kern_exec.c 					fdremove(p->p_fd, indx);
p                 554 kern/kern_exec.c 					closef(fp, p);
p                 557 kern/kern_exec.c 				if ((error = VOP_OPEN(vp, flags, p->p_ucred, p)) != 0) {
p                 558 kern/kern_exec.c 					fdremove(p->p_fd, indx);
p                 559 kern/kern_exec.c 					closef(fp, p);
p                 573 kern/kern_exec.c 		atomic_clearbits_int(&p->p_flag, P_SUGID);
p                 574 kern/kern_exec.c 	p->p_cred->p_svuid = p->p_ucred->cr_uid;
p                 575 kern/kern_exec.c 	p->p_cred->p_svgid = p->p_ucred->cr_gid;
p                 577 kern/kern_exec.c 	if (p->p_flag & P_SUGIDEXEC) {
p                 580 kern/kern_exec.c 		timeout_del(&p->p_realit_to);
p                 581 kern/kern_exec.c 		timerclear(&p->p_realtimer.it_interval);
p                 582 kern/kern_exec.c 		timerclear(&p->p_realtimer.it_value);
p                 583 kern/kern_exec.c 		for (i = 0; i < sizeof(p->p_stats->p_timer) /
p                 584 kern/kern_exec.c 		    sizeof(p->p_stats->p_timer[0]); i++) {
p                 585 kern/kern_exec.c 			timerclear(&p->p_stats->p_timer[i].it_interval);
p                 586 kern/kern_exec.c 			timerclear(&p->p_stats->p_timer[i].it_value);
p                 594 kern/kern_exec.c 	vn_close(pack.ep_vp, FREAD, cred, p);
p                 599 kern/kern_exec.c 	KNOTE(&p->p_klist, NOTE_EXEC);
p                 603 kern/kern_exec.c 		if ((*pack.ep_emul->e_fixup)(p, &pack) != 0)
p                 607 kern/kern_exec.c 	(*pack.ep_emul->e_setregs)(p, &pack, (u_long)stack + slen, retval);
p                 609 kern/kern_exec.c 	(*pack.ep_emul->e_setregs)(p, &pack, (u_long)stack, retval);
p                 613 kern/kern_exec.c 	if (exec_sigcode_map(p, pack.ep_emul))
p                 616 kern/kern_exec.c 	if (p->p_flag & P_TRACED)
p                 617 kern/kern_exec.c 		psignal(p, SIGTRAP);
p                 631 kern/kern_exec.c 	if (p->p_emul && p->p_emul->e_proc_exit &&
p                 632 kern/kern_exec.c 	    p->p_emul != pack.ep_emul)
p                 633 kern/kern_exec.c 		(*p->p_emul->e_proc_exit)(p);
p                 635 kern/kern_exec.c 	p->p_descfd = 255;
p                 637 kern/kern_exec.c 		p->p_descfd = pack.ep_fd;
p                 644 kern/kern_exec.c 		(*pack.ep_emul->e_proc_exec)(p, &pack);
p                 647 kern/kern_exec.c 	p->p_emul = pack.ep_emul;
p                 650 kern/kern_exec.c 	if (KTRPOINT(p, KTR_EMUL))
p                 651 kern/kern_exec.c 		ktremul(p, p->p_emul->e_name);
p                 654 kern/kern_exec.c 	atomic_clearbits_int(&p->p_flag, P_INEXEC);
p                 657 kern/kern_exec.c 	if (ISSET(p->p_flag, P_SYSTRACE) &&
p                 658 kern/kern_exec.c 	    wassugid && !ISSET(p->p_flag, P_SUGID) &&
p                 659 kern/kern_exec.c 	    !ISSET(p->p_flag, P_SUGIDEXEC))
p                 660 kern/kern_exec.c 		systrace_execve1(pathbuf, p);
p                 674 kern/kern_exec.c 		(void) fdrelease(p, pack.ep_fd);
p                 681 kern/kern_exec.c 	vn_close(pack.ep_vp, FREAD, cred, p);
p                 690 kern/kern_exec.c 	atomic_clearbits_int(&p->p_flag, P_INEXEC);
p                 710 kern/kern_exec.c 	vn_close(pack.ep_vp, FREAD, cred, p);
p                 715 kern/kern_exec.c 	exit1(p, W_EXITCODE(0, SIGABRT), EXIT_NORMAL);
p                 718 kern/kern_exec.c 	atomic_clearbits_int(&p->p_flag, P_INEXEC);
p                 768 kern/kern_exec.c exec_sigcode_map(struct proc *p, struct emul *e)
p                 804 kern/kern_exec.c 	p->p_sigcode = uvm_map_hint(p, VM_PROT_READ|VM_PROT_EXECUTE);
p                 806 kern/kern_exec.c 	if (uvm_map(&p->p_vmspace->vm_map, &p->p_sigcode, round_page(sz),
p                  85 kern/kern_exit.c sys_exit(struct proc *p, void *v, register_t *retval)
p                  91 kern/kern_exit.c 	exit1(p, W_EXITCODE(SCARG(uap, rval), 0), EXIT_NORMAL);
p                  98 kern/kern_exit.c sys_threxit(struct proc *p, void *v, register_t *retval)
p                 102 kern/kern_exit.c 	exit1(p, W_EXITCODE(SCARG(uap, rval), 0), EXIT_THREAD);
p                 114 kern/kern_exit.c exit1(struct proc *p, int rv, int flags)
p                 118 kern/kern_exit.c 	if (p->p_pid == 1)
p                 123 kern/kern_exit.c 	TAILQ_REMOVE(&p->p_p->ps_threads, p, p_thr_link);
p                 125 kern/kern_exit.c 	if (TAILQ_EMPTY(&p->p_p->ps_threads))
p                 126 kern/kern_exit.c 		wakeup(&p->p_p->ps_threads);
p                 132 kern/kern_exit.c 	if (flags == EXIT_NORMAL && p->p_p->ps_mainproc != p &&
p                 133 kern/kern_exit.c 	    (p->p_p->ps_mainproc->p_flag & P_WEXIT) == 0) {
p                 138 kern/kern_exit.c 		atomic_setbits_int(&p->p_p->ps_mainproc->p_flag, P_IGNEXITRV);
p                 139 kern/kern_exit.c 		p->p_p->ps_mainproc->p_xstat = rv;
p                 140 kern/kern_exit.c 		psignal(p->p_p->ps_mainproc, SIGKILL);
p                 141 kern/kern_exit.c 		tsleep(p->p_p, PUSER, "thrdying", 0);
p                 142 kern/kern_exit.c 	} else if (p == p->p_p->ps_mainproc) {
p                 143 kern/kern_exit.c 		atomic_setbits_int(&p->p_flag, P_WEXIT);
p                 145 kern/kern_exit.c 			q = TAILQ_FIRST(&p->p_p->ps_threads);
p                 153 kern/kern_exit.c 		wakeup(p->p_p);
p                 154 kern/kern_exit.c 		while (!TAILQ_EMPTY(&p->p_p->ps_threads))
p                 155 kern/kern_exit.c 			tsleep(&p->p_p->ps_threads, PUSER, "thrdeath", 0);
p                 159 kern/kern_exit.c 	if (p->p_flag & P_PROFIL)
p                 160 kern/kern_exit.c 		stopprofclock(p);
p                 161 kern/kern_exit.c 	p->p_ru = pool_get(&rusage_pool, PR_WAITOK);
p                 166 kern/kern_exit.c 	atomic_setbits_int(&p->p_flag, P_WEXIT);
p                 167 kern/kern_exit.c 	atomic_clearbits_int(&p->p_flag, P_TRACED);
p                 168 kern/kern_exit.c 	if (p->p_flag & P_PPWAIT) {
p                 169 kern/kern_exit.c 		atomic_clearbits_int(&p->p_flag, P_PPWAIT);
p                 170 kern/kern_exit.c 		wakeup(p->p_pptr);
p                 172 kern/kern_exit.c 	p->p_sigignore = ~0;
p                 173 kern/kern_exit.c 	p->p_siglist = 0;
p                 174 kern/kern_exit.c 	timeout_del(&p->p_realit_to);
p                 175 kern/kern_exit.c 	timeout_del(&p->p_stats->p_virt_to);
p                 176 kern/kern_exit.c 	timeout_del(&p->p_stats->p_prof_to);
p                 182 kern/kern_exit.c 	fdfree(p);
p                 185 kern/kern_exit.c 	semexit(p);
p                 187 kern/kern_exit.c 	if (SESS_LEADER(p)) {
p                 188 kern/kern_exit.c 		struct session *sp = p->p_session;
p                 219 kern/kern_exit.c 	fixjobc(p, p->p_pgrp, 0);
p                 221 kern/kern_exit.c 	(void)acct_process(p);
p                 227 kern/kern_exit.c 	p->p_traceflag = 0;	/* don't trace the vrele() */
p                 228 kern/kern_exit.c 	if (p->p_tracep)
p                 229 kern/kern_exit.c 		ktrsettracevnode(p, NULL);
p                 232 kern/kern_exit.c 	if (ISSET(p->p_flag, P_SYSTRACE))
p                 233 kern/kern_exit.c 		systrace_exit(p);
p                 238 kern/kern_exit.c 	p->p_stat = SDEAD;
p                 247 kern/kern_exit.c 	LIST_REMOVE(p, p_hash);
p                 248 kern/kern_exit.c 	LIST_REMOVE(p, p_list);
p                 249 kern/kern_exit.c 	LIST_INSERT_HEAD(&zombproc, p, p_list);
p                 254 kern/kern_exit.c 	q = LIST_FIRST(&p->p_children);
p                 275 kern/kern_exit.c 	if (!(p->p_flag & P_IGNEXITRV))
p                 276 kern/kern_exit.c 		p->p_xstat = rv;
p                 277 kern/kern_exit.c 	*p->p_ru = p->p_stats->p_ru;
p                 278 kern/kern_exit.c 	calcru(p, &p->p_ru->ru_utime, &p->p_ru->ru_stime, NULL);
p                 279 kern/kern_exit.c 	ruadd(p->p_ru, &p->p_stats->p_cru);
p                 284 kern/kern_exit.c 	p->p_pctcpu = 0;
p                 289 kern/kern_exit.c 	KNOTE(&p->p_klist, NOTE_EXIT);
p                 296 kern/kern_exit.c 	if ((p->p_flag & P_NOZOMBIE) || (p->p_pptr->p_flag & P_NOCLDWAIT)) {
p                 297 kern/kern_exit.c 		struct proc *pp = p->p_pptr;
p                 298 kern/kern_exit.c 		proc_reparent(p, initproc);
p                 308 kern/kern_exit.c 	if (p->p_exitsig != 0)
p                 309 kern/kern_exit.c 		psignal(p->p_pptr, P_EXITSIG(p));
p                 310 kern/kern_exit.c 	wakeup(p->p_pptr);
p                 315 kern/kern_exit.c 	sigactsfree(p);
p                 332 kern/kern_exit.c 	if (p->p_emul->e_proc_exit)
p                 333 kern/kern_exit.c 		(*p->p_emul->e_proc_exit)(p);
p                 336 kern/kern_exit.c 	KERNEL_PROC_UNLOCK(p);
p                 349 kern/kern_exit.c 	cpu_exit(p);
p                 374 kern/kern_exit.c exit2(struct proc *p)
p                 379 kern/kern_exit.c 	LIST_INSERT_HEAD(&deadproc, p, p_hash);
p                 395 kern/kern_exit.c 	struct proc *p;
p                 401 kern/kern_exit.c 		p = LIST_FIRST(&deadproc);
p                 402 kern/kern_exit.c 		if (p == NULL) {
p                 410 kern/kern_exit.c 		LIST_REMOVE(p, p_hash);
p                 420 kern/kern_exit.c 		cpu_wait(p);
p                 427 kern/kern_exit.c 		uvm_exit(p);
p                 430 kern/kern_exit.c 		if ((p->p_flag & P_NOZOMBIE) == 0) {
p                 431 kern/kern_exit.c 			p->p_stat = SZOMB;
p                 434 kern/kern_exit.c 			psignal(p->p_pptr, SIGCHLD);
p                 435 kern/kern_exit.c 			wakeup(p->p_pptr);
p                 438 kern/kern_exit.c 			proc_zap(p);
p                 455 kern/kern_exit.c 	struct proc *p, *t;
p                 465 kern/kern_exit.c 	LIST_FOREACH(p, &q->p_children, p_sibling) {
p                 466 kern/kern_exit.c 		if ((p->p_flag & P_NOZOMBIE) ||
p                 468 kern/kern_exit.c 		    p->p_pid != SCARG(uap, pid) &&
p                 469 kern/kern_exit.c 		    p->p_pgid != -SCARG(uap, pid)))
p                 478 kern/kern_exit.c 		    (p->p_exitsig == SIGCHLD) : (P_EXITSIG(p) != SIGCHLD))
p                 482 kern/kern_exit.c 		if (p->p_stat == SZOMB) {
p                 483 kern/kern_exit.c 			retval[0] = p->p_pid;
p                 486 kern/kern_exit.c 				status = p->p_xstat;	/* convert to int */
p                 493 kern/kern_exit.c 			    (error = copyout(p->p_ru,
p                 501 kern/kern_exit.c 			if (p->p_oppid && (t = pfind(p->p_oppid))) {
p                 502 kern/kern_exit.c 				p->p_oppid = 0;
p                 503 kern/kern_exit.c 				proc_reparent(p, t);
p                 504 kern/kern_exit.c 				if (p->p_exitsig != 0)
p                 505 kern/kern_exit.c 					psignal(t, P_EXITSIG(p));
p                 510 kern/kern_exit.c 			scheduler_wait_hook(q, p);
p                 511 kern/kern_exit.c 			p->p_xstat = 0;
p                 512 kern/kern_exit.c 			ruadd(&q->p_stats->p_cru, p->p_ru);
p                 514 kern/kern_exit.c 			proc_zap(p);
p                 518 kern/kern_exit.c 		if (p->p_stat == SSTOP && (p->p_flag & P_WAITED) == 0 &&
p                 519 kern/kern_exit.c 		    (p->p_flag & P_TRACED || SCARG(uap, options) & WUNTRACED)) {
p                 520 kern/kern_exit.c 			atomic_setbits_int(&p->p_flag, P_WAITED);
p                 521 kern/kern_exit.c 			retval[0] = p->p_pid;
p                 524 kern/kern_exit.c 				status = W_STOPCODE(p->p_xstat);
p                 531 kern/kern_exit.c 		if ((SCARG(uap, options) & WCONTINUED) && (p->p_flag & P_CONTINUED)) {
p                 532 kern/kern_exit.c 			atomic_clearbits_int(&p->p_flag, P_CONTINUED);
p                 533 kern/kern_exit.c 			retval[0] = p->p_pid;
p                 574 kern/kern_exit.c proc_zap(struct proc *p)
p                 576 kern/kern_exit.c 	pool_put(&rusage_pool, p->p_ru);
p                 577 kern/kern_exit.c 	if (p->p_ptstat)
p                 578 kern/kern_exit.c 		free(p->p_ptstat, M_SUBPROC);
p                 584 kern/kern_exit.c 	leavepgrp(p);
p                 585 kern/kern_exit.c 	LIST_REMOVE(p, p_list);	/* off zombproc */
p                 586 kern/kern_exit.c 	LIST_REMOVE(p, p_sibling);
p                 591 kern/kern_exit.c 	(void)chgproccnt(p->p_cred->p_ruid, -1);
p                 596 kern/kern_exit.c 	if (p->p_textvp)
p                 597 kern/kern_exit.c 		vrele(p->p_textvp);
p                 604 kern/kern_exit.c 	TAILQ_REMOVE(&p->p_p->ps_threads, p, p_thr_link);
p                 606 kern/kern_exit.c 	if (TAILQ_EMPTY(&p->p_p->ps_threads)) {
p                 607 kern/kern_exit.c 		limfree(p->p_p->ps_limit);
p                 608 kern/kern_exit.c 		if (--p->p_p->ps_cred->p_refcnt == 0) {
p                 609 kern/kern_exit.c 			crfree(p->p_p->ps_cred->pc_ucred);
p                 610 kern/kern_exit.c 			pool_put(&pcred_pool, p->p_p->ps_cred);
p                 612 kern/kern_exit.c 		pool_put(&process_pool, p->p_p);
p                 615 kern/kern_exit.c 	pool_put(&proc_pool, p);
p                  81 kern/kern_fork.c 	struct proc *p = (struct proc *)arg;
p                  83 kern/kern_fork.c 	if (p->p_flag & P_TRACED)
p                  84 kern/kern_fork.c 		psignal(p, SIGTRAP);
p                  86 kern/kern_fork.c 	child_return(p);
p                  91 kern/kern_fork.c sys_fork(struct proc *p, void *v, register_t *retval)
p                  96 kern/kern_fork.c 	if (p->p_ptmask & PTRACE_FORK)
p                  98 kern/kern_fork.c 	return (fork1(p, SIGCHLD, flags, NULL, 0,
p                 104 kern/kern_fork.c sys_vfork(struct proc *p, void *v, register_t *retval)
p                 106 kern/kern_fork.c 	return (fork1(p, SIGCHLD, FORK_VFORK|FORK_PPWAIT, NULL, 0, NULL,
p                 111 kern/kern_fork.c sys_rfork(struct proc *p, void *v, register_t *retval)
p                 149 kern/kern_fork.c 	return (fork1(p, SIGCHLD, flags, NULL, 0, NULL, NULL, retval, NULL));
p                 480 kern/kern_fork.c 	struct proc *p;
p                 486 kern/kern_fork.c 	LIST_FOREACH(p, &zombproc, p_list)
p                 487 kern/kern_fork.c 		if (p->p_pid == pid || p->p_pgid == pid)
p                 500 kern/kern_fork.c 	struct proc *p;
p                 502 kern/kern_fork.c 	p = curproc;
p                 505 kern/kern_fork.c 	KERNEL_PROC_LOCK(p);
p                  66 kern/kern_ktrace.c ktrsettracevnode(struct proc *p, struct vnode *newvp)
p                  70 kern/kern_ktrace.c 	if (p->p_tracep == newvp)	/* avoid work */
p                  76 kern/kern_ktrace.c 	vp = p->p_tracep;
p                  77 kern/kern_ktrace.c 	p->p_tracep = newvp;
p                  84 kern/kern_ktrace.c ktrinitheader(struct ktr_header *kth, struct proc *p, int type)
p                  89 kern/kern_ktrace.c 	kth->ktr_pid = p->p_pid;
p                  90 kern/kern_ktrace.c 	bcopy(p->p_comm, kth->ktr_comm, MAXCOMLEN);	
p                  94 kern/kern_ktrace.c ktrsyscall(struct proc *p, register_t code, size_t argsize, register_t args[])
p                 103 kern/kern_ktrace.c 	if (code == SYS___sysctl && (p->p_emul->e_flags & EMUL_NATIVE)) {
p                 112 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 113 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_SYSCALL);
p                 120 kern/kern_ktrace.c 	if (code == SYS___sysctl && (p->p_emul->e_flags & EMUL_NATIVE) &&
p                 126 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 128 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 132 kern/kern_ktrace.c ktrsysret(struct proc *p, register_t code, int error, register_t retval)
p                 137 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 138 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_SYSRET);
p                 146 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 147 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 151 kern/kern_ktrace.c ktrnamei(struct proc *p, char *path)
p                 155 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 156 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_NAMEI);
p                 160 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 161 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 165 kern/kern_ktrace.c ktremul(struct proc *p, char *emul)
p                 169 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 170 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_EMUL);
p                 174 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 175 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 179 kern/kern_ktrace.c ktrgenio(struct proc *p, int fd, enum uio_rw rw, struct iovec *iov, int len,
p                 191 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 195 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_GENIO);
p                 221 kern/kern_ktrace.c 		if (ktrwrite(p, &kth) != 0)
p                 234 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 239 kern/kern_ktrace.c ktrpsig(struct proc *p, int sig, sig_t action, int mask, int code,
p                 245 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 246 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_PSIG);
p                 255 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 256 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 260 kern/kern_ktrace.c ktrcsw(struct proc *p, int out, int user)
p                 265 kern/kern_ktrace.c 	p->p_traceflag |= KTRFAC_ACTIVE;
p                 266 kern/kern_ktrace.c 	ktrinitheader(&kth, p, KTR_CSW);
p                 272 kern/kern_ktrace.c 	ktrwrite(p, &kth);
p                 273 kern/kern_ktrace.c 	p->p_traceflag &= ~KTRFAC_ACTIVE;
p                 292 kern/kern_ktrace.c 	struct proc *p = NULL;
p                 325 kern/kern_ktrace.c 		for (p = LIST_FIRST(&allproc); p; p = LIST_NEXT(p, p_list)) {
p                 326 kern/kern_ktrace.c 			if (p->p_tracep == vp) {
p                 327 kern/kern_ktrace.c 				if (ktrcanset(curp, p)) {
p                 328 kern/kern_ktrace.c 					p->p_traceflag = 0;
p                 329 kern/kern_ktrace.c 					ktrsettracevnode(p, NULL);
p                 355 kern/kern_ktrace.c 		LIST_FOREACH(p, &pg->pg_members, p_pglist)
p                 357 kern/kern_ktrace.c 				ret |= ktrsetchildren(curp, p, ops, facs, vp);
p                 359 kern/kern_ktrace.c 				ret |= ktrops(curp, p, ops, facs, vp);
p                 365 kern/kern_ktrace.c 		p = pfind(SCARG(uap, pid));
p                 366 kern/kern_ktrace.c 		if (p == NULL) {
p                 371 kern/kern_ktrace.c 			ret |= ktrsetchildren(curp, p, ops, facs, vp);
p                 373 kern/kern_ktrace.c 			ret |= ktrops(curp, p, ops, facs, vp);
p                 385 kern/kern_ktrace.c ktrops(struct proc *curp, struct proc *p, int ops, int facs, struct vnode *vp)
p                 388 kern/kern_ktrace.c 	if (!ktrcanset(curp, p))
p                 391 kern/kern_ktrace.c 		ktrsettracevnode(p, vp);
p                 392 kern/kern_ktrace.c 		p->p_traceflag |= facs;
p                 394 kern/kern_ktrace.c 			p->p_traceflag |= KTRFAC_ROOT;
p                 397 kern/kern_ktrace.c 		if (((p->p_traceflag &= ~facs) & KTRFAC_MASK) == 0) {
p                 399 kern/kern_ktrace.c 			p->p_traceflag = 0;
p                 400 kern/kern_ktrace.c 			ktrsettracevnode(p, NULL);
p                 408 kern/kern_ktrace.c 	if (KTRPOINT(p, KTR_EMUL))
p                 409 kern/kern_ktrace.c 		ktremul(p, p->p_emul->e_name);
p                 418 kern/kern_ktrace.c 	struct proc *p;
p                 421 kern/kern_ktrace.c 	p = top;
p                 423 kern/kern_ktrace.c 		ret |= ktrops(curp, p, ops, facs, vp);
p                 429 kern/kern_ktrace.c 		if (!LIST_EMPTY(&p->p_children))
p                 430 kern/kern_ktrace.c 			p = LIST_FIRST(&p->p_children);
p                 432 kern/kern_ktrace.c 			if (p == top)
p                 434 kern/kern_ktrace.c 			if (LIST_NEXT(p, p_sibling) != NULL) {
p                 435 kern/kern_ktrace.c 				p = LIST_NEXT(p, p_sibling);
p                 438 kern/kern_ktrace.c 			p = p->p_pptr;
p                 445 kern/kern_ktrace.c ktrwrite(struct proc *p, struct ktr_header *kth)
p                 450 kern/kern_ktrace.c 	struct vnode *vp = p->p_tracep;
p                 462 kern/kern_ktrace.c 	auio.uio_procp = p;
p                 469 kern/kern_ktrace.c 	vn_lock(vp, LK_EXCLUSIVE | LK_RETRY, p);
p                 470 kern/kern_ktrace.c 	error = VOP_WRITE(vp, &auio, IO_UNIT|IO_APPEND, p->p_ucred);
p                 471 kern/kern_ktrace.c 	VOP_UNLOCK(vp, 0, p);
p                 479 kern/kern_ktrace.c 	for (p = LIST_FIRST(&allproc); p != NULL; p = LIST_NEXT(p, p_list)) {
p                 480 kern/kern_ktrace.c 		if (p->p_tracep == vp) {
p                 481 kern/kern_ktrace.c 			p->p_traceflag = 0;
p                 482 kern/kern_ktrace.c 			ktrsettracevnode(p, NULL);
p                 111 kern/kern_lkm.c lkmopen(dev_t dev, int flag, int devtype, struct proc *p)
p                 151 kern/kern_lkm.c 	struct lkm_table *p, *ret = NULL;
p                 162 kern/kern_lkm.c 	TAILQ_FOREACH(p, &lkmods, list) {
p                 163 kern/kern_lkm.c 		if (id == p->id)
p                 169 kern/kern_lkm.c 	if (p == NULL) /* either first or last entry */
p                 172 kern/kern_lkm.c 		TAILQ_INSERT_BEFORE(p, ret, list);
p                 181 kern/kern_lkm.c lkmfree(struct lkm_table *p)
p                 184 kern/kern_lkm.c 	TAILQ_REMOVE(&lkmods, p, list);
p                 185 kern/kern_lkm.c 	free(p, M_DEVBUF);
p                 190 kern/kern_lkm.c lkm_list(struct lkm_table *p)
p                 193 kern/kern_lkm.c 	if (p == NULL)
p                 194 kern/kern_lkm.c 		p = TAILQ_FIRST(&lkmods);
p                 196 kern/kern_lkm.c 		p = TAILQ_NEXT(p, list);
p                 198 kern/kern_lkm.c 	return (p);
p                 2