sg                280 arch/i386/i386/linux_machdep.c 	caddr_t sg;
sg                286 arch/i386/i386/linux_machdep.c 	sg = stackgap_init(p->p_emul);
sg                292 arch/i386/i386/linux_machdep.c 	parms = stackgap_alloc(&sg, sizeof(gl));
sg                323 arch/i386/i386/linux_machdep.c 	caddr_t sg;
sg                336 arch/i386/i386/linux_machdep.c 	sg = stackgap_init(p->p_emul);
sg                350 arch/i386/i386/linux_machdep.c 	sl.desc = stackgap_alloc(&sg, sizeof(sd));
sg                358 arch/i386/i386/linux_machdep.c 	parms = stackgap_alloc(&sg, sizeof(sl));
sg                428 arch/i386/i386/linux_machdep.c 	caddr_t bvtp, sg;
sg                532 arch/i386/i386/linux_machdep.c 		sg = stackgap_init(p->p_emul);
sg                533 arch/i386/i386/linux_machdep.c 		bvtp = stackgap_alloc(&sg, sizeof (struct vt_mode));
sg                386 arch/i386/i386/svr4_machdep.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                440 arch/i386/i386/svr4_machdep.c 			sa.desc = stackgap_alloc(&sg, sizeof(union descriptor));
sg                442 arch/i386/i386/svr4_machdep.c 			sap = stackgap_alloc(&sg,
sg                830 arch/i386/include/bus.h #define	bus_dmamap_load_raw(t, m, sg, n, s, f)			\
sg                831 arch/i386/include/bus.h 	(*(t)->_dmamap_load_raw)((t), (m), (sg), (n), (s), (f))
sg                838 arch/i386/include/bus.h #define	bus_dmamem_alloc(t, s, a, b, sg, n, r, f)		\
sg                839 arch/i386/include/bus.h 	(*(t)->_dmamem_alloc)((t), (s), (a), (b), (sg), (n), (r), (f))
sg                840 arch/i386/include/bus.h #define	bus_dmamem_free(t, sg, n)				\
sg                841 arch/i386/include/bus.h 	(*(t)->_dmamem_free)((t), (sg), (n))
sg                842 arch/i386/include/bus.h #define	bus_dmamem_map(t, sg, n, s, k, f)			\
sg                843 arch/i386/include/bus.h 	(*(t)->_dmamem_map)((t), (sg), (n), (s), (k), (f))
sg                846 arch/i386/include/bus.h #define	bus_dmamem_mmap(t, sg, n, o, p, f)			\
sg                847 arch/i386/include/bus.h 	(*(t)->_dmamem_mmap)((t), (sg), (n), (o), (p), (f))
sg                138 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                141 compat/aout/compat_aout.c 		AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                143 compat/aout/compat_aout.c 		AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                157 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                159 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                160 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
sg                173 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                175 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                190 compat/aout/compat_aout.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                192 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
sg                193 compat/aout/compat_aout.c 	AOUT_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
sg                109 compat/bsdos/bsdos_ioctl.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                112 compat/bsdos/bsdos_ioctl.c 			oss_bufp = stackgap_alloc(&sg, sizeof(*oss_bufp));
sg                 81 compat/common/kern_exit_43.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                104 compat/common/kern_exit_43.c 	SCARG(&a, status) = stackgap_alloc(&sg, sizeof(SCARG(&a, status)));
sg                100 compat/common/tty_43.c 		register struct sgttyb *sg = (struct sgttyb *)data;
sg                105 compat/common/tty_43.c 		sg->sg_ospeed = (speed == -1) ? MAX_SPEED : speed;
sg                107 compat/common/tty_43.c 			sg->sg_ispeed = sg->sg_ospeed;
sg                110 compat/common/tty_43.c 			sg->sg_ispeed = (speed == -1) ? MAX_SPEED : speed;
sg                112 compat/common/tty_43.c 		sg->sg_erase = cc[VERASE];
sg                113 compat/common/tty_43.c 		sg->sg_kill = cc[VKILL];
sg                114 compat/common/tty_43.c 		sg->sg_flags = ttcompatgetflags(tp);
sg                120 compat/common/tty_43.c 		register struct sgttyb *sg = (struct sgttyb *)data;
sg                125 compat/common/tty_43.c 		if ((speed = sg->sg_ispeed) > MAX_SPEED || speed < 0)
sg                129 compat/common/tty_43.c 		if ((speed = sg->sg_ospeed) > MAX_SPEED || speed < 0)
sg                133 compat/common/tty_43.c 		term.c_cc[VERASE] = sg->sg_erase;
sg                134 compat/common/tty_43.c 		term.c_cc[VKILL] = sg->sg_kill;
sg                135 compat/common/tty_43.c 		tp->t_flags = (ttcompatgetflags(tp)&0xffff0000) | (sg->sg_flags&0xffff);
sg                129 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                134 compat/freebsd/freebsd_file.c 	s = stackgap_alloc(&sg, MFSNAMELEN + 1);
sg                138 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                164 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                167 compat/freebsd/freebsd_file.c 		FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                169 compat/freebsd/freebsd_file.c 		FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                183 compat/freebsd/freebsd_file.c 	caddr_t sg  = stackgap_init(p->p_emul);
sg                185 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                199 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                201 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                202 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
sg                215 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                217 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                230 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                232 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                247 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                249 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                263 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                265 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                280 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                282 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                296 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                298 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                312 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                314 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                328 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                330 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                344 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                346 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                360 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                362 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                375 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                377 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                391 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                393 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                394 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
sg                409 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                411 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                427 compat/freebsd/freebsd_file.c 	caddr_t sg;
sg                429 compat/freebsd/freebsd_file.c 	sg = stackgap_init(p->p_emul);
sg                430 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                448 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                450 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                464 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                466 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
sg                467 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
sg                481 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                483 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                497 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                499 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                513 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                515 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                528 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                530 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                585 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                587 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                714 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                716 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, fname));
sg                731 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                733 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                747 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                749 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                763 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                765 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                780 compat/freebsd/freebsd_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                782 compat/freebsd/freebsd_file.c 	FREEBSD_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                 75 compat/freebsd/freebsd_ptrace.c 	caddr_t sg;
sg                104 compat/freebsd/freebsd_ptrace.c 		sg = stackgap_init(p->p_emul);
sg                105 compat/freebsd/freebsd_ptrace.c 		nrp = stackgap_alloc(&sg, sizeof(*nrp));
sg                209 compat/hpux/hppa/hpux_exec.c 	caddr_t sg;
sg                211 compat/hpux/hppa/hpux_exec.c 	sg = stackgap_init(p->p_emul);
sg                212 compat/hpux/hppa/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                233 compat/hpux/hppa/hpux_exec.c 	caddr_t sg;
sg                235 compat/hpux/hppa/hpux_exec.c 	sg = stackgap_init(p->p_emul);
sg                236 compat/hpux/hppa/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                 52 compat/hpux/hppa/hpux_sig2.c 	caddr_t sg;
sg                 64 compat/hpux/hppa/hpux_sig2.c 	sg = stackgap_init(p->p_emul);
sg                 65 compat/hpux/hppa/hpux_sig2.c 	psa = stackgap_alloc(&sg, 2 * sizeof(struct sigaltstack));
sg                193 compat/hpux/hpux_compat.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                194 compat/hpux/hpux_compat.c 		SCARG(&w4, status) = stackgap_alloc(&sg, sz);
sg                105 compat/hpux/hpux_file.c 	caddr_t sg;
sg                107 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                108 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                140 compat/hpux/hpux_file.c 	caddr_t sg;
sg                142 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                172 compat/hpux/hpux_file.c 		HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                174 compat/hpux/hpux_file.c 		HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                398 compat/hpux/hpux_file.c 	caddr_t sg;
sg                401 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                403 compat/hpux/hpux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                462 compat/hpux/hpux_file.c 	caddr_t sg;
sg                465 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                467 compat/hpux/hpux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                468 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                506 compat/hpux/hpux_file.c 	caddr_t sg;
sg                509 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                511 compat/hpux/hpux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                543 compat/hpux/hpux_file.c 	caddr_t sg;
sg                546 compat/hpux/hpux_file.c 	sg = stackgap_init(p->p_emul);
sg                548 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                550 compat/hpux/hpux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                639 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                641 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                658 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                660 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                677 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                679 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                698 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                701 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                727 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                729 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                748 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                750 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                770 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                772 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
sg                773 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, to));
sg                791 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                793 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                810 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                812 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                830 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                832 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                833 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
sg                852 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                854 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                872 compat/hpux/hpux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                874 compat/hpux/hpux_file.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                294 compat/hpux/m68k/hpux_exec.c 	caddr_t sg;
sg                296 compat/hpux/m68k/hpux_exec.c 	sg = stackgap_init(p->p_emul);
sg                297 compat/hpux/m68k/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                318 compat/hpux/m68k/hpux_exec.c 	caddr_t sg;
sg                320 compat/hpux/m68k/hpux_exec.c 	sg = stackgap_init(p->p_emul);
sg                321 compat/hpux/m68k/hpux_exec.c 	HPUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                491 compat/ibcs2/ibcs2_exec.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                498 compat/ibcs2/ibcs2_exec.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, path);
sg                177 compat/ibcs2/ibcs2_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                181 compat/ibcs2/ibcs2_fcntl.c 		IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                183 compat/ibcs2/ibcs2_fcntl.c 		IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                211 compat/ibcs2/ibcs2_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                213 compat/ibcs2/ibcs2_fcntl.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                231 compat/ibcs2/ibcs2_fcntl.c         caddr_t sg = stackgap_init(p->p_emul);
sg                233 compat/ibcs2/ibcs2_fcntl.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                253 compat/ibcs2/ibcs2_fcntl.c         caddr_t sg = stackgap_init(p->p_emul);
sg                255 compat/ibcs2/ibcs2_fcntl.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                328 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                329 compat/ibcs2/ibcs2_fcntl.c 		flp = stackgap_alloc(&sg, sizeof(*flp));
sg                348 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                349 compat/ibcs2/ibcs2_fcntl.c 		flp = stackgap_alloc(&sg, sizeof(*flp));
sg                363 compat/ibcs2/ibcs2_fcntl.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                364 compat/ibcs2/ibcs2_fcntl.c 		flp = stackgap_alloc(&sg, sizeof(*flp));
sg                379 compat/ibcs2/ibcs2_fcntl.c 		caddr_t			sg = stackgap_init(p->p_emul);
sg                394 compat/ibcs2/ibcs2_fcntl.c 		SCARG(&ofst, sb) = stackgap_alloc(&sg,
sg                152 compat/ibcs2/ibcs2_ipc.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                157 compat/ibcs2/ibcs2_ipc.c 		    (int)stackgap_alloc(&sg, sizeof(struct msqid_ds));
sg                290 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                293 compat/ibcs2/ibcs2_ipc.c 			sp = stackgap_alloc(&sg, sizeof(struct semid_ds));
sg                298 compat/ibcs2/ibcs2_ipc.c 				isp = stackgap_alloc(&sg, sizeof(*isp));
sg                310 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                312 compat/ibcs2/ibcs2_ipc.c 			isp = stackgap_alloc(&sg, sizeof(*isp));
sg                313 compat/ibcs2/ibcs2_ipc.c 			sp = stackgap_alloc(&sg, sizeof(*sp));
sg                416 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                419 compat/ibcs2/ibcs2_ipc.c 			sp = stackgap_alloc(&sg, sizeof(*sp));
sg                424 compat/ibcs2/ibcs2_ipc.c 				isp = stackgap_alloc(&sg, sizeof(*isp));
sg                436 compat/ibcs2/ibcs2_ipc.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                438 compat/ibcs2/ibcs2_ipc.c 			isp = stackgap_alloc(&sg, sizeof(*isp));
sg                439 compat/ibcs2/ibcs2_ipc.c 			sp = stackgap_alloc(&sg, sizeof(*sp));
sg                201 compat/ibcs2/ibcs2_misc.c 	caddr_t sg;
sg                203 compat/ibcs2/ibcs2_misc.c 	sg = stackgap_init(p->p_emul);
sg                204 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                225 compat/ibcs2/ibcs2_misc.c 	caddr_t sg;
sg                227 compat/ibcs2/ibcs2_misc.c 	sg = stackgap_init(p->p_emul);
sg                228 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                502 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg                504 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                533 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                537 compat/ibcs2/ibcs2_misc.c 		SCARG(&sa, gidset) = stackgap_alloc(&sg, NGROUPS_MAX *
sg                539 compat/ibcs2/ibcs2_misc.c 		iset = stackgap_alloc(&sg, SCARG(uap, gidsetsize) *
sg                569 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                572 compat/ibcs2/ibcs2_misc.c 	gp = stackgap_alloc(&sg, SCARG(&sa, gidsetsize) * sizeof(gid_t *));
sg                573 compat/ibcs2/ibcs2_misc.c 	iset = stackgap_alloc(&sg, SCARG(&sa, gidsetsize) *
sg                708 compat/ibcs2/ibcs2_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                711 compat/ibcs2/ibcs2_misc.c 		SCARG(&ga, rlp) = stackgap_alloc(&sg, sizeof(struct rlimit *));
sg                728 compat/ibcs2/ibcs2_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                731 compat/ibcs2/ibcs2_misc.c 		SCARG(&ga, rlp) = stackgap_alloc(&sg, sizeof(struct rlimit *));
sg                788 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                790 compat/ibcs2/ibcs2_misc.c         itp = stackgap_alloc(&sg, sizeof(*itp));
sg                791 compat/ibcs2/ibcs2_misc.c 	oitp = stackgap_alloc(&sg, sizeof(*oitp));
sg                857 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                858 compat/ibcs2/ibcs2_misc.c         struct rusage *ru = stackgap_alloc(&sg, sizeof(*ru));
sg                894 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                897 compat/ibcs2/ibcs2_misc.c 	tvp = stackgap_alloc(&sg, sizeof(*SCARG(&sa, tv)));
sg                923 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                925 compat/ibcs2/ibcs2_misc.c 	tp = stackgap_alloc(&sg, 2 * sizeof(struct timeval *));
sg                926 compat/ibcs2/ibcs2_misc.c         IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1141 compat/ibcs2/ibcs2_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg               1145 compat/ibcs2/ibcs2_misc.c 	SCARG(&sa, data) = stackgap_alloc(&sg, sizeof(int));
sg               1194 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1196 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1209 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1211 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1225 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1227 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1242 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1244 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1257 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1259 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1273 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1275 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg               1289 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1291 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1292 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, link));
sg               1306 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1308 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
sg               1309 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
sg               1324 compat/ibcs2/ibcs2_misc.c         caddr_t sg = stackgap_init(p->p_emul);
sg               1326 compat/ibcs2/ibcs2_misc.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                209 compat/ibcs2/ibcs2_signal.c 	caddr_t sg;
sg                215 compat/ibcs2/ibcs2_signal.c 	sg = stackgap_init(p->p_emul);
sg                220 compat/ibcs2/ibcs2_signal.c 		obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                225 compat/ibcs2/ibcs2_signal.c 		nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                263 compat/ibcs2/ibcs2_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                299 compat/ibcs2/ibcs2_signal.c 			nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                300 compat/ibcs2/ibcs2_signal.c 			obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                349 compat/ibcs2/ibcs2_signal.c 			bsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                121 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                123 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                179 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                181 compat/ibcs2/ibcs2_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(st));
sg                182 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                208 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                210 compat/ibcs2/ibcs2_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(st));
sg                211 compat/ibcs2/ibcs2_stat.c 	IBCS2_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                237 compat/ibcs2/ibcs2_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                240 compat/ibcs2/ibcs2_stat.c 	SCARG(&cup, sb) = stackgap_alloc(&sg, sizeof(st));
sg                 81 compat/linux/linux_cdrom.c 	caddr_t sg;
sg                138 compat/linux/linux_cdrom.c 		sg = stackgap_init(p->p_emul);
sg                145 compat/linux/linux_cdrom.c 		tmpb.tes.data = stackgap_alloc(&sg, tmpb.tes.data_len);
sg                167 compat/linux/linux_cdrom.c 		sg = stackgap_init(p->p_emul);
sg                174 compat/linux/linux_cdrom.c 		tmpb.sc.data = stackgap_alloc(&sg, tmpb.sc.data_len);
sg                528 compat/linux/linux_exec.c 	caddr_t sg;
sg                537 compat/linux/linux_exec.c 	sg = stackgap_init(p->p_emul);
sg                538 compat/linux/linux_exec.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                618 compat/linux/linux_exec.c 	caddr_t sg;
sg                620 compat/linux/linux_exec.c 	sg = stackgap_init(p->p_emul);
sg                621 compat/linux/linux_exec.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                138 compat/linux/linux_file.c 	caddr_t sg;
sg                140 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
sg                141 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                169 compat/linux/linux_file.c 	caddr_t sg;
sg                171 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
sg                176 compat/linux/linux_file.c 		LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                178 compat/linux/linux_file.c 		LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                313 compat/linux/linux_file.c 	caddr_t arg, sg;
sg                354 compat/linux/linux_file.c 		sg = stackgap_init(p->p_emul);
sg                358 compat/linux/linux_file.c 		bfp = (struct flock *) stackgap_alloc(&sg, sizeof *bfp);
sg                378 compat/linux/linux_file.c 		sg = stackgap_init(p->p_emul);
sg                379 compat/linux/linux_file.c 		bfp = (struct flock *) stackgap_alloc(&sg, sizeof *bfp);
sg                487 compat/linux/linux_file.c 	caddr_t sg;
sg                490 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
sg                492 compat/linux/linux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                521 compat/linux/linux_file.c 	caddr_t sg;
sg                525 compat/linux/linux_file.c 	sg = stackgap_init(p->p_emul);
sg                527 compat/linux/linux_file.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                528 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                589 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                591 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                606 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                608 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                622 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                624 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                640 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                643 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                666 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                668 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                685 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                687 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                752 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                754 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, from));
sg                755 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
sg                770 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                772 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                786 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                788 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                803 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                805 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                806 compat/linux/linux_file.c 	LINUX_CHECK_ALT_CREAT(p, &sg, SCARG(uap, to));
sg                822 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                824 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, name));
sg                839 compat/linux/linux_file.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                841 compat/linux/linux_file.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                126 compat/linux/linux_file64.c 	caddr_t sg;
sg                129 compat/linux/linux_file64.c 	sg = stackgap_init(p->p_emul);
sg                131 compat/linux/linux_file64.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                160 compat/linux/linux_file64.c 	caddr_t sg;
sg                164 compat/linux/linux_file64.c 	sg = stackgap_init(p->p_emul);
sg                165 compat/linux/linux_file64.c 	st = stackgap_alloc(&sg, sizeof (struct stat));
sg                166 compat/linux/linux_file64.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                225 compat/linux/linux_file64.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                227 compat/linux/linux_file64.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                314 compat/linux/linux_file64.c 	caddr_t arg, sg;
sg                325 compat/linux/linux_file64.c 		sg = stackgap_init(p->p_emul);
sg                329 compat/linux/linux_file64.c 		bfp = (struct flock *) stackgap_alloc(&sg, sizeof *bfp);
sg                348 compat/linux/linux_file64.c 		sg = stackgap_init(p->p_emul);
sg                349 compat/linux/linux_file64.c 		bfp = (struct flock *) stackgap_alloc(&sg, sizeof *bfp);
sg                 68 compat/linux/linux_hdio.c 	caddr_t sg;
sg                 93 compat/linux/linux_hdio.c 		sg = stackgap_init(p->p_emul);
sg                 94 compat/linux/linux_hdio.c 		atap = stackgap_alloc(&sg, DEV_BSIZE);
sg                285 compat/linux/linux_ipc.c 	caddr_t sg, unptr, dsp, ldsp;
sg                320 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                321 compat/linux/linux_ipc.c 		unptr = stackgap_alloc(&sg, sizeof (union semun));
sg                322 compat/linux/linux_ipc.c 		dsp = stackgap_alloc(&sg, sizeof (struct semid_ds));
sg                330 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                331 compat/linux/linux_ipc.c 		unptr = stackgap_alloc(&sg, sizeof (union semun *));
sg                332 compat/linux/linux_ipc.c 		dsp = stackgap_alloc(&sg, sizeof (struct semid_ds));
sg                480 compat/linux/linux_ipc.c 	caddr_t umsgptr, sg;
sg                494 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                495 compat/linux/linux_ipc.c 		umsgptr = stackgap_alloc(&sg, sizeof bm);
sg                501 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                502 compat/linux/linux_ipc.c 		umsgptr = stackgap_alloc(&sg, sizeof (struct msqid_ds));
sg                666 compat/linux/linux_ipc.c 	caddr_t sg;
sg                673 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                674 compat/linux/linux_ipc.c 		bsp = stackgap_alloc(&sg, sizeof (struct shmid_ds));
sg                689 compat/linux/linux_ipc.c 		sg = stackgap_init(p->p_emul);
sg                690 compat/linux/linux_ipc.c 		bsp = stackgap_alloc(&sg, sizeof (struct shmid_ds));
sg                159 compat/linux/linux_misc.c 	caddr_t sg;
sg                162 compat/linux/linux_misc.c 		sg = stackgap_init(p->p_emul);
sg                163 compat/linux/linux_misc.c 		status = (int *) stackgap_alloc(&sg, sizeof status);
sg                427 compat/linux/linux_misc.c 	caddr_t sg;
sg                430 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
sg                431 compat/linux/linux_misc.c 	bsp = (struct statfs *) stackgap_alloc(&sg, sizeof (struct statfs));
sg                433 compat/linux/linux_misc.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                462 compat/linux/linux_misc.c 	caddr_t sg;
sg                465 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
sg                466 compat/linux/linux_misc.c 	bsp = (struct statfs *) stackgap_alloc(&sg, sizeof (struct statfs));
sg                886 compat/linux/linux_misc.c 	caddr_t sg;
sg                892 compat/linux/linux_misc.c 	sg = stackgap_init(p->p_emul);
sg                893 compat/linux/linux_misc.c 	tvp = (struct timeval *) stackgap_alloc(&sg, sizeof(tv));
sg                894 compat/linux/linux_misc.c 	LINUX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1149 compat/linux/linux_misc.c 	caddr_t sg;
sg               1170 compat/linux/linux_misc.c 			sg = stackgap_init(p->p_emul);
sg               1171 compat/linux/linux_misc.c 			tvp = stackgap_alloc(&sg, sizeof(utv));
sg                393 compat/linux/linux_signal.c 	caddr_t sg;
sg                399 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
sg                404 compat/linux/linux_signal.c 		obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                409 compat/linux/linux_signal.c 		nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                461 compat/linux/linux_signal.c 	caddr_t sg;
sg                470 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
sg                475 compat/linux/linux_signal.c 		obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                480 compat/linux/linux_signal.c 		nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                534 compat/linux/linux_signal.c 	caddr_t sg;
sg                542 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
sg                543 compat/linux/linux_signal.c 	nsa = stackgap_alloc(&sg, sizeof *nsa);
sg                544 compat/linux/linux_signal.c 	osa = stackgap_alloc(&sg, sizeof *osa);
sg                841 compat/linux/linux_signal.c 	caddr_t sg;
sg                843 compat/linux/linux_signal.c 	sg = stackgap_init(p->p_emul);
sg                846 compat/linux/linux_signal.c 		bsd_nss = stackgap_alloc(&sg, sizeof *bsd_nss);
sg                865 compat/linux/linux_signal.c 	SCARG(&sa, oss) = bsd_oss = stackgap_alloc(&sg, sizeof *bsd_oss);
sg                249 compat/linux/linux_socket.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                251 compat/linux/linux_socket.c 		error = linux_sa_get(p, &sg, &sa, lba.name, &namlen);
sg                276 compat/linux/linux_socket.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                284 compat/linux/linux_socket.c 	error = linux_sa_get(p, &sg, &sa, lca.name, &namlen);
sg                311 compat/linux/linux_socket.c 		status = stackgap_alloc(&sg, sizeof stat);
sg                312 compat/linux/linux_socket.c 		statusl = stackgap_alloc(&sg, sizeof statusl);
sg                673 compat/linux/linux_socket.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                686 compat/linux/linux_socket.c 		if ((error = linux_sa_get(p, &sg, &sa, lsa.to, &tolen)))
sg                693 compat/linux/linux_socket.c 	if (linux_check_hdrincl(p, lsa.s, retval, &sg) == 0)
sg                694 compat/linux/linux_socket.c 		return linux_sendto_hdrincl(p, &bsa, retval, &sg);
sg               1056 compat/linux/linux_socket.c 		caddr_t sg = stackgap_init(p->p_emul);
sg               1058 compat/linux/linux_socket.c 		nmsg = (struct msghdr *)stackgap_alloc(&sg,
sg               1063 compat/linux/linux_socket.c 		error = linux_sa_get(p, &sg, &sa,
sg                457 compat/linux/linux_termios.c 	caddr_t sg;
sg                696 compat/linux/linux_termios.c 			sg = stackgap_init(p->p_emul);
sg                697 compat/linux/linux_termios.c 			cp = (char *) stackgap_alloc(&sg, 1);
sg                 98 compat/osf1/osf1_descrip.c 	caddr_t sg;
sg                101 compat/osf1/osf1_descrip.c 	sg = stackgap_init(p->p_emul);
sg                152 compat/osf1/osf1_descrip.c 		SCARG(&a, arg) = stackgap_alloc(&sg, sizeof nflock);
sg                 97 compat/osf1/osf1_file.c 	caddr_t sg;
sg                 99 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                100 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                121 compat/osf1/osf1_file.c 	caddr_t sg;
sg                123 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                124 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                148 compat/osf1/osf1_file.c 	caddr_t sg;
sg                150 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                151 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                174 compat/osf1/osf1_file.c 	caddr_t sg;
sg                176 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                177 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                195 compat/osf1/osf1_file.c 	caddr_t sg;
sg                205 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                219 compat/osf1/osf1_file.c 		OSF1_CHECK_ALT_CREAT(p, &sg, path);
sg                221 compat/osf1/osf1_file.c 		OSF1_CHECK_ALT_EXIST(p, &sg, path);
sg                235 compat/osf1/osf1_file.c 	caddr_t sg;
sg                238 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                240 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                267 compat/osf1/osf1_file.c 	caddr_t sg;
sg                269 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                270 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                293 compat/osf1/osf1_file.c 	caddr_t sg;
sg                295 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                296 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                315 compat/osf1/osf1_file.c 	caddr_t sg;
sg                318 compat/osf1/osf1_file.c 	sg = stackgap_init(p->p_emul);
sg                320 compat/osf1/osf1_file.c 	OSF1_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                327 compat/osf1/osf1_file.c 		SCARG(&a, tptr) = stackgap_alloc(&sg, sizeof tv);
sg                 91 compat/osf1/osf1_generic.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                112 compat/osf1/osf1_generic.c 	SCARG(&a, iovp) = stackgap_alloc(&sg, nsize);
sg                136 compat/osf1/osf1_generic.c 	caddr_t sg;
sg                147 compat/osf1/osf1_generic.c 		sg = stackgap_init(p->p_emul);
sg                148 compat/osf1/osf1_generic.c 		SCARG(&a, tv) = stackgap_alloc(&sg, sizeof tv);
sg                181 compat/osf1/osf1_generic.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                202 compat/osf1/osf1_generic.c 	SCARG(&a, iovp) = stackgap_alloc(&sg, nsize);
sg                322 compat/osf1/osf1_misc.c 	caddr_t sg;
sg                337 compat/osf1/osf1_misc.c 		sg = stackgap_init(p->p_emul);
sg                338 compat/osf1/osf1_misc.c 		SCARG(&a, rusage) = stackgap_alloc(&sg, sizeof netbsd_rusage);
sg                275 compat/osf1/osf1_mount.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                288 compat/osf1/osf1_mount.c 	SCARG(bsd_argp, data) = stackgap_alloc(&sg, sizeof bsd_ma);
sg                293 compat/osf1/osf1_mount.c 	SCARG(bsd_argp, type) = stackgap_alloc(&sg, len);
sg                308 compat/osf1/osf1_mount.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                351 compat/osf1/osf1_mount.c 	SCARG(bsd_argp, data) = stackgap_alloc(&sg, sizeof bsd_na);
sg                356 compat/osf1/osf1_mount.c 	SCARG(bsd_argp, type) = stackgap_alloc(&sg, len);
sg                 98 compat/osf1/osf1_resource.c 	caddr_t sg;
sg                115 compat/osf1/osf1_resource.c 	sg = stackgap_init(p->p_emul);
sg                116 compat/osf1/osf1_resource.c 	SCARG(&a, rusage) = stackgap_alloc(&sg, sizeof netbsd_rusage);
sg                 80 compat/osf1/osf1_signal.c 	caddr_t sg;
sg                 83 compat/osf1/osf1_signal.c 	sg = stackgap_init(p->p_emul);
sg                 88 compat/osf1/osf1_signal.c 		obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                 93 compat/osf1/osf1_signal.c 		nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                131 compat/osf1/osf1_signal.c 	caddr_t sg;
sg                134 compat/osf1/osf1_signal.c 	sg = stackgap_init(p->p_emul);
sg                139 compat/osf1/osf1_signal.c 		obss = stackgap_alloc(&sg, sizeof(struct sigaltstack));
sg                144 compat/osf1/osf1_signal.c 		nbss = stackgap_alloc(&sg, sizeof(struct sigaltstack));
sg                182 compat/osf1/osf1_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                212 compat/osf1/osf1_signal.c 			nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                213 compat/osf1/osf1_signal.c 			obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                262 compat/osf1/osf1_signal.c 			bsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                100 compat/osf1/osf1_socket.c 	caddr_t sg;
sg                104 compat/osf1/osf1_socket.c 	sg = stackgap_init(p->p_emul);
sg                126 compat/osf1/osf1_socket.c 	SCARG(&a, msg) = stackgap_alloc(&sg, sizeof bsd_msghdr);
sg                127 compat/osf1/osf1_socket.c 	bsd_msghdr.msg_iov = stackgap_alloc(&sg,
sg                 59 compat/osf1/osf1_time.c 	caddr_t sg;
sg                 61 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
sg                 65 compat/osf1/osf1_time.c 		SCARG(&a, tp) = stackgap_alloc(&sg, sizeof tv);
sg                 69 compat/osf1/osf1_time.c 		SCARG(&a, tzp) = stackgap_alloc(&sg, sizeof tz);
sg                110 compat/osf1/osf1_time.c 	caddr_t sg;
sg                130 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
sg                132 compat/osf1/osf1_time.c 	SCARG(&a, itv) = stackgap_alloc(&sg, sizeof b_itv);
sg                153 compat/osf1/osf1_time.c 		SCARG(&a, oitv) = stackgap_alloc(&sg, sizeof b_oitv);
sg                192 compat/osf1/osf1_time.c 	caddr_t sg;
sg                194 compat/osf1/osf1_time.c 	sg = stackgap_init(p->p_emul);
sg                198 compat/osf1/osf1_time.c 		SCARG(&a, tv) = stackgap_alloc(&sg, sizeof tv);
sg                218 compat/osf1/osf1_time.c 		SCARG(&a, tzp) = stackgap_alloc(&sg, sizeof tz);
sg                992 compat/sunos/sunos_ioctl.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                998 compat/sunos/sunos_ioctl.c 			flp = stackgap_alloc(&sg, sizeof(struct flock));
sg                129 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                130 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                146 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                147 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                159 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                160 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                172 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                173 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                190 compat/sunos/sunos_misc.c 	caddr_t sg;
sg                192 compat/sunos/sunos_misc.c 	sg = stackgap_init(p->p_emul);
sg                193 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                211 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                212 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                269 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                290 compat/sunos/sunos_misc.c 		SCARG(uap, type) = stackgap_alloc(&sg, sizeof("ffs"));
sg                309 compat/sunos/sunos_misc.c 		SCARG(uap, data) = stackgap_alloc(&sg, sizeof(na));
sg                311 compat/sunos/sunos_misc.c 		na.addr = stackgap_alloc(&sg, sizeof(struct sockaddr));
sg                681 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                682 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                832 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                833 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                892 compat/sunos/sunos_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                893 compat/sunos/sunos_misc.c 	SUNOS_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                325 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                330 compat/svr4/svr4_fcntl.c 		SVR4_CHECK_ALT_CREAT(p, &sg, SCARG(uap, path));
sg                332 compat/svr4/svr4_fcntl.c 		SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                375 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                376 compat/svr4/svr4_fcntl.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                426 compat/svr4/svr4_fcntl.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                427 compat/svr4/svr4_fcntl.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                556 compat/svr4/svr4_fcntl.c 			caddr_t			sg = stackgap_init(p->p_emul);
sg                558 compat/svr4/svr4_fcntl.c 			flp = stackgap_alloc(&sg, sizeof(*flp));
sg                591 compat/svr4/svr4_fcntl.c 			caddr_t			sg = stackgap_init(p->p_emul);
sg                593 compat/svr4/svr4_fcntl.c 			flp = stackgap_alloc(&sg, sizeof(struct flock));
sg                176 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                219 compat/svr4/svr4_ipc.c 		SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
sg                230 compat/svr4/svr4_ipc.c 		SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
sg                242 compat/svr4/svr4_ipc.c 		SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
sg                475 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                479 compat/svr4/svr4_ipc.c 	SCARG(&ap, buf) = stackgap_alloc(&sg, sizeof(bs));
sg                663 compat/svr4/svr4_ipc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                671 compat/svr4/svr4_ipc.c 		SCARG(&ap, buf) = stackgap_alloc(&sg, sizeof (struct shmid_ds));
sg                124 compat/svr4/svr4_misc.c 		caddr_t sg = stackgap_init(p->p_emul);
sg                125 compat/svr4/svr4_misc.c 		SCARG(&w4, status) = stackgap_alloc(&sg, sz);
sg                155 compat/svr4/svr4_misc.c 	caddr_t sg;
sg                157 compat/svr4/svr4_misc.c 	sg = stackgap_init(p->p_emul);
sg                158 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                180 compat/svr4/svr4_misc.c 	caddr_t sg;
sg                182 compat/svr4/svr4_misc.c 	sg = stackgap_init(p->p_emul);
sg                183 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                459 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                461 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, path);
sg                726 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                727 compat/svr4/svr4_misc.c 	ru = stackgap_alloc(&sg, sizeof(struct rusage));
sg                778 compat/svr4/svr4_misc.c 			caddr_t sg = stackgap_init(p->p_emul);
sg                780 compat/svr4/svr4_misc.c 				stackgap_alloc(&sg, sizeof *url);
sg               1196 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg               1197 compat/svr4/svr4_misc.c 	struct statfs *fs = stackgap_alloc(&sg, sizeof(struct statfs));
sg               1202 compat/svr4/svr4_misc.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg               1226 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg               1227 compat/svr4/svr4_misc.c 	struct statfs *fs = stackgap_alloc(&sg, sizeof(struct statfs));
sg               1255 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg               1256 compat/svr4/svr4_misc.c 	struct statfs *fs = stackgap_alloc(&sg, sizeof(struct statfs));
sg               1286 compat/svr4/svr4_misc.c 	caddr_t sg = stackgap_init(p->p_emul);
sg               1288 compat/svr4/svr4_misc.c         ntp = stackgap_alloc(&sg, sizeof(struct itimerval));
sg               1289 compat/svr4/svr4_misc.c         otp = stackgap_alloc(&sg, sizeof(struct itimerval));
sg                282 compat/svr4/svr4_signal.c 	caddr_t sg;
sg                288 compat/svr4/svr4_signal.c 	sg = stackgap_init(p->p_emul);
sg                293 compat/svr4/svr4_signal.c 		obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                298 compat/svr4/svr4_signal.c 		nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                338 compat/svr4/svr4_signal.c 	caddr_t sg;
sg                341 compat/svr4/svr4_signal.c 	sg = stackgap_init(p->p_emul);
sg                346 compat/svr4/svr4_signal.c 		obss = stackgap_alloc(&sg, sizeof(struct sigaltstack));
sg                351 compat/svr4/svr4_signal.c 		nbss = stackgap_alloc(&sg, sizeof(struct sigaltstack));
sg                391 compat/svr4/svr4_signal.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                423 compat/svr4/svr4_signal.c 			nbsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                424 compat/svr4/svr4_signal.c 			obsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                473 compat/svr4/svr4_signal.c 			bsa = stackgap_alloc(&sg, sizeof(struct sigaction));
sg                172 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                173 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                174 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                217 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                218 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                219 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                261 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                264 compat/svr4/svr4_stat.c 	SCARG(&cup, sb) = stackgap_alloc(&sg, sizeof(struct stat));
sg                294 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                295 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                296 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                329 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                330 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                331 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                364 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                367 compat/svr4/svr4_stat.c 	SCARG(&cup, sb) = stackgap_alloc(&sg, sizeof(struct stat));
sg                396 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                399 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                431 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                434 compat/svr4/svr4_stat.c 	SCARG(&cup, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                466 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                469 compat/svr4/svr4_stat.c 	SCARG(&cup, sb) = stackgap_alloc(&sg, sizeof(struct stat));
sg                710 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                712 compat/svr4/svr4_stat.c 	SCARG(&ap, tptr) = stackgap_alloc(&sg, sizeof(tbuf));
sg                713 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                739 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                740 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                797 compat/svr4/svr4_stat.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                799 compat/svr4/svr4_stat.c 	SVR4_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                271 compat/svr4/svr4_stream.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                274 compat/svr4/svr4_stream.c 	SCARG(&la, path) = stackgap_alloc(&sg, l);
sg                275 compat/svr4/svr4_stream.c 	SCARG(&la, ub) = stackgap_alloc(&sg, sizeof(struct stat));
sg                746 compat/svr4/svr4_stream.c 	caddr_t sg;
sg                809 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
sg                810 compat/svr4/svr4_stream.c 	sup = stackgap_alloc(&sg, sasize);
sg                889 compat/svr4/svr4_stream.c 	caddr_t sg;
sg                914 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
sg                915 compat/svr4/svr4_stream.c 	sup = stackgap_alloc(&sg, samax);
sg                916 compat/svr4/svr4_stream.c 	lenp = stackgap_alloc(&sg, sizeof(*lenp));
sg               1425 compat/svr4/svr4_stream.c 	caddr_t sg;
sg               1510 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
sg               1511 compat/svr4/svr4_stream.c 	sup = stackgap_alloc(&sg, sasize);
sg               1583 compat/svr4/svr4_stream.c 	caddr_t sg;
sg               1647 compat/svr4/svr4_stream.c 	sg = stackgap_init(p->p_emul);
sg               1648 compat/svr4/svr4_stream.c 	sup = stackgap_alloc(&sg, sasize);
sg               1649 compat/svr4/svr4_stream.c 	flen = (int *) stackgap_alloc(&sg, sizeof(*flen));
sg                338 compat/ultrix/ultrix_fs.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                339 compat/ultrix/ultrix_fs.c 	caddr_t usp = stackgap_alloc(&sg, 1024 /* XXX */);
sg                588 compat/ultrix/ultrix_misc.c 	caddr_t sg;
sg                590 compat/ultrix/ultrix_misc.c 	sg = stackgap_init(p->p_emul);
sg                591 compat/ultrix/ultrix_misc.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                 87 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                 88 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                105 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                106 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                118 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                119 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                131 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                132 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                146 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                147 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                167 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                168 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                248 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                249 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                302 compat/ultrix/ultrix_pathname.c 	caddr_t sg = stackgap_init(p->p_emul);
sg                303 compat/ultrix/ultrix_pathname.c 	ULTRIX_CHECK_ALT_EXIST(p, &sg, SCARG(uap, path));
sg                948 dev/eisa/aha1742.c 	struct ahb_dma_seg *sg;
sg               1023 dev/eisa/aha1742.c 		sg = ecb->ahb_dma;
sg               1031 dev/eisa/aha1742.c 				sg->seg_addr = (physaddr)iovp->iov_base;
sg               1032 dev/eisa/aha1742.c 				sg->seg_len = iovp->iov_len;
sg               1036 dev/eisa/aha1742.c 				sg++;
sg               1058 dev/eisa/aha1742.c 				sg->seg_addr = thisphys;
sg               1089 dev/eisa/aha1742.c 				sg->seg_len = bytes_this_seg;
sg               1090 dev/eisa/aha1742.c 				sg++;
sg               1333 dev/ic/aac.c   			struct aac_sg_table *sg = cm->cm_sgtable;
sg               1334 dev/ic/aac.c   			sg->SgCount = nseg;
sg               1336 dev/ic/aac.c   				sg->SgEntry[i].SgAddress = segs[i].ds_addr;
sg               1337 dev/ic/aac.c   				sg->SgEntry[i].SgByteCount = segs[i].ds_len;
sg               1342 dev/ic/aac.c   			struct aac_sg_table64 *sg;
sg               1343 dev/ic/aac.c   			sg = (struct aac_sg_table64 *)cm->cm_sgtable;
sg               1344 dev/ic/aac.c   			sg->SgCount = nseg;
sg               1346 dev/ic/aac.c   				sg->SgEntry64[i].SgAddress = segs[i].ds_addr;
sg               1347 dev/ic/aac.c   				sg->SgEntry64[i].SgByteCount = segs[i].ds_len;
sg               2807 dev/ic/aac.c   		struct aac_sg_table *sg = NULL;
sg               2813 dev/ic/aac.c   			    sg = &br->SgMap;
sg               2819 dev/ic/aac.c   			sg = &bw->SgMap;
sg               2821 dev/ic/aac.c   		if (sg != NULL) {
sg               2822 dev/ic/aac.c   			printf("  %d s/g entries\n", sg->SgCount);
sg               2823 dev/ic/aac.c   			for (i = 0; i < sg->SgCount; i++)
sg               2825 dev/ic/aac.c   				       sg->SgEntry[i].SgAddress,
sg               2826 dev/ic/aac.c   				       sg->SgEntry[i].SgByteCount);
sg                662 dev/ic/advlib.h 	ASC_SG_LIST_Q	sg;
sg                798 dev/ic/aic79xx.c 				struct ahd_dma64_seg *sg;
sg                800 dev/ic/aic79xx.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg                801 dev/ic/aic79xx.c 				data_addr = sg->addr;
sg                802 dev/ic/aic79xx.c 				data_len = sg->len;
sg                803 dev/ic/aic79xx.c 				sgptr += sizeof(*sg);
sg                805 dev/ic/aic79xx.c 				struct	ahd_dma_seg *sg;
sg                807 dev/ic/aic79xx.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg                808 dev/ic/aic79xx.c 				data_addr = sg->len & AHD_SG_HIGH_ADDR_MASK;
sg                810 dev/ic/aic79xx.c 				data_addr |= sg->addr;
sg                811 dev/ic/aic79xx.c 				data_len = sg->len;
sg                812 dev/ic/aic79xx.c 				sgptr += sizeof(*sg);
sg               4934 dev/ic/aic79xx.c 				struct ahd_dma64_seg *sg;
sg               4936 dev/ic/aic79xx.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg               4942 dev/ic/aic79xx.c 				sg--;
sg               4943 dev/ic/aic79xx.c 				sglen = aic_le32toh(sg->len) & AHD_SG_LEN_MASK;
sg               4944 dev/ic/aic79xx.c 				if (sg != scb->sg_list
sg               4947 dev/ic/aic79xx.c 					sg--;
sg               4948 dev/ic/aic79xx.c 					sglen = aic_le32toh(sg->len);
sg               4954 dev/ic/aic79xx.c 					data_addr = aic_le64toh(sg->addr)
sg               4962 dev/ic/aic79xx.c 					sg++;
sg               4964 dev/ic/aic79xx.c 								   sg);
sg               4967 dev/ic/aic79xx.c 				struct ahd_dma_seg *sg;
sg               4969 dev/ic/aic79xx.c 				sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg               4975 dev/ic/aic79xx.c 				sg--;
sg               4976 dev/ic/aic79xx.c 				sglen = aic_le32toh(sg->len) & AHD_SG_LEN_MASK;
sg               4977 dev/ic/aic79xx.c 				if (sg != scb->sg_list
sg               4980 dev/ic/aic79xx.c 					sg--;
sg               4981 dev/ic/aic79xx.c 					sglen = aic_le32toh(sg->len);
sg               4987 dev/ic/aic79xx.c 					data_addr = aic_le32toh(sg->addr)
sg               4995 dev/ic/aic79xx.c 					sg++;
sg               4997 dev/ic/aic79xx.c 								  sg);
sg               5073 dev/ic/aic79xx.c 		struct ahd_dma64_seg *sg;
sg               5075 dev/ic/aic79xx.c 		sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg               5078 dev/ic/aic79xx.c 		sg--;
sg               5080 dev/ic/aic79xx.c 		dataptr = aic_le64toh(sg->addr)
sg               5081 dev/ic/aic79xx.c 			+ (aic_le32toh(sg->len) & AHD_SG_LEN_MASK)
sg               5085 dev/ic/aic79xx.c 		struct	 ahd_dma_seg *sg;
sg               5087 dev/ic/aic79xx.c 		sg = ahd_sg_bus_to_virt(ahd, scb, sgptr);
sg               5090 dev/ic/aic79xx.c 		sg--;
sg               5092 dev/ic/aic79xx.c 		dataptr = aic_le32toh(sg->addr)
sg               5093 dev/ic/aic79xx.c 			+ (aic_le32toh(sg->len) & AHD_SG_LEN_MASK)
sg               5096 dev/ic/aic79xx.c 			 (aic_le32toh(sg->len) & ~AHD_SG_LEN_MASK) >> 24);
sg               8142 dev/ic/aic79xx.c 		struct ahd_dma_seg *sg;
sg               8169 dev/ic/aic79xx.c 		sg = scb->sg_list;
sg               8182 dev/ic/aic79xx.c 		sg = ahd_sg_setup(ahd, scb, sg, ahd_get_sense_bufaddr(ahd, scb),
sg               8312 dev/ic/aic79xx.c 		struct ahd_dma_seg *sg;
sg               8319 dev/ic/aic79xx.c 		sg = ahd_sg_bus_to_virt(ahd, scb, resid_sgptr & SG_PTR_MASK);
sg               8322 dev/ic/aic79xx.c 		sg--;
sg               8329 dev/ic/aic79xx.c 		while ((aic_le32toh(sg->len) & AHD_DMA_LAST_SEG) == 0) {
sg               8330 dev/ic/aic79xx.c 			sg++;
sg               8331 dev/ic/aic79xx.c 			resid += aic_le32toh(sg->len) & AHD_SG_LEN_MASK;
sg               10222 dev/ic/aic79xx.c 		struct ahd_dma64_seg *sg;
sg               10224 dev/ic/aic79xx.c 		sg = (struct ahd_dma64_seg *)sgptr;
sg               10225 dev/ic/aic79xx.c 		sg->addr = aic_htole64(addr);
sg               10226 dev/ic/aic79xx.c 		sg->len = aic_htole32(len | (last ? AHD_DMA_LAST_SEG : 0));
sg               10227 dev/ic/aic79xx.c 		return (sg + 1);
sg               10229 dev/ic/aic79xx.c 		struct ahd_dma_seg *sg;
sg               10231 dev/ic/aic79xx.c 		sg = (struct ahd_dma_seg *)sgptr;
sg               10232 dev/ic/aic79xx.c 		sg->addr = aic_htole32(addr & 0xFFFFFFFF);
sg               10233 dev/ic/aic79xx.c 		sg->len = aic_htole32(len | ((addr >> 8) & 0x7F000000)
sg               10235 dev/ic/aic79xx.c 		return (sg + 1);
sg               10267 dev/ic/aic79xx.c 		struct ahd_dma64_seg *sg;
sg               10269 dev/ic/aic79xx.c 		sg = (struct ahd_dma64_seg *)scb->sg_list;
sg               10270 dev/ic/aic79xx.c 		scb->hscb->dataptr = sg->addr;
sg               10271 dev/ic/aic79xx.c 		scb->hscb->datacnt = sg->len;
sg               10273 dev/ic/aic79xx.c 		struct ahd_dma_seg *sg;
sg               10276 dev/ic/aic79xx.c 		sg = (struct ahd_dma_seg *)scb->sg_list;
sg               10278 dev/ic/aic79xx.c 		dataptr_words[0] = sg->addr;
sg               10283 dev/ic/aic79xx.c 			high_addr = aic_le32toh(sg->len) & 0x7F000000;
sg               10286 dev/ic/aic79xx.c 		scb->hscb->datacnt = sg->len;
sg               10324 dev/ic/aic79xx.c ahd_sg_virt_to_bus(struct ahd_softc *ahd, struct scb *scb, void *sg)
sg               10329 dev/ic/aic79xx.c 	sg_offset = ((uint8_t *)sg - (uint8_t *)scb->sg_list)
sg                398 dev/ic/aic79xx_openbsd.c 		void *sg;
sg                405 dev/ic/aic79xx_openbsd.c 		for (i = nsegments, sg = scb->sg_list; i > 0; i--) {
sg                407 dev/ic/aic79xx_openbsd.c 			sg = ahd_sg_setup(ahd, scb, sg, dm_segs->ds_addr,
sg                536 dev/ic/aic7xxx.c 			struct ahc_dma_seg *sg;
sg                558 dev/ic/aic7xxx.c 			sg = scb->sg_list;
sg                570 dev/ic/aic7xxx.c 			sg->addr = ahc_get_sense_bufaddr(ahc, scb);
sg                571 dev/ic/aic7xxx.c 			sg->len = ahc_get_sense_bufsize(ahc, scb);
sg                572 dev/ic/aic7xxx.c 			sg->len |= AHC_DMA_LAST_SEG;
sg                575 dev/ic/aic7xxx.c 			sg->addr = aic_htole32(sg->addr);
sg                576 dev/ic/aic7xxx.c 			sg->len = aic_htole32(sg->len);
sg                585 dev/ic/aic7xxx.c 			sc->length = sg->len;
sg                617 dev/ic/aic7xxx.c 			hscb->dataptr = sg->addr; 
sg                618 dev/ic/aic7xxx.c 			hscb->datacnt = sg->len;
sg               3675 dev/ic/aic7xxx.c 			struct ahc_dma_seg *sg;
sg               3699 dev/ic/aic7xxx.c 			sg = ahc_sg_bus_to_virt(scb, sgptr);
sg               3705 dev/ic/aic7xxx.c 			sg--;
sg               3706 dev/ic/aic7xxx.c 			sglen = aic_le32toh(sg->len) & AHC_SG_LEN_MASK;
sg               3707 dev/ic/aic7xxx.c 			if (sg != scb->sg_list
sg               3710 dev/ic/aic7xxx.c 				sg--;
sg               3711 dev/ic/aic7xxx.c 				sglen = aic_le32toh(sg->len);
sg               3717 dev/ic/aic7xxx.c 				data_addr = aic_le32toh(sg->addr)
sg               3724 dev/ic/aic7xxx.c 				sg++;
sg               3725 dev/ic/aic7xxx.c 				sgptr = ahc_sg_virt_to_bus(scb, sg);
sg               3750 dev/ic/aic7xxx.c 	struct	 ahc_dma_seg *sg;
sg               3764 dev/ic/aic7xxx.c 	sg = ahc_sg_bus_to_virt(scb, sgptr);
sg               3767 dev/ic/aic7xxx.c 	sg--;
sg               3773 dev/ic/aic7xxx.c 	dataptr = aic_le32toh(sg->addr)
sg               3774 dev/ic/aic7xxx.c 		+ (aic_le32toh(sg->len) & AHC_SG_LEN_MASK)
sg               3782 dev/ic/aic7xxx.c 			 (aic_le32toh(sg->len) >> 24) & SG_HIGH_ADDR_BITS);
sg               6018 dev/ic/aic7xxx.c 		struct ahc_dma_seg *sg;
sg               6025 dev/ic/aic7xxx.c 		sg = ahc_sg_bus_to_virt(scb, resid_sgptr & SG_PTR_MASK);
sg               6028 dev/ic/aic7xxx.c 		sg--;
sg               6035 dev/ic/aic7xxx.c 		while ((aic_le32toh(sg->len) & AHC_DMA_LAST_SEG) == 0) {
sg               6036 dev/ic/aic7xxx.c 			sg++;
sg               6037 dev/ic/aic7xxx.c 			resid += aic_le32toh(sg->len) & AHC_SG_LEN_MASK;
sg                173 dev/ic/aic7xxx_inline.h 					   struct ahc_dma_seg *sg);
sg                199 dev/ic/aic7xxx_inline.h ahc_sg_virt_to_bus(struct scb *scb, struct ahc_dma_seg *sg)
sg                204 dev/ic/aic7xxx_inline.h 	sg_index = sg - &scb->sg_list[1];
sg                378 dev/ic/aic7xxx_openbsd.c 		struct	  ahc_dma_seg *sg;
sg                385 dev/ic/aic7xxx_openbsd.c 		sg = scb->sg_list;
sg                389 dev/ic/aic7xxx_openbsd.c 			sg->addr = aic_htole32(dm_segs->ds_addr);
sg                392 dev/ic/aic7xxx_openbsd.c 			sg->len = aic_htole32(len);
sg                393 dev/ic/aic7xxx_openbsd.c 			sg++;
sg                413 dev/ic/aic7xxx_openbsd.c 		sg--;
sg                414 dev/ic/aic7xxx_openbsd.c 		sg->len |= aic_htole32(AHC_DMA_LAST_SEG);
sg                957 dev/ic/dpt.c   	struct eata_sg *sg;
sg               1185 dev/ic/dpt.c   			sg = ccb->ccb_sg;
sg               1186 dev/ic/dpt.c   			for (i = 0; i < xfer->dm_nsegs; i++, sg++) {
sg               1187 dev/ic/dpt.c   				sg->sg_addr =
sg               1189 dev/ic/dpt.c   				sg->sg_len =
sg                362 dev/ic/uha.c   	struct uha_dma_seg *sg;
sg                406 dev/ic/uha.c   		sg = mscp->uha_dma;
sg                415 dev/ic/uha.c   				sg->seg_addr = (physaddr)iovp->iov_base;
sg                416 dev/ic/uha.c   				sg->seg_len = iovp->iov_len;
sg                420 dev/ic/uha.c   				sg++;
sg                441 dev/ic/uha.c   				sg->seg_addr = thisphys;
sg                472 dev/ic/uha.c   				sg->seg_len = bytes_this_seg;
sg                473 dev/ic/uha.c   				sg++;
sg               1262 dev/isa/aha.c  	struct aha_scat_gath *sg;
sg               1298 dev/isa/aha.c  		sg = ccb->scat_gath;
sg               1306 dev/isa/aha.c  				ltophys(iovp->iov_base, sg->seg_addr);
sg               1307 dev/isa/aha.c  				ltophys(iovp->iov_len, sg->seg_len);
sg               1311 dev/isa/aha.c  				sg++;
sg               1330 dev/isa/aha.c  				    sg[seg].seg_addr);
sg               1332 dev/isa/aha.c  				    sg[seg].seg_len);
sg               1055 dev/isa/wds.c  	struct wds_scat_gath *sg;
sg               1108 dev/isa/wds.c  		sg = scb->scat_gath;
sg               1116 dev/isa/wds.c  				ltophys(iovp->iov_base, sg->seg_addr);
sg               1117 dev/isa/wds.c  				ltophys(iovp->iov_len, sg->seg_len);
sg               1121 dev/isa/wds.c  				sg++;
sg               1140 dev/isa/wds.c  				       sg[seg].seg_addr);
sg               1142 dev/isa/wds.c  				       sg[seg].seg_len);
sg               1153 dev/isa/wds.c  				ltophys(thisphys, sg->seg_addr);
sg               1191 dev/isa/wds.c  				ltophys(bytes_this_seg, sg->seg_len);
sg               1192 dev/isa/wds.c  				sg++;
sg                629 dev/pci/ips.c  	struct ips_sg *sg;
sg                679 dev/pci/ips.c  			sg = (void *)(cmd + 1);
sg                681 dev/pci/ips.c  				sg[i].addr =
sg                683 dev/pci/ips.c  				sg[i].size =
sg                962 dev/pci/isp_pci.c 	bus_dma_segment_t sg;
sg               1009 dev/pci/isp_pci.c 	if (bus_dmamem_alloc(dmat, len, PAGE_SIZE, 0, &sg, 1, &rs,
sg               1011 dev/pci/isp_pci.c 	    bus_dmamem_map(isp->isp_dmatag, &sg, rs, len,
sg               1028 dev/pci/isp_pci.c 	if (bus_dmamem_alloc(dmat, len, PAGE_SIZE, 0, &sg, 1, &rs,
sg               1030 dev/pci/isp_pci.c 	    bus_dmamem_map(dmat, &sg, rs, len, (caddr_t *)&isp->isp_result,
sg               1048 dev/pci/isp_pci.c 	if (bus_dmamem_alloc(dmat, len, PAGE_SIZE, 0, &sg, 1, &rs,
sg               1050 dev/pci/isp_pci.c 	    bus_dmamem_map(dmat, &sg, rs, len, (caddr_t *)&fcp->isp_scratch,
sg                131 dev/systrace.c 	caddr_t sg;
sg                783 dev/systrace.c 	strp->sg = stackgap_init(p->p_emul);
sg               1038 dev/systrace.c 	udata = stackgap_alloc(&strp->sg, inj->stri_len);
sg               1415 dev/systrace.c 	ubase = stackgap_alloc(&strp->sg, repl->strr_len);