off               331 arch/i386/i386/bios.c 			u_int32_t off, len;
off               356 arch/i386/i386/bios.c 			off = 0xc0000 + (va - (u_int8_t *)
off               362 arch/i386/i386/bios.c 			printf(" 0x%05x/0x%x%s", off, len,
off               366 arch/i386/i386/bios.c 			    (paddr_t)off, len, EX_NOWAIT)))
off               481 arch/i386/i386/bios.c 	u_int32_t base, count, off, ent;
off               489 arch/i386/i386/bios.c 	    : "+a" (service), "+b" (base), "=c" (count), "=d" (off)
off               496 arch/i386/i386/bios.c 	ent = base + off;
off              3975 arch/i386/i386/machdep.c _bus_dmamem_mmap(bus_dma_tag_t t, bus_dma_segment_t *segs, int nsegs, off_t off,
off              3982 arch/i386/i386/machdep.c 		if (off & PGOFSET)
off              3990 arch/i386/i386/machdep.c 		if (off >= segs[i].ds_len) {
off              3991 arch/i386/i386/machdep.c 			off -= segs[i].ds_len;
off              3995 arch/i386/i386/machdep.c 		return (atop(segs[i].ds_addr + off));
off               211 arch/i386/i386/mem.c mmmmap(dev_t dev, off_t off, int prot)
off               218 arch/i386/i386/mem.c 		if ((u_int)off > ctob(physmem) &&
off               221 arch/i386/i386/mem.c 		return atop(off);
off               229 arch/i386/i386/mem.c 			if ((off >= VGA_START && off <= BIOS_END) ||
off               230 arch/i386/i386/mem.c 			    (unsigned)off > (unsigned)ctob(physmem))
off               231 arch/i386/i386/mem.c 				return atop(off);
off               237 arch/i386/i386/mem.c 			if (off <= BIOS_END ||
off               238 arch/i386/i386/mem.c 			    (unsigned)off > (unsigned)ctob(physmem))
off               239 arch/i386/i386/mem.c 				return atop(off);
off               558 arch/i386/i386/pmapae.c #define	pae_pagealloc(obj, off, anon, flags) \
off               559 arch/i386/i386/pmapae.c     uvm_pagealloc_strat((obj), (off), (anon), (flags), \
off              1213 arch/i386/i386/pmapae.c 	int bank, off;
off              1252 arch/i386/i386/pmapae.c 			if (vm_physseg_find(atop(opte & PG_FRAME), &off)
off              1260 arch/i386/i386/pmapae.c 		bank = vm_physseg_find(atop(opte & PG_FRAME), &off);
off              1269 arch/i386/i386/pmapae.c 		simple_lock(&vm_physmem[bank].pmseg.pvhead[off].pvh_lock);
off              1270 arch/i386/i386/pmapae.c 		vm_physmem[bank].pmseg.attrs[off] |= (opte & (PG_U|PG_M));
off              1271 arch/i386/i386/pmapae.c 		pve = pmap_remove_pv(&vm_physmem[bank].pmseg.pvhead[off], pmap,
off              1273 arch/i386/i386/pmapae.c 		simple_unlock(&vm_physmem[bank].pmseg.pvhead[off].pvh_lock);
off              1302 arch/i386/i386/pmapae.c 	int bank, off;
off              1334 arch/i386/i386/pmapae.c 		if (vm_physseg_find(atop(opte & PG_FRAME), &off) != -1)
off              1341 arch/i386/i386/pmapae.c 	bank = vm_physseg_find(atop(opte & PG_FRAME), &off);
off              1350 arch/i386/i386/pmapae.c 	simple_lock(&vm_physmem[bank].pmseg.pvhead[off].pvh_lock);
off              1351 arch/i386/i386/pmapae.c 	vm_physmem[bank].pmseg.attrs[off] |= (opte & (PG_U|PG_M));
off              1352 arch/i386/i386/pmapae.c 	pve = pmap_remove_pv(&vm_physmem[bank].pmseg.pvhead[off], pmap, va);
off              1353 arch/i386/i386/pmapae.c 	simple_unlock(&vm_physmem[bank].pmseg.pvhead[off].pvh_lock);
off              1572 arch/i386/i386/pmapae.c 	int bank, off;
off              1581 arch/i386/i386/pmapae.c 	bank = vm_physseg_find(atop(VM_PAGE_TO_PHYS(pg)), &off);
off              1587 arch/i386/i386/pmapae.c 	pvh = &vm_physmem[bank].pmseg.pvhead[off];
off              1633 arch/i386/i386/pmapae.c 		vm_physmem[bank].pmseg.attrs[off] |= (opte & (PG_U|PG_M));
off              1702 arch/i386/i386/pmapae.c 	int bank, off;
off              1709 arch/i386/i386/pmapae.c 	bank = vm_physseg_find(atop(VM_PAGE_TO_PHYS(pg)), &off);
off              1720 arch/i386/i386/pmapae.c 	myattrs = &vm_physmem[bank].pmseg.attrs[off];
off              1725 arch/i386/i386/pmapae.c 	pvh = &vm_physmem[bank].pmseg.pvhead[off];
off              1764 arch/i386/i386/pmapae.c 	int bank, off;
off              1772 arch/i386/i386/pmapae.c 	bank = vm_physseg_find(atop(VM_PAGE_TO_PHYS(pg)), &off);
off              1779 arch/i386/i386/pmapae.c 	pvh = &vm_physmem[bank].pmseg.pvhead[off];
off              1783 arch/i386/i386/pmapae.c 	myattrs = &vm_physmem[bank].pmseg.attrs[off];
off              1973 arch/i386/i386/pmapae.c 	int bank, off, error;
off              2038 arch/i386/i386/pmapae.c 				bank = vm_physseg_find(atop(pa), &off);
off              2046 arch/i386/i386/pmapae.c 				pvh = &vm_physmem[bank].pmseg.pvhead[off];
off              2048 arch/i386/i386/pmapae.c 				vm_physmem[bank].pmseg.attrs[off] |= opte;
off              2066 arch/i386/i386/pmapae.c 			bank = vm_physseg_find(atop(opte & PG_FRAME), &off);
off              2073 arch/i386/i386/pmapae.c 			pvh = &vm_physmem[bank].pmseg.pvhead[off];
off              2076 arch/i386/i386/pmapae.c 			vm_physmem[bank].pmseg.attrs[off] |= opte;
off              2098 arch/i386/i386/pmapae.c 	bank = vm_physseg_find(atop(pa), &off);
off              2100 arch/i386/i386/pmapae.c 		pvh = &vm_physmem[bank].pmseg.pvhead[off];
off               233 arch/i386/i386/vm_machdep.c 	vaddr_t faddr, taddr, off;
off               239 arch/i386/i386/vm_machdep.c 	off = (vaddr_t)bp->b_data - faddr;
off               240 arch/i386/i386/vm_machdep.c 	len = round_page(off + len);
off               242 arch/i386/i386/vm_machdep.c 	bp->b_data = (caddr_t)(taddr + off);
off               273 arch/i386/i386/vm_machdep.c 	vaddr_t addr, off;
off               278 arch/i386/i386/vm_machdep.c 	off = (vaddr_t)bp->b_data - addr;
off               279 arch/i386/i386/vm_machdep.c 	len = round_page(off + len);
off               900 arch/i386/include/bus.h 	    int nsegs, off_t off, int prot, int flags);
off              1000 arch/i386/isa/isa_machdep.c     off_t off, int prot, int flags)
off              1003 arch/i386/isa/isa_machdep.c 	return (_bus_dmamem_mmap(t, segs, nsegs, off, prot, flags));
off               394 arch/i386/pci/pci_addr_fixup.c 	int off;
off               402 arch/i386/pci/pci_addr_fixup.c 			for (off = PCI_CAPLIST_PTR(rval);
off               403 arch/i386/pci/pci_addr_fixup.c 			    off != 0;
off               404 arch/i386/pci/pci_addr_fixup.c 			    off = PCI_CAPLIST_NEXT(rval) ) {
off               405 arch/i386/pci/pci_addr_fixup.c 				rval = pci_conf_read(pc, tag, off);
off               169 arch/i386/pci/piix.c 	int shift, off;
off               175 arch/i386/pci/piix.c 	off = PIIX_CFG_PIRQ;
off               177 arch/i386/pci/piix.c 		off += 8;
off               181 arch/i386/pci/piix.c 	reg = pci_conf_read(ph->ph_pc, ph->ph_tag, off);
off               195 arch/i386/pci/piix.c 	int shift, off;
off               201 arch/i386/pci/piix.c 	off = PIIX_CFG_PIRQ;
off               203 arch/i386/pci/piix.c 		off += 8;
off               207 arch/i386/pci/piix.c 	reg = pci_conf_read(ph->ph_pc, ph->ph_tag, off);
off               211 arch/i386/pci/piix.c 	pci_conf_write(ph->ph_pc, ph->ph_tag, off, reg);
off               220 arch/i386/pci/piix.c 	int off, bit;
off               226 arch/i386/pci/piix.c 	off = (irq > 7) ? 1 : 0;
off               229 arch/i386/pci/piix.c 	elcr = bus_space_read_1(ph->ph_iot, ph->ph_elcr_ioh, off);
off               242 arch/i386/pci/piix.c 	int off, bit;
off               248 arch/i386/pci/piix.c 	off = (irq > 7) ? 1 : 0;
off               251 arch/i386/pci/piix.c 	elcr = bus_space_read_1(ph->ph_iot, ph->ph_elcr_ioh, off);
off               256 arch/i386/pci/piix.c 	bus_space_write_1(ph->ph_iot, ph->ph_elcr_ioh, off, elcr);
off               241 arch/i386/stand/libsa/biosdev.c biosd_io(int rw, bios_diskinfo_t *bd, daddr_t off, int nsect, void *buf)
off               257 arch/i386/stand/libsa/biosdev.c 		off >>= (ISO_DEFAULT_BLOCK_SHIFT - DEV_BSHIFT);
off               282 arch/i386/stand/libsa/biosdev.c 			error = EDD_rw(rw, dev, off, nsect, bb);
off               290 arch/i386/stand/libsa/biosdev.c 			    i += n, off += n, p += n * DEV_BSIZE) {
off               292 arch/i386/stand/libsa/biosdev.c 				btochs(off, cyl, head, sect, bd->bios_heads,
off               344 arch/i386/stand/libsa/biosdev.c 	daddr_t off = LABELSECTOR;
off               365 arch/i386/stand/libsa/biosdev.c 		for (off = 0, i = 0; off == 0 && i < NDOSPART; i++)
off               367 arch/i386/stand/libsa/biosdev.c 				off = mbr.dmbr_parts[i].dp_start + LABELSECTOR;
off               368 arch/i386/stand/libsa/biosdev.c 		if (off == 0)
off               371 arch/i386/stand/libsa/biosdev.c 		off = LABELSECTOR;
off               377 arch/i386/stand/libsa/biosdev.c 		printf("loading disklabel @ %u\n", off);
off               380 arch/i386/stand/libsa/biosdev.c 	error = biosd_io(F_READ, bd, off, 1, buf);
off                70 arch/i386/stand/libsa/memprobe.c 	int rc, off = 0, sig, gotcha = 0;
off                76 arch/i386/stand/libsa/memprobe.c 		    : "=a" (sig), "=d" (rc), "=b" (off)
off                77 arch/i386/stand/libsa/memprobe.c 		    : "0" (0xE820), "1" (0x534d4150), "b" (off),
off                80 arch/i386/stand/libsa/memprobe.c 		off = BIOS_regs.biosr_bx;
off                88 arch/i386/stand/libsa/memprobe.c 	} while (off);
off                43 arch/i386/stand/libsa/pxeboot.h #define SEGOFF2FLAT(seg, off) ((void *)((((u_int32_t)(seg))<<4) + \
off                44 arch/i386/stand/libsa/pxeboot.h     ((u_int32_t)(off))))
off                44 compat/common/compat_dir.c readdir_with_callback(fp, off, nbytes, appendfunc, arg)
off                46 compat/common/compat_dir.c 	off_t *off;
off                60 compat/common/compat_dir.c 	off_t newoff = *off;
off               164 compat/common/compat_dir.c 		*off = newoff;
off               378 compat/ibcs2/ibcs2_fcntl.c 		off_t			off, cur;
off               408 compat/ibcs2/ibcs2_fcntl.c 		off = (off_t)ifl.l_start;
off               411 compat/ibcs2/ibcs2_fcntl.c 			off = (off_t)ifl.l_start;
off               414 compat/ibcs2/ibcs2_fcntl.c 			off = ost.st_size + (off_t)ifl.l_start;
off               417 compat/ibcs2/ibcs2_fcntl.c 			off = cur - (off_t)ifl.l_start;
off               423 compat/ibcs2/ibcs2_fcntl.c 		if (ifl.l_len != 0 && off + ifl.l_len != ost.st_size)
off               427 compat/ibcs2/ibcs2_fcntl.c 		SCARG(&nuap, length) = off;
off               225 compat/linux/linux_file.c 	off_t off;
off               227 compat/linux/linux_file.c 	off = SCARG(uap, olow) | (((off_t) SCARG(uap, ohigh)) << 32);
off               230 compat/linux/linux_file.c 	SCARG(&bla, offset) = off;
off               447 compat/svr4/svr4_fcntl.c 	SCARG(&pra, offset) = SCARG(uap, off);
off               464 compat/svr4/svr4_fcntl.c 	SCARG(&pra, offset) = SCARG(uap, off);
off               481 compat/svr4/svr4_fcntl.c 	SCARG(&pwa, offset) = SCARG(uap, off);
off               498 compat/svr4/svr4_fcntl.c 	SCARG(&pwa, offset) = SCARG(uap, off);
off               346 compat/svr4/svr4_syscallargs.h 	syscallarg(svr4_off_t) off;
off               353 compat/svr4/svr4_syscallargs.h 	syscallarg(svr4_off_t) off;
off               425 compat/svr4/svr4_syscallargs.h 	syscallarg(svr4_off64_t) off;
off               432 compat/svr4/svr4_syscallargs.h 	syscallarg(svr4_off64_t) off;
off               116 compat/vax1k/vax1k_exec.c exec_vax1k_prep_anymagic(p, epp, off)
off               119 compat/vax1k/vax1k_exec.c 	int off;
off               132 compat/vax1k/vax1k_exec.c 	    epp->ep_tsize,  epp->ep_taddr, epp->ep_vp, off,
off                41 crypto/criov.c cuio_copydata(struct uio *uio, int off, int len, caddr_t cp)
off                47 crypto/criov.c 	if (off < 0)
off                48 crypto/criov.c 		panic("cuio_copydata: off %d < 0", off);
off                51 crypto/criov.c 	while (off > 0) {
off                54 crypto/criov.c 		if (off < iov->iov_len)
off                56 crypto/criov.c 		off -= iov->iov_len;
off                63 crypto/criov.c 		count = min(iov->iov_len - off, len);
off                64 crypto/criov.c 		bcopy(((caddr_t)iov->iov_base) + off, cp, count);
off                67 crypto/criov.c 		off = 0;
off                74 crypto/criov.c cuio_copyback(struct uio *uio, int off, int len, const void *_cp)
off                81 crypto/criov.c 	if (off < 0)
off                82 crypto/criov.c 		panic("cuio_copyback: off %d < 0", off);
off                85 crypto/criov.c 	while (off > 0) {
off                88 crypto/criov.c 		if (off < iov->iov_len)
off                90 crypto/criov.c 		off -= iov->iov_len;
off                97 crypto/criov.c 		count = min(iov->iov_len - off, len);
off                98 crypto/criov.c 		bcopy(cp, ((caddr_t)iov->iov_base) + off, count);
off               101 crypto/criov.c 		off = 0;
off               108 crypto/criov.c cuio_getptr(struct uio *uio, int loc, int *off)
off               116 crypto/criov.c 			*off = loc;
off               125 crypto/criov.c 		*off = uio->uio_iov[ind].iov_len;
off               133 crypto/criov.c cuio_apply(struct uio *uio, int off, int len,
off               141 crypto/criov.c 	if (off < 0)
off               142 crypto/criov.c 		panic("cuio_apply: off %d < 0", off);
off               145 crypto/criov.c 	while (off > 0) {
off               150 crypto/criov.c 		if (off < uiolen)
off               152 crypto/criov.c 		off -= uiolen;
off               159 crypto/criov.c 		count = min(uio->uio_iov[ind].iov_len - off, len);
off               161 crypto/criov.c 		rval = f(fstate, (char *)uio->uio_iov[ind].iov_base + off,
off               167 crypto/criov.c 		off = 0;
off               106 crypto/rmd160.c 	u_int32_t have, off, need;
off               111 crypto/rmd160.c 	off = 0;
off               117 crypto/rmd160.c 			off = need;
off               121 crypto/rmd160.c 		while (off + 64 <= len) {
off               122 crypto/rmd160.c 			RMD160Transform(ctx->state, input+off);
off               123 crypto/rmd160.c 			off += 64;
off               126 crypto/rmd160.c 	if (off < len)
off               127 crypto/rmd160.c 		memcpy(ctx->buffer + have, input+off, len-off);
off               189 ddb/db_aout.c  db_aout_search_symbol(db_symtab_t *symtab, db_addr_t off,
off               205 ddb/db_aout.c  		if (off >= sp->n_value) {
off               206 ddb/db_aout.c  			if (off - sp->n_value < diff) {
off               207 ddb/db_aout.c  				diff = off - sp->n_value;
off               214 ddb/db_aout.c  			} else if (off - sp->n_value == diff) {
off               224 ddb/db_aout.c  		*diffp = off;
off               250 ddb/db_aout.c      int *linenum, db_expr_t off)
off               270 ddb/db_aout.c  		if (sp->n_value <= off && (off - sp->n_value) <= sodiff &&
off               281 ddb/db_aout.c  			if (sp->n_value <= off &&
off               282 ddb/db_aout.c  			    (off - sp->n_value) < sodiff) {
off               283 ddb/db_aout.c  				sodiff = off - sp->n_value;
off               292 ddb/db_aout.c  		if (sp->n_value > off)
off               295 ddb/db_aout.c  		if (off - sp->n_value < lndiff) {
off               296 ddb/db_aout.c  			lndiff = off - sp->n_value;
off               656 ddb/db_command.c 	int i, off;
off               661 ddb/db_command.c 	off = msgbufp->msg_bufx;
off               662 ddb/db_command.c 	if (off > msgbufp->msg_bufs)
off               663 ddb/db_command.c 		off = 0;
off               664 ddb/db_command.c 	for (i = 0, p = msgbufp->msg_bufc + off;
off               280 ddb/db_elf.c   db_elf_search_symbol(db_symtab_t *symtab, db_addr_t off, db_strategy_t strategy,
off               301 ddb/db_elf.c   		if (off >= symp->st_value) {
off               302 ddb/db_elf.c   			if ((off - symp->st_value) < diff) {
off               303 ddb/db_elf.c   				diff = off - symp->st_value;
off               317 ddb/db_elf.c   			} else if ((off - symp->st_value) == diff) {
off               332 ddb/db_elf.c   		*diffp = off;
off               367 ddb/db_elf.c       int *linenum, db_expr_t off)
off               513 ddb/db_sym.c   db_printsym(db_expr_t off, db_strategy_t strategy,
off               524 ddb/db_sym.c   	if (off <= db_lastsym) {
off               525 ddb/db_sym.c   		cursym = db_search_symbol(off, strategy, &d);
off               534 ddb/db_sym.c   				if (db_line_at_pc(cursym, &filename, &linenum, off))
off               541 ddb/db_sym.c   	(*pr)("%s", db_format(buf, sizeof(buf), off, DB_FORMAT_N, 1, 0));
off               577 ddb/db_sym.c   X_db_search_symbol(db_symtab_t *stab, db_addr_t off, db_strategy_t strategy,
off               582 ddb/db_sym.c   		return ((*db_symformat->sym_search)(stab, off, strategy,
off               598 ddb/db_sym.c       int *linenum, db_expr_t off)
off               603 ddb/db_sym.c   		    filename, linenum, off));
off               403 dev/acpi/acpidebug.c 	int idx, opcode, len, off=0;
off               476 dev/acpi/acpidebug.c 				off = (opcode != AMLOP_NAMECHAR);
off               479 dev/acpi/acpidebug.c 				db_aml_disline(pos, depth+off, "%s <%s>\n",
off               496 dev/acpi/acpidebug.c 				off = (opcode != AMLOP_BYTEPREFIX);
off               497 dev/acpi/acpidebug.c 				db_aml_disint(scope, AMLOP_BYTEPREFIX, depth+off);
off               500 dev/acpi/acpidebug.c 				off = (opcode != AMLOP_WORDPREFIX);
off               501 dev/acpi/acpidebug.c 				db_aml_disint(scope, AMLOP_WORDPREFIX, depth+off);
off               504 dev/acpi/acpidebug.c 				off = (opcode != AMLOP_DWORDPREFIX);
off               505 dev/acpi/acpidebug.c 				db_aml_disint(scope, AMLOP_DWORDPREFIX, depth+off);
off               521 dev/acpi/acpidebug.c 				off = 0;
off               531 dev/acpi/acpidebug.c 						     off, len);
off               544 dev/acpi/acpidebug.c 						    off, len, aml_getname(name));
off               546 dev/acpi/acpidebug.c 					off += len;
off              3437 dev/acpi/dsdt.c 	int off, rlen;
off              3440 dev/acpi/dsdt.c 	for (off = 0; off < length; off += rlen) {
off              3441 dev/acpi/dsdt.c 		crs = (union acpi_resource *)(buffer+off);
off               754 dev/audio.c    audiommap(dev_t dev, off_t off, int prot)
off               771 dev/audio.c    		ret = audio_mmap(dev, off, prot);
off              1789 dev/audio.c    audio_mmap(dev_t dev, off_t off, int prot)
off              1797 dev/audio.c    	DPRINTF(("audio_mmap: off=%d, prot=%d\n", off, prot));
off              1825 dev/audio.c    	if ((u_int)off >= cb->bufsize)
off              1843 dev/audio.c    	return hw->mappage(sc->hw_hdl, cb->start, off, prot);
off               769 dev/ccd.c      	int ccdisk, ccdisk2, off;
off               803 dev/ccd.c      		off = cbn - ii->ii_startblk;
off               806 dev/ccd.c      			cbn = ii->ii_startoff + off;
off               808 dev/ccd.c      			ccdisk = ii->ii_index[off % ii->ii_ndisk];
off               809 dev/ccd.c      			cbn = ii->ii_startoff + off / ii->ii_ndisk;
off               260 dev/eisa/cac_eisa.c 	u_int32_t off;
off               268 dev/eisa/cac_eisa.c 	off = cac_inl(sc, CAC_EISAREG_COMPLETE_ADDR);
off               272 dev/eisa/cac_eisa.c 	if (off == 0)
off               275 dev/eisa/cac_eisa.c 	off = (off & ~3) - sc->sc_ccbs_paddr;
off               276 dev/eisa/cac_eisa.c 	ccb = (struct cac_ccb *)(sc->sc_ccbs + off);
off               278 dev/eisa/cac_eisa.c 	bus_dmamap_sync(sc->sc_dmat, sc->sc_dmamap, off, sizeof(struct cac_ccb),
off               246 dev/i2o/iop.c  iop_inl(struct iop_softc *sc, int off)
off               249 dev/i2o/iop.c  	bus_space_barrier(sc->sc_iot, sc->sc_ioh, off, 4,
off               251 dev/i2o/iop.c  	return (bus_space_read_4(sc->sc_iot, sc->sc_ioh, off));
off               255 dev/i2o/iop.c  iop_outl(struct iop_softc *sc, int off, u_int32_t val)
off               258 dev/i2o/iop.c  	bus_space_write_4(sc->sc_iot, sc->sc_ioh, off, val);
off               259 dev/i2o/iop.c  	bus_space_barrier(sc->sc_iot, sc->sc_ioh, off, 4,
off              1464 dev/i2o/iop.c  	u_int off, ictx, tctx, status, size;
off              1466 dev/i2o/iop.c  	off = (int)(rmfa - sc->sc_rep_phys);
off              1467 dev/i2o/iop.c  	rb = (struct i2o_reply *)(sc->sc_rep + off);
off              1470 dev/i2o/iop.c  	bus_dmamap_sync(sc->sc_dmat, sc->sc_rep_dmamap, off,
off              1700 dev/i2o/iop.c  	u_int rv, i, nsegs, flg, off, xn;
off              1735 dev/i2o/iop.c  	off = mb[0] >> 16;
off              1736 dev/i2o/iop.c  	p = mb + off;
off              1737 dev/i2o/iop.c  	nsegs = ((IOP_MAX_MSG_SIZE / sizeof *mb) - off) >> 1;
off              1802 dev/i2o/iop.c  	u_int rv, i, nsegs, off, slen, tlen, flg;
off              1821 dev/i2o/iop.c  	off = mb[0] >> 16;
off              1822 dev/i2o/iop.c  	nsegs = ((IOP_MAX_MSG_SIZE / 4) - off) >> 1;
off              1831 dev/i2o/iop.c  		p = mb + off + 1;
off              1848 dev/i2o/iop.c  		mb[off] = xfersize | I2O_SGL_PAGE_LIST | I2O_SGL_END_BUFFER |
off              1851 dev/i2o/iop.c  			mb[off] |= I2O_SGL_DATA_OUT;
off              1853 dev/i2o/iop.c  		p = mb + off;
off              1883 dev/i2o/iop.c  	mb[0] += ((off << 4) + (nsegs << 16));
off              2489 dev/ic/aac.c   	long off;
off              2500 dev/ic/aac.c   	for (off = PAGE_SIZE, pa = vtophys(buf); off < bp->b_bcount;
off              2501 dev/ic/aac.c   	    off += PAGE_SIZE)
off              2502 dev/ic/aac.c   		if (pa + off != vtophys(buf + off)) {
off              2503 dev/ic/aac.c   			bp->b_bcount = off;
off              2412 dev/ic/acx.c   	int off;
off              2425 dev/ic/acx.c   	off = sizeof(struct ieee80211_frame) + 8 + 2 + 2;
off              2427 dev/ic/acx.c   	for (; off + 1 < m->m_len; off += frm[off + 1] + 2) {
off              2428 dev/ic/acx.c   		if (frm[off] == type)
off              2429 dev/ic/acx.c   			return (off);
off              2442 dev/ic/acx.c   	int len, off;
off              2451 dev/ic/acx.c   	off = acx_beacon_locate(m, IEEE80211_ELEMID_TIM);
off              2453 dev/ic/acx.c   	m_copydata(m, 0, off, (caddr_t)&beacon.data);
off              2454 dev/ic/acx.c   	len = off + sizeof(beacon.size);
off              2461 dev/ic/acx.c   	len = m->m_pkthdr.len - off;
off              2468 dev/ic/acx.c   	m_copydata(m, off, len, (caddr_t)&tim.data);
off                98 dev/ic/acxvar.h #define DESC_WRITE_REGION_1(sc, off, d, dlen)				\
off               100 dev/ic/acxvar.h 				 (off),	(const uint8_t *)(d), (dlen))
off               135 dev/ic/am79c930.c static void io_write_1 (sc, off, val)
off               137 dev/ic/am79c930.c 	u_int32_t off;
off               142 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               144 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_LMA_LO, (off&0xff));
off               150 dev/ic/am79c930.c static void io_write_2 (sc, off, val)
off               152 dev/ic/am79c930.c 	u_int32_t off;
off               157 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               159 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot,sc->sc_ioh,AM79C930_LMA_LO, (off&0xff));
off               167 dev/ic/am79c930.c static void io_write_4 (sc, off, val)
off               169 dev/ic/am79c930.c 	u_int32_t off;
off               174 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               176 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot,sc->sc_ioh,AM79C930_LMA_LO, (off&0xff));
off               188 dev/ic/am79c930.c static void io_write_bytes (sc, off, ptr, len)
off               190 dev/ic/am79c930.c 	u_int32_t off;
off               198 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               200 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot,sc->sc_ioh,AM79C930_LMA_LO, (off&0xff));
off               206 dev/ic/am79c930.c static u_int8_t io_read_1 (sc, off)
off               208 dev/ic/am79c930.c 	u_int32_t off;
off               213 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               215 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_LMA_LO, (off&0xff));
off               222 dev/ic/am79c930.c static u_int16_t io_read_2 (sc, off)
off               224 dev/ic/am79c930.c 	u_int32_t off;
off               229 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               231 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_LMA_LO, (off&0xff));
off               240 dev/ic/am79c930.c static u_int32_t io_read_4 (sc, off)
off               242 dev/ic/am79c930.c 	u_int32_t off;
off               247 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               249 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_LMA_LO, (off&0xff));
off               262 dev/ic/am79c930.c static void io_read_bytes (sc, off, ptr, len)
off               264 dev/ic/am79c930.c 	u_int32_t off;
off               271 dev/ic/am79c930.c 	    ((off>>8)& 0x7f));
off               273 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_iot, sc->sc_ioh, AM79C930_LMA_LO, (off&0xff));
off               280 dev/ic/am79c930.c static void mem_write_1 (sc, off, val)
off               282 dev/ic/am79c930.c 	u_int32_t off;
off               285 dev/ic/am79c930.c 	bus_space_write_1(sc->sc_memt, sc->sc_memh, off, val);
off               288 dev/ic/am79c930.c static void mem_write_2 (sc, off, val)
off               290 dev/ic/am79c930.c 	u_int32_t off;
off               297 dev/ic/am79c930.c 	if ((off & 0x1) == 0)
off               298 dev/ic/am79c930.c 		bus_space_write_2(t, h, off,    val);
off               300 dev/ic/am79c930.c 		bus_space_write_1(t, h, off,    val        & 0xff);
off               301 dev/ic/am79c930.c 		bus_space_write_1(t, h, off+1, (val >>  8) & 0xff);
off               305 dev/ic/am79c930.c static void mem_write_4 (sc, off, val)
off               307 dev/ic/am79c930.c 	u_int32_t off;
off               314 dev/ic/am79c930.c 	if ((off & 0x3) == 0)
off               315 dev/ic/am79c930.c 		bus_space_write_4(t, h, off,    val);
off               317 dev/ic/am79c930.c 		bus_space_write_1(t, h, off,    val        & 0xff);
off               318 dev/ic/am79c930.c 		bus_space_write_1(t, h, off+1, (val >>  8) & 0xff);
off               319 dev/ic/am79c930.c 		bus_space_write_1(t, h, off+2, (val >> 16) & 0xff);
off               320 dev/ic/am79c930.c 		bus_space_write_1(t, h, off+3, (val >> 24) & 0xff);
off               324 dev/ic/am79c930.c static void mem_write_bytes (sc, off, ptr, len)
off               326 dev/ic/am79c930.c 	u_int32_t off;
off               330 dev/ic/am79c930.c 	bus_space_write_region_1 (sc->sc_memt, sc->sc_memh, off, ptr, len);
off               334 dev/ic/am79c930.c static u_int8_t mem_read_1 (sc, off)
off               336 dev/ic/am79c930.c 	u_int32_t off;
off               338 dev/ic/am79c930.c 	return bus_space_read_1(sc->sc_memt, sc->sc_memh, off);
off               341 dev/ic/am79c930.c static u_int16_t mem_read_2 (sc, off)
off               343 dev/ic/am79c930.c 	u_int32_t off;
off               346 dev/ic/am79c930.c 	if ((off & 0x1) == 0)
off               347 dev/ic/am79c930.c 		return bus_space_read_2(sc->sc_memt, sc->sc_memh, off);
off               350 dev/ic/am79c930.c 		     bus_space_read_1(sc->sc_memt, sc->sc_memh, off  )       |
off               351 dev/ic/am79c930.c 		    (bus_space_read_1(sc->sc_memt, sc->sc_memh, off+1) << 8);
off               354 dev/ic/am79c930.c static u_int32_t mem_read_4 (sc, off)
off               356 dev/ic/am79c930.c 	u_int32_t off;
off               359 dev/ic/am79c930.c 	if ((off & 0x3) == 0)
off               360 dev/ic/am79c930.c 		return bus_space_read_4(sc->sc_memt, sc->sc_memh, off);
off               363 dev/ic/am79c930.c 		     bus_space_read_1(sc->sc_memt, sc->sc_memh, off  )       |
off               364 dev/ic/am79c930.c 		    (bus_space_read_1(sc->sc_memt, sc->sc_memh, off+1) << 8) |
off               365 dev/ic/am79c930.c 		    (bus_space_read_1(sc->sc_memt, sc->sc_memh, off+2) <<16) |
off               366 dev/ic/am79c930.c 		    (bus_space_read_1(sc->sc_memt, sc->sc_memh, off+3) <<24);
off               371 dev/ic/am79c930.c static void mem_read_bytes (sc, off, ptr, len)
off               373 dev/ic/am79c930.c 	u_int32_t off;
off               377 dev/ic/am79c930.c 	bus_space_read_region_1 (sc->sc_memt, sc->sc_memh, off, ptr, len);
off              1867 dev/ic/ami.c   	int off;
off              1897 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
off              1901 dev/ic/ami.c   				if (!plist[off]) {
off              1902 dev/ic/ami.c   					plist[off] = 1;
off              1949 dev/ic/ami.c   	int i, s, t, off;
off              1963 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
off              1967 dev/ic/ami.c   				if (!plist[off])
off              1968 dev/ic/ami.c   					plist[off] = 1;
off              2024 dev/ic/ami.c   	int i, s, t, off;
off              2038 dev/ic/ami.c   				off = p->ald[i].asp[s].adv[t].add_channel *
off              2042 dev/ic/ami.c   				if (!plist[off])
off              2043 dev/ic/ami.c   					plist[off] = 1;
off              2123 dev/ic/ami.c   	int i, s, t, off;
off              2178 dev/ic/ami.c   			off = p->ald[i].asp[s].adv[t].add_channel *
off              2182 dev/ic/ami.c   			if (p->apd[off].adp_ostatus != AMI_PD_RBLD)
off              2247 dev/ic/ami.c   	int off;
off              2273 dev/ic/ami.c   			off = p->ald[i].asp[s].adv[t].add_channel *
off              2277 dev/ic/ami.c   			switch (p->apd[off].adp_ostatus) {
off              2302 dev/ic/ami.c   			bd->bd_size = (u_quad_t)p->apd[off].adp_size *
off              2394 dev/ic/ami.c   	int func, off, error;
off              2406 dev/ic/ami.c   		off = bs->bs_channel * AMI_MAX_TARGET + bs->bs_target;
off               364 dev/ic/an.c    	int fid, gaplen, len, off;
off               389 dev/ic/an.c    	off = ALIGN(sizeof(struct ieee80211_frame));
off               391 dev/ic/an.c    	if (off + len > MCLBYTES) {
off               408 dev/ic/an.c    	if (off + len + AN_GAPLEN_MAX > MHLEN) {
off               418 dev/ic/an.c    	m->m_data += off - sizeof(struct ieee80211_frame);
off               700 dev/ic/an.c    an_read_bap(struct an_softc *sc, int id, int off, void *buf, int len, int blen)
off               706 dev/ic/an.c    	if (off == -1)
off               707 dev/ic/an.c    		off = sc->sc_bap_off;
off               708 dev/ic/an.c    	if (id != sc->sc_bap_id || off != sc->sc_bap_off) {
off               709 dev/ic/an.c    		if ((error = an_seek_bap(sc, id, off)) != 0)
off               723 dev/ic/an.c    an_write_bap(struct an_softc *sc, int id, int off, void *buf, int buflen)
off               729 dev/ic/an.c    	if (off == -1)
off               730 dev/ic/an.c    		off = sc->sc_bap_off;
off               731 dev/ic/an.c    	if (id != sc->sc_bap_id || off != sc->sc_bap_off) {
off               732 dev/ic/an.c    		if ((error = an_seek_bap(sc, id, off)) != 0)
off               743 dev/ic/an.c    an_seek_bap(struct an_softc *sc, int id, int off)
off               748 dev/ic/an.c    	CSR_WRITE_2(sc, AN_OFF0, off);
off               756 dev/ic/an.c    			    sc->sc_dev.dv_xname, id, off);
off               764 dev/ic/an.c    		    sc->sc_dev.dv_xname, id, off);
off               769 dev/ic/an.c    	sc->sc_bap_off = off;
off               774 dev/ic/an.c    an_mwrite_bap(struct an_softc *sc, int id, int off, struct mbuf *m, int totlen)
off               778 dev/ic/an.c    	if (off == -1)
off               779 dev/ic/an.c    		off = sc->sc_bap_off;
off               780 dev/ic/an.c    	if (id != sc->sc_bap_id || off != sc->sc_bap_off) {
off               781 dev/ic/an.c    		if ((error = an_seek_bap(sc, id, off)) != 0)
off               796 dev/ic/an.c    			off += cnt * 2;
off               803 dev/ic/an.c    		off += len;
off               806 dev/ic/an.c    	sc->sc_bap_off = off;
off               440 dev/ic/ar5212.c 	u_int i, phy, mode, freq, off, ee_mode, ant[2];
off               524 dev/ic/ar5212.c 			off = AR5K_INI_PHY_511X;
off               527 dev/ic/ar5212.c 			off = AR5K_INI_PHY_5111;
off               530 dev/ic/ar5212.c 			off = AR5K_INI_PHY_5112;
off               536 dev/ic/ar5212.c 		    ar5212_mode[i].mode_value[off][mode]);
off               180 dev/ic/awi.c   static struct mbuf * awi_devget(struct awi_softc *sc, u_int32_t off, u_int16_t len);
off              1159 dev/ic/awi.c   		int off, oldmlen;
off              1163 dev/ic/awi.c   		off = 0;
off              1165 dev/ic/awi.c   		while (oldmlen > off) {
off              1183 dev/ic/awi.c   			if (oldmlen - off >= MINCLSIZE) {
off              1196 dev/ic/awi.c   			if (n->m_len > oldmlen - off)
off              1197 dev/ic/awi.c   				n->m_len = oldmlen - off;
off              1198 dev/ic/awi.c   			m_copydata(m0, off, n->m_len, mtod(n, caddr_t));
off              1199 dev/ic/awi.c   			off += n->m_len;
off              1364 dev/ic/awi.c   awi_devget(sc, off, len)
off              1366 dev/ic/awi.c   	u_int32_t off;
off              1392 dev/ic/awi.c   		awi_read_bytes(sc, off, mtod(m, u_int8_t *) + m->m_len, tlen);
off              1393 dev/ic/awi.c   		off += tlen;
off              1429 dev/ic/awi.c   		awi_read_bytes(sc, off, mtod(m, u_int8_t *), m->m_len);
off              1430 dev/ic/awi.c   		off += m->m_len;
off               171 dev/ic/awivar.h #define awi_read_1(sc, off) ((sc)->sc_chip.sc_ops->read_1)(&sc->sc_chip, off)
off               172 dev/ic/awivar.h #define awi_read_2(sc, off) ((sc)->sc_chip.sc_ops->read_2)(&sc->sc_chip, off)
off               173 dev/ic/awivar.h #define awi_read_4(sc, off) ((sc)->sc_chip.sc_ops->read_4)(&sc->sc_chip, off)
off               174 dev/ic/awivar.h #define awi_read_bytes(sc, off, ptr, len) ((sc)->sc_chip.sc_ops->read_bytes)(&sc->sc_chip, off, ptr, len)
off               176 dev/ic/awivar.h #define awi_write_1(sc, off, val) \
off               177 dev/ic/awivar.h 	((sc)->sc_chip.sc_ops->write_1)(&sc->sc_chip, off, val)
off               178 dev/ic/awivar.h #define awi_write_2(sc, off, val) \
off               179 dev/ic/awivar.h 	((sc)->sc_chip.sc_ops->write_2)(&sc->sc_chip, off, val)
off               180 dev/ic/awivar.h #define awi_write_4(sc, off, val) \
off               181 dev/ic/awivar.h 	((sc)->sc_chip.sc_ops->write_4)(&sc->sc_chip, off, val)
off               182 dev/ic/awivar.h #define awi_write_bytes(sc, off, ptr, len) \
off               183 dev/ic/awivar.h 	((sc)->sc_chip.sc_ops->write_bytes)(&sc->sc_chip, off, ptr, len)
off               748 dev/ic/cac.c   	paddr_t off;
off               750 dev/ic/cac.c   	if (!(off = cac_inl(sc, CAC_REG_DONE_FIFO)))
off               753 dev/ic/cac.c   	printf("compl-%x ", off);
off               755 dev/ic/cac.c   	if (off & 3 && ccb->ccb_req.error == 0)
off               758 dev/ic/cac.c   	off = (off & ~3) - sc->sc_ccbs_paddr;
off               759 dev/ic/cac.c   	ccb = (struct cac_ccb *)(sc->sc_ccbs + off);
off               449 dev/ic/dc.c    void dc_read_eeprom(sc, dest, off, cnt, swap)
off               452 dev/ic/dc.c    	int off, cnt, swap;
off               459 dev/ic/dc.c    			dc_eeprom_getword_pnic(sc, off + i, &word);
off               461 dev/ic/dc.c    			dc_eeprom_getword_xircom(sc, off + i, &word);
off               463 dev/ic/dc.c    			dc_eeprom_getword(sc, off + i, &word);
off               368 dev/ic/i82596.c 	int i, off;
off               372 dev/ic/i82596.c 		off = IE_SCB_CMD(sc->scb);
off               373 dev/ic/i82596.c 		bus_space_barrier(sc->bt, sc->bh, off, 2,
off               375 dev/ic/i82596.c 		if ((sc->ie_bus_read16)(sc, off) == 0) {
off               413 dev/ic/i82596.c 	int i, off;
off               430 dev/ic/i82596.c 	off = IE_SCB_CMD(sc->scb);
off               431 dev/ic/i82596.c 	(sc->ie_bus_write16)(sc, off, cmd);
off               432 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_WRITE);
off               450 dev/ic/i82596.c 			off = IE_CMD_COMMON_STATUS(iecmdbuf);
off               451 dev/ic/i82596.c 			bus_space_barrier(sc->bt, sc->bh, off, 2,
off               453 dev/ic/i82596.c 			status = (sc->ie_bus_read16)(sc, off);
off               513 dev/ic/i82596.c 	register int off;
off               515 dev/ic/i82596.c 	off = IE_SCB_STATUS(sc->scb);
off               516 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_READ);
off               517 dev/ic/i82596.c 	status = sc->ie_bus_read16(sc, off) /* & IE_ST_WHENCE */;
off               564 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_READ);
off               565 dev/ic/i82596.c 	status = sc->ie_bus_read16(sc, off);
off               589 dev/ic/i82596.c 	register int i, status, off;
off               601 dev/ic/i82596.c 		off = IE_RFRAME_STATUS(sc->rframes, i);
off               602 dev/ic/i82596.c 		bus_space_barrier(sc->bt, sc->bh, off, 2,
off               604 dev/ic/i82596.c 		status = sc->ie_bus_read16(sc, off);
off               646 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, 0);
off               649 dev/ic/i82596.c 		off = IE_RFRAME_LAST(sc->rframes, i);
off               650 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, IE_FD_EOL|IE_FD_SUSP);
off               653 dev/ic/i82596.c 		off = IE_RFRAME_BUFDESC(sc->rframes, i);
off               654 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, 0xffff);
off               657 dev/ic/i82596.c 		off = IE_RFRAME_LAST(sc->rframes, sc->rftail);
off               658 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, 0);
off               744 dev/ic/i82596.c 	register int off, status;
off               759 dev/ic/i82596.c 	off = IE_CMD_XMIT_STATUS(sc->xmit_cmds, sc->xctail);
off               760 dev/ic/i82596.c 	status = sc->ie_bus_read16(sc, off);
off               832 dev/ic/i82596.c 	int	off, rbbase = sc->rbds;
off               840 dev/ic/i82596.c 		off = IE_RBD_STATUS(rbbase, rbindex);
off               841 dev/ic/i82596.c 		bus_space_barrier(sc->bt, sc->bh, off, 2,
off               843 dev/ic/i82596.c 		rbdstatus = sc->ie_bus_read16(sc, off);
off               879 dev/ic/i82596.c 	register int	off, rbbase = sc->rbds;
off               884 dev/ic/i82596.c 		off = IE_RBD_STATUS(rbbase, rbindex);
off               885 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, 0);
off               892 dev/ic/i82596.c 	off = IE_RBD_BUFLEN(rbbase, rbindex);
off               893 dev/ic/i82596.c 	sc->ie_bus_write16(sc, off, IE_RBUF_SIZE|IE_RBD_EOL);
off               896 dev/ic/i82596.c 	off = IE_RBD_BUFLEN(rbbase, sc->rbtail);
off               897 dev/ic/i82596.c 	sc->ie_bus_write16(sc, off, IE_RBUF_SIZE);
off               937 dev/ic/i82596.c 	int n, off, val;
off               940 dev/ic/i82596.c 		off = IE_RBD_BUFLEN(sc->rbds, n);
off               941 dev/ic/i82596.c 		val = sc->ie_bus_read16(sc, off);
off               954 dev/ic/i82596.c 		off = IE_RFRAME_LAST(sc->rframes, n);
off               955 dev/ic/i82596.c 		val = sc->ie_bus_read16(sc, off);
off               982 dev/ic/i82596.c 	int off, len, resid;
off              1055 dev/ic/i82596.c 		off = IE_RBUF_ADDR(sc,head) + thisrboff;
off              1056 dev/ic/i82596.c 		(sc->memcopyin)(sc, mtod(m, caddr_t) + thismboff, off, len);
off              1150 dev/ic/i82596.c 	int off, cur, prev;
off              1191 dev/ic/i82596.c 		off = IE_SCB_STATUS(sc->scb);
off              1192 dev/ic/i82596.c 		bus_space_barrier(sc->bt, sc->bh, off, 2,
off              1194 dev/ic/i82596.c 		if ((sc->ie_bus_read16(sc, off) & IE_CUS_ACTIVE) == 0) {
off              1205 dev/ic/i82596.c 		off = IE_SCB_CMDLST(sc->scb);
off              1206 dev/ic/i82596.c 		sc->ie_bus_write16(sc, off, IE_CMD_XMIT_ADDR(sc->xmit_cmds, cur));
off              1207 dev/ic/i82596.c 		bus_space_barrier(sc->bt, sc->bh, off, 2,
off              1336 dev/ic/i82596.c 	int result, off;
off              1339 dev/ic/i82596.c 	off = IE_SCP_BUS_USE(sc->scp);
off              1340 dev/ic/i82596.c 	(sc->ie_bus_write16)(sc, off, 0);
off              1341 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_WRITE);
off              1344 dev/ic/i82596.c 	off = IE_ISCP_BUSY(sc->iscp);
off              1345 dev/ic/i82596.c 	(sc->ie_bus_write16)(sc, off, 1);
off              1346 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_WRITE);
off              1356 dev/ic/i82596.c 	off = IE_ISCP_BUSY(sc->iscp);
off              1357 dev/ic/i82596.c 	bus_space_barrier(sc->bt, sc->bh, off, 1, BUS_SPACE_BARRIER_READ);
off              1358 dev/ic/i82596.c 	result = (sc->ie_bus_read16)(sc, off) == 0;
off               299 dev/ic/i82596var.h 	int off = IE_SCB_STATUS(sc->scb);
off               301 dev/ic/i82596var.h 	bus_space_barrier(sc->bt, sc->bh, off, 2, BUS_SPACE_BARRIER_READ);
off               302 dev/ic/i82596var.h 	status = (sc->ie_bus_read16)(sc, off);
off              1274 dev/ic/if_wi.c wi_seek(struct wi_softc *sc, int id, int off, int chan)
off              1295 dev/ic/if_wi.c 	CSR_WRITE_2(sc, offreg, off);
off              1308 dev/ic/if_wi.c wi_read_data_io(struct wi_softc *sc, int id, int off, caddr_t buf, int len)
off              1312 dev/ic/if_wi.c 	if (wi_seek(sc, id, off, WI_BAP1))
off              1334 dev/ic/if_wi.c wi_write_data_io(struct wi_softc *sc, int id, int off, caddr_t buf, int len)
off              1342 dev/ic/if_wi.c 	if (wi_seek(sc, id, off, WI_BAP0))
off              1352 dev/ic/if_wi.c 	if (wi_seek(sc, id, off + len, WI_BAP0))
off               154 dev/ic/if_wivar.h 	int (*f_read_data)(struct wi_softc *sc, int id, int off,
off               156 dev/ic/if_wivar.h 	int (*f_write_data)(struct wi_softc *sc, int id, int off,
off              5763 dev/ic/isp.c   		u_int8_t off, per;
off              5776 dev/ic/isp.c   			off = ISP_80M_SYNCPARMS >> 8;
off              5779 dev/ic/isp.c   			off = ISP_40M_SYNCPARMS >> 8;
off              5782 dev/ic/isp.c   			off = ISP_20M_SYNCPARMS >> 8;
off              5790 dev/ic/isp.c   			off = ISP_10M_SYNCPARMS >> 8;
off              5793 dev/ic/isp.c   			off = ISP_20M_SYNCPARMS_1040 >> 8;
off              5797 dev/ic/isp.c   		    sdp->isp_devparam[tgt].nvrm_offset = off;
off               176 dev/ic/isp_inline.h 	int off;
off               180 dev/ic/isp_inline.h 	off = 0;
off               182 dev/ic/isp_inline.h 	while (off < amt) {
off               184 dev/ic/isp_inline.h 		to = off;
off               186 dev/ic/isp_inline.h 			SNPRINTF(buf, 128, "%s %02x", buf, ptr[off++] & 0xff);
off               187 dev/ic/isp_inline.h 			if (off == amt)
off               143 dev/ic/isp_openbsd.h 	off_t off = (off_t) offset * QENTRY_LEN;		\
off               145 dev/ic/isp_openbsd.h 	    off, size, BUS_DMASYNC_PREWRITE);			\
off               150 dev/ic/isp_openbsd.h 	off_t off = (off_t) offset * QENTRY_LEN;		\
off               152 dev/ic/isp_openbsd.h 	    off, size, BUS_DMASYNC_POSTREAD);			\
off               157 dev/ic/isp_openbsd.h 	off_t off = (off_t) offset;				\
off               159 dev/ic/isp_openbsd.h 	    off, size, BUS_DMASYNC_PREWRITE);			\
off               164 dev/ic/isp_openbsd.h 	off_t off = (off_t) offset;				\
off               166 dev/ic/isp_openbsd.h 	    off, size, BUS_DMASYNC_POSTREAD);			\
off               115 dev/ic/lpt.c   lpt_port_test(iot, ioh, base, off, data, mask)
off               119 dev/ic/lpt.c   	bus_size_t off;
off               126 dev/ic/lpt.c   	bus_space_write_1(iot, ioh, off, data);
off               130 dev/ic/lpt.c   		temp = bus_space_read_1(iot, ioh, off) & mask;
off               132 dev/ic/lpt.c   	LPRINTF(("lpt: port=0x%x out=0x%x in=0x%x timeout=%d\n", base + off,
off               222 dev/ic/malo.c  #define malo_mem_write4(sc, off, x) \
off               223 dev/ic/malo.c  	bus_space_write_4((sc)->sc_mem1_bt, (sc)->sc_mem1_bh, (off), (x))
off               224 dev/ic/malo.c  #define malo_mem_write2(sc, off, x) \
off               225 dev/ic/malo.c  	bus_space_write_2((sc)->sc_mem1_bt, (sc)->sc_mem1_bh, (off), (x))
off               226 dev/ic/malo.c  #define malo_mem_write1(sc, off, x) \
off               227 dev/ic/malo.c  	bus_space_write_1((sc)->sc_mem1_bt, (sc)->sc_mem1_bh, (off), (x))
off               229 dev/ic/malo.c  #define malo_mem_read4(sc, off) \
off               230 dev/ic/malo.c  	bus_space_read_4((sc)->sc_mem1_bt, (sc)->sc_mem1_bh, (off))
off               231 dev/ic/malo.c  #define malo_mem_read1(sc, off) \
off               232 dev/ic/malo.c  	bus_space_read_1((sc)->sc_mem1_bt, (sc)->sc_mem1_bh, (off))
off               234 dev/ic/malo.c  #define malo_ctl_write4(sc, off, x) \
off               235 dev/ic/malo.c  	bus_space_write_4((sc)->sc_mem2_bt, (sc)->sc_mem2_bh, (off), (x))
off               236 dev/ic/malo.c  #define malo_ctl_read4(sc, off) \
off               237 dev/ic/malo.c  	bus_space_read_4((sc)->sc_mem2_bt, (sc)->sc_mem2_bh, (off))
off               238 dev/ic/malo.c  #define malo_ctl_read1(sc, off) \
off               239 dev/ic/malo.c  	bus_space_read_1((sc)->sc_mem2_bt, (sc)->sc_mem2_bh, (off))
off              1685 dev/ic/midway.c   int off;
off              1697 dev/ic/midway.c   off = ((unsigned long) d) % sizeof(u_int32_t);
off              1699 dev/ic/midway.c   if (off) {
off              1701 dev/ic/midway.c       bcopy(d, d - off, m->m_len);   /* ALIGN! (with costly data copy...) */
off              1702 dev/ic/midway.c       d -= off;
off              1727 dev/ic/midway.c   off = m->m_len % sizeof(u_int32_t);
off              1728 dev/ic/midway.c   if (off == 0)
off              1732 dev/ic/midway.c   off = sizeof(u_int32_t) - off;
off              1735 dev/ic/midway.c   while (off--) {
off               459 dev/ic/oosiop.c 	int i, n, off;
off               464 dev/ic/oosiop.c 	off = cb->curdp;
off               469 dev/ic/oosiop.c 			if (off < cb->datadma->dm_segs[i].ds_len)
off               471 dev/ic/oosiop.c 			off -= cb->datadma->dm_segs[i].ds_len;
off               480 dev/ic/oosiop.c 				    (cb->datadma->dm_segs[i].ds_len - off));
off               483 dev/ic/oosiop.c 				    off);
off               486 dev/ic/oosiop.c 				off = 0;
off               497 dev/ic/oosiop.c 				    (cb->datadma->dm_segs[i].ds_len - off));
off               500 dev/ic/oosiop.c 				    off);
off               503 dev/ic/oosiop.c 				off = 0;
off                61 dev/ic/pcdisplay_subr.c 	int off;
off                75 dev/ic/pcdisplay_subr.c 		off = (scr->vc_crow * scr->type->ncols + scr->vc_ccol) * 2 +
off                78 dev/ic/pcdisplay_subr.c 		scr->cursortmp = bus_space_read_2(memt, memh, off);
off                79 dev/ic/pcdisplay_subr.c 		bus_space_write_2(memt, memh, off, scr->cursortmp ^ 0x7700);
off                95 dev/ic/pcdisplay_subr.c 	int off;
off                99 dev/ic/pcdisplay_subr.c 		off = scr->vc_crow * scr->type->ncols + scr->vc_ccol;
off               101 dev/ic/pcdisplay_subr.c 			bus_space_write_2(memt, memh, scr->dispoffset + off * 2,
off               104 dev/ic/pcdisplay_subr.c 			scr->mem[off] = scr->cursortmp;
off               113 dev/ic/pcdisplay_subr.c 	off = (scr->vc_crow * scr->type->ncols + scr->vc_ccol);
off               115 dev/ic/pcdisplay_subr.c 		off = off * 2 + scr->dispoffset;
off               116 dev/ic/pcdisplay_subr.c 		scr->cursortmp = bus_space_read_2(memt, memh, off);
off               117 dev/ic/pcdisplay_subr.c 		bus_space_write_2(memt, memh, off, scr->cursortmp ^ 0x7700);
off               119 dev/ic/pcdisplay_subr.c 		scr->cursortmp = scr->mem[off];
off               120 dev/ic/pcdisplay_subr.c 		scr->mem[off] = scr->cursortmp ^ 0x7700;
off               166 dev/ic/pcdisplay_subr.c 	int off;
off               168 dev/ic/pcdisplay_subr.c 	off = row * scr->type->ncols + col;
off               171 dev/ic/pcdisplay_subr.c 		bus_space_write_2(memt, memh, scr->dispoffset + off * 2,
off               174 dev/ic/pcdisplay_subr.c 		scr->mem[off] = c | (attr << 8);
off               186 dev/ic/pcdisplay_subr.c 	int off;
off               189 dev/ic/pcdisplay_subr.c 	off = row * scr->type->ncols + col;
off               194 dev/ic/pcdisplay_subr.c 					scr->dispoffset + off * 2));
off               196 dev/ic/pcdisplay_subr.c 		data = (scr->mem[off]);
off               236 dev/ic/pcdisplay_subr.c 	bus_size_t off;
off               240 dev/ic/pcdisplay_subr.c 	off = row * scr->type->ncols + startcol;
off               245 dev/ic/pcdisplay_subr.c 		bus_space_set_region_2(memt, memh, scr->dispoffset + off * 2,
off               249 dev/ic/pcdisplay_subr.c 			scr->mem[off + i] = val;
off               285 dev/ic/pcdisplay_subr.c 	bus_size_t off, count, n;
off               288 dev/ic/pcdisplay_subr.c 	off = startrow * scr->type->ncols;
off               294 dev/ic/pcdisplay_subr.c 		bus_space_set_region_2(memt, memh, scr->dispoffset + off * 2,
off               298 dev/ic/pcdisplay_subr.c 			scr->mem[off + n] = val;
off               302 dev/ic/re.c    re_read_eeprom(struct rl_softc *sc, caddr_t dest, int off, int cnt)
off               313 dev/ic/re.c    		re_eeprom_getword(sc, off + i, &word);
off               243 dev/ic/rtl81x9.c void rl_read_eeprom(sc, dest, off, addr_len, cnt, swap)
off               246 dev/ic/rtl81x9.c 	int			off;
off               255 dev/ic/rtl81x9.c 		rl_eeprom_getword(sc, off + i, addr_len, &word);
off              5133 dev/ic/rtw.c   rtw_read8(void *arg, u_int32_t off)
off              5136 dev/ic/rtw.c   	return (bus_space_read_1(regs->r_bt, regs->r_bh, off));
off              5140 dev/ic/rtw.c   rtw_read16(void *arg, u_int32_t off)
off              5143 dev/ic/rtw.c   	return (bus_space_read_2(regs->r_bt, regs->r_bh, off));
off              5147 dev/ic/rtw.c   rtw_read32(void *arg, u_int32_t off)
off              5150 dev/ic/rtw.c   	return (bus_space_read_4(regs->r_bt, regs->r_bh, off));
off              5154 dev/ic/rtw.c   rtw_write8(void *arg, u_int32_t off, u_int8_t val)
off              5157 dev/ic/rtw.c   	bus_space_write_1(regs->r_bt, regs->r_bh, off, val);
off              5161 dev/ic/rtw.c   rtw_write16(void *arg, u_int32_t off, u_int16_t val)
off              5164 dev/ic/rtw.c   	bus_space_write_2(regs->r_bt, regs->r_bh, off, val);
off              5168 dev/ic/rtw.c   rtw_write32(void *arg, u_int32_t off, u_int32_t val)
off              5171 dev/ic/rtw.c   	bus_space_write_4(regs->r_bt, regs->r_bh, off, val);
off              1788 dev/ic/siop.c  	int error, off, i, j, s;
off              1859 dev/ic/siop.c  	off = (sc->sc_c.features & SF_CHIP_BE) ? 3 : 0;
off              1882 dev/ic/siop.c  		    dsa + offsetof(struct siop_common_xfer, status) + off);
off              1514 dev/ic/wdc.c   	unsigned int off = 0;
off              1521 dev/ic/wdc.c   		    (void *)((u_int8_t *)bytes + off), roundlen);
off              1523 dev/ic/wdc.c   		off += roundlen;
off              1531 dev/ic/wdc.c   		    (void *)((u_int8_t *)bytes + off), roundlen);
off              1542 dev/ic/wdc.c   	unsigned int off = 0;
off              1549 dev/ic/wdc.c   		    (void *)((u_int8_t *)bytes + off), roundlen);
off              1551 dev/ic/wdc.c   		off += roundlen;
off              1559 dev/ic/wdc.c   		    (void *)((u_int8_t *)bytes + off), roundlen);
off               520 dev/ic/xl.c    xl_read_eeprom(struct xl_softc *sc, caddr_t dest, int off, int cnt, int swap)
off               536 dev/ic/xl.c    		off += 0x30;
off               541 dev/ic/xl.c    			    XL_EE_8BIT_READ | EEPROM_8BIT_OFFSET(off + i));
off               544 dev/ic/xl.c    			    XL_EE_READ | EEPROM_5BIT_OFFSET(off + i));
off              1681 dev/isa/ad1848.c ad1848_mappage(addr, mem, off, prot)
off              1684 dev/isa/ad1848.c         off_t off;
off              1687 dev/isa/ad1848.c 	return isa_mappage(mem, off, prot);
off               312 dev/isa/aztech.c az_lm700x_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               320 dev/isa/aztech.c az_lm700x_rset(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               323 dev/isa/aztech.c 	bus_space_write_1(iot, ioh, off, data);
off              2235 dev/isa/ess.c  ess_mappage(addr, mem, off, prot)
off              2238 dev/isa/ess.c  	off_t off;
off              2241 dev/isa/ess.c  	return (isa_mappage(mem, off, prot));
off               300 dev/isa/if_el.c 	int s, i, off, retries;
off               337 dev/isa/if_el.c 		off = EL_BUFSIZ - max(m0->m_pkthdr.len, ETHER_MIN_LEN);
off               338 dev/isa/if_el.c 		outb(iobase+EL_GPBL, off);
off               339 dev/isa/if_el.c 		outb(iobase+EL_GPBH, off >> 8);
off               353 dev/isa/if_el.c 			outb(iobase+EL_GPBL, off);
off               354 dev/isa/if_el.c 			outb(iobase+EL_GPBH, off >> 8);
off               637 dev/isa/isadma.c isa_dmamem_mmap(isadev, chan, addr, size, off, prot, flags)
off               642 dev/isa/isadma.c 	int off, prot, flags;
off               652 dev/isa/isadma.c 	if (off < 0)
off               658 dev/isa/isadma.c 	return (bus_dmamem_mmap(sc->sc_dmat, &seg, 1, off, prot, flags));
off               733 dev/isa/isadma.c isa_mappage(mem, off, prot)
off               735 dev/isa/isadma.c 	off_t off;
off               746 dev/isa/isadma.c 	return (isa_dmamem_mmap(m->isadev, m->chan, m->addr, m->size, off,
off               290 dev/isa/radiotrack.c sfi_lm700x_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               293 dev/isa/radiotrack.c 	bus_space_write_1(iot, ioh, off, data);
off               297 dev/isa/radiotrack.c rt_lm700x_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               305 dev/isa/radiotrack.c rt_lm700x_rset(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               309 dev/isa/radiotrack.c 	bus_space_write_1(iot, ioh, off, RT_CARD_OFF | data);
off               311 dev/isa/radiotrack.c 	bus_space_write_1(iot, ioh, off, RT_VOLUME_STEADY | RT_CARD_ON | data);
off               202 dev/isa/radiotrack2.c rtii_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               204 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_RESET | RTII_WREN_OFF);
off               205 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_RESET | RTII_WREN_ON);
off               206 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_RESET | RTII_WREN_ON);
off               210 dev/isa/radiotrack2.c rtii_rset(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               212 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_RESET | RTII_WREN_OFF);
off               249 dev/isa/radiotrack2.c rtii_write_bit(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, int bit)
off               255 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_WREN_ON | RTII_CLCK_OFF | data);
off               256 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_WREN_ON | RTII_CLCK_ON  | data);
off               257 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_WREN_ON | RTII_CLCK_OFF | data);
off               261 dev/isa/radiotrack2.c rtii_hw_read(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off)
off               266 dev/isa/radiotrack2.c 	bus_space_write_1(iot, ioh, off, RTII_READ_CLOCK_LOW);
off               271 dev/isa/radiotrack2.c 		bus_space_write_1(iot, ioh, off, RTII_READ_CLOCK_HIGH);
off               273 dev/isa/radiotrack2.c 		bus_space_write_1(iot, ioh, off, RTII_READ_CLOCK_LOW);
off               274 dev/isa/radiotrack2.c 		res |= bus_space_read_1(iot, ioh, off) & RTII_DATA_ON ? 1 : 0;
off              2250 dev/isa/sbdsp.c sb_mappage(addr, mem, off, prot)
off              2253 dev/isa/sbdsp.c         off_t off;
off              2256 dev/isa/sbdsp.c 	return isa_mappage(mem, off, prot);
off               245 dev/isa/sf16fmr2.c sf2r_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               247 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_MUTE);
off               251 dev/isa/sf16fmr2.c sf2r_rset(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               253 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_MUTE);
off               254 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_UNMUTE);
off               293 dev/isa/sf16fmr2.c sf2r_write_bit(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, int bit)
off               299 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off,
off               301 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off,
off               303 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off,
off               308 dev/isa/sf16fmr2.c sf2r_read_register(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off)
off               313 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_READ_CLOCK_LOW);
off               315 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_READ_CLOCK_HIGH);
off               317 dev/isa/sf16fmr2.c 	i = bus_space_read_1(iot, ioh, off);
off               324 dev/isa/sf16fmr2.c 	bus_space_write_1(iot, ioh, off, SF16FMR2_READ_CLOCK_LOW);
off               325 dev/isa/sf16fmr2.c 	i = bus_space_read_1(iot, ioh, off);
off               334 dev/isa/sf16fmr2.c 		bus_space_write_1(iot, ioh, off, SF16FMR2_READ_CLOCK_HIGH);
off               336 dev/isa/sf16fmr2.c 		bus_space_write_1(iot, ioh, off, SF16FMR2_READ_CLOCK_LOW);
off               337 dev/isa/sf16fmr2.c 		res |= bus_space_read_1(iot, ioh, off) & SF16FMR2_DATA_ON;
off               198 dev/ksyms.c    	size_t off;
off               208 dev/ksyms.c    			off = uio->uio_offset - ksym_head_size;
off               209 dev/ksyms.c    			v = ksym_syms + off;
off               210 dev/ksyms.c    			len = ksym_syms_size - off;
off               226 dev/ksyms.c    ksymsmmap(dev, off, prot)
off               228 dev/ksyms.c    	off_t off;
off               234 dev/ksyms.c    	if (off < 0)
off               236 dev/ksyms.c    	if (off >= ksym_head_size + ksym_syms_size)
off               239 dev/ksyms.c    	if ((vaddr_t)off < ksym_head_size) {
off               240 dev/ksyms.c    		va = (vaddr_t)ksym_head + off;
off               242 dev/ksyms.c    		va = (vaddr_t)ksym_syms + off;
off               120 dev/pci/agp.c  agp_mmap(void *v, off_t off, int prot)
off               127 dev/pci/agp.c  		if (off > AGP_GET_APERTURE(sc))
off               130 dev/pci/agp.c  		return atop(sc->sc_apaddr + off);
off                53 dev/pci/agp_amd.c #define READ2(off)	bus_space_read_2(asc->iot, asc->ioh, off)
off                54 dev/pci/agp_amd.c #define READ4(off)	bus_space_read_4(asc->iot, asc->ioh, off)
off                55 dev/pci/agp_amd.c #define WRITE2(off,v)	bus_space_write_2(asc->iot, asc->ioh, off, v)
off                56 dev/pci/agp_amd.c #define WRITE4(off,v)	bus_space_write_4(asc->iot, asc->ioh, off, v)
off                53 dev/pci/agp_i810.c #define READ1(off)	bus_space_read_1(isc->bst, isc->bsh, off)
off                54 dev/pci/agp_i810.c #define READ4(off)	bus_space_read_4(isc->bst, isc->bsh, off)
off                55 dev/pci/agp_i810.c #define WRITE4(off,v)	bus_space_write_4(isc->bst, isc->bsh, off, v)
off                56 dev/pci/agp_i810.c #define WRITEGTT(off,v)	bus_space_write_4(isc->gtt_bst, isc->gtt_bsh, off, v)
off                58 dev/pci/agp_i810.c #define WRITE_GATT(off, v)	agp_i810_write_gatt(isc, off, v)
off               816 dev/pci/agp_i810.c agp_i810_write_gatt(struct agp_i810_softc *isc, bus_size_t off, u_int32_t v)
off               824 dev/pci/agp_i810.c 		WRITEGTT((u_int32_t)((off) >> AGP_PAGE_SHIFT) * 4, v ? d : 0);
off               828 dev/pci/agp_i810.c 		    (u_int32_t)((off) >> AGP_PAGE_SHIFT) * 4, v ? d : 0);
off               831 dev/pci/agp_i810.c 		    (u_int32_t)((off) >> AGP_PAGE_SHIFT) * 4, v ? d : 0);
off              1154 dev/pci/auich.c auich_mappage(v, mem, off, prot)
off              1157 dev/pci/auich.c 	off_t off;
off              1163 dev/pci/auich.c 	if (off < 0)
off              1171 dev/pci/auich.c 	    off, prot, BUS_DMA_WAITOK);
off              1173 dev/pci/auixp.c auixp_mappage(void *hdl, void *mem, off_t off, int prot)
off              1182 dev/pci/auixp.c 	if (off < 0)
off              1197 dev/pci/auixp.c 	    off, prot, BUS_DMA_WAITOK);
off              1228 dev/pci/autri.c autri_mappage(addr, mem, off, prot)
off              1231 dev/pci/autri.c 	off_t off;
off              1237 dev/pci/autri.c 	if (off < 0)
off              1245 dev/pci/autri.c 	    off, prot, BUS_DMA_WAITOK));
off               781 dev/pci/auvia.c auvia_mappage(void *addr, void *mem, off_t off, int prot)
off               786 dev/pci/auvia.c 	if (off < 0)
off               795 dev/pci/auvia.c 	return bus_dmamem_mmap(sc->sc_dmat, &p->seg, 1, off, prot,
off               257 dev/pci/cac_pci.c 	u_int32_t off;
off               259 dev/pci/cac_pci.c 	if ((off = cac_inl(sc, CAC_42REG_DONE_FIFO)) == 0xffffffffU)
off               263 dev/pci/cac_pci.c 	off = (off & ~3) - sc->sc_ccbs_paddr;
off               264 dev/pci/cac_pci.c 	ccb = (struct cac_ccb *)(sc->sc_ccbs + off);
off              1248 dev/pci/cs4280.c cs4280_mappage(addr, mem, off, prot)
off              1251 dev/pci/cs4280.c 	off_t off;
off              1257 dev/pci/cs4280.c 	if (off < 0)
off              1266 dev/pci/cs4280.c 				off, prot, BUS_DMA_WAITOK));
off              1411 dev/pci/cs4281.c cs4281_mappage(void *addr, void *mem, off_t off, int prot)
off              1417 dev/pci/cs4281.c 	if (off < 0)
off              1428 dev/pci/cs4281.c 	return (bus_dmamem_mmap(sc->sc_dmatag, p->segs, p->nsegs, off, prot,
off               222 dev/pci/cz.c   #define	CZ_FWCTL_READ(cz, off)						\
off               224 dev/pci/cz.c   	    (cz)->cz_fwctl + (off))
off               226 dev/pci/cz.c   #define	CZ_FWCTL_WRITE(cz, off, val)					\
off               228 dev/pci/cz.c   	    (cz)->cz_fwctl + (off), (val))
off               233 dev/pci/cz.c   #define CZTTY_CHAN_READ(sc, off)					\
off               234 dev/pci/cz.c   	bus_space_read_4((sc)->sc_chan_st, (sc)->sc_chan_sh, (off))
off               236 dev/pci/cz.c   #define CZTTY_CHAN_WRITE(sc, off, val)					\
off               238 dev/pci/cz.c   	    (off), (val))
off               240 dev/pci/cz.c   #define CZTTY_BUF_READ(sc, off)						\
off               241 dev/pci/cz.c   	bus_space_read_4((sc)->sc_chan_st, (sc)->sc_buf_sh, (off))
off               243 dev/pci/cz.c   #define CZTTY_BUF_WRITE(sc, off, val)					\
off               245 dev/pci/cz.c   	    (off), (val))
off              1647 dev/pci/eap.c  eap_mappage(void *addr, void *mem, off_t off, int prot)
off              1652 dev/pci/eap.c  	if (off < 0)
off              1659 dev/pci/eap.c  	    off, prot, BUS_DMA_WAITOK));
off              2377 dev/pci/emuxki.c emuxki_mappage(void *addr, void *ptr, off_t off, int prot)
off              2387 dev/pci/emuxki.c 			       off, prot, BUS_DMA_WAITOK);
off               135 dev/pci/esa.c  paddr_t		esa_mappage(void *addr, void *mem, off_t off, int prot);
off              1713 dev/pci/esa.c  esa_mappage(void *addr, void *mem, off_t off, int prot)
off              1719 dev/pci/esa.c  	if (off < 0)
off              1726 dev/pci/esa.c  				off, prot, BUS_DMA_WAITOK));
off               792 dev/pci/fms.c  fms_mappage(addr, mem, off, prot)
off               795 dev/pci/fms.c  	off_t off;
off               801 dev/pci/fms.c  	if (off < 0)
off               809 dev/pci/fms.c  	return bus_dmamem_mmap(sc->sc_dmat, &p->seg, 1, off, prot, 
off               248 dev/pci/fmsradio.c     bus_size_t off, int bit)
off               256 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCS_CLOCK_OFF | wren | data);
off               257 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCS_CLOCK_ON  | wren | data);
off               258 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCS_CLOCK_OFF | wren | data);
off               335 dev/pci/fmsradio.c     bus_size_t off, int bit)
off               342 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCPR_CLOCK_OFF | wren | data);
off               343 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCPR_CLOCK_ON  | wren | data);
off               344 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCPR_CLOCK_OFF | wren | data);
off               436 dev/pci/fmsradio.c     bus_size_t off, int bit)
off               443 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCR_CLOCK_OFF | wren | data);
off               445 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCR_CLOCK_ON | wren | data);
off               447 dev/pci/fmsradio.c 	bus_space_write_2(iot, ioh, off, PCR_CLOCK_OFF | wren | data);
off               220 dev/pci/gtp.c  gtp_write_bit(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off,
off               226 dev/pci/gtp.c  	bus_space_write_1(iot, ioh, off, GTP_WREN_ON | GTP_CLCK_OFF | data);
off               227 dev/pci/gtp.c  	bus_space_write_1(iot, ioh, off, GTP_WREN_ON | GTP_CLCK_ON  | data);
off               228 dev/pci/gtp.c  	bus_space_write_1(iot, ioh, off, GTP_WREN_ON | GTP_CLCK_OFF | data);
off               232 dev/pci/gtp.c  gtp_init(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               234 dev/pci/gtp.c  	bus_space_write_1(iot, ioh, off, GTP_WREN_ON | GTP_DATA_ON | GTP_CLCK_OFF);
off               238 dev/pci/gtp.c  gtp_rset(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off, u_int32_t d)
off               240 dev/pci/gtp.c  	bus_space_write_1(iot, ioh, off, GEMTEK_PCI_RSET);
off               244 dev/pci/gtp.c  gtp_hardware_read(bus_space_tag_t iot, bus_space_handle_t ioh, bus_size_t off)
off               391 dev/pci/if_bge.c bge_readmem_ind(struct bge_softc *sc, int off)
off               395 dev/pci/if_bge.c 	pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_MEMWIN_BASEADDR, off);
off               400 dev/pci/if_bge.c bge_writemem_ind(struct bge_softc *sc, int off, int val)
off               404 dev/pci/if_bge.c 	pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_MEMWIN_BASEADDR, off);
off               409 dev/pci/if_bge.c bge_writereg_ind(struct bge_softc *sc, int off, int val)
off               413 dev/pci/if_bge.c 	pci_conf_write(pa->pa_pc, pa->pa_tag, BGE_PCI_REG_BASEADDR, off);
off               467 dev/pci/if_bge.c bge_read_eeprom(struct bge_softc *sc, caddr_t dest, int off, int cnt)
off               473 dev/pci/if_bge.c 		err = bge_eeprom_getbyte(sc, off + i, &byte);
off              1146 dev/pci/if_cas.c 	int len, off, idx;
off              1165 dev/pci/if_cas.c 			off = CAS_RC1_HDR_OFF(word[1]);
off              1170 dev/pci/if_cas.c 			    idx, off, len));
off              1175 dev/pci/if_cas.c 			cp = rxs->rxs_kva + off * 256;
off              1201 dev/pci/if_cas.c 			off = CAS_RC0_DATA_OFF(word[0]);
off              1206 dev/pci/if_cas.c 			    idx, off, len));
off              1212 dev/pci/if_cas.c 			cp = rxs->rxs_kva + off;
off              1432 dev/pci/if_ipw.c ipw_read_table1(struct ipw_softc *sc, uint32_t off)
off              1434 dev/pci/if_ipw.c 	return MEM_READ_4(sc, MEM_READ_4(sc, sc->table1_base + off));
off              1438 dev/pci/if_ipw.c ipw_write_table1(struct ipw_softc *sc, uint32_t off, uint32_t info)
off              1440 dev/pci/if_ipw.c 	MEM_WRITE_4(sc, MEM_READ_4(sc, sc->table1_base + off), info);
off              1444 dev/pci/if_ipw.c ipw_read_table2(struct ipw_softc *sc, uint32_t off, void *buf, uint32_t *len)
off              1451 dev/pci/if_ipw.c 	addr = MEM_READ_4(sc, sc->table2_base + off);
off              1452 dev/pci/if_ipw.c 	info = MEM_READ_4(sc, sc->table2_base + off + 4);
off               221 dev/pci/if_lge.c lge_read_eeprom(struct lge_softc *sc, caddr_t dest, int off,
off               228 dev/pci/if_lge.c 		lge_eeprom_getword(sc, off + i, &word);
off               475 dev/pci/if_myx.c myx_read(struct myx_softc *sc, bus_size_t off, u_int8_t *ptr, bus_size_t len)
off               477 dev/pci/if_myx.c 	bus_space_barrier(sc->sc_memt, sc->sc_memh, off, len,
off               479 dev/pci/if_myx.c 	bus_space_read_region_4(sc->sc_memt, sc->sc_memh, off, ptr, len / 4);
off               483 dev/pci/if_myx.c myx_rawread(struct myx_softc *sc, bus_size_t off, u_int8_t *ptr,
off               486 dev/pci/if_myx.c 	bus_space_barrier(sc->sc_memt, sc->sc_memh, off, len,
off               488 dev/pci/if_myx.c 	bus_space_read_raw_region_4(sc->sc_memt, sc->sc_memh, off, ptr, len);
off               492 dev/pci/if_myx.c myx_write(struct myx_softc *sc, bus_size_t off, u_int8_t *ptr, bus_size_t len)
off               494 dev/pci/if_myx.c 	bus_space_write_region_4(sc->sc_memt, sc->sc_memh, off, ptr, len / 4);
off               495 dev/pci/if_myx.c 	bus_space_barrier(sc->sc_memt, sc->sc_memh, off, len,
off               500 dev/pci/if_myx.c myx_rawwrite(struct myx_softc *sc, bus_size_t off, u_int8_t *ptr,
off               503 dev/pci/if_myx.c 	bus_space_write_raw_region_4(sc->sc_memt, sc->sc_memh, off, ptr, len);
off               504 dev/pci/if_myx.c 	bus_space_barrier(sc->sc_memt, sc->sc_memh, off, len,
off               328 dev/pci/if_nge.c nge_read_eeprom(sc, dest, off, cnt, swap)
off               331 dev/pci/if_nge.c 	int			off;
off               339 dev/pci/if_nge.c 		nge_eeprom_getword(sc, off + i, &word);
off              2935 dev/pci/if_san_xilinx.c write_cpld(sdla_t *card, unsigned short off, unsigned char data)
off              2939 dev/pci/if_san_xilinx.c 	off &= ~BIT_DEV_ADDR_CLEAR;
off              2940 dev/pci/if_san_xilinx.c 	off |= BIT_DEV_ADDR_CPLD;
off              2945 dev/pci/if_san_xilinx.c 	sdla_bus_write_2(card->hw, XILINX_MCPU_INTERFACE_ADDR, off);
off              2964 dev/pci/if_san_xilinx.c write_front_end_reg(void *card1, unsigned short off, unsigned char value)
off              2968 dev/pci/if_san_xilinx.c 	off &= ~BIT_DEV_ADDR_CLEAR;
off              2969 dev/pci/if_san_xilinx.c 	sdla_bus_write_2(card->hw, XILINX_MCPU_INTERFACE_ADDR, off);
off              2986 dev/pci/if_san_xilinx.c read_front_end_reg(void *card1, unsigned short off)
off              2991 dev/pci/if_san_xilinx.c 	off &= ~BIT_DEV_ADDR_CLEAR;
off              2992 dev/pci/if_san_xilinx.c 	sdla_bus_write_2(card->hw, XILINX_MCPU_INTERFACE_ADDR, off);
off               302 dev/pci/if_sis.c     int off, int cnt, int swap)
off               308 dev/pci/if_sis.c 		sis_eeprom_getword(sc, off + i, &word);
off               320 dev/pci/if_sis.c     caddr_t dest, int off, int cnt)
off               336 dev/pci/if_sis.c 		bus_space_write_1(btag, 0x0, 0x70, i + off);
off               481 dev/pci/if_ste.c ste_read_eeprom(struct ste_softc *sc, caddr_t dest, int off, int cnt, int swap)
off               490 dev/pci/if_ste.c 		CSR_WRITE_2(sc, STE_EEPROM_CTL, STE_EEOPCODE_READ | (off + i));
off               321 dev/pci/if_ti.c ti_read_eeprom(struct ti_softc *sc, caddr_t dest, int off, int cnt)
off               327 dev/pci/if_ti.c 		err = ti_eeprom_getbyte(sc, off + i, &byte);
off               535 dev/pci/if_tl.c int tl_read_eeprom(sc, dest, off, cnt)
off               538 dev/pci/if_tl.c 	int			off;
off               545 dev/pci/if_tl.c 		err = tl_eeprom_getbyte(sc, off + i, &byte);
off               522 dev/pci/if_txpreg.h #define	TXP_OFFSET2IDX(off)	((off) >> 4)
off               236 dev/pci/if_vge.c vge_read_eeprom(struct vge_softc *sc, caddr_t dest, int off, int cnt,
off               244 dev/pci/if_vge.c 		vge_eeprom_getword(sc, off + i, &word);
off               268 dev/pci/if_wb.c void wb_read_eeprom(sc, dest, off, cnt, swap)
off               271 dev/pci/if_wb.c 	int			off;
off               279 dev/pci/if_wb.c 		wb_eeprom_getword(sc, off + i, &word);
off              2110 dev/pci/if_wpi.c wpi_set_led(struct wpi_softc *sc, uint8_t which, uint8_t off, uint8_t on)
off              2116 dev/pci/if_wpi.c 	led.off = off;
off               444 dev/pci/if_wpireg.h 	uint8_t		off;
off               736 dev/pci/isp_pci.c #define	BXR2(pcs, off)		\
off               737 dev/pci/isp_pci.c 	bus_space_read_2(pcs->pci_st, pcs->pci_sh, off)
off               738 dev/pci/isp_pci.c #define	BXW2(pcs, off, v)	\
off               739 dev/pci/isp_pci.c 	bus_space_write_2(pcs->pci_st, pcs->pci_sh, off, v)
off               743 dev/pci/isp_pci.c isp_pci_rd_debounced(struct ispsoftc *isp, int off, u_int16_t *rp)
off               750 dev/pci/isp_pci.c 		val0 = BXR2(pcs, IspVirt2Off(isp, off));
off               751 dev/pci/isp_pci.c 		val1 = BXR2(pcs, IspVirt2Off(isp, off));
off               901 dev/pci/maestro.c maestro_mappage(self, mem, off, prot)
off               903 dev/pci/maestro.c 	off_t off;
off               908 dev/pci/maestro.c 	if (off < 0)
off               911 dev/pci/maestro.c 		off, prot, BUS_DMA_WAITOK);
off               416 dev/pci/musycc.c 	int		i, nslots = 0, off, scale;
off               424 dev/pci/musycc.c 		off = 0;
off               429 dev/pci/musycc.c 		off = slot - 'a';
off               436 dev/pci/musycc.c 		off = slot - '1';
off               455 dev/pci/musycc.c 			if (mg->mg_group->tx_tsmap[i * scale + off] &
off               457 dev/pci/musycc.c 			    mg->mg_group->rx_tsmap[i * scale + off] &
off               464 dev/pci/musycc.c 			mg->mg_group->tx_tsmap[i * scale + off] =
off               467 dev/pci/musycc.c 			mg->mg_group->rx_tsmap[i * scale + off] =
off              1357 dev/pci/noct.c noct_read_4(sc, off)
off              1359 dev/pci/noct.c 	bus_size_t off;
off              1361 dev/pci/noct.c 	if (sc->sc_rar_last == off - 4 ||
off              1362 dev/pci/noct.c 	    sc->sc_rar_last == off + 4) {
off              1364 dev/pci/noct.c 		sc->sc_rar_last = off;
off              1367 dev/pci/noct.c 	return (bus_space_read_4(sc->sc_st, sc->sc_sh, off));
off              1371 dev/pci/noct.c noct_write_4(sc, off, val)
off              1373 dev/pci/noct.c 	bus_size_t off;
off              1376 dev/pci/noct.c 	if (sc->sc_waw_last == off - 4 ||
off              1377 dev/pci/noct.c 	    sc->sc_waw_last == off + 4) {
off              1379 dev/pci/noct.c 		sc->sc_waw_last = off;
off              1382 dev/pci/noct.c 	bus_space_write_4(sc->sc_st, sc->sc_sh, off, val);
off              1677 dev/pci/noct.c 	u_long off;
off              1694 dev/pci/noct.c 	    EX_NOWAIT, &off))
off              1699 dev/pci/noct.c 	cmd->cache.r = htole32(off);
off              1700 dev/pci/noct.c 	adr = sc->sc_bnmap->dm_segs[0].ds_addr + (off * 16);
off              1710 dev/pci/noct.c 		sc->sc_bncache[(off * 16) + i] = 0;
off              1712 dev/pci/noct.c 		sc->sc_bncache[(off * 16) + (digits * 16) - 1 - i] =
off              1714 dev/pci/noct.c 	bus_dmamap_sync(sc->sc_dmat, sc->sc_bnmap, off * 16, digits * 16,
off              1717 dev/pci/noct.c 	sc->sc_pkh_bnsw[wp].bn_off = off;
off              3678 dev/pci/pciide.c 	u_int8_t mode, off, scsc;
off              3707 dev/pci/pciide.c 			off = 0xa0 + chp->channel * 16;
off              3709 dev/pci/pciide.c 			    (pciide_pci_read(pc, pa, off) & 0x01) == 0)
off              3719 dev/pci/pciide.c 			off = 0xac + chp->channel * 16 + drive * 2;
off              3720 dev/pci/pciide.c 			val = pciide_pci_read(pc, pa, off) & ~0x3f;
off              3725 dev/pci/pciide.c 			pciide_pci_write(pc, pa, off, val);
off              3729 dev/pci/pciide.c 			off = 0xa8 + chp->channel * 16 + drive * 2;
off              3731 dev/pci/pciide.c 			pciide_pci_write(pc, pa, off, val & 0xff);
off              3732 dev/pci/pciide.c 			pciide_pci_write(pc, pa, off, val >> 8);
off              3736 dev/pci/pciide.c 			off = 0xa4 + chp->channel * 16 + drive * 2;
off              3738 dev/pci/pciide.c 			pciide_pci_write(pc, pa, off, val & 0xff);
off              3739 dev/pci/pciide.c 			pciide_pci_write(pc, pa, off, val >> 8);
off              2026 dev/pci/safe.c safe_kload_reg(struct safe_softc *sc, u_int32_t off, u_int32_t len,
off              2035 dev/pci/safe.c 		WRITE_REG(sc, SAFE_PK_RAM_START + off + (i << 2),
off              1042 dev/pci/sv.c       int off = dip->index - SV_FIRST_MIXER;
off              1043 dev/pci/sv.c       int mute = (off % SV_DEVICES_PER_PORT);
off              1044 dev/pci/sv.c       int idx = off / SV_DEVICES_PER_PORT;
off              1148 dev/pci/sv.c       int off = cp->dev - SV_FIRST_MIXER;
off              1149 dev/pci/sv.c       int mute = (off % SV_DEVICES_PER_PORT);
off              1150 dev/pci/sv.c       idx = off / SV_DEVICES_PER_PORT;
off              1313 dev/pci/sv.c       int off = cp->dev - SV_FIRST_MIXER;
off              1314 dev/pci/sv.c       int mute = (off % 2);
off              1315 dev/pci/sv.c       int idx = off / 2;
off              1473 dev/pci/sv.c   sv_mappage(addr, mem, off, prot)
off              1476 dev/pci/sv.c           off_t off;
off              1487 dev/pci/sv.c   				off, prot, BUS_DMA_WAITOK));
off                98 dev/pci/vga_pci.c paddr_t	vga_pci_mmap(void* v, off_t off, int prot);
off               184 dev/pci/vga_pci.c vga_pci_mmap(void *v, off_t off, int prot)
off               191 dev/pci/vga_pci.c 		if (off < 0 || off > vesabios_softc->sc_size)
off               193 dev/pci/vga_pci.c 		return atop(sc->sc_base + off);
off               197 dev/pci/vga_pci.c 	return agp_mmap(v, off, prot);
off              1762 dev/pci/yds.c  yds_mappage(addr, mem, off, prot)
off              1765 dev/pci/yds.c  	off_t off;
off              1771 dev/pci/yds.c  	if (off < 0)
off              1777 dev/pci/yds.c  				off, prot, BUS_DMA_WAITOK));
off               649 dev/pcmcia/cfxga.c cfxga_mmap(void *v, off_t off, int prot)
off                24 dev/pcmcia/if_malovar.h #define	MALO_READ_MULTI_2(sc, reg, off, size) \
off                25 dev/pcmcia/if_malovar.h 	bus_space_read_raw_multi_2((sc)->sc_iot, (sc)->sc_ioh, (reg), (off), \
off                31 dev/pcmcia/if_malovar.h #define MALO_WRITE_MULTI_2(sc, reg, off, size) \
off                32 dev/pcmcia/if_malovar.h 	bus_space_write_raw_multi_2((sc)->sc_iot, (sc)->sc_ioh, (reg), (off), \
off               355 dev/pcmcia/if_ray.c #define	ray_read_region(sc,off,p,c) \
off               356 dev/pcmcia/if_ray.c 	bus_space_read_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
off               357 dev/pcmcia/if_ray.c #define	ray_write_region(sc,off,p,c) \
off               358 dev/pcmcia/if_ray.c 	bus_space_write_region_1((sc)->sc_memt, (sc)->sc_memh, (off), (p), (c))
off               406 dev/pcmcia/if_ray.c #define	REG_WRITE(sc, off, val) \
off               408 dev/pcmcia/if_ray.c 	((sc)->sc_ccroff + (off)), (val))
off               410 dev/pcmcia/if_ray.c #define	REG_READ(sc, off) \
off               412 dev/pcmcia/if_ray.c 	((sc)->sc_ccroff + (off)))
off               414 dev/pcmcia/if_ray.c #define	SRAM_READ_1(sc, off) \
off               415 dev/pcmcia/if_ray.c 	((u_int8_t)bus_space_read_1((sc)->sc_memt, (sc)->sc_memh, (off)))
off               417 dev/pcmcia/if_ray.c #define	SRAM_READ_FIELD_1(sc, off, s, f) \
off               418 dev/pcmcia/if_ray.c 	SRAM_READ_1(sc, (off) + offsetof(struct s, f))
off               420 dev/pcmcia/if_ray.c #define	SRAM_READ_FIELD_2(sc, off, s, f)			\
off               421 dev/pcmcia/if_ray.c 	((((u_int16_t)SRAM_READ_1(sc, (off) + offsetof(struct s, f)) << 8) \
off               422 dev/pcmcia/if_ray.c 	|(SRAM_READ_1(sc, (off) + 1 + offsetof(struct s, f)))))
off               424 dev/pcmcia/if_ray.c #define	SRAM_READ_FIELD_N(sc, off, s, f, p, n)	\
off               425 dev/pcmcia/if_ray.c 	ray_read_region(sc, (off) + offsetof(struct s, f), (p), (n))
off               427 dev/pcmcia/if_ray.c #define	SRAM_WRITE_1(sc, off, val)	\
off               428 dev/pcmcia/if_ray.c 	bus_space_write_1((sc)->sc_memt, (sc)->sc_memh, (off), (val))
off               430 dev/pcmcia/if_ray.c #define	SRAM_WRITE_FIELD_1(sc, off, s, f, v)	\
off               431 dev/pcmcia/if_ray.c 	SRAM_WRITE_1(sc, (off) + offsetof(struct s, f), (v))
off               433 dev/pcmcia/if_ray.c #define	SRAM_WRITE_FIELD_2(sc, off, s, f, v) do {	\
off               434 dev/pcmcia/if_ray.c 	SRAM_WRITE_1(sc, (off) + offsetof(struct s, f), (((v) >> 8 ) & 0xff)); \
off               435 dev/pcmcia/if_ray.c 	SRAM_WRITE_1(sc, (off) + 1 + offsetof(struct s, f), ((v) & 0xff)); \
off               438 dev/pcmcia/if_ray.c #define	SRAM_WRITE_FIELD_N(sc, off, s, f, p, n)	\
off               439 dev/pcmcia/if_ray.c 	ray_write_region(sc, (off) + offsetof(struct s, f), (p), (n))
off              2477 dev/pcmcia/if_ray.c 	bus_size_t off;
off              2648 dev/pcmcia/if_ray.c 	off = RAY_HOST_TO_ECF_BASE;
off              2649 dev/pcmcia/if_ray.c 	ray_write_region(sc, off, sp, sizeof(sc->sc_startup));
off              2650 dev/pcmcia/if_ray.c 	off += sizeof(sc->sc_startup);
off              2652 dev/pcmcia/if_ray.c 		ray_write_region(sc, off, sp4, sizeof(*sp4));
off              2654 dev/pcmcia/if_ray.c 		ray_write_region(sc, off, sp5, sizeof(*sp5));
off              3026 dev/pcmcia/if_ray.c ray_read_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
off              3035 dev/pcmcia/if_ray.c 	switch ((off|(bus_addr_t)p) & 0x03) {
off              3038 dev/pcmcia/if_ray.c 			bus_space_read_region_4(sc->sc_memt, sc->sc_memh, off,
off              3043 dev/pcmcia/if_ray.c 			off += tmp;
off              3047 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
off              3048 dev/pcmcia/if_ray.c 			p++, off++;
off              3050 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
off              3051 dev/pcmcia/if_ray.c 			p++, off++;
off              3053 dev/pcmcia/if_ray.c 			*p = bus_space_read_1(sc->sc_memt,sc->sc_memh, off);
off              3058 dev/pcmcia/if_ray.c 			bus_space_read_region_2(sc->sc_memt, sc->sc_memh, off,
off              3063 dev/pcmcia/if_ray.c 			    off + c);
off              3068 dev/pcmcia/if_ray.c 		bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
off              3072 dev/pcmcia/if_ray.c 	bus_space_read_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
off              3084 dev/pcmcia/if_ray.c ray_write_region(struct ray_softc *sc, bus_size_t off, void *vp, size_t c)
off              3092 dev/pcmcia/if_ray.c 	switch ((off|(bus_addr_t)p) & 0x03) {
off              3095 dev/pcmcia/if_ray.c 			bus_space_write_region_4(sc->sc_memt, sc->sc_memh, off,
off              3100 dev/pcmcia/if_ray.c 			off += tmp;
off              3104 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
off              3105 dev/pcmcia/if_ray.c 			p++, off++;
off              3107 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
off              3108 dev/pcmcia/if_ray.c 			p++, off++;
off              3110 dev/pcmcia/if_ray.c 			bus_space_write_1(sc->sc_memt,sc->sc_memh, off, *p);
off              3115 dev/pcmcia/if_ray.c 			bus_space_write_region_2(sc->sc_memt, sc->sc_memh, off,
off              3120 dev/pcmcia/if_ray.c 			    off + c, *(p + c));
off              3125 dev/pcmcia/if_ray.c 		bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, p, c);
off              3129 dev/pcmcia/if_ray.c 	bus_space_write_region_1(sc->sc_memt, sc->sc_memh, off, vp, c);
off               324 dev/ramdisk.c  	size_t off, xfer;
off               362 dev/ramdisk.c  		off = (bp->b_blkno << DEV_BSHIFT);
off               364 dev/ramdisk.c  		if (xfer > (sc->sc_size - off))
off               365 dev/ramdisk.c  			xfer = (sc->sc_size - off);
off               366 dev/ramdisk.c  		addr = sc->sc_addr + off;
off               597 dev/ramdisk.c  	size_t  off;	/* offset into "device" */
off               618 dev/ramdisk.c  		off = (bp->b_blkno << DEV_BSHIFT);
off               619 dev/ramdisk.c  		if (off >= sc->sc_size) {
off               626 dev/ramdisk.c  		if (xfer > (sc->sc_size - off))
off               627 dev/ramdisk.c  			xfer = (sc->sc_size - off);
off               628 dev/ramdisk.c  		addr = sc->sc_addr + off;
off               543 dev/sbus/cgsix.c cgsix_mmap(void *v, off_t off, int prot)
off               564 dev/sbus/cgsix.c 	if (off & PGOFSET || off < 0)
off               570 dev/sbus/cgsix.c 			if (off < mo->mo_uaddr)
off               572 dev/sbus/cgsix.c 			u = off - mo->mo_uaddr;
off               584 dev/sbus/cgsix.c 		if (off >= 0 && off < sc->sc_sunfb.sf_fbsize)
off               586 dev/sbus/cgsix.c 			    off + CGSIX_VID_OFFSET, prot,
off               327 dev/sbus/isp_sbus.c #define	BXR2(sbc, off)		\
off               328 dev/sbus/isp_sbus.c 	bus_space_read_2(sbc->sbus_bustag, sbc->sbus_reg, off)
off               415 dev/usb/if_aue.c 	int			off = 0;
off               421 dev/usb/if_aue.c 		word = aue_eeprom_getword(sc, off + i);
off               997 dev/usb/if_wi_usb.c wi_write_data_usb(struct wi_softc *wsc, int id, int off, caddr_t buf, int len)
off              1003 dev/usb/if_wi_usb.c 	    sc->wi_usb_dev.dv_xname, __func__, id, off, len));
off              1008 dev/usb/if_wi_usb.c 	ptr = (u_int8_t *)(sc->wi_usb_txmem[id]) + off;
off              1010 dev/usb/if_wi_usb.c 	if (len + off > sc->wi_usb_txmemsize[id])
off              1024 dev/usb/if_wi_usb.c wi_read_data_usb(struct wi_softc *wsc, int id, int off, caddr_t buf, int len)
off              1030 dev/usb/if_wi_usb.c 	    sc->wi_usb_dev.dv_xname, __func__, id, off, len));
off              1033 dev/usb/if_wi_usb.c 		ptr = (u_int8_t *)sc->wi_info + off;
off              1035 dev/usb/if_wi_usb.c 		ptr = (u_int8_t *)sc->wi_rxframe + off;
off              1040 dev/usb/if_wi_usb.c 		if (len + off > sc->wi_usb_txmemsize[id])
off              1043 dev/usb/if_wi_usb.c 		ptr = (u_int8_t *)(sc->wi_usb_txmem[id]) + off;
off              1048 dev/usb/if_wi_usb.c 		ptr = (u_int8_t *)(sc->wi_usb_txmem[id]) + off;
off              1050 dev/usb/if_wi_usb.c 		if (len + off > sc->wi_usb_txmemsize[id])
off               150 dev/usb/if_wi_usb.h int wi_read_data_usb(struct wi_softc *sc, int id, int off, caddr_t buf,
off               152 dev/usb/if_wi_usb.h int wi_write_data_usb(struct wi_softc *sc, int id, int off, caddr_t buf,
off               170 dev/vnd.c      vndencrypt(struct vnd_softc *vnd, caddr_t addr, size_t size, daddr64_t off,
off               179 dev/vnd.c      		bcopy((u_char *)&off, iv, sizeof(off));
off               187 dev/vnd.c      		off++;
off               438 dev/vnd.c      			daddr64_t off = DL_GETPOFFSET(&vnd->sc_dk.dk_label->d_partitions[part]);
off               444 dev/vnd.c      			auio.uio_offset = dbtob((off_t)(bp->b_blkno + off));
off               505 dev/vnd.c      		int off, s, nra;
off               518 dev/vnd.c      		if ((off = bn % bsize) != 0)
off               519 dev/vnd.c      			sz = bsize - off;
off               540 dev/vnd.c      		nbp->vb_buf.b_blkno = nbn + btodb(off);
off               391 dev/wscons/wsconsio.h 	u_int	off;
off              1194 dev/wscons/wsdisplay.c 		d->off = sc->sc_burnoutintvl * 1000 / hz;
off              1218 dev/wscons/wsdisplay.c 		if (d->off) {
off              1220 dev/wscons/wsdisplay.c 			sc->sc_burnoutintvl = hz * d->off / 1000;
off               118 dev/wscons/wsdisplayvar.h 	paddr_t	(*mmap)(void *v, off_t off, int prot);
off               305 isofs/cd9660/cd9660_node.c 	int off;
off               320 isofs/cd9660/cd9660_node.c 	    && (off = isonum_711(isodir->ext_attr_length))) {
off               321 isofs/cd9660/cd9660_node.c 		cd9660_bufatoff(inop, (off_t)-(off << imp->im_bshift), NULL,
off               368 isofs/cd9660/cd9660_node.c 	int off;
off               372 isofs/cd9660/cd9660_node.c 	    && (off = isonum_711(isodir->ext_attr_length))) {
off               373 isofs/cd9660/cd9660_node.c 		cd9660_bufatoff(inop, (off_t)-(off << imp->im_bshift), NULL,
off               795 isofs/cd9660/cd9660_vfsops.c 		int lbn, off;
off               804 isofs/cd9660/cd9660_vfsops.c 		off = blkoff(imp, ino);
off               805 isofs/cd9660/cd9660_vfsops.c 		if (off + ISO_DIRECTORY_RECORD_SIZE > imp->logical_block_size)
off               809 isofs/cd9660/cd9660_vfsops.c 			    off + ISO_DIRECTORY_RECORD_SIZE);
off               822 isofs/cd9660/cd9660_vfsops.c 		isodir = (struct iso_directory_record *)(bp->b_data + off);
off               824 isofs/cd9660/cd9660_vfsops.c 		if (off + isonum_711(isodir->length) >
off               830 isofs/cd9660/cd9660_vfsops.c 			    off +isonum_711(isodir->length), off,
off               881 isofs/cd9660/cd9660_vfsops.c 		int off;
off               883 isofs/cd9660/cd9660_vfsops.c 		    (off = isonum_711(isodir->ext_attr_length)))
off               884 isofs/cd9660/cd9660_vfsops.c 			cd9660_bufatoff(ip, (off_t)-(off << imp->im_bshift),
off               400 isofs/cd9660/cd9660_vnops.c iso_uiodir(idp,dp,off)
off               403 isofs/cd9660/cd9660_vnops.c 	off_t off;
off               421 isofs/cd9660/cd9660_vnops.c 		*idp->cookies++ = off;
off               427 isofs/cd9660/cd9660_vnops.c 	idp->uio_off = off;
off                85 isofs/udf/udf.h 	int		off;
off               571 isofs/udf/udf_vnops.c 	if (ds->offset + ds->off >= ds->fsize) {
off               577 isofs/udf/udf_vnops.c 	if (ds->off == 0) {
off               598 isofs/udf/udf_vnops.c 	fid = (struct fileid_desc*)&ds->data[ds->off];
off               605 isofs/udf/udf_vnops.c 	if (ds->off + UDF_FID_SIZE > ds->size ||
off               606 isofs/udf/udf_vnops.c 	    ds->off + letoh16(fid->l_iu) + fid->l_fi + UDF_FID_SIZE > ds->size){
off               609 isofs/udf/udf_vnops.c 		frag_size = ds->size - ds->off;
off               671 isofs/udf/udf_vnops.c 	ds->this_off = ds->off;
off               673 isofs/udf/udf_vnops.c 		ds->off += (total_fid_size + 3) & ~0x03;
off               675 isofs/udf/udf_vnops.c 		ds->off = (total_fid_size - frag_size + 3) & ~0x03;
off               802 isofs/udf/udf_vnops.c 	uio->uio_offset = ds->offset + ds->off;
off              1078 isofs/udf/udf_vnops.c 				up->u_diroff = ds->offset + ds->off;
off               320 kern/exec_elf.c ELFNAME(read_from)(struct proc *p, struct vnode *vp, u_long off, caddr_t buf,
off               326 kern/exec_elf.c 	if ((error = vn_rdwr(UIO_READ, vp, buf, size, off, UIO_SYSSPACE,
off                95 kern/kern_descrip.c 	int i, off, maxoff;
off               101 kern/kern_descrip.c 	off = want >> NDENTRYSHIFT;
off               104 kern/kern_descrip.c 		sub = bitmap[off] | ((u_int)~0 >> (NDENTRIES - i));
off               107 kern/kern_descrip.c 		off++;
off               111 kern/kern_descrip.c 	while (off < maxoff) {
off               112 kern/kern_descrip.c 		if ((sub = bitmap[off]) != ~0)
off               114 kern/kern_descrip.c 		off++;
off               120 kern/kern_descrip.c 	return (off << NDENTRYSHIFT) + ffs(~sub) - 1;
off               126 kern/kern_descrip.c 	int off, i;
off               130 kern/kern_descrip.c 	off = (last - 1) >> NDENTRYSHIFT;
off               132 kern/kern_descrip.c 	while (off >= 0 && !bitmap[off])
off               133 kern/kern_descrip.c 		off--;
off               134 kern/kern_descrip.c 	if (off < 0)
off               137 kern/kern_descrip.c 	i = ((off + 1) << NDENTRYSHIFT) - 1;
off               149 kern/kern_descrip.c 	u_int off = fd >> NDENTRYSHIFT;
off               151 kern/kern_descrip.c 	fdp->fd_lomap[off] |= 1 << (fd & NDENTRYMASK);
off               152 kern/kern_descrip.c 	if (fdp->fd_lomap[off] == ~0)
off               153 kern/kern_descrip.c 		fdp->fd_himap[off >> NDENTRYSHIFT] |= 1 << (off & NDENTRYMASK);
off               162 kern/kern_descrip.c 	u_int off = fd >> NDENTRYSHIFT;
off               167 kern/kern_descrip.c 	if (fdp->fd_lomap[off] == ~0)
off               168 kern/kern_descrip.c 		fdp->fd_himap[off >> NDENTRYSHIFT] &= ~(1 << (off & NDENTRYMASK));
off               169 kern/kern_descrip.c 	fdp->fd_lomap[off] &= ~(1 << (fd & NDENTRYMASK));
off               678 kern/kern_descrip.c 	u_int new, off;
off               690 kern/kern_descrip.c 	off = i >> NDENTRYSHIFT;
off               691 kern/kern_descrip.c 	new = find_next_zero(fdp->fd_himap, off,
off               695 kern/kern_descrip.c 				   new > off ? 0 : i & NDENTRYMASK,
off               380 kern/subr_pool.c 	int off, slack;
off               464 kern/subr_pool.c 		pp->pr_phoffset = off = palloc->pa_pagesz -
off               469 kern/subr_pool.c 		off = palloc->pa_pagesz;
off               481 kern/subr_pool.c 	pp->pr_itemsperpage = (off - ((align - ioff) % align)) / pp->pr_size;
off               488 kern/subr_pool.c 	slack = off - pp->pr_itemsperpage * pp->pr_size;
off               285 kern/tty_subr.c clrbits(u_char *cp, int off, int len)
off               292 kern/tty_subr.c 		clrbit(cp, off);
off               296 kern/tty_subr.c 	sby = off / NBBY;
off               297 kern/tty_subr.c 	sbi = off % NBBY;
off               298 kern/tty_subr.c 	eby = (off+len) / NBBY;
off               299 kern/tty_subr.c 	ebi = (off+len) % NBBY;
off               319 kern/uipc_mbuf.c m_copym(struct mbuf *m, int off, int len, int wait)
off               321 kern/uipc_mbuf.c 	return m_copym0(m, off, len, wait, 0);	/* shallow copy on M_EXT */
off               329 kern/uipc_mbuf.c m_copym2(struct mbuf *m, int off, int len, int wait)
off               331 kern/uipc_mbuf.c 	return m_copym0(m, off, len, wait, 1);	/* deep copy */
off               335 kern/uipc_mbuf.c m_copym0(struct mbuf *m, int off, int len, int wait, int deep)
off               341 kern/uipc_mbuf.c 	if (off < 0 || len < 0)
off               342 kern/uipc_mbuf.c 		panic("m_copym0: off %d, len %d", off, len);
off               343 kern/uipc_mbuf.c 	if (off == 0 && m->m_flags & M_PKTHDR)
off               345 kern/uipc_mbuf.c 	while (off > 0) {
off               348 kern/uipc_mbuf.c 		if (off < m->m_len)
off               350 kern/uipc_mbuf.c 		off -= m->m_len;
off               371 kern/uipc_mbuf.c 		n->m_len = min(len, m->m_len - off);
off               374 kern/uipc_mbuf.c 				n->m_data = m->m_data + off;
off               386 kern/uipc_mbuf.c 				n->m_len = min(n->m_len, m->m_len - off);
off               387 kern/uipc_mbuf.c 				memcpy(mtod(n, caddr_t), mtod(m, caddr_t) + off,
off               391 kern/uipc_mbuf.c 			memcpy(mtod(n, caddr_t), mtod(m, caddr_t) + off,
off               395 kern/uipc_mbuf.c 		off += n->m_len;
off               397 kern/uipc_mbuf.c 		if (off > m->m_len)
off               400 kern/uipc_mbuf.c 		if (off == m->m_len) {
off               402 kern/uipc_mbuf.c 			off = 0;
off               420 kern/uipc_mbuf.c m_copydata(struct mbuf *m, int off, int len, caddr_t cp)
off               424 kern/uipc_mbuf.c 	if (off < 0)
off               425 kern/uipc_mbuf.c 		panic("m_copydata: off %d < 0", off);
off               428 kern/uipc_mbuf.c 	while (off > 0) {
off               431 kern/uipc_mbuf.c 		if (off < m->m_len)
off               433 kern/uipc_mbuf.c 		off -= m->m_len;
off               439 kern/uipc_mbuf.c 		count = min(m->m_len - off, len);
off               440 kern/uipc_mbuf.c 		bcopy(mtod(m, caddr_t) + off, cp, count);
off               443 kern/uipc_mbuf.c 		off = 0;
off               455 kern/uipc_mbuf.c m_copyback(struct mbuf *m0, int off, int len, const void *_cp)
off               464 kern/uipc_mbuf.c 	while (off > (mlen = m->m_len)) {
off               465 kern/uipc_mbuf.c 		off -= mlen;
off               471 kern/uipc_mbuf.c 			n->m_len = min(MLEN, len + off);
off               477 kern/uipc_mbuf.c 		mlen = min (m->m_len - off, len);
off               478 kern/uipc_mbuf.c 		bcopy(cp, off + mtod(m, caddr_t), (unsigned)mlen);
off               481 kern/uipc_mbuf.c 		mlen += off;
off               482 kern/uipc_mbuf.c 		off = 0;
off               735 kern/uipc_mbuf.c m_getptr(struct mbuf *m, int loc, int *off)
off               740 kern/uipc_mbuf.c 	    		*off = loc;
off               749 kern/uipc_mbuf.c 		    			*off = m->m_len;
off               890 kern/uipc_mbuf.c m_devget(char *buf, int totlen, int off, struct ifnet *ifp,
off               901 kern/uipc_mbuf.c 	if (off) {
off               906 kern/uipc_mbuf.c 		cp += off + 2 * sizeof(u_int16_t);
off               983 kern/uipc_mbuf.c m_apply(struct mbuf *m, int off, int len,
off               991 kern/uipc_mbuf.c 	if (off < 0)
off               992 kern/uipc_mbuf.c 		panic("m_apply: off %d < 0", off);
off               993 kern/uipc_mbuf.c 	while (off > 0) {
off               996 kern/uipc_mbuf.c 		if (off < m->m_len)
off               998 kern/uipc_mbuf.c 		off -= m->m_len;
off              1004 kern/uipc_mbuf.c 		count = min(m->m_len - off, len);
off              1006 kern/uipc_mbuf.c 		rval = f(fstate, mtod(m, caddr_t) + off, count);
off              1011 kern/uipc_mbuf.c 		off = 0;
off                85 kern/uipc_mbuf2.c m_pulldown(struct mbuf *m, int off, int len, int *offp)
off               100 kern/uipc_mbuf2.c 	while (n != NULL && off > 0) {
off               101 kern/uipc_mbuf2.c 		if (n->m_len > off)
off               103 kern/uipc_mbuf2.c 		off -= n->m_len;
off               120 kern/uipc_mbuf2.c 	if ((off == 0 || offp) && len <= n->m_len - off && !sharedcluster)
off               129 kern/uipc_mbuf2.c 	if (len <= n->m_len - off) {
off               132 kern/uipc_mbuf2.c 		o = m_dup1(n, off, n->m_len - off, M_DONTWAIT);
off               139 kern/uipc_mbuf2.c 		n->m_len = off;
off               143 kern/uipc_mbuf2.c 		off = 0;
off               152 kern/uipc_mbuf2.c 	hlen = n->m_len - off;
off               171 kern/uipc_mbuf2.c 	if ((off == 0 || offp) && M_TRAILINGSPACE(n) >= tlen &&
off               178 kern/uipc_mbuf2.c 	if ((off == 0 || offp) && M_LEADINGSPACE(n->m_next) >= hlen &&
off               182 kern/uipc_mbuf2.c 		bcopy(mtod(n, caddr_t) + off, mtod(n->m_next, caddr_t), hlen);
off               185 kern/uipc_mbuf2.c 		off = 0;
off               207 kern/uipc_mbuf2.c 	bcopy(mtod(n, caddr_t) + off, mtod(o, caddr_t), hlen);
off               216 kern/uipc_mbuf2.c 	off = 0;
off               220 kern/uipc_mbuf2.c 		*offp = off;
off               225 kern/uipc_mbuf2.c m_dup1(struct mbuf *m, int off, int len, int wait)
off               232 kern/uipc_mbuf2.c 	if (off == 0 && (m->m_flags & M_PKTHDR) != 0) {
off               252 kern/uipc_mbuf2.c 	m_copydata(m, off, len, mtod(n, caddr_t));
off                65 kern/vfs_getcwd.c 	off_t off;
off               128 kern/vfs_getcwd.c 	off = 0;
off               139 kern/vfs_getcwd.c 		uio.uio_offset = off;
off               150 kern/vfs_getcwd.c 		off = uio.uio_offset;
off               155 kern/vfs_getcwd.c 			off = 0;
off                60 lib/libsa/cd9660.c 	off_t off;			/* Current offset within file */
off               265 lib/libsa/cd9660.c 	fp->off = 0;
off               299 lib/libsa/cd9660.c 	size_t nread, off;
off               302 lib/libsa/cd9660.c 		if (fp->off < 0 || fp->off >= fp->size)
off               304 lib/libsa/cd9660.c 		bno = (fp->off >> ISO_DEFAULT_BLOCK_SHIFT) + fp->bno;
off               305 lib/libsa/cd9660.c 		if (fp->off & (ISO_DEFAULT_BLOCK_SIZE - 1)
off               322 lib/libsa/cd9660.c 		off = fp->off & (ISO_DEFAULT_BLOCK_SIZE - 1);
off               323 lib/libsa/cd9660.c 		nread -= off;
off               327 lib/libsa/cd9660.c 		if (nread > (fp->size - fp->off))
off               328 lib/libsa/cd9660.c 			nread = (fp->size - fp->off);
off               331 lib/libsa/cd9660.c 			bcopy(buf + off, start, nread);
off               334 lib/libsa/cd9660.c 		fp->off += nread;
off               355 lib/libsa/cd9660.c 		fp->off = offset;
off               358 lib/libsa/cd9660.c 		fp->off += offset;
off               361 lib/libsa/cd9660.c 		fp->off = fp->size - offset;
off               366 lib/libsa/cd9660.c 	return fp->off;
off                82 lib/libsa/loadfile_elf.c 	Elf_Off off;
off               191 lib/libsa/loadfile_elf.c 		off = roundup((sizeof(Elf_Ehdr) + sz), sizeof(long));
off               218 lib/libsa/loadfile_elf.c 				shp[i].sh_offset = off;
off               219 lib/libsa/loadfile_elf.c 				off += roundup(shp[i].sh_size, sizeof(long));
off                71 lib/libsa/nfs.c 	n_long	off;
off                93 lib/libsa/nfs.c 	off_t	off;
off               272 lib/libsa/nfs.c nfs_readdata(struct nfs_iodesc *d, off_t off, void *addr, size_t len)
off               292 lib/libsa/nfs.c 	args->off = htonl((n_long)off);
off               405 lib/libsa/nfs.c 		newfd->off = 0;
off               525 lib/libsa/nfs.c 		printf("nfs_read: size=%d off=%d\n", size, (int)fp->off);
off               529 lib/libsa/nfs.c 		cc = nfs_readdata(fp, fp->off, (void *)addr, size);
off               543 lib/libsa/nfs.c 		fp->off += cc;
off               571 lib/libsa/nfs.c 		d->off = offset;
off               574 lib/libsa/nfs.c 		d->off += offset;
off               577 lib/libsa/nfs.c 		d->off = size - offset;
off               583 lib/libsa/nfs.c 	return (d->off);
off                74 lib/libsa/tftp.c 	int             off;
off               269 lib/libsa/tftp.c 	tftpfile->off = 0;
off               295 lib/libsa/tftp.c 		needblock = tftpfile->off / SEGSIZE + 1;
off               327 lib/libsa/tftp.c 			offinblock = tftpfile->off % SEGSIZE;
off               333 lib/libsa/tftp.c 				    tftpfile->off);
off               342 lib/libsa/tftp.c 			tftpfile->off += count;
off               406 lib/libsa/tftp.c 		tftpfile->off = offset;
off               409 lib/libsa/tftp.c 		tftpfile->off += offset;
off               416 lib/libsa/tftp.c 	return (tftpfile->off);
off               263 lib/libsa/ufs.c 	long off;
off               266 lib/libsa/ufs.c 	off = blkoff(fs, fp->f_seekp);
off               298 lib/libsa/ufs.c 	*buf_p = fp->f_buf + off;
off               299 lib/libsa/ufs.c 	*size_p = block_size - off;
off               109 lib/libsa/unixdev.c ulseek(int fd, off_t off, int wh)
off               111 lib/libsa/unixdev.c 	return __syscall((quad_t)SYS_lseek, fd, 0, off, wh);
off               152 msdosfs/msdosfsmount.h #define de_cluster(pmp, off) \
off               153 msdosfs/msdosfsmount.h 	((off) >> (pmp)->pm_cnshift)
off               164 msdosfs/msdosfsmount.h #define de_blk(pmp, off) \
off               165 msdosfs/msdosfsmount.h 	(de_cn2bn(pmp, de_cluster((pmp), (off))))
off              2223 net/if_bridge.c 	int error, off, s;
off              2241 net/if_bridge.c 			off = offsetof(struct ip, ip_p);
off              2276 net/if_bridge.c 			off = offsetof(struct ip6_hdr, ip6_nxt);
off              2345 net/if_bridge.c 			(*(tdb->tdb_xform->xf_input))(m, tdb, hlen, off);
off               393 net/if_pppoe.c static void pppoe_dispatch_disc_pkt(struct mbuf *m, int off)
off               421 net/if_pppoe.c 	off += sizeof(*eh);
off               431 net/if_pppoe.c 	if (m->m_pkthdr.len - off <= PPPOE_HEADERLEN) {
off               436 net/if_pppoe.c 	n = m_pulldown(m, off, sizeof(*ph), &noff);
off               451 net/if_pppoe.c 	off += sizeof(*ph);
off               452 net/if_pppoe.c 	if (plen + off > m->m_pkthdr.len) {
off               454 net/if_pppoe.c 		    m->m_pkthdr.len - off, plen);
off               459 net/if_pppoe.c 	m_adj(m, off + plen - m->m_pkthdr.len);
off               464 net/if_pppoe.c 	while (off + sizeof(*pt) <= m->m_pkthdr.len) {
off               465 net/if_pppoe.c 		n = m_pulldown(m, off, sizeof(*pt), &noff);
off               474 net/if_pppoe.c 		if (off + len > m->m_pkthdr.len) {
off               489 net/if_pppoe.c 			n = m_pulldown(m, off + sizeof(*pt), len, &noff);
off               506 net/if_pppoe.c 				n = m_pulldown(m, off + sizeof(*pt), len,
off               533 net/if_pppoe.c 				n = m_pulldown(m, off + sizeof(*pt), len,
off               544 net/if_pppoe.c 		off += sizeof(*pt) + len;
off               946 net/if_trunk.c 	int off;
off               955 net/if_trunk.c 	off = sizeof(*eh);
off               956 net/if_trunk.c 	if (m->m_len < off)
off               966 net/if_trunk.c 		    trunk_lb_gethdr(m, off, EVL_ENCAPLEN, &vlanbuf)) == NULL)
off               970 net/if_trunk.c 		off += EVL_ENCAPLEN;
off               977 net/if_trunk.c 		    trunk_lb_gethdr(m, off, sizeof(*ip), &ipbuf)) == NULL)
off               986 net/if_trunk.c 		    trunk_lb_gethdr(m, off, sizeof(*ip6), &ip6buf)) == NULL)
off              1390 net/if_trunk.c trunk_lb_gethdr(struct mbuf *m, u_int off, u_int len, void *buf)
off              1392 net/if_trunk.c 	if (m->m_pkthdr.len < (off + len)) {
off              1394 net/if_trunk.c 	} else if (m->m_len < (off + len)) {
off              1395 net/if_trunk.c 		m_copydata(m, off, len, buf);
off              1398 net/if_trunk.c 	return (mtod(m, const void *) + off);
off              1504 net/pf.c       pf_modulate_sack(struct mbuf *m, int off, struct pf_pdesc *pd,
off              1514 net/pf.c       	    !pf_pull_hdr(m, off + sizeof(*th), opts, hlen, NULL, NULL, pd->af))
off              1552 net/pf.c       		m_copyback(m, off + sizeof(*th), thoptlen, opts);
off              2329 net/pf.c       pf_match_translation(struct pf_pdesc *pd, struct mbuf *m, int off,
off              2384 net/pf.c       		    off, pd->hdr.tcp), r->os_fingerprint)))
off              2410 net/pf.c       pf_get_translation(struct pf_pdesc *pd, struct mbuf *m, int off, int direction,
off              2419 net/pf.c       		r = pf_match_translation(pd, m, off, direction, kif, saddr,
off              2422 net/pf.c       			r = pf_match_translation(pd, m, off, direction, kif,
off              2425 net/pf.c       		r = pf_match_translation(pd, m, off, direction, kif, saddr,
off              2428 net/pf.c       			r = pf_match_translation(pd, m, off, direction, kif,
off              2636 net/pf.c       pf_get_wscale(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af)
off              2646 net/pf.c       	if (!pf_pull_hdr(m, off, hdr, hlen, NULL, NULL, af))
off              2676 net/pf.c       pf_get_mss(struct mbuf *m, int off, u_int16_t th_off, sa_family_t af)
off              2686 net/pf.c       	if (!pf_pull_hdr(m, off, hdr, hlen, NULL, NULL, af))
off              2841 net/pf.c           struct pfi_kif *kif, struct mbuf *m, int off, void *h,
off              2920 net/pf.c       		if ((nr = pf_get_translation(pd, m, off, PF_OUT, kif, &nsn,
off              2944 net/pf.c       				m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
off              2978 net/pf.c       		if ((nr = pf_get_translation(pd, m, off, PF_IN, kif, &nsn,
off              3086 net/pf.c       		    pf_osfp_fingerprint(pd, m, off, th),
off              3118 net/pf.c       			m_copyback(m, off, hdrlen, pd->hdr.any);
off              3208 net/pf.c       			if (pf_check_proto_cksum(m, off,
off              3209 net/pf.c       			    ntohs(h->ip_len) - off, IPPROTO_TCP, AF_INET))
off              3299 net/pf.c       			len = pd->tot_len - off - (th->th_off << 2);
off              3315 net/pf.c       				s->src.wscale = pf_get_wscale(m, off,
off              3365 net/pf.c       			    pf_normalize_tcp_init(m, off, pd, th, &s->src,
off              3374 net/pf.c       			    pf_normalize_tcp_stateful(m, off, pd, &reason,
off              3477 net/pf.c       			mss = pf_get_mss(m, off, th->th_off, af);
off              3491 net/pf.c       		m_copyback(m, off, hdrlen, pd->hdr.any);
off              3576 net/pf.c           struct mbuf *m, int off, void *h, struct pf_pdesc *pd,
off              3719 net/pf.c       			if (pf_normalize_tcp_init(m, off, pd, th, src, dst)) {
off              3742 net/pf.c       				src->wscale = pf_get_wscale(m, off, th->th_off,
off              3830 net/pf.c       		if (pf_modulate_sack(m, off, pd, th, dst))
off              3849 net/pf.c       			if (pf_normalize_tcp_stateful(m, off, pd, reason, th,
off              3946 net/pf.c       			if (pf_normalize_tcp_stateful(m, off, pd, reason, th,
off              4024 net/pf.c       		m_copyback(m, off, sizeof(*th), th);
off              4027 net/pf.c       		m_copyback(m, off, sizeof(*th), th);
off              4035 net/pf.c           struct mbuf *m, int off, void *h, struct pf_pdesc *pd)
off              4088 net/pf.c       		m_copyback(m, off, sizeof(*uh), uh);
off              4096 net/pf.c           struct mbuf *m, int off, void *h, struct pf_pdesc *pd, u_short *reason)
off              4174 net/pf.c       					m_copyback(m, off, ICMP_MINLEN,
off              4183 net/pf.c       					m_copyback(m, off,
off              4202 net/pf.c       					m_copyback(m, off, ICMP_MINLEN,
off              4211 net/pf.c       					m_copyback(m, off,
off              4244 net/pf.c       			ipoff2 = off + ICMP_MINLEN;
off              4273 net/pf.c       			ipoff2 = off + sizeof(struct icmp6_hdr);
off              4422 net/pf.c       					m_copyback(m, off, ICMP_MINLEN,
off              4430 net/pf.c       					m_copyback(m, off,
off              4491 net/pf.c       					m_copyback(m, off, ICMP_MINLEN,
off              4498 net/pf.c       					m_copyback(m, off,
off              4556 net/pf.c       				m_copyback(m, off, ICMP_MINLEN, pd->hdr.icmp);
off              4608 net/pf.c       				m_copyback(m, off, sizeof(struct icmp6_hdr),
off              4655 net/pf.c       					m_copyback(m, off, ICMP_MINLEN,
off              4662 net/pf.c       					m_copyback(m, off,
off              4769 net/pf.c       pf_pull_hdr(struct mbuf *m, int off, void *p, int len,
off              4787 net/pf.c       		if (m->m_pkthdr.len < off + len ||
off              4788 net/pf.c       		    ntohs(h->ip_len) < off + len) {
off              4800 net/pf.c       		if (m->m_pkthdr.len < off + len ||
off              4802 net/pf.c       		    (unsigned)(off + len)) {
off              4811 net/pf.c       	m_copydata(m, off, len, p);
off              5257 net/pf.c       pf_check_proto_cksum(struct mbuf *m, int off, int len, u_int8_t p,
off              5285 net/pf.c       	if (off < sizeof(struct ip) || len < sizeof(struct udphdr))
off              5287 net/pf.c       	if (m->m_pkthdr.len < off + len)
off              5293 net/pf.c       			if (m->m_len < off)
off              5295 net/pf.c       			m->m_data += off;
off              5296 net/pf.c       			m->m_len -= off;
off              5298 net/pf.c       			m->m_data -= off;
off              5299 net/pf.c       			m->m_len += off;
off              5303 net/pf.c       			sum = in4_cksum(m, p, off, len);
off              5311 net/pf.c       		sum = in6_cksum(m, p, off, len);
off              5355 net/pf.c       	int			 off, dirndx, pqid = 0;
off              5397 net/pf.c       	off = h->ip_hl << 2;
off              5398 net/pf.c       	if (off < (int)sizeof(*h)) {
off              5428 net/pf.c       		if (!pf_pull_hdr(m, off, &th, sizeof(th),
off              5433 net/pf.c       		pd.p_len = pd.tot_len - off - (th.th_off << 2);
off              5436 net/pf.c       		action = pf_normalize_tcp(dir, kif, m, 0, off, h, &pd);
off              5439 net/pf.c       		action = pf_test_state_tcp(&s, dir, kif, m, off, h, &pd,
off              5450 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ipintrq);
off              5458 net/pf.c       		if (!pf_pull_hdr(m, off, &uh, sizeof(uh),
off              5464 net/pf.c       		    ntohs(uh.uh_ulen) > m->m_pkthdr.len - off ||
off              5470 net/pf.c       		action = pf_test_state_udp(&s, dir, kif, m, off, h, &pd);
off              5480 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ipintrq);
off              5488 net/pf.c       		if (!pf_pull_hdr(m, off, &ih, ICMP_MINLEN,
off              5493 net/pf.c       		action = pf_test_state_icmp(&s, dir, kif, m, off, h, &pd,
off              5504 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ipintrq);
off              5518 net/pf.c       			action = pf_test_rule(&r, &s, dir, kif, m, off, h,
off              5664 net/pf.c       	int			 off, terminal = 0, dirndx, rh_cnt = 0;
off              5727 net/pf.c       	off = ((caddr_t)h - m->m_data) + sizeof(struct ip6_hdr);
off              5748 net/pf.c       			if (!pf_pull_hdr(m, off, &rthdr, sizeof(rthdr), NULL,
off              5773 net/pf.c       			if (!pf_pull_hdr(m, off, &opt6, sizeof(opt6),
off              5782 net/pf.c       				off += (opt6.ip6e_len + 2) * 4;
off              5784 net/pf.c       				off += (opt6.ip6e_len + 1) * 8;
off              5805 net/pf.c       		if (!pf_pull_hdr(m, off, &th, sizeof(th),
off              5810 net/pf.c       		pd.p_len = pd.tot_len - off - (th.th_off << 2);
off              5811 net/pf.c       		action = pf_normalize_tcp(dir, kif, m, 0, off, h, &pd);
off              5814 net/pf.c       		action = pf_test_state_tcp(&s, dir, kif, m, off, h, &pd,
off              5825 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ip6intrq);
off              5833 net/pf.c       		if (!pf_pull_hdr(m, off, &uh, sizeof(uh),
off              5839 net/pf.c       		    ntohs(uh.uh_ulen) > m->m_pkthdr.len - off ||
off              5845 net/pf.c       		action = pf_test_state_udp(&s, dir, kif, m, off, h, &pd);
off              5855 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ip6intrq);
off              5863 net/pf.c       		if (!pf_pull_hdr(m, off, &ih, sizeof(ih),
off              5869 net/pf.c       		    m, off, h, &pd, &reason);
off              5879 net/pf.c       			    m, off, h, &pd, &a, &ruleset, &ip6intrq);
off              5893 net/pf.c       			action = pf_test_rule(&r, &s, dir, kif, m, off, h,
off               329 net/pf_norm.c  	u_int16_t	 off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
off               331 net/pf_norm.c  	u_int16_t	 max = ip_len + off;
off               371 net/pf_norm.c  		if (FR_IP_OFF(frea) > off)
off               380 net/pf_norm.c  	    4 > off)
off               385 net/pf_norm.c  		    frep->fr_ip->ip_hl * 4 - off;
off               392 net/pf_norm.c  		off = (ntohs(ip->ip_off) & IP_OFFMASK) << 3;
off               397 net/pf_norm.c  	for (; frea != NULL && ip_len + off > FR_IP_OFF(frea);
off               402 net/pf_norm.c  		aftercut = ip_len + off - FR_IP_OFF(frea);
off               441 net/pf_norm.c  	off = 0;
off               445 net/pf_norm.c  		off += ntohs(frep->fr_ip->ip_len) - frep->fr_ip->ip_hl * 4;
off               446 net/pf_norm.c  		if (off < (*frag)->fr_max &&
off               447 net/pf_norm.c  		    (next == NULL || FR_IP_OFF(next) != off))
off               450 net/pf_norm.c  			    off, next == NULL ? -1 : FR_IP_OFF(next),
off               455 net/pf_norm.c  	DPFPRINTF(("%d < %d?\n", off, (*frag)->fr_max));
off               456 net/pf_norm.c  	if (off < (*frag)->fr_max)
off               462 net/pf_norm.c  	if ((frent->fr_ip->ip_hl << 2) + off > IP_MAXPACKET) {
off               463 net/pf_norm.c  		DPFPRINTF(("drop: too big: %d\n", off));
off               495 net/pf_norm.c  	ip->ip_len = htons(off + hlen);
off               526 net/pf_norm.c  	u_int16_t		 off = ntohs(h->ip_off) << 3;
off               527 net/pf_norm.c  	u_int16_t		 max = ip_len + off;
off               559 net/pf_norm.c  		cur->fr_off = off;
off               567 net/pf_norm.c  		DPFPRINTF(("fragcache[%d]: new %d-%d\n", h->ip_id, off, max));
off               578 net/pf_norm.c  		if (fra->fr_off > off)
off               588 net/pf_norm.c  		precut = frp->fr_end - off;
off               592 net/pf_norm.c  			    h->ip_id, frp->fr_off, frp->fr_end, off, max));
off               598 net/pf_norm.c  			    h->ip_id, frp->fr_off, frp->fr_end, off, max));
off               609 net/pf_norm.c  			    h->ip_id, precut, frp->fr_off, frp->fr_end, off,
off               612 net/pf_norm.c  			off += precut;
off               656 net/pf_norm.c  			    h->ip_id, -precut, frp->fr_off, frp->fr_end, off,
off               664 net/pf_norm.c  			cur->fr_off = off;
off               678 net/pf_norm.c  			    h->ip_id, off, max, fra->fr_off, fra->fr_end));
off               679 net/pf_norm.c  			fra->fr_off = off;
off               684 net/pf_norm.c  			    h->ip_id, aftercut, off, max, fra->fr_off,
off               686 net/pf_norm.c  			fra->fr_off = off;
off               710 net/pf_norm.c  			    h->ip_id, -aftercut, off, max, fra->fr_off,
off               718 net/pf_norm.c  			cur->fr_off = off;
off               730 net/pf_norm.c  				    h->ip_id, cur->fr_off, cur->fr_end, off,
off               743 net/pf_norm.c  				    h->ip_id, frp->fr_off, frp->fr_end, off,
off              1049 net/pf_norm.c  	int			 off;
off              1097 net/pf_norm.c  	off = sizeof(struct ip6_hdr);
off              1108 net/pf_norm.c  			if (!pf_pull_hdr(m, off, &ext, sizeof(ext), NULL,
off              1112 net/pf_norm.c  				off += (ext.ip6e_len + 2) * 4;
off              1114 net/pf_norm.c  				off += (ext.ip6e_len + 1) * 8;
off              1118 net/pf_norm.c  			if (!pf_pull_hdr(m, off, &ext, sizeof(ext), NULL,
off              1121 net/pf_norm.c  			optend = off + (ext.ip6e_len + 1) * 8;
off              1122 net/pf_norm.c  			ooff = off + sizeof(ext);
off              1160 net/pf_norm.c  			off = optend;
off              1190 net/pf_norm.c  	if (!pf_pull_hdr(m, off, &frag, sizeof(frag), NULL, NULL, AF_INET6))
off              1193 net/pf_norm.c  	if (fragoff + (plen - off - sizeof(frag)) > IPV6_MAXPACKET)
off              1222 net/pf_norm.c      int off, void *h, struct pf_pdesc *pd)
off              1255 net/pf_norm.c  			    pf_osfp_fingerprint(pd, m, off, th),
off              1319 net/pf_norm.c  	if (r->max_mss && pf_normalize_tcpopt(r, m, th, off))
off              1324 net/pf_norm.c  		m_copyback(m, off, sizeof(*th), th);
off              1336 net/pf_norm.c  pf_normalize_tcp_init(struct mbuf *m, int off, struct pf_pdesc *pd,
off              1377 net/pf_norm.c  	    pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
off              1430 net/pf_norm.c  pf_normalize_tcp_stateful(struct mbuf *m, int off, struct pf_pdesc *pd,
off              1477 net/pf_norm.c  	    pf_pull_hdr(m, off, hdr, th->th_off << 2, NULL, NULL, pd->af)) {
off              1545 net/pf_norm.c  			m_copyback(m, off + sizeof(struct tcphdr),
off              1822 net/pf_norm.c      int off)
off              1832 net/pf_norm.c  	optp = mtod(m, caddr_t) + off + sizeof(struct tcphdr);
off                88 net/pf_osfp.c  pf_osfp_fingerprint(struct pf_pdesc *pd, struct mbuf *m, int off,
off               106 net/pf_osfp.c  	if (!pf_pull_hdr(m, off, hdr, tcp->th_off << 2, NULL, NULL,
off              1753 net/pf_table.c 		int off;
off              1756 net/pf_table.c 		off = 1;
off              1758 net/pf_table.c 			off++;
off              1759 net/pf_table.c 		bcopy(path, anchor, siz - off);
off              1760 net/pf_table.c 		memset(anchor + siz - off, 0, off);
off               209 net/radix.c    	int off = t->rn_off, vlen = *(u_char *)cp, matched_off;
off               235 net/radix.c    	cp += off; cp2 = t->rn_key + off; cplim = v + vlen;
off               287 net/radix.c    					off = min(t->rn_off, matched_off);
off               291 net/radix.c    					if (x && rn_satisfies_leaf(v, x, off))
off               932 net/radix.c    rn_inithead(void **head, int off)
off               942 net/radix.c    	return rn_inithead0(rnh, off);
off               946 net/radix.c    rn_inithead0(struct radix_node_head *rnh, int off)
off               951 net/radix.c    	t = rn_newpair(rn_zeros, off, rnh->rnh_nodes);
off               957 net/radix.c    	tt->rn_b = -1 - off;
off               278 net/radix_mpath.c rn_mpath_inithead(void **head, int off)
off               284 net/radix_mpath.c 	if (rn_inithead(head, off) == 1) {
off               575 net80211/ieee80211_input.c 		int off, pktlen;
off               579 net80211/ieee80211_input.c 		off = 0;
off               581 net80211/ieee80211_input.c 		while (pktlen > off) {
off               599 net80211/ieee80211_input.c 			if (pktlen - off >= MINCLSIZE) {
off               611 net80211/ieee80211_input.c 			if (n->m_len > pktlen - off)
off               612 net80211/ieee80211_input.c 				n->m_len = pktlen - off;
off               613 net80211/ieee80211_input.c 			m_copydata(m, off, n->m_len, mtod(n, caddr_t));
off               614 net80211/ieee80211_input.c 			off += n->m_len;
off              1918 netbt/hci.h    	uint8_t off = bit - 1;
off              1920 netbt/hci.h    	off >>= 5;
off              1921 netbt/hci.h    	filter->mask[off] |= (1 << ((bit - 1) & 0x1f));
off              1927 netbt/hci.h    	uint8_t off = bit - 1;
off              1929 netbt/hci.h    	off >>= 5;
off              1930 netbt/hci.h    	filter->mask[off] &= ~(1 << ((bit - 1) & 0x1f));
off              1936 netbt/hci.h    	uint8_t off = bit - 1;
off              1938 netbt/hci.h    	off >>= 5;
off              1939 netbt/hci.h    	return (filter->mask[off] & (1 << ((bit - 1) & 0x1f)));
off                90 netinet/in4_cksum.c in4_cksum(m, nxt, off, len)
off                93 netinet/in4_cksum.c 	int off, len;
off               114 netinet/in4_cksum.c 		if (off < sizeof(struct ipovly))
off               130 netinet/in4_cksum.c 	while (m && off > 0) {
off               131 netinet/in4_cksum.c 		if (m->m_len > off)
off               133 netinet/in4_cksum.c 		off -= m->m_len;
off               140 netinet/in4_cksum.c 		w = (u_int16_t *)(mtod(m, caddr_t) + off);
off               153 netinet/in4_cksum.c 			mlen = m->m_len - off - 1;
off               156 netinet/in4_cksum.c 			mlen = m->m_len - off;
off               157 netinet/in4_cksum.c 		off = 0;
off               131 netinet/in_gif.c 	int off;
off               138 netinet/in_gif.c 	off = va_arg(ap, int);
off               173 netinet/in_gif.c 		ipip_input(m, off, gifp); /* We have a configured GIF */
off               178 netinet/in_gif.c 	ip4_input(m, off); /* No GIF interface was configured */
off               277 netinet/ip6.h  #define IP6_EXTHDR_GET(val, typ, m, off, len) \
off               281 netinet/ip6.h  	if ((m)->m_len >= (off) + (len))				\
off               282 netinet/ip6.h  		(val) = (typ)(mtod((m), caddr_t) + (off));		\
off               284 netinet/ip6.h  		t = m_pulldown((m), (off), (len), &tmp);		\
off               296 netinet/ip6.h  #define IP6_EXTHDR_GET0(val, typ, m, off, len) \
off               299 netinet/ip6.h  	if ((off) == 0 && (m)->m_len >= len)				\
off               302 netinet/ip6.h  		t = m_pulldown((m), (off), (len), NULL);		\
off               200 netinet/ip_ah.c 	int off, count;
off               245 netinet/ip_ah.c 		for (off = sizeof(struct ip); off < skip;) {
off               246 netinet/ip_ah.c 			if (ptr[off] == IPOPT_EOL || ptr[off] == IPOPT_NOP ||
off               247 netinet/ip_ah.c 			    off + 1 < skip)
off               252 netinet/ip_ah.c 				    ptr[off]));
off               259 netinet/ip_ah.c 			switch (ptr[off]) {
off               261 netinet/ip_ah.c 				off = skip;  /* End the loop. */
off               265 netinet/ip_ah.c 				off++;
off               274 netinet/ip_ah.c 				if (ptr[off + 1] < 2) {
off               277 netinet/ip_ah.c 					    "option %d\n", ptr[off]));
off               284 netinet/ip_ah.c 				off += ptr[off + 1];
off               290 netinet/ip_ah.c 				if (ptr[off + 1] < 2) {
off               293 netinet/ip_ah.c 					    "option %d\n", ptr[off]));
off               310 netinet/ip_ah.c 					bcopy(ptr + off + ptr[off + 1] -
off               317 netinet/ip_ah.c 				if (ptr[off + 1] < 2) {
off               320 netinet/ip_ah.c 					    "option %d\n", ptr[off]));
off               327 netinet/ip_ah.c 				count = ptr[off + 1];
off               329 netinet/ip_ah.c 				off += count;
off               334 netinet/ip_ah.c 			if (off > skip)	{
off               406 netinet/ip_ah.c 		for (off = 0; off < skip - sizeof(struct ip6_hdr);) {
off               410 netinet/ip_ah.c 				ip6e = (struct ip6_ext *) (ptr + off);
off               417 netinet/ip_ah.c 				for (count = off + sizeof(struct ip6_ext);
off               418 netinet/ip_ah.c 				     count < off + ((ip6e->ip6e_len + 1) << 3);) {
off               425 netinet/ip_ah.c 					if (count > off +
off               459 netinet/ip_ah.c 				off += ((ip6e->ip6e_len + 1) << 3);
off               471 netinet/ip_ah.c 				ip6e = (struct ip6_ext *) (ptr + off);
off               472 netinet/ip_ah.c 				rh = (struct ip6_rthdr *)(ptr + off);
off               507 netinet/ip_ah.c 				off += ((ip6e->ip6e_len + 1) << 3);
off               514 netinet/ip_ah.c 				    "IPv6 header type %d\n", off));
off              1017 netinet/ip_input.c 	int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0;
off              1064 netinet/ip_input.c 			if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
off              1082 netinet/ip_input.c 			off--;			/* 0 origin */
off              1083 netinet/ip_input.c 			if ((off + sizeof(struct in_addr)) > optlen) {
off              1094 netinet/ip_input.c 			bcopy((caddr_t)(cp + off), (caddr_t)&ipaddr.sin_addr,
off              1110 netinet/ip_input.c 			    (caddr_t)(cp + off), sizeof(struct in_addr));
off              1123 netinet/ip_input.c 			if ((off = cp[IPOPT_OFFSET]) < IPOPT_MINOFF) {
off              1131 netinet/ip_input.c 			off--;			/* 0 origin */
off              1132 netinet/ip_input.c 			if ((off + sizeof(struct in_addr)) > optlen)
off              1147 netinet/ip_input.c 			    (caddr_t)(cp + off), sizeof(struct in_addr));
off              1091 netinet/ip_ipsp.c ipsp_parse_headers(struct mbuf *m, int off, u_int8_t proto)
off              1123 netinet/ip_ipsp.c 			m_copydata(m, off, sizeof(struct ip), (caddr_t) &iph);
off              1126 netinet/ip_ipsp.c 			off += iph.ip_hl << 2;
off              1137 netinet/ip_ipsp.c 			m_copydata(m, off + offsetof(struct ip6_hdr, ip6_dst),
off              1145 netinet/ip_ipsp.c 			for (l = ip6_nexthdr(m, off, proto, &nxtp); l != -1;
off              1146 netinet/ip_ipsp.c 			    l = ip6_nexthdr(m, off, proto, &nxtp)) {
off              1147 netinet/ip_ipsp.c 				off += l;
off              1162 netinet/ip_ipsp.c 					m_copydata(m, off + sizeof(u_int32_t),
off              1176 netinet/ip_ipsp.c 						m_copydata(m, off +
off              1192 netinet/ip_ipsp.c 			m_copydata(m, off, sizeof(u_int32_t), (caddr_t) &spi);
off              1271 netinet/ip_ipsp.c 				m_copydata(m, off + sizeof(u_int32_t),
off              1274 netinet/ip_ipsp.c 				m_copydata(m, off, sizeof(u_int32_t),
off              1305 netinet/ip_ipsp.c 				m_copydata(m, off, 2 * sizeof(u_int8_t), foo);
off              1307 netinet/ip_ipsp.c 				off += (foo[1] + 2) << 2;
off              1310 netinet/ip_ipsp.c 				off += esphlen;
off               803 netinet/ip_output.c 	int len, hlen, off;
off               837 netinet/ip_output.c 	for (off = hlen + len; off < ntohs(ip->ip_len); off += len) {
off               856 netinet/ip_output.c 		mhip->ip_off = ((off - hlen) >> 3) +
off               860 netinet/ip_output.c 		if (off + len >= ntohs(ip->ip_len))
off               861 netinet/ip_output.c 			len = ntohs(ip->ip_len) - off;
off               865 netinet/ip_output.c 		m->m_next = m_copy(m0, off, len);
off              1002 netinet/ipsec_input.c ah6_input_cb(struct mbuf *m, int off, int protoff)
off              1026 netinet/ipsec_input.c 		if (m->m_pkthdr.len < off) {
off              1031 netinet/ipsec_input.c 		nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
off                78 netinet/ipsec_output.c 	int i, off, error;
off               302 netinet/ipsec_output.c 		off = offsetof(struct ip, ip_p);
off               310 netinet/ipsec_output.c 		off = offsetof(struct ip6_hdr, ip6_nxt);
off               355 netinet/ipsec_output.c 				off = i + offsetof(struct ip6_ext, ip6e_nxt);
off               383 netinet/ipsec_output.c 	return (*(tdb->tdb_xform->xf_output))(m, tdb, NULL, i, off);
off               374 netinet/tcp_input.c 	int tlen, off;
off               550 netinet/tcp_input.c 	off = th->th_off << 2;
off               551 netinet/tcp_input.c 	if (off < sizeof(struct tcphdr) || off > tlen) {
off               555 netinet/tcp_input.c 	tlen -= off;
off               556 netinet/tcp_input.c 	if (off > sizeof(struct tcphdr)) {
off               557 netinet/tcp_input.c 		IP6_EXTHDR_GET(th, struct tcphdr *, m, iphlen, off);
off               562 netinet/tcp_input.c 		optlen = off - sizeof(struct tcphdr);
off              1099 netinet/tcp_input.c 				m_adj(m, iphlen + off);
off              1113 netinet/tcp_input.c 	hdroptlen = iphlen + off;
off              2842 netinet/tcp_input.c tcp_pulloutofband(so, urgent, m, off)
off              2846 netinet/tcp_input.c 	int off;
off              2848 netinet/tcp_input.c         int cnt = off + urgent - 1;
off               213 netinet/tcp_output.c 	int off, flags, error;
off               270 netinet/tcp_output.c 	off = tp->snd_nxt - tp->snd_una;
off               295 netinet/tcp_output.c 			off = p->rxmit - tp->snd_una;
off               335 netinet/tcp_output.c 			if (off < so->so_snd.sb_cc)
off               347 netinet/tcp_output.c 	len = ulmin(so->so_snd.sb_cc, win) - off;
off               396 netinet/tcp_output.c 	if (off + len < so->so_snd.sb_cc)
off               415 netinet/tcp_output.c 		    len + off >= so->so_snd.sb_cc && !soissending(so))
off               696 netinet/tcp_output.c 		if ((m = m_copypack(so->so_snd.sb_mb, off,
off               722 netinet/tcp_output.c 			m_copydata(so->so_snd.sb_mb, off, (int) len,
off               726 netinet/tcp_output.c 			m->m_next = m_copy(so->so_snd.sb_mb, off, (int) len);
off               740 netinet/tcp_output.c 		if (off + len == so->so_snd.sb_cc && !soissending(so))
off               707 netinet/tcp_subr.c 	int off;
off               742 netinet/tcp_subr.c 		off = ip6cp->ip6c_off;
off               757 netinet/tcp_subr.c 		if (m->m_pkthdr.len < off + sizeof(*thp))
off               765 netinet/tcp_subr.c 		m_copydata(m, off, sizeof(*thp), (caddr_t)&th);
off               671 netinet/udp_usrreq.c 	int off;
off               702 netinet/udp_usrreq.c 		off = ip6cp->ip6c_off;
off               751 netinet/udp_usrreq.c 		if (m->m_pkthdr.len < off + sizeof(*uhp))
off               755 netinet/udp_usrreq.c 		m_copydata(m, off, sizeof(*uhp), (caddr_t)&uh);
off                62 netinet6/dest6.c 	int off = *offp, dstoptlen, optlen;
off                67 netinet6/dest6.c 	IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, sizeof(*dstopts));
off                72 netinet6/dest6.c 	IP6_EXTHDR_GET(dstopts, struct ip6_dest *, m, off, dstoptlen);
off                75 netinet6/dest6.c 	off += dstoptlen;
off               104 netinet6/dest6.c 	*offp = off;
off               284 netinet6/icmp6.c 	int off;
off               330 netinet6/icmp6.c 	off = ip6_lasthdr(m, 0, IPPROTO_IPV6, &nxt);
off               331 netinet6/icmp6.c 	if (off >= 0 && nxt == IPPROTO_ICMPV6) {
off               334 netinet6/icmp6.c 		IP6_EXTHDR_GET(icp, struct icmp6_hdr *, m, off,
off               427 netinet6/icmp6.c 	int off = *offp;
off               448 netinet6/icmp6.c 	IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off, sizeof(*icmp6));
off               455 netinet6/icmp6.c 	if ((sum = in6_cksum(m, IPPROTO_ICMPV6, off, icmp6len)) != 0) {
off               585 netinet6/icmp6.c 		    n->m_len < off + sizeof(struct icmp6_hdr)) {
off               629 netinet6/icmp6.c 			n->m_pkthdr.len -= (off + sizeof(struct icmp6_hdr));
off               630 netinet6/icmp6.c 			m_adj(n0, off + sizeof(struct icmp6_hdr));
off               635 netinet6/icmp6.c 			IP6_EXTHDR_GET(nicmp6, struct icmp6_hdr *, n, off,
off               637 netinet6/icmp6.c 			noff = off;
off               666 netinet6/icmp6.c 			mld6_input(m, off);
off               670 netinet6/icmp6.c 		mld6_input(n, off);
off               703 netinet6/icmp6.c 				n = ni6_input(n, off);
off               776 netinet6/icmp6.c 			nd6_rs_input(m, off, icmp6len);
off               780 netinet6/icmp6.c 		nd6_rs_input(n, off, icmp6len);
off               792 netinet6/icmp6.c 			nd6_ra_input(m, off, icmp6len);
off               796 netinet6/icmp6.c 		nd6_ra_input(n, off, icmp6len);
off               808 netinet6/icmp6.c 			nd6_ns_input(m, off, icmp6len);
off               812 netinet6/icmp6.c 		nd6_ns_input(n, off, icmp6len);
off               824 netinet6/icmp6.c 			nd6_na_input(m, off, icmp6len);
off               828 netinet6/icmp6.c 		nd6_na_input(n, off, icmp6len);
off               840 netinet6/icmp6.c 			icmp6_redirect_input(m, off);
off               844 netinet6/icmp6.c 		icmp6_redirect_input(n, off);
off               871 netinet6/icmp6.c 		if (icmp6_notify_error(m, off, icmp6len, code)) {
off               897 netinet6/icmp6.c icmp6_notify_error(m, off, icmp6len, code)
off               899 netinet6/icmp6.c 	int off, icmp6len, code;
off               910 netinet6/icmp6.c 	IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off,
off               922 netinet6/icmp6.c 		int eoff = off + sizeof(struct icmp6_hdr) +
off              1027 netinet6/icmp6.c 		IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off,
off              1182 netinet6/icmp6.c ni6_input(m, off)
off              1184 netinet6/icmp6.c 	int off;
off              1200 netinet6/icmp6.c 	IP6_EXTHDR_GET(ni6, struct icmp6_nodeinfo *, m, off, sizeof(*ni6));
off              1228 netinet6/icmp6.c 	subjlen = m->m_pkthdr.len - off - sizeof(struct icmp6_nodeinfo);
off              1275 netinet6/icmp6.c 			m_copydata(m, off + sizeof(struct icmp6_nodeinfo),
off              1315 netinet6/icmp6.c 			    off + sizeof(struct icmp6_nodeinfo), subjlen);
off              1887 netinet6/icmp6.c icmp6_rip6_input(mp, off)
off              1889 netinet6/icmp6.c 	int	off;
off              1899 netinet6/icmp6.c 	IP6_EXTHDR_GET(icmp6, struct icmp6_hdr *, m, off, sizeof(*icmp6));
off              1932 netinet6/icmp6.c 				m_adj(n, off);
off              1951 netinet6/icmp6.c 		m_adj(m, off);
off              1981 netinet6/icmp6.c icmp6_reflect(m, off)
off              1983 netinet6/icmp6.c 	size_t off;
off              1995 netinet6/icmp6.c 	if (off < sizeof(struct ip6_hdr)) {
off              1998 netinet6/icmp6.c 		    (u_long)off, (u_long)sizeof(struct ip6_hdr),
off              2011 netinet6/icmp6.c 	if (off > sizeof(struct ip6_hdr)) {
off              2015 netinet6/icmp6.c 		l = off - sizeof(struct ip6_hdr);
off              2171 netinet6/icmp6.c icmp6_redirect_input(m, off)
off              2173 netinet6/icmp6.c 	int off;
off              2200 netinet6/icmp6.c 	IP6_EXTHDR_GET(nd_rd, struct nd_redirect *, m, off, icmp6len);
off                88 netinet6/in6_cksum.c in6_cksum(m, nxt, off, len)
off                91 netinet6/in6_cksum.c 	u_int32_t off, len;
off               116 netinet6/in6_cksum.c 	if (m->m_pkthdr.len < off + len) {
off               118 netinet6/in6_cksum.c 			m->m_pkthdr.len, off, len);
off               150 netinet6/in6_cksum.c 	while (m != NULL && off > 0) {
off               151 netinet6/in6_cksum.c 		if (m->m_len <= off)
off               152 netinet6/in6_cksum.c 			off -= m->m_len;
off               157 netinet6/in6_cksum.c 	w = (u_int16_t *)(mtod(m, u_char *) + off);
off               158 netinet6/in6_cksum.c 	mlen = m->m_len - off;
off               202 netinet6/ip6_input.c 	int off = sizeof(struct ip6_hdr), nest;
off               577 netinet6/ip6_input.c 		if (ip6_hopopts_input(&plen, &rtalert, &m, &off)) {
off               706 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off) {
off               712 netinet6/ip6_input.c 		nxt = (*inet6sw[ip6_protox[nxt]].pr_input)(&m, &off, nxt);
off               728 netinet6/ip6_input.c 	int done = 0, lim, off, rh_cnt = 0;
off               730 netinet6/ip6_input.c 	off = ((caddr_t)ip6 - m->m_data) + sizeof(struct ip6_hdr);
off               740 netinet6/ip6_input.c 			if (off + sizeof(opt6) > lim) {
off               745 netinet6/ip6_input.c 			m_copydata(m, off, sizeof(rthdr), (caddr_t)&rthdr);
off               750 netinet6/ip6_input.c 			off += (rthdr.ip6r_len + 1) * 8;
off               757 netinet6/ip6_input.c 			if (off + sizeof(opt6) > lim) {
off               766 netinet6/ip6_input.c 			m_copydata(m, off, sizeof(opt6), (caddr_t)&opt6);
off               769 netinet6/ip6_input.c 				off += (opt6.ip6e_len + 2) * 4;
off               771 netinet6/ip6_input.c 				off += (opt6.ip6e_len + 1) * 8;
off               797 netinet6/ip6_input.c 	int off = *offp, hbhlen;
off               815 netinet6/ip6_input.c 	off += hbhlen;
off               823 netinet6/ip6_input.c 	*offp = off;
off               976 netinet6/ip6_input.c ip6_unknown_opt(optp, m, off)
off               979 netinet6/ip6_input.c 	int off;
off               991 netinet6/ip6_input.c 		icmp6_error(m, ICMP6_PARAM_PROB, ICMP6_PARAMPROB_OPTION, off);
off              1001 netinet6/ip6_input.c 				    ICMP6_PARAMPROB_OPTION, off);
off              1133 netinet6/ip6_input.c 		int nxt = ip6->ip6_nxt, off = sizeof(struct ip6_hdr);
off              1161 netinet6/ip6_input.c 			ext = ip6_pullexthdr(m, off, nxt);
off              1217 netinet6/ip6_input.c 			off += elen;
off              1234 netinet6/ip6_input.c ip6_pullexthdr(m, off, nxt)
off              1236 netinet6/ip6_input.c 	size_t off;
off              1255 netinet6/ip6_input.c 	m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
off              1278 netinet6/ip6_input.c 	m_copydata(m, off, elen, mtod(n, caddr_t));
off              1296 netinet6/ip6_input.c ip6_get_prevhdr(m, off)
off              1298 netinet6/ip6_input.c 	int off;
off              1302 netinet6/ip6_input.c 	if (off == sizeof(struct ip6_hdr))
off              1310 netinet6/ip6_input.c 		while (len < off) {
off              1337 netinet6/ip6_input.c ip6_nexthdr(m, off, proto, nxtp)
off              1339 netinet6/ip6_input.c 	int off;
off              1350 netinet6/ip6_input.c 	if ((m->m_flags & M_PKTHDR) == 0 || m->m_pkthdr.len < off)
off              1355 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off + sizeof(ip6))
off              1357 netinet6/ip6_input.c 		m_copydata(m, off, sizeof(ip6), (caddr_t)&ip6);
off              1360 netinet6/ip6_input.c 		off += sizeof(ip6);
off              1361 netinet6/ip6_input.c 		return off;
off              1368 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off + sizeof(fh))
off              1370 netinet6/ip6_input.c 		m_copydata(m, off, sizeof(fh), (caddr_t)&fh);
off              1375 netinet6/ip6_input.c 		off += sizeof(struct ip6_frag);
off              1376 netinet6/ip6_input.c 		return off;
off              1379 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off + sizeof(ip6e))
off              1381 netinet6/ip6_input.c 		m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
off              1384 netinet6/ip6_input.c 		off += (ip6e.ip6e_len + 2) << 2;
off              1385 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off)
off              1387 netinet6/ip6_input.c 		return off;
off              1392 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off + sizeof(ip6e))
off              1394 netinet6/ip6_input.c 		m_copydata(m, off, sizeof(ip6e), (caddr_t)&ip6e);
off              1397 netinet6/ip6_input.c 		off += (ip6e.ip6e_len + 1) << 3;
off              1398 netinet6/ip6_input.c 		if (m->m_pkthdr.len < off)
off              1400 netinet6/ip6_input.c 		return off;
off              1419 netinet6/ip6_input.c ip6_lasthdr(m, off, proto, nxtp)
off              1421 netinet6/ip6_input.c 	int off;
off              1433 netinet6/ip6_input.c 		newoff = ip6_nexthdr(m, off, proto, nxtp);
off              1435 netinet6/ip6_input.c 			return off;
off              1436 netinet6/ip6_input.c 		else if (newoff < off)
off              1438 netinet6/ip6_input.c 		else if (newoff == off)
off              1441 netinet6/ip6_input.c 		off = newoff;
off              1700 netinet6/ip6_mroute.c 	int off = *offp;
off              1734 netinet6/ip6_mroute.c 	IP6_EXTHDR_GET(pim, struct pim *, m, off, minlen);
off              1766 netinet6/ip6_mroute.c 		if (in6_cksum(m, IPPROTO_PIM, off, cksumlen)) {
off              1866 netinet6/ip6_mroute.c 		mcp = m_copy(m, 0, off + PIM6_REG_MINLEN);
off              1880 netinet6/ip6_mroute.c 		m_adj(m, off + PIM_MINLEN);
off               159 netinet6/ip6_output.c 	int hlen, tlen, len, off;
off               914 netinet6/ip6_output.c 		for (off = hlen; off < tlen; off += len) {
off               936 netinet6/ip6_output.c 			ip6f->ip6f_offlg = htons((u_int16_t)((off - hlen) & ~7));
off               937 netinet6/ip6_output.c 			if (off + len >= tlen)
off               938 netinet6/ip6_output.c 				len = tlen - off;
off               943 netinet6/ip6_output.c 			if ((m_frgpart = m_copy(m0, off, len)) == 0) {
off               174 netinet6/mld6.c mld6_input(m, off)
off               176 netinet6/mld6.c 	int off;
off               185 netinet6/mld6.c 	IP6_EXTHDR_GET(mldh, struct mld_hdr *, m, off, sizeof(*mldh));
off                88 netinet6/nd6_nbr.c nd6_ns_input(m, off, icmp6len)
off                90 netinet6/nd6_nbr.c 	int off, icmp6len;
off               108 netinet6/nd6_nbr.c 	IP6_EXTHDR_GET(nd_ns, struct nd_neighbor_solicit *, m, off, icmp6len);
off               540 netinet6/nd6_nbr.c nd6_na_input(m, off, icmp6len)
off               542 netinet6/nd6_nbr.c 	int off, icmp6len;
off               572 netinet6/nd6_nbr.c 	IP6_EXTHDR_GET(nd_na, struct nd_neighbor_advert *, m, off, icmp6len);
off                91 netinet6/nd6_rtr.c nd6_rs_input(m, off, icmp6len)
off                93 netinet6/nd6_rtr.c 	int off, icmp6len;
off               132 netinet6/nd6_rtr.c 	IP6_EXTHDR_GET(nd_rs, struct nd_router_solicit *, m, off, icmp6len);
off               179 netinet6/nd6_rtr.c nd6_ra_input(m, off, icmp6len)
off               181 netinet6/nd6_rtr.c 	int off, icmp6len;
off               222 netinet6/nd6_rtr.c 	IP6_EXTHDR_GET(nd_ra, struct nd_router_advert *, m, off, icmp6len);
off               261 netinet6/raw_ip6.c 	int off;
off               288 netinet6/raw_ip6.c 		off = ip6cp->ip6c_off;
off               467 netinet6/raw_ip6.c 		int off;
off               473 netinet6/raw_ip6.c 			off = offsetof(struct icmp6_hdr, icmp6_cksum);
off               475 netinet6/raw_ip6.c 			off = in6p->in6p_cksum;
off               476 netinet6/raw_ip6.c 		if (plen < off + 1) {
off               480 netinet6/raw_ip6.c 		off += sizeof(struct ip6_hdr);
off               482 netinet6/raw_ip6.c 		n = m_pulldown(m, off, sizeof(*sump), &sumoff);
off                59 netinet6/route6.c 	int off = *offp, rhlen;
off                62 netinet6/route6.c 	IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, sizeof(*rh));
off                97 netinet6/route6.c 		IP6_EXTHDR_GET(rh, struct ip6_rthdr *, m, off, rhlen);
off               539 nfs/nfs_serv.c 	off_t off;
off               546 nfs/nfs_serv.c 		off = fxdr_hyper(tl);
off               549 nfs/nfs_serv.c 		off = (off_t)fxdr_unsigned(u_int32_t, *tl);
off               578 nfs/nfs_serv.c 	if (off >= va.va_size)
off               580 nfs/nfs_serv.c 	else if ((off + reqlen) > va.va_size)
off               581 nfs/nfs_serv.c 		cnt = va.va_size - off;
off               637 nfs/nfs_serv.c 		uiop->uio_offset = off;
off               642 nfs/nfs_serv.c 		off = uiop->uio_offset;
off               706 nfs/nfs_serv.c 	off_t off;
off               717 nfs/nfs_serv.c 		off = fxdr_hyper(tl);
off               722 nfs/nfs_serv.c 		off = (off_t)fxdr_unsigned(u_int32_t, *++tl);
off               821 nfs/nfs_serv.c 	    uiop->uio_offset = off;
off              2385 nfs/nfs_serv.c 	u_quad_t frev, off, toff, verf;
off              2400 nfs/nfs_serv.c 	off = toff;
off              2441 nfs/nfs_serv.c 	io.uio_offset = (off_t)off;
off              2456 nfs/nfs_serv.c 	off = (off_t)io.uio_offset;
off              2517 nfs/nfs_serv.c 		toff = off;
off              2648 nfs/nfs_serv.c 	u_quad_t frev, off, toff, verf;
off              2660 nfs/nfs_serv.c 	off = toff;
off              2700 nfs/nfs_serv.c 	io.uio_offset = (off_t)off;
off              2715 nfs/nfs_serv.c 	off = (u_quad_t)io.uio_offset;
off              2772 nfs/nfs_serv.c 		toff = off;
off              2960 nfs/nfs_serv.c 	u_quad_t frev, off;
off              2970 nfs/nfs_serv.c 	off = fxdr_hyper(tl);
off              1462 nfs/nfs_socket.c nfs_realign_fixup(struct mbuf *m, struct mbuf *n, unsigned int *off)
off              1490 nfs/nfs_socket.c 		*off += padding;
off              1505 nfs/nfs_socket.c 	unsigned int off = 0;
off              1527 nfs/nfs_socket.c 			m_copyback(n, off, m->m_len, mtod(m, caddr_t));
off              1534 nfs/nfs_socket.c 				nfs_realign_fixup(m, n, &off);
off              1536 nfs/nfs_socket.c 			off += m->m_len;
off              2654 nfs/nfs_vnops.c 	u_quad_t off = (u_quad_t)-1, endoff = 0, toff;
off              2694 nfs/nfs_vnops.c 			if (toff < off)
off              2695 nfs/nfs_vnops.c 				off = toff;
off              2706 nfs/nfs_vnops.c 		retv = nfs_commit(vp, off, (int)(endoff - off), p);
off              2879 nfs/nfs_vnops.c 	off_t off;
off              2908 nfs/nfs_vnops.c 		off = ((u_quad_t)bp->b_blkno) * DEV_BSIZE + bp->b_dirtyoff;
off              2930 nfs/nfs_vnops.c 				off = np->n_pushlo;
off              2935 nfs/nfs_vnops.c 			retv = nfs_commit(bp->b_vp, off, cnt, bp->b_proc);
off               283 ntfs/ntfs.h    #define ntfs_btocn(off)	(cn_t)((off) / ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
off               284 ntfs/ntfs.h    #define ntfs_btocl(off)	(cn_t)((off + ntfs_cntob(1) - 1) / ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
off               285 ntfs/ntfs.h    #define ntfs_btocnoff(off)	(off_t)((off) % ((ntmp)->ntm_spc * (ntmp)->ntm_bps))
off               121 ntfs/ntfs_compr.c 	int             off = 0;
off               125 ntfs/ntfs_compr.c 		new = ntfs_uncompblock(uup + i * NTFS_COMPBLOCK_SIZE, cup + off);
off               128 ntfs/ntfs_compr.c 		off += new;
off               297 ntfs/ntfs_subr.c 	int		error,off;
off               347 ntfs/ntfs_subr.c 	off = mfrp->fr_attroff;
off               348 ntfs/ntfs_subr.c 	ap = (struct attr *) ((caddr_t)mfrp + off);
off               360 ntfs/ntfs_subr.c 		off += ap->a_hdr.reclen;
off               361 ntfs/ntfs_subr.c 		ap = (struct attr *) ((caddr_t)mfrp + off);
off               652 ntfs/ntfs_subr.c 	u_int32_t       off;
off               660 ntfs/ntfs_subr.c 	off = 0;
off               663 ntfs/ntfs_subr.c 	while (run[off]) {
off               664 ntfs/ntfs_subr.c 		off += (run[off] & 0xF) + ((run[off] >> 4) & 0xF) + 1;
off               670 ntfs/ntfs_subr.c 	off = 0;
off               673 ntfs/ntfs_subr.c 	while (run[off]) {
off               675 ntfs/ntfs_subr.c 		sz = run[off++];
off               679 ntfs/ntfs_subr.c 			cl[cnt] += (u_int32_t) run[off++] << (i << 3);
off               682 ntfs/ntfs_subr.c 		if (run[off + sz - 1] & 0x80) {
off               685 ntfs/ntfs_subr.c 				tmp |= (u_int64_t) run[off++] << (i << 3);
off               689 ntfs/ntfs_subr.c 				tmp |= (u_int64_t) run[off++] << (i << 3);
off              1488 ntfs/ntfs_subr.c 	off_t           off = roff, left = rsize, towrite;
off              1495 ntfs/ntfs_subr.c 					ntfs_btocn(off), &vap);
off              1498 ntfs/ntfs_subr.c 		towrite = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
off              1500 ntfs/ntfs_subr.c 			 (u_int32_t) off, (u_int32_t) towrite,
off              1504 ntfs/ntfs_subr.c 					 off - ntfs_cntob(vap->va_vcnstart),
off              1509 ntfs/ntfs_subr.c 			       (u_int32_t) off, (u_int32_t) towrite));
off              1518 ntfs/ntfs_subr.c 		off += towrite;
off              1543 ntfs/ntfs_subr.c 	int             off;
off              1560 ntfs/ntfs_subr.c 	off = roff;
off              1572 ntfs/ntfs_subr.c 			 (u_int32_t) ccl, (u_int32_t) off));
off              1574 ntfs/ntfs_subr.c 		if (ntfs_cntob(ccl) < off) {
off              1575 ntfs/ntfs_subr.c 			off -= ntfs_cntob(ccl);
off              1582 ntfs/ntfs_subr.c 		ccl -= ntfs_btocn(off);
off              1583 ntfs/ntfs_subr.c 		cn = ccn + ntfs_btocn(off);
off              1584 ntfs/ntfs_subr.c 		off = ntfs_btocnoff(off);
off              1593 ntfs/ntfs_subr.c 			tocopy = MIN(left, ntfs_cntob(1) - off);
off              1594 ntfs/ntfs_subr.c 			cl = ntfs_btocl(tocopy + off);
off              1599 ntfs/ntfs_subr.c 				(u_int32_t) off, (u_int32_t) tocopy, 
off              1601 ntfs/ntfs_subr.c 			if ((off == 0) && (tocopy == ntfs_cntob(cl)))
off              1615 ntfs/ntfs_subr.c 				uiomove(bp->b_data + off, tocopy, uio);
off              1617 ntfs/ntfs_subr.c 				memcpy(bp->b_data + off, data, tocopy);
off              1621 ntfs/ntfs_subr.c 			off = 0;
off              1653 ntfs/ntfs_subr.c 	int             off;
off              1666 ntfs/ntfs_subr.c 		off = roff;
off              1678 ntfs/ntfs_subr.c 				 (u_int32_t) ccl, (u_int32_t) off));
off              1680 ntfs/ntfs_subr.c 			if (ntfs_cntob(ccl) < off) {
off              1681 ntfs/ntfs_subr.c 				off -= ntfs_cntob(ccl);
off              1686 ntfs/ntfs_subr.c 				ccl -= ntfs_btocn(off);
off              1687 ntfs/ntfs_subr.c 				cn = ccn + ntfs_btocn(off);
off              1688 ntfs/ntfs_subr.c 				off = ntfs_btocnoff(off);
off              1699 ntfs/ntfs_subr.c 					    ntfs_cntob(1) - off);
off              1700 ntfs/ntfs_subr.c 					cl = ntfs_btocl(tocopy + off);
off              1709 ntfs/ntfs_subr.c 						(u_int32_t) off, 
off              1721 ntfs/ntfs_subr.c 						uiomove(bp->b_data + off,
off              1724 ntfs/ntfs_subr.c 						memcpy(data, bp->b_data + off,
off              1730 ntfs/ntfs_subr.c 					off = 0;
off              1736 ntfs/ntfs_subr.c 				tocopy = MIN(left, ntfs_cntob(ccl) - off);
off              1741 ntfs/ntfs_subr.c 					(u_int32_t) off, (u_int32_t) tocopy, 
off              1744 ntfs/ntfs_subr.c 				off = 0;
off              1788 ntfs/ntfs_subr.c 	off_t           off = roff, left = rsize, toread;
off              1795 ntfs/ntfs_subr.c 					ntfs_btocn(off), &vap);
off              1798 ntfs/ntfs_subr.c 		toread = MIN(left, ntfs_cntob(vap->va_vcnend + 1) - off);
off              1800 ntfs/ntfs_subr.c 			 (u_int32_t) off, (u_int32_t) toread,
off              1804 ntfs/ntfs_subr.c 					 off - ntfs_cntob(vap->va_vcnstart),
off              1809 ntfs/ntfs_subr.c 			       (u_int32_t) off, (u_int32_t) toread);
off              1818 ntfs/ntfs_subr.c 		off += toread;
off              1862 ntfs/ntfs_subr.c 		off_t           off = roff, left = rsize, tocopy;
off              1875 ntfs/ntfs_subr.c 		off = roff - ntfs_cntob(cn);
off              1885 ntfs/ntfs_subr.c 			tocopy = MIN(left, ntfs_cntob(NTFS_COMPUNIT_CL) - off);
off              1889 ntfs/ntfs_subr.c 					uiomove(cup + off, tocopy, uio);
off              1891 ntfs/ntfs_subr.c 					memcpy(data, cup + off, tocopy);
off              1905 ntfs/ntfs_subr.c 					uiomove(uup + off, tocopy, uio);
off              1907 ntfs/ntfs_subr.c 					memcpy(data, uup + off, tocopy);
off              1912 ntfs/ntfs_subr.c 			off += tocopy - ntfs_cntob(NTFS_COMPUNIT_CL);
off              1932 ntfs/ntfs_subr.c 	      u_long *off)
off              1941 ntfs/ntfs_subr.c 	sz = run[(*off)++];
off              1947 ntfs/ntfs_subr.c 	if ((sz & 0xF) > 8 || (*off) + (sz & 0xF) > len) {
off              1950 ntfs/ntfs_subr.c 		       sz, len, *off);
off              1954 ntfs/ntfs_subr.c 		*cl += (u_int32_t) run[(*off)++] << (i << 3);
off              1957 ntfs/ntfs_subr.c 	if ((sz & 0xF) > 8 || (*off) + (sz & 0xF) > len) {
off              1960 ntfs/ntfs_subr.c 		       sz, len, *off);
off              1964 ntfs/ntfs_subr.c 		*cn += (u_int32_t) run[(*off)++] << (i << 3);
off              2026 ntfs/ntfs_subr.c 	u_long          off = 0;
off              2044 ntfs/ntfs_subr.c 		if (run[off] == 0) {
off              2049 ntfs/ntfs_subr.c 		error = ntfs_parserun(&ccn, &ccl, run, len, &off);
off               556 ntfs/ntfs_vnops.c 	off_t off;
off               560 ntfs/ntfs_vnops.c 	off = uio->uio_offset;
off               648 ntfs/ntfs_vnops.c 		ncookies,(u_int)(uio->uio_offset - off)));
off               668 ntfs/ntfs_vnops.c 			 (uio->uio_offset - off));
off               678 ntfs/ntfs_vnops.c 			off += dp->d_reclen;
off               679 ntfs/ntfs_vnops.c 			*cookiep++ = (u_int) off;
off               141 ufs/ext2fs/ext2fs_lookup.c 	off_t off = uio->uio_offset;
off               189 ufs/ext2fs/ext2fs_lookup.c 			off = off + e2d_reclen;
off               191 ufs/ext2fs/ext2fs_lookup.c 				*cookies++ = off;
off               200 ufs/ext2fs/ext2fs_lookup.c 		uio->uio_offset = off;
off               963 ufs/ext2fs/ext2fs_lookup.c 	off_t off;
off               971 ufs/ext2fs/ext2fs_lookup.c 	for (off = 0; off < ext2fs_size(ip); off += fs2h16(dp->e2d_reclen)) {
off               972 ufs/ext2fs/ext2fs_lookup.c 		error = vn_rdwr(UIO_READ, ITOV(ip), (caddr_t)dp, MINDIRSIZ, off,
off               437 ufs/ffs/ffs_balloc.c ffs2_balloc(struct inode *ip, off_t off, int size, struct ucred *cred,
off               455 ufs/ffs/ffs_balloc.c 	lbn = lblkno(fs, off);
off               456 ufs/ffs/ffs_balloc.c 	size = blkoff(fs, off) + size;
off               899 ufs/ffs/ffs_balloc.c ffs_balloc(struct inode *ip, off_t off, int size, struct ucred *cred,
off               904 ufs/ffs/ffs_balloc.c 		return (ffs2_balloc(ip, off, size, cred, flags, bpp));
off               907 ufs/ffs/ffs_balloc.c 		return (ffs1_balloc(ip, off, size, cred, flags, bpp));
off               142 ufs/ufs/inode.h #define UFS_TRUNCATE(ip, off, flags, cred) \
off               143 ufs/ufs/inode.h     ((ip)->i_vtbl->iv_truncate)((ip), (off), (flags), (cred))
off               233 ufs/ufs/ufs_bmap.c 	int i, numlevels, off;
off               281 ufs/ufs/ufs_bmap.c 	ap->in_off = off = NIADDR - i;
off               290 ufs/ufs/ufs_bmap.c 		off = (bn / blockcnt) % MNINDIR(ump);
off               294 ufs/ufs/ufs_bmap.c 		ap->in_off = off;
off               298 ufs/ufs/ufs_bmap.c 		metalbn -= -1 + off * blockcnt;
off              1068 ufs/ufs/ufs_lookup.c 	off_t off, m;
off              1076 ufs/ufs/ufs_lookup.c 	for (off = 0; off < m; off += dp->d_reclen) {
off              1077 ufs/ufs/ufs_lookup.c 		error = vn_rdwr(UIO_READ, ITOV(ip), (caddr_t)dp, MINDIRSIZ, off,
off              1383 ufs/ufs/ufs_vnops.c 	off_t off = uio->uio_offset;
off              1454 ufs/ufs/ufs_vnops.c 			(uio->uio_offset - off));
off              1455 ufs/ufs/ufs_vnops.c                 offstart = off;
off              1456 ufs/ufs/ufs_vnops.c                 for (dp = dpstart, ncookies = 0; off < uio->uio_offset; ) {
off              1459 ufs/ufs/ufs_vnops.c                         off += dp->d_reclen;
off              1463 ufs/ufs/ufs_vnops.c                 lost += uio->uio_offset - off;
off              1464 ufs/ufs/ufs_vnops.c                 uio->uio_offset = off;
off              1469 ufs/ufs/ufs_vnops.c                 for (off = offstart, dp = dpstart; off < uio->uio_offset; ) {
off              1470 ufs/ufs/ufs_vnops.c 			off += dp->d_reclen;
off              1471 ufs/ufs/ufs_vnops.c                         *cookies = off;
off               115 uvm/uvm_device.c udv_attach(arg, accessprot, off, size)
off               118 uvm/uvm_device.c 	voff_t off;			/* used only for access check */
off               142 uvm/uvm_device.c 	if (off < 0)
off               154 uvm/uvm_device.c 		if ((*mapfn)(device, off, accessprot) == -1)
off               156 uvm/uvm_device.c 		off += PAGE_SIZE; size -= PAGE_SIZE;
off               546 uvm/uvm_extern.h #define	uvm_pagealloc(obj, off, anon, flags) \
off               547 uvm/uvm_extern.h 	    uvm_pagealloc_strat((obj), (off), (anon), (flags), \
off               901 uvm/uvm_page.c uvm_pagealloc_strat(obj, off, anon, flags, strat, free_list)
off               903 uvm/uvm_page.c 	voff_t off;
off               916 uvm/uvm_page.c 	KASSERT(off == trunc_page(off));
off               970 uvm/uvm_page.c 	    obj, (u_long)off, anon, flags);
off              1037 uvm/uvm_page.c 	pg->offset = off;
off               306 uvm/uvm_page.h #define uvm_pagehash(obj,off) \
off               307 uvm/uvm_page.h 	(((unsigned long)obj+(unsigned long)atop(off)) & uvm.page_hashmask)
off               400 uvm/uvm_page.h 	int	off;
off               403 uvm/uvm_page.h 	psi = vm_physseg_find(pf, &off);
off               405 uvm/uvm_page.h 		return(&vm_physmem[psi].pgs[off]);
off               124 uvm/uvm_page_i.h uvm_pagelookup(struct uvm_object *obj, voff_t off)
off               130 uvm/uvm_page_i.h 	buck = &uvm.page_hash[uvm_pagehash(obj,off)];
off               135 uvm/uvm_page_i.h 		if (pg->uobject == obj && pg->offset == off) {
off               410 uvm/uvm_swap.c 	int off, bit;
off               417 uvm/uvm_swap.c 		off = SWD_DCRYPT_OFF(pagestart);
off               421 uvm/uvm_swap.c 			sdp->swd_decrypt[off] |= 1 << bit;
off               424 uvm/uvm_swap.c 			sdp->swd_decrypt[off] &= ~(1 << bit);
off               433 uvm/uvm_swap.c uvm_swap_needdecrypt(struct swapdev *sdp, int off)
off               438 uvm/uvm_swap.c 	off -= sdp->swd_drumoffset;
off               439 uvm/uvm_swap.c 	return sdp->swd_decrypt[SWD_DCRYPT_OFF(off)] & (1 << SWD_DCRYPT_BIT(off)) ?
off              1291 uvm/uvm_swap.c 	int		s, off, nra, error, sz, resid;
off              1359 uvm/uvm_swap.c 		off = byteoff % sdp->swd_bsize;
off              1360 uvm/uvm_swap.c 		sz = (1 + nra) * sdp->swd_bsize - off;
off              1379 uvm/uvm_swap.c 		nbp->vb_buf.b_blkno    = nbn + btodb(off);
off               566 xfs/xfs_vnodeops-bsd.c     off_t off;
off               568 xfs/xfs_vnodeops-bsd.c     off = ap->a_uio->uio_offset;
off               587 xfs/xfs_vnodeops-bsd.c 	    ((const char *)uio->uio_iov->iov_base - (uio->uio_offset - off));
off               605 xfs/xfs_vnodeops-bsd.c 	    off += dp->d_reclen;
off               606 xfs/xfs_vnodeops-bsd.c 	    *cookiep++ = off;