win               973 dev/ic/i82365.c pcic_chip_do_mem_map(h, win)
win               975 dev/ic/i82365.c 	int win;
win               978 dev/ic/i82365.c 	int kind = h->mem[win].kind & ~PCMCIA_WIDTH_MEM_MASK;
win               980 dev/ic/i82365.c 	    (h->mem[win].kind & PCMCIA_WIDTH_MEM_MASK) == PCMCIA_WIDTH_MEM8
win               983 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].sysmem_start_lsb,
win               984 dev/ic/i82365.c 	    (h->mem[win].addr >> PCIC_SYSMEM_ADDRX_SHIFT) & 0xff);
win               985 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].sysmem_start_msb,
win               986 dev/ic/i82365.c 	    ((h->mem[win].addr >> (PCIC_SYSMEM_ADDRX_SHIFT + 8)) &
win               990 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].sysmem_stop_lsb,
win               991 dev/ic/i82365.c 	    ((h->mem[win].addr + h->mem[win].size) >>
win               993 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].sysmem_stop_msb,
win               994 dev/ic/i82365.c 	    (((h->mem[win].addr + h->mem[win].size) >>
win               999 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].cardmem_lsb,
win              1000 dev/ic/i82365.c 	    (h->mem[win].offset >> PCIC_CARDMEM_ADDRX_SHIFT) & 0xff);
win              1001 dev/ic/i82365.c 	pcic_write(h, mem_map_index[win].cardmem_msb,
win              1002 dev/ic/i82365.c 	    ((h->mem[win].offset >> (PCIC_CARDMEM_ADDRX_SHIFT + 8)) &
win              1008 dev/ic/i82365.c 	reg |= (mem_map_index[win].memenable | PCIC_ADDRWIN_ENABLE_MEMCS16);
win              1015 dev/ic/i82365.c 		r1 = pcic_read(h, mem_map_index[win].sysmem_start_msb);
win              1016 dev/ic/i82365.c 		r2 = pcic_read(h, mem_map_index[win].sysmem_start_lsb);
win              1017 dev/ic/i82365.c 		r3 = pcic_read(h, mem_map_index[win].sysmem_stop_msb);
win              1018 dev/ic/i82365.c 		r4 = pcic_read(h, mem_map_index[win].sysmem_stop_lsb);
win              1019 dev/ic/i82365.c 		r5 = pcic_read(h, mem_map_index[win].cardmem_msb);
win              1020 dev/ic/i82365.c 		r6 = pcic_read(h, mem_map_index[win].cardmem_lsb);
win              1023 dev/ic/i82365.c 		    "%02x%02x\n", win, r1, r2, r3, r4, r5, r6));
win              1041 dev/ic/i82365.c 	int i, win;
win              1044 dev/ic/i82365.c 	win = -1;
win              1048 dev/ic/i82365.c 			win = i;
win              1054 dev/ic/i82365.c 	if (win == -1)
win              1057 dev/ic/i82365.c 	*windowp = win;
win              1077 dev/ic/i82365.c 	    "%lx\n", win, (u_long) busaddr, (u_long) * offsetp, (u_long) size,
win              1088 dev/ic/i82365.c 	h->mem[win].addr = busaddr;
win              1089 dev/ic/i82365.c 	h->mem[win].size = size;
win              1090 dev/ic/i82365.c 	h->mem[win].offset = card_offset;
win              1091 dev/ic/i82365.c 	h->mem[win].kind = kind;
win              1093 dev/ic/i82365.c 	pcic_chip_do_mem_map(h, win);
win              1265 dev/ic/i82365.c pcic_chip_do_io_map(h, win)
win              1267 dev/ic/i82365.c 	int win;
win              1272 dev/ic/i82365.c 	    win, (long) h->io[win].addr, (long) h->io[win].size,
win              1273 dev/ic/i82365.c 	    h->io[win].width * 8));
win              1275 dev/ic/i82365.c 	pcic_write(h, io_map_index[win].start_lsb, h->io[win].addr & 0xff);
win              1276 dev/ic/i82365.c 	pcic_write(h, io_map_index[win].start_msb,
win              1277 dev/ic/i82365.c 	    (h->io[win].addr >> 8) & 0xff);
win              1279 dev/ic/i82365.c 	pcic_write(h, io_map_index[win].stop_lsb,
win              1280 dev/ic/i82365.c 	    (h->io[win].addr + h->io[win].size - 1) & 0xff);
win              1281 dev/ic/i82365.c 	pcic_write(h, io_map_index[win].stop_msb,
win              1282 dev/ic/i82365.c 	    ((h->io[win].addr + h->io[win].size - 1) >> 8) & 0xff);
win              1285 dev/ic/i82365.c 	reg &= ~io_map_index[win].ioctlmask;
win              1286 dev/ic/i82365.c 	reg |= io_map_index[win].ioctlbits[h->io[win].width];
win              1290 dev/ic/i82365.c 	reg |= io_map_index[win].ioenable;
win              1305 dev/ic/i82365.c 	int i, win;
win              1313 dev/ic/i82365.c 	win = -1;
win              1316 dev/ic/i82365.c 			win = i;
win              1322 dev/ic/i82365.c 	if (win == -1)
win              1325 dev/ic/i82365.c 	*windowp = win;
win              1333 dev/ic/i82365.c 		 win, width_names[width], (u_long) ioaddr, (u_long) size));
win              1335 dev/ic/i82365.c 	h->io[win].addr = ioaddr;
win              1336 dev/ic/i82365.c 	h->io[win].size = size;
win              1337 dev/ic/i82365.c 	h->io[win].width = width;
win              1339 dev/ic/i82365.c 	pcic_chip_do_io_map(h, win);
win              1389 dev/ic/i82365.c 	int cardtype, reg, win;
win              1473 dev/ic/i82365.c 	for (win = 0; win < PCIC_MEM_WINS; win++)
win              1474 dev/ic/i82365.c 		if (h->memalloc & (1 << win))
win              1475 dev/ic/i82365.c 			pcic_chip_do_mem_map(h, win);
win              1477 dev/ic/i82365.c 	for (win = 0; win < PCIC_IO_WINS; win++)
win              1478 dev/ic/i82365.c 		if (h->ioalloc & (1 << win))
win              1479 dev/ic/i82365.c 			pcic_chip_do_io_map(h, win);
win               863 dev/ic/tcic2.c tcic_chip_do_mem_map(h, win)
win               865 dev/ic/tcic2.c 	int win;
win               869 dev/ic/tcic2.c 	int kind = h->mem[win].kind & ~PCMCIA_WIDTH_MEM_MASK;
win               870 dev/ic/tcic2.c 	int mem8 = (h->mem[win].kind & PCMCIA_WIDTH_MEM_MASK) == PCMCIA_WIDTH_MEM8;
win               872 dev/ic/tcic2.c 		win, (u_long)h->mem[win].addr, (u_long)h->mem[win].size,
win               873 dev/ic/tcic2.c 		(u_long)h->mem[win].offset));
win               878 dev/ic/tcic2.c 	hwwin = (win << 1) + h->sock;
win               884 dev/ic/tcic2.c 	if (h->mem[win].size2 <= 1) {
win               885 dev/ic/tcic2.c 		reg = ((h->mem[win].addr >> TCIC_MEM_SHIFT) &
win               888 dev/ic/tcic2.c 		reg = ((h->mem[win].addr >> TCIC_MEM_SHIFT) &
win               889 dev/ic/tcic2.c 		    TCIC_MBASE_ADDR_MASK) | (h->mem[win].size2 >> 1);
win               895 dev/ic/tcic2.c 	reg = ((h->mem[win].offset >> TCIC_MEM_SHIFT) & TCIC_MMAP_ADDR_MASK);
win               898 dev/ic/tcic2.c 	    win, hwwin, reg));
win               909 dev/ic/tcic2.c 	wscnt = tcic_ns2wscnt(h->mem[win].speed);
win               937 dev/ic/tcic2.c 		    win, hwwin, r1, r2, r3));
win               956 dev/ic/tcic2.c 	int i, win;
win               958 dev/ic/tcic2.c 	win = -1;
win               961 dev/ic/tcic2.c 			win = i;
win               967 dev/ic/tcic2.c 	if (win == -1)
win               970 dev/ic/tcic2.c 	*windowp = win;
win               990 dev/ic/tcic2.c 	    "%lx\n", win, (u_long) busaddr, (u_long) * offsetp, (u_long) size,
win              1003 dev/ic/tcic2.c 	    win, (u_long)card_offset));
win              1005 dev/ic/tcic2.c 	h->mem[win].addr = busaddr;
win              1006 dev/ic/tcic2.c 	h->mem[win].size = size;
win              1007 dev/ic/tcic2.c 	h->mem[win].size2 = tcic_log2((u_int)pcmhp->realsize) - TCIC_MEM_SHIFT;
win              1008 dev/ic/tcic2.c 	h->mem[win].offset = card_offset;
win              1009 dev/ic/tcic2.c 	h->mem[win].kind = kind;
win              1011 dev/ic/tcic2.c 	tcic_chip_do_mem_map(h, win);
win              1120 dev/ic/tcic2.c tcic_chip_do_io_map(h, win)
win              1122 dev/ic/tcic2.c 	int win;
win              1127 dev/ic/tcic2.c 	    win, (long) h->io[win].addr, (long) h->io[win].size,
win              1128 dev/ic/tcic2.c 	    h->io[win].width * 8));
win              1134 dev/ic/tcic2.c 	hwwin = (win << 1) + h->sock;
win              1138 dev/ic/tcic2.c 	size2 = tcic_log2((u_int)h->io[win].size);
win              1139 dev/ic/tcic2.c 	DPRINTF(("tcic_chip_do_io_map win %d size2 %d\n", win, size2));
win              1142 dev/ic/tcic2.c 		wbase = h->io[win].addr;
win              1146 dev/ic/tcic2.c 		wbase = h->io[win].addr | (1 << (size2 - 1));
win              1153 dev/ic/tcic2.c 	reg |= iotiny | tcic_iowidth_map[h->io[win].width];
win              1157 dev/ic/tcic2.c 	wscnt = tcic_ns2wscnt(h->io[win].speed);
win              1172 dev/ic/tcic2.c 		    win, hwwin, r1, r2));
win              1188 dev/ic/tcic2.c 	int i, win;
win              1195 dev/ic/tcic2.c 	win = -1;
win              1198 dev/ic/tcic2.c 			win = i;
win              1204 dev/ic/tcic2.c 	if (win == -1)
win              1207 dev/ic/tcic2.c 	*windowp = win;
win              1215 dev/ic/tcic2.c 		 win, width_names[width], (u_long) ioaddr, (u_long) size));
win              1223 dev/ic/tcic2.c 	h->io[win].addr = ioaddr;
win              1224 dev/ic/tcic2.c 	h->io[win].size = size;
win              1225 dev/ic/tcic2.c 	h->io[win].width = width;
win              1227 dev/ic/tcic2.c 	tcic_chip_do_io_map(h, win);
win              1256 dev/ic/tcic2.c 	int cardtype, reg, win;
win              1307 dev/ic/tcic2.c 	for (win = 0; win < h->memwins; win++) {
win              1308 dev/ic/tcic2.c 		tcic_write_ind_2(h, TCIC_WR_MBASE_N((win<<1)+h->sock), 0);
win              1311 dev/ic/tcic2.c 	for (win = 0; win < TCIC_IO_WINS; win++) {
win              1312 dev/ic/tcic2.c 		tcic_write_ind_2(h, TCIC_WR_IBASE_N((win<<1)+h->sock), 0);
win              1337 dev/ic/tcic2.c 	for (win = 0; win < h->memwins; win++)
win              1338 dev/ic/tcic2.c 		if (h->memalloc & (1 << win))
win              1339 dev/ic/tcic2.c 			tcic_chip_do_mem_map(h, win);
win              1341 dev/ic/tcic2.c 	for (win = 0; win < TCIC_IO_WINS; win++)
win              1342 dev/ic/tcic2.c 		if (h->ioalloc & (1 << win))
win              1343 dev/ic/tcic2.c 			tcic_chip_do_io_map(h, win);
win               104 dev/pci/lofnreg.h #define	LOFN_REGADDR(win,r,idx) 			\
win               105 dev/pci/lofnreg.h     ((win) |						\
win               109 dev/pci/lofnreg.h #define	LOFN_LENADDR(win,r)				\
win               110 dev/pci/lofnreg.h     ((win) | (((r) << 2) + LOFN_REL_LEN))
win               234 dev/pci/nofnreg.h #define	NOFN_PK_REGADDR(win,r,i)	\
win               235 dev/pci/nofnreg.h     ((win) | (((r) & 0xf) << 7) | (((i) & 0x1f) << 2))
win              1932 dev/pci/pccbb.c 	int i, win;
win              1945 dev/pci/pccbb.c 	win = -1;
win              1948 dev/pci/pccbb.c 			win = i;
win              1954 dev/pci/pccbb.c 	if (win == -1) {
win              1958 dev/pci/pccbb.c 	*windowp = win;
win              1963 dev/pci/pccbb.c 	    win, width_names[width], (u_long) ioaddr, (u_long) size));
win              1974 dev/pci/pccbb.c 	ph->io[win].addr = ioaddr;
win              1975 dev/pci/pccbb.c 	ph->io[win].size = size;
win              1976 dev/pci/pccbb.c 	ph->io[win].width = width;
win              1979 dev/pci/pccbb.c 	pccbb_pcmcia_do_io_map(ph, win);
win              1990 dev/pci/pccbb.c pccbb_pcmcia_do_io_map(ph, win)
win              1992 dev/pci/pccbb.c 	int win;
win              2007 dev/pci/pccbb.c 	int regbase_win = 0x8 + win * 0x04;
win              2012 dev/pci/pccbb.c 	    win, (long)ph->io[win].addr, (long)ph->io[win].size,
win              2013 dev/pci/pccbb.c 	    ph->io[win].width * 8));
win              2016 dev/pci/pccbb.c 	    ph->io[win].addr & 0xff);
win              2018 dev/pci/pccbb.c 	    (ph->io[win].addr >> 8) & 0xff);
win              2021 dev/pci/pccbb.c 	    (ph->io[win].addr + ph->io[win].size - 1) & 0xff);
win              2023 dev/pci/pccbb.c 	    ((ph->io[win].addr + ph->io[win].size - 1) >> 8) & 0xff);
win              2027 dev/pci/pccbb.c 	switch (win) {
win              2032 dev/pci/pccbb.c 		ioctl |= pcic_iowidth[ph->io[win].width];
win              2039 dev/pci/pccbb.c 		ioctl |= (pcic_iowidth[ph->io[win].width] << 4);
win              2068 dev/pci/pccbb.c pccbb_pcmcia_io_unmap(pch, win)
win              2070 dev/pci/pccbb.c 	int win;
win              2075 dev/pci/pccbb.c 	if (win >= PCIC_IO_WINS || win < 0) {
win              2080 dev/pci/pccbb.c 	switch (win) {
win              2090 dev/pci/pccbb.c 	ph->ioalloc &= ~(1 << win);
win              2137 dev/pci/pccbb.c 	int cardtype, win;
win              2226 dev/pci/pccbb.c 	for (win = 0; win < PCIC_MEM_WINS; ++win) {
win              2227 dev/pci/pccbb.c 		if (ph->memalloc & (1 << win)) {
win              2228 dev/pci/pccbb.c 			pccbb_pcmcia_do_mem_map(ph, win);
win              2232 dev/pci/pccbb.c 	for (win = 0; win < PCIC_IO_WINS; ++win) {
win              2233 dev/pci/pccbb.c 		if (ph->ioalloc & (1 << win)) {
win              2234 dev/pci/pccbb.c 			pccbb_pcmcia_do_io_map(ph, win);
win              2387 dev/pci/pccbb.c pccbb_pcmcia_do_mem_map(ph, win)
win              2389 dev/pci/pccbb.c 	int win;
win              2408 dev/pci/pccbb.c 	regbase_win = 0x10 + win * 0x08;
win              2410 dev/pci/pccbb.c 	phys_addr = ph->mem[win].addr;
win              2411 dev/pci/pccbb.c 	phys_end = phys_addr + ph->mem[win].size;
win              2414 dev/pci/pccbb.c 	    phys_addr, phys_end, ph->mem[win].offset));
win              2433 dev/pci/pccbb.c 		Pcic_write(ph, 0x40 + win, mem_window);
win              2444 dev/pci/pccbb.c 	off_low = (ph->mem[win].offset >> PCIC_CARDMEM_ADDRX_SHIFT) & 0xff;
win              2445 dev/pci/pccbb.c 	off_high = ((ph->mem[win].offset >> (PCIC_CARDMEM_ADDRX_SHIFT + 8))
win              2447 dev/pci/pccbb.c 	    | ((ph->mem[win].kind == PCMCIA_MEM_ATTR) ?
win              2454 dev/pci/pccbb.c 	reg |= ((1 << win) | PCIC_ADDRWIN_ENABLE_MEMCS16);
win              2469 dev/pci/pccbb.c 			r7 = Pcic_read(ph, 0x40 + win);
win              2473 dev/pci/pccbb.c 		    "%02x%02x", win, r1, r2, r3, r4, r5, r6));
win              2505 dev/pci/pccbb.c 	int win;
win              2507 dev/pci/pccbb.c 	for (win = 0; win < PCIC_MEM_WINS; ++win) {
win              2508 dev/pci/pccbb.c 		if ((ph->memalloc & (1 << win)) == 0) {
win              2509 dev/pci/pccbb.c 			ph->memalloc |= (1 << win);
win              2514 dev/pci/pccbb.c 	if (win == PCIC_MEM_WINS) {
win              2518 dev/pci/pccbb.c 	*windowp = win;
win              2539 dev/pci/pccbb.c 	    "%lx\n", win, (u_long) busaddr, (u_long) * offsetp, (u_long) size,
win              2550 dev/pci/pccbb.c 	ph->mem[win].addr = busaddr;
win              2551 dev/pci/pccbb.c 	ph->mem[win].size = size;
win              2552 dev/pci/pccbb.c 	ph->mem[win].offset = card_offset;
win              2553 dev/pci/pccbb.c 	ph->mem[win].kind = kind;
win              2555 dev/pci/pccbb.c 	pccbb_pcmcia_do_mem_map(ph, win);
win              2942 dev/pci/pccbb.c 	} win[2];
win              2946 dev/pci/pccbb.c 	win[0].win_start = win[1].win_start = 0xffffffff;
win              2947 dev/pci/pccbb.c 	win[0].win_limit = win[1].win_limit = 0;
win              2948 dev/pci/pccbb.c 	win[0].win_flags = win[1].win_flags = 0;
win              2958 dev/pci/pccbb.c 		win[0].win_start = chainp->wc_start & mask;
win              2959 dev/pci/pccbb.c 		win[0].win_limit = chainp->wc_end & mask;
win              2960 dev/pci/pccbb.c 		win[0].win_flags = chainp->wc_flags;
win              2965 dev/pci/pccbb.c 		if (win[1].win_start == 0xffffffff) {
win              2967 dev/pci/pccbb.c 			if ((win[0].win_flags == chainp->wc_flags) &&
win              2968 dev/pci/pccbb.c 			    (win[0].win_limit + align >=
win              2971 dev/pci/pccbb.c 				win[0].win_limit = chainp->wc_end & mask;
win              2974 dev/pci/pccbb.c 				win[1].win_start = chainp->wc_start & mask;
win              2975 dev/pci/pccbb.c 				win[1].win_limit = chainp->wc_end & mask;
win              2976 dev/pci/pccbb.c 				win[1].win_flags = chainp->wc_flags;
win              2982 dev/pci/pccbb.c 		if (win[0].win_flags == win[1].win_flags) {
win              2984 dev/pci/pccbb.c 			if (win[0].win_flags == chainp->wc_flags) {
win              2985 dev/pci/pccbb.c 				if (win[1].win_start - (win[0].win_limit +
win              2993 dev/pci/pccbb.c 					win[0].win_limit = win[1].win_limit;
win              2994 dev/pci/pccbb.c 					win[1].win_start =
win              2996 dev/pci/pccbb.c 					win[1].win_limit =
win              2999 dev/pci/pccbb.c 					win[1].win_limit =
win              3006 dev/pci/pccbb.c 				win[0].win_limit = win[1].win_limit;
win              3008 dev/pci/pccbb.c 				win[1].win_start = chainp->wc_start & mask;
win              3009 dev/pci/pccbb.c 				win[1].win_limit = chainp->wc_end & mask;
win              3010 dev/pci/pccbb.c 				win[1].win_flags = chainp->wc_flags;
win              3014 dev/pci/pccbb.c 			if (win[0].win_flags == chainp->wc_flags) {
win              3015 dev/pci/pccbb.c 				win[0].win_limit = chainp->wc_end & mask;
win              3024 dev/pci/pccbb.c 				win[1].win_limit = chainp->wc_end & mask;
win              3031 dev/pci/pccbb.c 	pci_conf_write(pc, tag, offs, win[0].win_start);
win              3032 dev/pci/pccbb.c 	pci_conf_write(pc, tag, offs + 4, win[0].win_limit);
win              3033 dev/pci/pccbb.c 	pci_conf_write(pc, tag, offs + 8, win[1].win_start);
win              3034 dev/pci/pccbb.c 	pci_conf_write(pc, tag, offs + 12, win[1].win_limit);
win              3045 dev/pci/pccbb.c 		if (win[0].win_flags & PCCBB_MEM_CACHABLE)
win              3047 dev/pci/pccbb.c 		if (win[1].win_flags & PCCBB_MEM_CACHABLE)
win               270 dev/pcmcia/cfxga.c 	int win;
win               295 dev/pcmcia/cfxga.c 	    &h, &ptr, &win);
win               302 dev/pcmcia/cfxga.c 	pcmcia_mem_unmap(pa->pf, win);
win               166 dev/sbus/stp4020.c stp4020_rd_winctl(h, win, idx)
win               168 dev/sbus/stp4020.c 	int win;
win               172 dev/sbus/stp4020.c 	    (STP4020_WINREGS_SIZE * win) + idx;
win               177 dev/sbus/stp4020.c stp4020_wr_winctl(h, win, idx, v)
win               179 dev/sbus/stp4020.c 	int win;
win               184 dev/sbus/stp4020.c 	    (STP4020_WINREGS_SIZE * win) + idx;
win               554 dev/sbus/stp4020.c stp4020_map_window(struct stp4020_socket *h, int win, int speed)
win               572 dev/sbus/stp4020.c 	switch (win) {
win               584 dev/sbus/stp4020.c 	stp4020_wr_winctl(h, win, STP4020_WCR0_IDX, v);
win               585 dev/sbus/stp4020.c 	stp4020_wr_winctl(h, win, STP4020_WCR1_IDX,
win               625 dev/sbus/stp4020.c 	int win = (kind & PCMCIA_MEM_ATTR) ? STP_WIN_ATTR : STP_WIN_MEM;
win               628 dev/sbus/stp4020.c 	bus_space_subregion(h->wintag, h->windows[win].winaddr,
win               633 dev/sbus/stp4020.c 	*windowp = win;
win               639 dev/sbus/stp4020.c stp4020_chip_mem_unmap(pch, win)
win               641 dev/sbus/stp4020.c 	int win;
win               687 dev/sbus/stp4020.c stp4020_chip_io_unmap(pch, win)
win               689 dev/sbus/stp4020.c 	int win;
win              1560 net/pf.c           u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
win              1650 net/pf.c       	th->th_win = htons(win);
win              3321 net/pf.c       				int win = s->src.max_win;
win              3322 net/pf.c       				win += 1 << (s->src.wscale & PF_WSCALE_MASK);
win              3323 net/pf.c       				s->src.max_win = (win - 1) >>
win              3581 net/pf.c       	u_int16_t		 win = ntohs(th->th_win);
win              3748 net/pf.c       					win = ((u_int32_t)win + (1 << sws) - 1)
win              3775 net/pf.c       		if (win > src->max_win)
win              3776 net/pf.c       			src->max_win = win;
win              3855 net/pf.c       		if (src->max_win < win)
win              3856 net/pf.c       			src->max_win = win;
win              3861 net/pf.c       		if (SEQ_GEQ(ack + (win << sws), dst->seqhi))
win              3862 net/pf.c       			dst->seqhi = ack + MAX((win << sws), 1);
win              3952 net/pf.c       		if (src->max_win < win)
win              3953 net/pf.c       			src->max_win = win;
win              3958 net/pf.c       		if (SEQ_GEQ(ack + (win << sws), dst->seqhi))
win              3959 net/pf.c       			dst->seqhi = ack + MAX((win << sws), 1);
win              1121 netinet/tcp_input.c 	{ int win;
win              1123 netinet/tcp_input.c 	win = sbspace(&so->so_rcv);
win              1124 netinet/tcp_input.c 	if (win < 0)
win              1125 netinet/tcp_input.c 		win = 0;
win              1126 netinet/tcp_input.c 	tp->rcv_wnd = imax(win, (int)(tp->rcv_adv - tp->rcv_nxt));
win              1539 netinet/tcp_input.c 				u_int win;
win              1541 netinet/tcp_input.c 				win = min(tp->snd_wnd, tp->snd_cwnd) / tp->t_maxseg;
win              1542 netinet/tcp_input.c 				if (win > 1) {
win              1543 netinet/tcp_input.c 					tp->snd_ssthresh = win / 2 * tp->t_maxseg;
win              1636 netinet/tcp_input.c 					u_long win =
win              1650 netinet/tcp_input.c 					if (win < 2)
win              1651 netinet/tcp_input.c 						win = 2;
win              1652 netinet/tcp_input.c 					tp->snd_ssthresh = win * tp->t_maxseg;
win              3975 netinet/tcp_input.c 	long win;
win              3991 netinet/tcp_input.c 	win = sbspace(&so->so_rcv);
win              3992 netinet/tcp_input.c 	if (win > TCP_MAXWIN)
win              3993 netinet/tcp_input.c 		win = TCP_MAXWIN;
win              4080 netinet/tcp_input.c 	sc->sc_win = win;
win               212 netinet/tcp_output.c 	long len, win, txmaxseg;
win               277 netinet/tcp_output.c 		win = tp->snd_wnd;
win               280 netinet/tcp_output.c 	win = ulmin(tp->snd_wnd, tp->snd_cwnd);
win               318 netinet/tcp_output.c 		if (win == 0) {
win               337 netinet/tcp_output.c 			win = 1;
win               347 netinet/tcp_output.c 	len = ulmin(so->so_snd.sb_cc, win) - off;
win               375 netinet/tcp_output.c 		if (win == 0) {
win               399 netinet/tcp_output.c 	win = sbspace(&so->so_rcv);
win               436 netinet/tcp_output.c 	if (win > 0) {
win               442 netinet/tcp_output.c 		long adv = lmin(win, (long)TCP_MAXWIN << tp->rcv_scale) -
win               870 netinet/tcp_output.c 	if (win < (long)(so->so_rcv.sb_hiwat / 4) && win < (long)tp->t_maxseg)
win               871 netinet/tcp_output.c 		win = 0;
win               872 netinet/tcp_output.c 	if (win > (long)TCP_MAXWIN << tp->rcv_scale)
win               873 netinet/tcp_output.c 		win = (long)TCP_MAXWIN << tp->rcv_scale;
win               874 netinet/tcp_output.c 	if (win < (long)(int32_t)(tp->rcv_adv - tp->rcv_nxt))
win               875 netinet/tcp_output.c 		win = (long)(int32_t)(tp->rcv_adv - tp->rcv_nxt);
win               877 netinet/tcp_output.c 		win = 0;
win               878 netinet/tcp_output.c 	th->th_win = htons((u_int16_t) (win>>tp->rcv_scale));
win              1167 netinet/tcp_output.c 	if (win > 0 && SEQ_GT(tp->rcv_nxt+win, tp->rcv_adv))
win              1168 netinet/tcp_output.c 		tp->rcv_adv = tp->rcv_nxt + win;
win               328 netinet/tcp_subr.c 	int win = 0;
win               335 netinet/tcp_subr.c 		win = sbspace(&tp->t_inpcb->inp_socket->so_rcv);
win               421 netinet/tcp_subr.c 		win >>= tp->rcv_scale;
win               422 netinet/tcp_subr.c 	if (win > TCP_MAXWIN)
win               423 netinet/tcp_subr.c 		win = TCP_MAXWIN;
win               424 netinet/tcp_subr.c 	th->th_win = htons((u_int16_t)win);
win               368 netinet/tcp_timer.c 		u_long win = ulmin(tp->snd_wnd, tp->snd_cwnd) / 2 / tp->t_maxseg;
win               369 netinet/tcp_timer.c 		if (win < 2)
win               370 netinet/tcp_timer.c 			win = 2;
win               372 netinet/tcp_timer.c 		tp->snd_ssthresh = win * tp->t_maxseg;