buf 184 arch/i386/i386/autoconf.c char buf[128];
buf 195 arch/i386/i386/autoconf.c snprintf(buf, sizeof buf, "%s%d%c", findblkname(majdev),
buf 197 arch/i386/i386/autoconf.c bootdv = parsedisk(buf, strlen(buf), part, &tmpdev);
buf 65 arch/i386/i386/disksubr.c readdisklabel(dev_t dev, void (*strat)(struct buf *),
buf 69 arch/i386/i386/disksubr.c struct buf *bp = NULL;
buf 128 arch/i386/i386/disksubr.c writedisklabel(dev_t dev, void (*strat)(struct buf *), struct disklabel *lp)
buf 132 arch/i386/i386/disksubr.c struct buf *bp = NULL;
buf 57 arch/i386/i386/dkcsum.c struct buf *bp;
buf 82 arch/i386/i386/kvm86.c char *buf;
buf 90 arch/i386/i386/kvm86.c if ((buf = (char *)uvm_km_zalloc(kernel_map, vmdsize)) == NULL)
buf 94 arch/i386/i386/kvm86.c vmd = (struct kvm86_data *)(buf + PAGE_SIZE);
buf 198 arch/i386/i386/kvm86.c kvm86_bios_read(u_int32_t vmva, char *buf, size_t len)
buf 213 arch/i386/i386/kvm86.c memcpy(buf, (void *)(bioscalltmpva + (vmva & (PAGE_SIZE - 1))),
buf 215 arch/i386/i386/kvm86.c buf += now;
buf 2497 arch/i386/i386/machdep.c long buf[dbtob(1) / sizeof (long)];
buf 2502 arch/i386/i386/machdep.c segp = (kcore_seg_t *)buf;
buf 2510 arch/i386/i386/machdep.c return (dump(dumpdev, dumplo, (caddr_t)buf, dbtob(1)));
buf 3703 arch/i386/i386/machdep.c _bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf,
buf 3719 arch/i386/i386/machdep.c error = _bus_dmamap_load_buffer(t, map, buf, buflen, p, flags,
buf 4012 arch/i386/i386/machdep.c _bus_dmamap_load_buffer(bus_dma_tag_t t, bus_dmamap_t map, void *buf,
buf 4018 arch/i386/i386/machdep.c vaddr_t vaddr = (vaddr_t)buf;
buf 95 arch/i386/i386/nvram.c u_char buf[NVRAM_SIZE];
buf 98 arch/i386/i386/nvram.c int count = min(sizeof(buf), uio->uio_resid);
buf 111 arch/i386/i386/nvram.c for (tmp = buf; count-- > 0 && pos < NVRAM_SIZE; ++pos, ++tmp)
buf 115 arch/i386/i386/nvram.c printf("nvramread read %d bytes (%s)\n", (tmp - buf), tmp);
buf 118 arch/i386/i386/nvram.c ret = uiomove((caddr_t)buf, (tmp - buf), uio);
buf 66 arch/i386/i386/procfs_machdep.c procfs_getcpuinfstr(char *buf, int *len)
buf 87 arch/i386/i386/procfs_machdep.c p = buf;
buf 161 arch/i386/i386/procfs_machdep.c *len = (p + l) - buf;
buf 343 arch/i386/i386/via.c struct swcr_data *sw, caddr_t buf)
buf 352 arch/i386/i386/via.c return (swcr_authcompute(crp, crd, sw, buf, type));
buf 357 arch/i386/i386/via.c struct viac3_session *ses, struct viac3_softc *sc, caddr_t buf)
buf 231 arch/i386/i386/vm_machdep.c vmapbuf(struct buf *bp, vsize_t len)
buf 271 arch/i386/i386/vm_machdep.c vunmapbuf(struct buf *bp, vsize_t len)
buf 764 arch/i386/isa/isa_machdep.c _isa_bus_dmamap_load(bus_dma_tag_t t, bus_dmamap_t map, void *buf,
buf 780 arch/i386/isa/isa_machdep.c if (_isa_dma_check_buffer(buf, buflen,
buf 782 arch/i386/isa/isa_machdep.c return (_bus_dmamap_load(t, map, buf, buflen,
buf 801 arch/i386/isa/isa_machdep.c cookie->id_origbuf = buf;
buf 821 arch/i386/isa/isa_machdep.c error = _bus_dmamap_load(t, map, buf, buflen, p, flags);
buf 1015 arch/i386/isa/isa_machdep.c _isa_dma_check_buffer(void *buf, bus_size_t buflen, int segcnt,
buf 1018 arch/i386/isa/isa_machdep.c vaddr_t vaddr = (vaddr_t)buf;
buf 570 arch/i386/pci/glxsb.c struct swcr_data *sw, caddr_t buf)
buf 579 arch/i386/pci/glxsb.c return (swcr_authcompute(crp, crd, sw, buf, type));
buf 584 arch/i386/pci/glxsb.c struct glxsb_session *ses, struct glxsb_softc *sc, caddr_t buf)
buf 310 arch/i386/stand/installboot/installboot.c devread(int fd, void *buf, daddr_t blk, size_t size, char *msg)
buf 315 arch/i386/stand/installboot/installboot.c if (read(fd, buf, size) != size)
buf 333 arch/i386/stand/installboot/installboot.c char *buf;
buf 407 arch/i386/stand/installboot/installboot.c if ((buf = malloc(fs->fs_bsize)) == NULL)
buf 412 arch/i386/stand/installboot/installboot.c devread(devfd, buf, pl->p_offset + blk, fs->fs_bsize, "inode");
buf 413 arch/i386/stand/installboot/installboot.c ip = (struct ufs1_dinode *)(buf) + ino_to_fsbo(fs, statbuf.st_ino);
buf 435 arch/i386/stand/installboot/installboot.c ((((char *)ap) - buf) + INODEOFF));
buf 445 arch/i386/stand/installboot/installboot.c ((((char *)ap) - buf) + INODEOFF));
buf 183 arch/i386/stand/libsa/biosdev.c CHS_rw(int rw, int dev, int cyl, int head, int sect, int nsect, void *buf)
buf 188 arch/i386/stand/libsa/biosdev.c BIOS_regs.biosr_es = (u_int32_t)buf >> 4;
buf 201 arch/i386/stand/libsa/biosdev.c "b" (buf), "m" (sect), "m" (head),
buf 209 arch/i386/stand/libsa/biosdev.c EDD_rw(int rw, int dev, u_int64_t daddr, u_int32_t nblk, void *buf)
buf 221 arch/i386/stand/libsa/biosdev.c cb.edd_seg = ((u_int32_t)buf >> 4) & 0xffff;
buf 222 arch/i386/stand/libsa/biosdev.c cb.edd_off = (u_int32_t)buf & 0xf;
buf 241 arch/i386/stand/libsa/biosdev.c biosd_io(int rw, bios_diskinfo_t *bd, daddr_t off, int nsect, void *buf)
buf 265 arch/i386/stand/libsa/biosdev.c if (((((u_int32_t)buf) & ~0xffff) !=
buf 266 arch/i386/stand/libsa/biosdev.c (((u_int32_t)buf + bbsize) & ~0xffff)) ||
buf 267 arch/i386/stand/libsa/biosdev.c (((u_int32_t)buf) >= 0x100000)) {
buf 274 arch/i386/stand/libsa/biosdev.c bcopy(buf, bb, bbsize);
buf 276 arch/i386/stand/libsa/biosdev.c bb = buf;
buf 324 arch/i386/stand/libsa/biosdev.c if (bb != buf && rw == F_READ)
buf 325 arch/i386/stand/libsa/biosdev.c bcopy(bb, buf, bbsize);
buf 345 arch/i386/stand/libsa/biosdev.c char *buf;
buf 374 arch/i386/stand/libsa/biosdev.c buf = alloca(DEV_BSIZE);
buf 380 arch/i386/stand/libsa/biosdev.c error = biosd_io(F_READ, bd, off, 1, buf);
buf 386 arch/i386/stand/libsa/biosdev.c return (getdisklabel(buf, label));
buf 589 arch/i386/stand/libsa/biosdev.c biosstrategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf,
buf 603 arch/i386/stand/libsa/biosdev.c error = biosd_io(rw, bd, blk, nsect, buf);
buf 86 arch/i386/stand/libsa/cmd_i386.c char buf[DEV_BSIZE], *dest = (void *)BOOTBIOS_ADDR;
buf 119 arch/i386/stand/libsa/cmd_i386.c st = biosd_io(F_READ, bd, 0, 1, buf);
buf 129 arch/i386/stand/libsa/cmd_i386.c buf[j] |= 0x80;
buf 131 arch/i386/stand/libsa/cmd_i386.c buf[j] &= ~0x80;
buf 135 arch/i386/stand/libsa/cmd_i386.c bcopy(buf, dest, DEV_BSIZE);
buf 353 arch/i386/stand/libsa/diskprobe.c char *buf;
buf 355 arch/i386/stand/libsa/diskprobe.c buf = alloca(DEV_BSIZE);
buf 364 arch/i386/stand/libsa/diskprobe.c st = biosd_io(F_READ, bdi, blk, 1, buf);
buf 369 arch/i386/stand/libsa/diskprobe.c bdi->checksum = adler32(bdi->checksum, buf, DEV_BSIZE);
buf 154 arch/i386/stand/libsa/pxe_net.c net_strategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf,
buf 232 arch/i386/stand/pxeboot/net.c static char buf[sizeof(".255.255.255.255")];
buf 235 arch/i386/stand/pxeboot/net.c cp = &buf[sizeof buf];
buf 52 compat/common/compat_dir.c caddr_t inp, buf;
buf 77 compat/common/compat_dir.c buf = malloc(buflen, M_TEMP, M_WAITOK);
buf 83 compat/common/compat_dir.c aiov.iov_base = buf;
buf 107 compat/common/compat_dir.c inp = buf;
buf 170 compat/common/compat_dir.c free(buf, M_TEMP);
buf 69 compat/common/compat_util.c char *ptr, *buf, *cp;
buf 73 compat/common/compat_util.c buf = (char *) malloc(MAXPATHLEN, M_TEMP, M_WAITOK);
buf 76 compat/common/compat_util.c for (ptr = buf, pr = prefix; (*ptr = *pr) != '\0'; ptr++, pr++)
buf 79 compat/common/compat_util.c sz = MAXPATHLEN - (ptr - buf);
buf 110 compat/common/compat_util.c NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, buf, p);
buf 118 compat/common/compat_util.c NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, buf, p);
buf 151 compat/common/compat_util.c *pbuf = buf;
buf 153 compat/common/compat_util.c sz = &ptr[len] - buf;
buf 159 compat/common/compat_util.c if ((error = copyout(buf, *pbuf, sz)) != 0) {
buf 163 compat/common/compat_util.c free(buf, M_TEMP);
buf 176 compat/common/compat_util.c free(buf, M_TEMP);
buf 148 compat/common/kern_ipc_10.c SCARG(&shmctl_args, buf) = (struct shmid_ds *)SCARG(uap, a4);
buf 207 compat/common/kern_ipc_10.c SCARG(&msgctl_args, buf) =
buf 93 compat/common/kern_ipc_23.c (caddr_t)SCARG(uap, buf), msqid_copyin, msqid_copyout));
buf 208 compat/common/kern_ipc_23.c (caddr_t)SCARG(uap, buf), shmid_copyin, shmid_copyout));
buf 145 compat/common/kern_ipc_35.c (caddr_t)SCARG(uap, buf), msqid_copyin, msqid_copyout));
buf 260 compat/common/kern_ipc_35.c (caddr_t)SCARG(uap, buf), shmid_copyin, shmid_copyout));
buf 163 compat/common/uipc_syscalls_43.c aiov.iov_base = SCARG(uap, buf);
buf 263 compat/common/uipc_syscalls_43.c aiov.iov_base = SCARG(uap, buf);
buf 121 compat/common/vfs_syscalls_25.c return (copyout((caddr_t)&osb, (caddr_t)SCARG(uap, buf), sizeof(osb)));
buf 154 compat/common/vfs_syscalls_25.c return (copyout((caddr_t)&osb, (caddr_t)SCARG(uap, buf), sizeof(osb)));
buf 179 compat/common/vfs_syscalls_25.c sfsp = (caddr_t)SCARG(uap, buf);
buf 362 compat/common/vfs_syscalls_43.c aiov.iov_base = SCARG(uap, buf);
buf 599 compat/freebsd/freebsd_file.c return (copyout((caddr_t)&fsb, (caddr_t)SCARG(uap, buf), sizeof(fsb)));
buf 633 compat/freebsd/freebsd_file.c return (copyout((caddr_t)&fsb, (caddr_t)SCARG(uap, buf), sizeof(fsb)));
buf 658 compat/freebsd/freebsd_file.c sfsp = (caddr_t)SCARG(uap, buf);
buf 68 compat/freebsd/freebsd_syscallargs.h syscallarg(struct freebsd_statfs *) buf;
buf 129 compat/freebsd/freebsd_syscallargs.h syscallarg(char *) buf;
buf 185 compat/freebsd/freebsd_syscallargs.h syscallarg(struct freebsd_statfs *) buf;
buf 190 compat/freebsd/freebsd_syscallargs.h syscallarg(struct freebsd_statfs *) buf;
buf 28 compat/hpux/hppa/hpux_syscallargs.h syscallarg(char *) buf;
buf 34 compat/hpux/hppa/hpux_syscallargs.h syscallarg(char *) buf;
buf 168 compat/hpux/hppa/hpux_syscallargs.h syscallarg(char *) buf;
buf 295 compat/hpux/hppa/hpux_syscallargs.h syscallarg(caddr_t) buf;
buf 299 compat/hpux/hppa/hpux_syscallargs.h syscallarg(char *) buf;
buf 339 compat/hpux/hppa/hpux_syscallargs.h syscallarg(caddr_t) buf;
buf 707 compat/hpux/hpux_compat.c error = copyout((caddr_t)&sbuf, SCARG(uap, buf),
buf 719 compat/hpux/hpux_compat.c error = copyin(SCARG(uap, buf), (caddr_t)&sbuf, sizeof sbuf);
buf 28 compat/hpux/m68k/hpux_syscallargs.h syscallarg(char *) buf;
buf 34 compat/hpux/m68k/hpux_syscallargs.h syscallarg(char *) buf;
buf 183 compat/hpux/m68k/hpux_syscallargs.h syscallarg(char *) buf;
buf 319 compat/hpux/m68k/hpux_syscallargs.h syscallarg(caddr_t) buf;
buf 327 compat/hpux/m68k/hpux_syscallargs.h syscallarg(char *) buf;
buf 378 compat/hpux/m68k/hpux_syscallargs.h syscallarg(caddr_t) buf;
buf 428 compat/ibcs2/ibcs2_exec.c char buf[128], *bufp; /* FIXME */
buf 434 compat/ibcs2/ibcs2_exec.c if (len > sizeof(buf))
buf 437 compat/ibcs2/ibcs2_exec.c error = vn_rdwr(UIO_READ, epp->ep_vp, (caddr_t) buf,
buf 445 compat/ibcs2/ibcs2_exec.c bufp = buf;
buf 434 compat/ibcs2/ibcs2_misc.c args.outp = (caddr_t)SCARG(uap, buf);
buf 478 compat/ibcs2/ibcs2_misc.c args.outp = (caddr_t)SCARG(uap, buf);
buf 928 compat/ibcs2/ibcs2_misc.c if (SCARG(uap, buf)) {
buf 931 compat/ibcs2/ibcs2_misc.c error = copyin((caddr_t)SCARG(uap, buf), (caddr_t)&ubuf,
buf 80 compat/ibcs2/ibcs2_stat.c cvt_statfs(sp, buf, len)
buf 82 compat/ibcs2/ibcs2_stat.c caddr_t buf;
buf 102 compat/ibcs2/ibcs2_stat.c return copyout((caddr_t)&ssfs, buf, len);
buf 133 compat/ibcs2/ibcs2_stat.c return cvt_statfs(sp, (caddr_t)SCARG(uap, buf), SCARG(uap, len));
buf 162 compat/ibcs2/ibcs2_stat.c return cvt_statfs(sp, (caddr_t)SCARG(uap, buf), SCARG(uap, len));
buf 28 compat/ibcs2/ibcs2_syscallargs.h syscallarg(char *) buf;
buf 120 compat/ibcs2/ibcs2_syscallargs.h syscallarg(struct ibcs2_utimbuf *) buf;
buf 134 compat/ibcs2/ibcs2_syscallargs.h syscallarg(struct ibcs2_statfs *) buf;
buf 146 compat/ibcs2/ibcs2_syscallargs.h syscallarg(struct ibcs2_statfs *) buf;
buf 250 compat/ibcs2/ibcs2_syscallargs.h syscallarg(char *) buf;
buf 257 compat/ibcs2/ibcs2_syscallargs.h syscallarg(char *) buf;
buf 286 compat/ibcs2/ibcs2_syscallargs.h syscallarg(char *) buf;
buf 879 compat/linux/linux_file.c SCARG(&pra, buf) = SCARG(uap, buf);
buf 904 compat/linux/linux_file.c SCARG(&pra, buf) = SCARG(uap, buf);
buf 498 compat/linux/linux_ipc.c SCARG(&bma, buf) = (struct msqid_ds *)umsgptr;
buf 503 compat/linux/linux_ipc.c SCARG(&bma, buf) = (struct msqid_ds *)umsgptr;
buf 677 compat/linux/linux_ipc.c SCARG(&bsa, buf) = bsp;
buf 695 compat/linux/linux_ipc.c SCARG(&bsa, buf) = bsp;
buf 712 compat/linux/linux_ipc.c SCARG(&bsa, buf) = NULL;
buf 436 compat/linux/linux_misc.c SCARG(&bsa, buf) = bsp;
buf 469 compat/linux/linux_misc.c SCARG(&bsa, buf) = bsp;
buf 509 compat/linux/linux_socket.c SCARG(&bsa, buf) = lsa.msg;
buf 536 compat/linux/linux_socket.c SCARG(&bra, buf) = lra.msg;
buf 617 compat/linux/linux_socket.c if ((error = copyin(SCARG(bsa, buf), (caddr_t)&rpacket,
buf 629 compat/linux/linux_socket.c riov[1].iov_base = (caddr_t)SCARG(bsa, buf) + linux_ip_copysize;
buf 679 compat/linux/linux_socket.c SCARG(&bsa, buf) = lsa.msg;
buf 720 compat/linux/linux_socket.c SCARG(&bra, buf) = lra.buf;
buf 137 compat/linux/linux_socketcall.h void *buf;
buf 219 compat/linux/linux_syscallargs.h syscallarg(char *) buf;
buf 467 compat/linux/linux_syscallargs.h syscallarg(char *) buf;
buf 474 compat/linux/linux_syscallargs.h syscallarg(char *) buf;
buf 702 compat/linux/linux_termios.c SCARG(&wa, buf) = cp;
buf 221 compat/osf1/osf1_misc.c SCARG(uap, buf), SCARG(uap,len));
buf 228 compat/osf1/osf1_misc.c error = copyoutstr(string, SCARG(uap, buf), SCARG(uap, len),
buf 130 compat/osf1/osf1_mount.c error = copyout(&osfs, SCARG(uap, buf), min(sizeof osfs,
buf 153 compat/osf1/osf1_mount.c osf_sfsp = (caddr_t)SCARG(uap, buf);
buf 242 compat/osf1/osf1_mount.c return copyout(&osfs, SCARG(uap, buf), min(sizeof osfs,
buf 174 compat/osf1/osf1_socket.c SCARG(&a, buf) = SCARG(uap, buf);
buf 40 compat/osf1/osf1_syscallargs.h syscallarg(struct osf1_statfs *) buf;
buf 225 compat/osf1/osf1_syscallargs.h syscallarg(caddr_t) buf;
buf 262 compat/osf1/osf1_syscallargs.h syscallarg(struct osf1_statfs *) buf;
buf 268 compat/osf1/osf1_syscallargs.h syscallarg(struct osf1_statfs *) buf;
buf 285 compat/osf1/osf1_syscallargs.h syscallarg(struct osf1_shmid_ds *) buf;
buf 305 compat/osf1/osf1_syscallargs.h syscallarg(char *) buf;
buf 441 compat/sunos/sunos_misc.c args.outp = (caddr_t)SCARG(uap, buf);
buf 762 compat/sunos/sunos_misc.c if ((error = copyout(&us, SCARG(uap, buf), sizeof us)) != 0)
buf 802 compat/sunos/sunos_misc.c sunstatfs(sp, buf)
buf 804 compat/sunos/sunos_misc.c caddr_t buf;
buf 817 compat/sunos/sunos_misc.c return copyout((caddr_t)&ssfs, buf, sizeof ssfs);
buf 844 compat/sunos/sunos_misc.c return sunstatfs(sp, (caddr_t)SCARG(uap, buf));
buf 868 compat/sunos/sunos_misc.c return sunstatfs(sp, (caddr_t)SCARG(uap, buf));
buf 164 compat/sunos/sunos_syscallargs.h syscallarg(struct sunos_statfs *) buf;
buf 169 compat/sunos/sunos_syscallargs.h syscallarg(struct sunos_statfs *) buf;
buf 197 compat/sunos/sunos_syscallargs.h syscallarg(struct sunos_ustat *) buf;
buf 206 compat/sunos/sunos_syscallargs.h syscallarg(char *) buf;
buf 445 compat/svr4/svr4_fcntl.c SCARG(&pra, buf) = SCARG(uap, buf);
buf 462 compat/svr4/svr4_fcntl.c SCARG(&pra, buf) = SCARG(uap, buf);
buf 479 compat/svr4/svr4_fcntl.c SCARG(&pwa, buf) = SCARG(uap, buf);
buf 496 compat/svr4/svr4_fcntl.c SCARG(&pwa, buf) = SCARG(uap, buf);
buf 219 compat/svr4/svr4_ipc.c SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
buf 222 compat/svr4/svr4_ipc.c error = copyin(SCARG(&ap, arg)->buf, &bs, sizeof bs);
buf 230 compat/svr4/svr4_ipc.c SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
buf 235 compat/svr4/svr4_ipc.c error = copyout(&bs, SCARG(&ap, arg)->buf, sizeof bs);
buf 242 compat/svr4/svr4_ipc.c SCARG(&ap, arg)->buf = stackgap_alloc(&sg, sizeof(bs));
buf 247 compat/svr4/svr4_ipc.c error = copyout(&bs, SCARG(&ap, arg)->buf, sizeof bs);
buf 461 compat/svr4/svr4_ipc.c syscallarg(struct svr4_msqid_ds *) buf;
buf 479 compat/svr4/svr4_ipc.c SCARG(&ap, buf) = stackgap_alloc(&sg, sizeof(bs));
buf 486 compat/svr4/svr4_ipc.c error = copyin(SCARG(&ap, buf), &bs, sizeof bs);
buf 490 compat/svr4/svr4_ipc.c return copyout(&ss, SCARG(uap, buf), sizeof ss);
buf 494 compat/svr4/svr4_ipc.c error = copyin(SCARG(uap, buf), &ss, sizeof ss);
buf 498 compat/svr4/svr4_ipc.c error = copyout(&bs, SCARG(&ap, buf), sizeof bs);
buf 505 compat/svr4/svr4_ipc.c error = copyin(SCARG(uap, buf), &ss, sizeof ss);
buf 509 compat/svr4/svr4_ipc.c error = copyout(&bs, SCARG(&ap, buf), sizeof bs);
buf 652 compat/svr4/svr4_ipc.c syscallarg(struct svr4_shmid_ds *) buf;
buf 670 compat/svr4/svr4_ipc.c if (SCARG(uap, buf) != NULL) {
buf 671 compat/svr4/svr4_ipc.c SCARG(&ap, buf) = stackgap_alloc(&sg, sizeof (struct shmid_ds));
buf 677 compat/svr4/svr4_ipc.c error = copyin(SCARG(uap, buf), (caddr_t) &ss,
buf 682 compat/svr4/svr4_ipc.c error = copyout(&bs, SCARG(&ap, buf), sizeof bs);
buf 691 compat/svr4/svr4_ipc.c SCARG(&ap, buf) = NULL;
buf 699 compat/svr4/svr4_ipc.c if (SCARG(uap, buf) == NULL)
buf 701 compat/svr4/svr4_ipc.c error = copyin(SCARG(&ap, buf), &bs, sizeof bs);
buf 705 compat/svr4/svr4_ipc.c return copyout(&ss, SCARG(uap, buf), sizeof ss);
buf 306 compat/svr4/svr4_misc.c args.outp = (caddr_t)SCARG(uap, buf);
buf 1204 compat/svr4/svr4_misc.c SCARG(&fs_args, buf) = fs;
buf 1233 compat/svr4/svr4_misc.c SCARG(&fs_args, buf) = fs;
buf 1262 compat/svr4/svr4_misc.c SCARG(&fs_args, buf) = fs;
buf 627 compat/svr4/svr4_stat.c return kern_sysctl(&name, 1, 0, 0, SCARG(uap, buf), rlen, p);
buf 633 compat/svr4/svr4_stat.c return kern_sysctl(&name, 1, 0, 0, SCARG(uap, buf), rlen, p);
buf 657 compat/svr4/svr4_stat.c if (copyout(&nul, SCARG(uap, buf), sizeof(char)) != 0)
buf 661 compat/svr4/svr4_stat.c return copyout(str, SCARG(uap, buf), len);
buf 129 compat/svr4/svr4_stream.c bufprint(buf, len)
buf 130 compat/svr4/svr4_stream.c u_char *buf;
buf 137 compat/svr4/svr4_stream.c uprintf("%x ", buf[i]);
buf 161 compat/svr4/svr4_stream.c str, ioc->cmd, ioc->timeout, ioc->len, ioc->buf);
buf 163 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, ptr, len)) != 0) {
buf 198 compat/svr4/svr4_stream.c if ((error = copyin(str->buf, ptr, len)) != 0) {
buf 204 compat/svr4/svr4_stream.c uprintf(", { %d, %d, %p=[ ", str->maxlen, str->len, str->buf);
buf 226 compat/svr4/svr4_stream.c struct svr4_strbuf buf;
buf 231 compat/svr4/svr4_stream.c if ((error = copyin(ctl, &buf, sizeof(buf))) != 0)
buf 233 compat/svr4/svr4_stream.c show_strbuf(&buf);
buf 239 compat/svr4/svr4_stream.c if ((error = copyin(dat, &buf, sizeof(buf))) != 0)
buf 241 compat/svr4/svr4_stream.c show_strbuf(&buf);
buf 435 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &ud, sizeof(ud))) != 0)
buf 470 compat/svr4/svr4_stream.c return copyout(&ud, ioc->buf, ioc->len);
buf 484 compat/svr4/svr4_stream.c return copyout(&pa, ioc->buf, sizeof(pa));
buf 507 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &lst, ioc->len)) != 0)
buf 549 compat/svr4/svr4_stream.c if ((error = copyout(&lst, ioc->buf, ioc->len)) != 0)
buf 572 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &ud, sizeof(ud))) != 0)
buf 608 compat/svr4/svr4_stream.c return copyout(&ud, ioc->buf, sizeof(ud));
buf 629 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &SCARG(&ap, how), ioc->len)) != 0)
buf 708 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &info, ioc->len)) != 0)
buf 727 compat/svr4/svr4_stream.c if ((error = copyout(&info, ioc->buf, ioc->len)) != 0)
buf 760 compat/svr4/svr4_stream.c if ((error = copyin(ioc->buf, &bnd, ioc->len)) != 0)
buf 834 compat/svr4/svr4_stream.c if ((error = copyout(&bnd, ioc->buf, ioc->len)) != 0)
buf 1000 compat/svr4/svr4_stream.c if ((error = copyout(SVR4_ADDROF(&sc), skb.buf, sasize)) != 0) {
buf 1466 compat/svr4/svr4_stream.c if ((error = copyin(ctl.buf, &sc, ctl.len)) != 0)
buf 1539 compat/svr4/svr4_stream.c aiov.iov_base = dat.buf;
buf 1796 compat/svr4/svr4_stream.c if ((error = copyin(ctl.buf, &sc, ctl.len)) != 0)
buf 1818 compat/svr4/svr4_stream.c aiov.iov_base = dat.buf;
buf 1864 compat/svr4/svr4_stream.c if ((error = copyout(&sc, ctl.buf, ctl.len)) != 0)
buf 38 compat/svr4/svr4_stropts.h char *buf;
buf 89 compat/svr4/svr4_stropts.h char *buf;
buf 168 compat/svr4/svr4_syscallargs.h syscallarg(char *) buf;
buf 325 compat/svr4/svr4_syscallargs.h syscallarg(char *) buf;
buf 344 compat/svr4/svr4_syscallargs.h syscallarg(void *) buf;
buf 351 compat/svr4/svr4_syscallargs.h syscallarg(const void *) buf;
buf 367 compat/svr4/svr4_syscallargs.h syscallarg(struct svr4_aclent *) buf;
buf 383 compat/svr4/svr4_syscallargs.h syscallarg(struct svr4_aclent *) buf;
buf 423 compat/svr4/svr4_syscallargs.h syscallarg(void *) buf;
buf 430 compat/svr4/svr4_syscallargs.h syscallarg(const void *) buf;
buf 62 compat/svr4/svr4_timod.h char *buf;
buf 91 compat/ultrix/ultrix_fs.c struct ultrix_fs_data *buf;
buf 213 compat/ultrix/ultrix_fs.c sfsp = SCARG(uap, buf);
buf 493 compat/ultrix/ultrix_misc.c if ((error = copyout(&us, SCARG(uap, buf), sizeof us)) != 0)
buf 217 compat/ultrix/ultrix_pathname.c ultrixstatfs(sp, buf)
buf 219 compat/ultrix/ultrix_pathname.c caddr_t buf;
buf 232 compat/ultrix/ultrix_pathname.c return copyout((caddr_t)&ssfs, buf, sizeof ssfs);
buf 261 compat/ultrix/ultrix_pathname.c return ultrixstatfs(sp, (caddr_t)SCARG(uap, buf));
buf 291 compat/ultrix/ultrix_pathname.c return ultrixstatfs(sp, (caddr_t)SCARG(uap, buf));
buf 129 compat/ultrix/ultrix_syscallargs.h syscallarg(struct ultrix_statfs *) buf;
buf 134 compat/ultrix/ultrix_syscallargs.h syscallarg(struct ultrix_statfs *) buf;
buf 155 compat/ultrix/ultrix_syscallargs.h syscallarg(struct ultrix_ustat *) buf;
buf 160 compat/ultrix/ultrix_syscallargs.h syscallarg(struct ultrix_fs_data *) buf;
buf 79 crypto/cryptosoft.c swcr_encdec(struct cryptodesc *crd, struct swcr_data *sw, caddr_t buf,
buf 98 crypto/cryptosoft.c m = (struct mbuf *) buf;
buf 100 crypto/cryptosoft.c uio = (struct uio *) buf;
buf 112 crypto/cryptosoft.c COPYBACK(outtype, buf, crd->crd_inject, ivlen, iv);
buf 121 crypto/cryptosoft.c COPYDATA(outtype, buf, crd->crd_inject, ivlen, iv);
buf 384 crypto/cryptosoft.c struct swcr_data *sw, caddr_t buf, int outtype)
buf 399 crypto/cryptosoft.c err = m_apply((struct mbuf *) buf, crd->crd_skip, crd->crd_len,
buf 403 crypto/cryptosoft.c err = cuio_apply((struct uio *) buf, crd->crd_skip,
buf 444 crypto/cryptosoft.c COPYBACK(outtype, buf, crd->crd_inject, axf->authsize, aalg);
buf 456 crypto/cryptosoft.c caddr_t buf, int outtype)
buf 473 crypto/cryptosoft.c COPYDATA(outtype, buf, crd->crd_skip, crd->crd_len, data);
buf 497 crypto/cryptosoft.c COPYBACK(outtype, buf, crd->crd_skip, result, out);
buf 502 crypto/cryptosoft.c m_adj((struct mbuf *)buf, adj);
buf 504 crypto/cryptosoft.c struct uio *uio = (struct uio *)buf;
buf 59 crypto/deflate.c struct deflate_buf buf[ZBUF];
buf 63 crypto/deflate.c buf[j].flag = 0;
buf 72 crypto/deflate.c MALLOC(buf[i].out, u_int8_t *, (u_long) size, M_CRYPTO_DATA,
buf 74 crypto/deflate.c if (buf[i].out == NULL)
buf 76 crypto/deflate.c buf[i].size = size;
buf 77 crypto/deflate.c buf[i].flag = 1;
buf 87 crypto/deflate.c MALLOC(buf[i].out, u_int8_t *, (u_long) (size * 4),
buf 89 crypto/deflate.c if (buf[i].out == NULL)
buf 91 crypto/deflate.c buf[i].size = size * 4;
buf 92 crypto/deflate.c buf[i].flag = 1;
buf 96 crypto/deflate.c zbuf.next_out = buf[0].out;
buf 97 crypto/deflate.c zbuf.avail_out = buf[0].size;
buf 114 crypto/deflate.c MALLOC(buf[i].out, u_int8_t *, (u_long) size,
buf 116 crypto/deflate.c if (buf[i].out == NULL)
buf 118 crypto/deflate.c zbuf.next_out = buf[i].out;
buf 119 crypto/deflate.c buf[i].size = size;
buf 120 crypto/deflate.c buf[i].flag = 1;
buf 121 crypto/deflate.c zbuf.avail_out = buf[i].size;
buf 138 crypto/deflate.c for (j = 0; buf[j].flag != 0; j++) {
buf 139 crypto/deflate.c if (count > buf[j].size) {
buf 140 crypto/deflate.c bcopy(buf[j].out, *out, buf[j].size);
buf 141 crypto/deflate.c *out += buf[j].size;
buf 142 crypto/deflate.c FREE(buf[j].out, M_CRYPTO_DATA);
buf 143 crypto/deflate.c count -= buf[j].size;
buf 146 crypto/deflate.c bcopy(buf[j].out, *out, count);
buf 148 crypto/deflate.c FREE(buf[j].out, M_CRYPTO_DATA);
buf 157 crypto/deflate.c for (j = 0; buf[j].flag != 0; j++)
buf 158 crypto/deflate.c FREE(buf[j].out, M_CRYPTO_DATA);
buf 153 crypto/des.h int des_enc_read(int fd,char *buf,int len,des_key_schedule sched,
buf 155 crypto/des.h int des_enc_write(int fd,char *buf,int len,des_key_schedule sched,
buf 158 crypto/des.h char *des_crypt(const char *buf,const char *salt);
buf 163 crypto/des.h char *crypt(const char *buf,const char *salt);
buf 179 crypto/des.h int des_read_pw_string(char *buf,int length,char *prompt,int verify);
buf 587 crypto/xform.c RMD160Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 589 crypto/xform.c RMD160Update(ctx, buf, len);
buf 594 crypto/xform.c MD5Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 596 crypto/xform.c MD5Update(ctx, buf, len);
buf 601 crypto/xform.c SHA1Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 603 crypto/xform.c SHA1Update(ctx, buf, len);
buf 608 crypto/xform.c SHA256_Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 610 crypto/xform.c SHA256_Update(ctx, buf, len);
buf 615 crypto/xform.c SHA384_Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 617 crypto/xform.c SHA384_Update(ctx, buf, len);
buf 622 crypto/xform.c SHA512_Update_int(void *ctx, u_int8_t *buf, u_int16_t len)
buf 624 crypto/xform.c SHA512_Update(ctx, buf, len);
buf 293 ddb/db_command.c vfs_buf_print((struct buf *) addr, full, db_printf);
buf 52 ddb/db_interface.h void vfs_buf_print(struct buf *, int, int (*)(const char *, ...));
buf 62 ddb/db_interface.h void softdep_print(struct buf *, int, int (*)(const char *, ...));
buf 210 ddb/db_output.c db_format(char *buf, size_t bufsize, long val, int format, int alt, int width)
buf 227 ddb/db_output.c snprintf(buf, bufsize, fmt, width, val);
buf 229 ddb/db_output.c return (buf);
buf 522 ddb/db_sym.c char buf[DB_FORMAT_BUF_SIZE];
buf 530 ddb/db_sym.c (*pr)("+%s", db_format(buf, sizeof(buf),
buf 541 ddb/db_sym.c (*pr)("%s", db_format(buf, sizeof(buf), off, DB_FORMAT_N, 1, 0));
buf 88 dev/acpi/acpidebug.c db_aml_dump(int len, u_int8_t *buf)
buf 94 dev/acpi/acpidebug.c db_printf("%s0x%.2x", idx ? ", " : "", buf[idx]);
buf 359 dev/acpi/acpiec.c acpiec_getregister(const u_int8_t *buf, int size, int *type, bus_size_t *addr)
buf 371 dev/acpi/acpiec.c if (*buf & RES_TYPE_MASK) {
buf 375 dev/acpi/acpiec.c len = (int)buf[1] + 256 * (int)buf[2];
buf 379 dev/acpi/acpiec.c len = buf[0] & RES_LENGTH_MASK;
buf 384 dev/acpi/acpiec.c if (*buf != RES_TYPE_IOPORT)
buf 392 dev/acpi/acpiec.c *addr = (int)buf[2] + 256 * (int)buf[3];
buf 403 dev/acpi/acpiec.c char *buf;
buf 429 dev/acpi/acpiec.c buf = res.v_buffer;
buf 431 dev/acpi/acpiec.c ret = acpiec_getregister(buf, size, &type1, &ec_data);
buf 439 dev/acpi/acpiec.c buf += ret;
buf 442 dev/acpi/acpiec.c ret = acpiec_getregister(buf, size, &type2, &ec_sc);
buf 450 dev/acpi/acpiec.c buf += ret;
buf 453 dev/acpi/acpiec.c if (size != 2 || *buf != RES_TYPE_ENDTAG) {
buf 540 dev/acpi/dsdt.c aml_dump(int len, u_int8_t *buf)
buf 546 dev/acpi/dsdt.c dnprintf(50, "%s0x%.2x", idx ? ", " : "", buf[idx]);
buf 574 dev/acpi/dsdt.c int bitpos, int bitlen, int size, void *buf, int mode)
buf 581 dev/acpi/dsdt.c (size>>3), (bitlen>>3), buf);
buf 584 dev/acpi/dsdt.c dnprintf(10, "%.2x ", *(uint8_t *)buf);
buf 585 dev/acpi/dsdt.c buf++;
buf 208 dev/ata/ata.c ata_perror(struct ata_drive_datas *drvp, int errno, char *buf, size_t buf_len)
buf 229 dev/ata/ata.c snprintf(buf, buf_len, "error not notified");
buf 234 dev/ata/ata.c snprintf(buf + len, buf_len - len, "%s%s", sep,
buf 236 dev/ata/ata.c len = strlen(buf);
buf 302 dev/ata/atascsi.h void (*aaa_minphys)(struct buf *);
buf 129 dev/ata/wd.c struct buf sc_q;
buf 132 dev/ata/wd.c struct buf *sc_bp; /* buf being transferred */
buf 180 dev/ata/wd.c void wdstrategy(struct buf *);
buf 182 dev/ata/wd.c void __wdstart(struct wd_softc*, struct buf *);
buf 228 dev/ata/wd.c char buf[41], c, *p, *q;
buf 249 dev/ata/wd.c for (blank = 0, p = wd->sc_params.atap_model, q = buf, i = 0;
buf 265 dev/ata/wd.c printf(": <%s>\n", buf);
buf 378 dev/ata/wd.c struct buf *dp, *bp;
buf 416 dev/ata/wd.c wdstrategy(struct buf *bp)
buf 482 dev/ata/wd.c struct buf *dp, *bp = NULL;
buf 505 dev/ata/wd.c __wdstart(struct wd_softc *wd, struct buf *bp)
buf 563 dev/ata/wd.c struct buf *bp = wd->sc_bp;
buf 564 dev/ata/wd.c char buf[256], *errbuf = buf;
buf 590 dev/ata/wd.c sizeof buf);
buf 621 dev/ata/wd.c struct buf *bp = wd->sc_bp;
buf 941 dev/ata/wd.c wdformat(struct buf *bp)
buf 167 dev/atapiscsi/atapiscsi.c void wdc_atapi_minphys(struct buf *bp);
buf 436 dev/atapiscsi/atapiscsi.c wdc_atapi_minphys (struct buf *bp)
buf 161 dev/ccd.c struct buf cb_buf; /* new I/O buf */
buf 162 dev/ccd.c struct buf *cb_obp; /* ptr. to original I/O buf */
buf 175 dev/ccd.c void ccdiodone(struct buf *);
buf 178 dev/ccd.c void ccdstart(struct ccd_softc *, struct buf *);
buf 180 dev/ccd.c void ccdintr(struct ccd_softc *, struct buf *);
buf 183 dev/ccd.c long ccdbuffer(struct ccd_softc *, struct buf *, daddr64_t, caddr_t,
buf 658 dev/ccd.c ccdstrategy(struct buf *bp)
buf 706 dev/ccd.c ccdstart(struct ccd_softc *cs, struct buf *bp)
buf 763 dev/ccd.c ccdbuffer(struct ccd_softc *cs, struct buf *bp, daddr64_t bn, caddr_t addr,
buf 772 dev/ccd.c struct buf *nbp;
buf 886 dev/ccd.c ccdintr(struct ccd_softc *cs, struct buf *bp)
buf 909 dev/ccd.c ccdiodone(struct buf *vbp)
buf 912 dev/ccd.c struct buf *bp = cbp->cb_obp;
buf 951 dev/ccd.c vbp = (struct buf *)cbp;
buf 292 dev/eisa/aha1742.c void ahbminphys(struct buf *);
buf 929 dev/eisa/aha1742.c struct buf *bp;
buf 62 dev/flash.c void flashminphys(struct buf *);
buf 64 dev/flash.c void _flashstart(struct flash_softc *, struct buf *);
buf 67 dev/flash.c int flashsafestrategy(struct flash_softc *, struct buf *);
buf 780 dev/flash.c flashstrategy(struct buf *bp)
buf 881 dev/flash.c struct buf *dp, *bp;
buf 897 dev/flash.c _flashstart(struct flash_softc *sc, struct buf *bp)
buf 946 dev/flash.c struct buf *bp = sc->sc_bp;
buf 1029 dev/flash.c flashminphys(struct buf *bp)
buf 1061 dev/flash.c flashsafestrategy(struct flash_softc *sc, struct buf *bp)
buf 1072 dev/flash.c void dumppage(u_char *buf)
buf 1080 dev/flash.c printf(" %02x", buf[i]);
buf 31 dev/flashvar.h int (*safe_strategy)(void *, struct buf *);
buf 80 dev/flashvar.h struct buf sc_q;
buf 81 dev/flashvar.h struct buf *sc_bp;
buf 373 dev/hil/hilkbd.c u_int8_t buf[2];
buf 378 dev/hil/hilkbd.c buf[0] = ar_format(period - 10);
buf 379 dev/hil/hilkbd.c buf[1] = BELLFREQ;
buf 380 dev/hil/hilkbd.c send_hil_cmd(sc, HIL_SETTONE, buf, 2, NULL);
buf 384 dev/hil/hilkbd.c hilkbd_callback(struct hildev_softc *dev, u_int buflen, u_int8_t *buf)
buf 399 dev/hil/hilkbd.c switch ((kbdtype = *buf & HIL_KBDDATA)) {
buf 413 dev/hil/hilkbd.c for (i = 1, buf++; i < buflen; i++) {
buf 414 dev/hil/hilkbd.c hilkbd_decode(sc, *buf++, &type, &key, kbdtype);
buf 446 dev/hil/hilkbd.c for (i = 1, buf++; i < buflen; i++) {
buf 447 dev/hil/hilkbd.c hilkbd_decode(sc, *buf++, &type, &key, kbdtype);
buf 219 dev/hil/hilms.c hilms_callback(struct hildev_softc *dev, u_int buflen, u_int8_t *buf)
buf 234 dev/hil/hilms.c type = *buf++;
buf 263 dev/hil/hilms.c dx = *buf++;
buf 264 dev/hil/hilms.c dx |= (*buf++) << 8;
buf 268 dev/hil/hilms.c dx = *buf++;
buf 274 dev/hil/hilms.c dy = *buf++;
buf 275 dev/hil/hilms.c dy |= (*buf++) << 8;
buf 279 dev/hil/hilms.c dy = *buf++;
buf 285 dev/hil/hilms.c dz = *buf++;
buf 286 dev/hil/hilms.c dz |= (*buf++) << 8;
buf 290 dev/hil/hilms.c dz = *buf++;
buf 309 dev/hil/hilms.c button = *buf;
buf 325 dev/hil/hilms.c if (*buf & 1) {
buf 63 dev/i2c/i2c_exec.c uint8_t *buf = vbuf;
buf 73 dev/i2c/i2c_exec.c cmdlen, buf, buflen, flags));
buf 99 dev/i2c/i2c_exec.c if ((error = iic_read_byte(tag, buf++, flags)) != 0)
buf 106 dev/i2c/i2c_exec.c if ((error = iic_write_byte(tag, *buf++, flags)) != 0)
buf 222 dev/i2c/lm75.c u_int8_t cmd, buf[2];
buf 227 dev/i2c/lm75.c sc->sc_addr, &cmd, 1, buf, 2, 0);
buf 232 dev/i2c/lm75.c if (buf[0] == 0x00 && buf[1] == 0x00)
buf 236 dev/i2c/lm75.c *valp = ((buf[0] << 8) | buf[1]) / (1 << (16 - sc->sc_bits));
buf 1192 dev/i2o/iop.c int write, int group, void *buf, size_t size)
buf 1235 dev/i2o/iop.c memset(buf, 0, size);
buf 1237 dev/i2o/iop.c iop_msg_map(sc, im, mb, buf, size, write);
buf 2215 dev/i2o/iop.c char buf[32];
buf 2223 dev/i2o/iop.c iop_strvis(sc, p.di.vendorinfo, sizeof(p.di.vendorinfo), buf,
buf 2224 dev/i2o/iop.c sizeof(buf));
buf 2225 dev/i2o/iop.c printf(" <%s, ", buf);
buf 2226 dev/i2o/iop.c iop_strvis(sc, p.di.productinfo, sizeof(p.di.productinfo), buf,
buf 2227 dev/i2o/iop.c sizeof(buf));
buf 2228 dev/i2o/iop.c printf("%s, ", buf);
buf 2229 dev/i2o/iop.c iop_strvis(sc, p.di.revlevel, sizeof(p.di.revlevel), buf, sizeof(buf));
buf 2230 dev/i2o/iop.c printf("%s>", buf);
buf 2418 dev/i2o/iop.c void *buf;
buf 2452 dev/i2o/iop.c buf = sc->sc_ptb + i * IOP_MAX_XFER;
buf 2460 dev/i2o/iop.c rv = copyin(ptb->ptb_data, buf, ptb->ptb_datalen);
buf 2465 dev/i2o/iop.c rv = iop_msg_map(sc, im, (u_int32_t *)mf, buf,
buf 2490 dev/i2o/iop.c buf = sc->sc_ptb + i * IOP_MAX_XFER;
buf 2491 dev/i2o/iop.c rv = copyout(buf, ptb->ptb_data, ptb->ptb_datalen);
buf 101 dev/i2o/ioprbs.c void ioprbsminphys(struct buf *);
buf 556 dev/i2o/ioprbs.c struct buf *bp;
buf 566 dev/i2o/ioprbs.c struct buf *bp = ccb->ic_xs->bp;
buf 82 dev/i2o/iopsp.c void iopspminphys(struct buf *bp);
buf 413 dev/i2o/iopsp.c struct buf *bp;
buf 2484 dev/ic/aac.c aacminphys(struct buf *bp)
buf 2487 dev/ic/aac.c u_int8_t *buf = bp->b_data;
buf 2500 dev/ic/aac.c for (off = PAGE_SIZE, pa = vtophys(buf); off < bp->b_bcount;
buf 2502 dev/ic/aac.c if (pa + off != vtophys(buf + off)) {
buf 440 dev/ic/aacvar.h void aacminphys(struct buf *);
buf 568 dev/ic/acx.c struct acx_txbuf *buf;
buf 571 dev/ic/acx.c buf = &bd->tx_buf[i];
buf 573 dev/ic/acx.c if (buf->tb_mbuf != NULL) {
buf 574 dev/ic/acx.c bus_dmamap_unload(sc->sc_dmat, buf->tb_mbuf_dmamap);
buf 575 dev/ic/acx.c m_freem(buf->tb_mbuf);
buf 576 dev/ic/acx.c buf->tb_mbuf = NULL;
buf 579 dev/ic/acx.c ni = (struct ieee80211_node *)buf->tb_node;
buf 582 dev/ic/acx.c buf->tb_node = NULL;
buf 902 dev/ic/acx.c struct acx_txbuf *buf;
buf 918 dev/ic/acx.c for (buf = &bd->tx_buf[idx]; buf->tb_mbuf == NULL;
buf 919 dev/ic/acx.c buf = &bd->tx_buf[idx]) {
buf 1032 dev/ic/acx.c if (acx_encap(sc, buf, m, ni, rate) != 0) {
buf 1139 dev/ic/acx.c struct acx_txbuf *buf;
buf 1147 dev/ic/acx.c for (buf = &bd->tx_buf[idx]; buf->tb_mbuf != NULL;
buf 1148 dev/ic/acx.c buf = &bd->tx_buf[idx]) {
buf 1151 dev/ic/acx.c ctrl = FW_TXDESC_GETFIELD_1(sc, buf, f_tx_ctrl);
buf 1156 dev/ic/acx.c bus_dmamap_unload(sc->sc_dmat, buf->tb_mbuf_dmamap);
buf 1157 dev/ic/acx.c m_freem(buf->tb_mbuf);
buf 1158 dev/ic/acx.c buf->tb_mbuf = NULL;
buf 1160 dev/ic/acx.c error = FW_TXDESC_GETFIELD_1(sc, buf, f_tx_error);
buf 1168 dev/ic/acx.c if (buf->tb_node != NULL) {
buf 1175 dev/ic/acx.c ni = (struct ieee80211_node *)buf->tb_node;
buf 1177 dev/ic/acx.c ntries = FW_TXDESC_GETFIELD_1(sc, buf, f_tx_rts_fail) +
buf 1178 dev/ic/acx.c FW_TXDESC_GETFIELD_1(sc, buf, f_tx_ack_fail);
buf 1188 dev/ic/acx.c buf->tb_node = NULL;
buf 1191 dev/ic/acx.c FW_TXDESC_SETFIELD_1(sc, buf, f_tx_ctrl, DESC_CTRL_HOSTOWN);
buf 1295 dev/ic/acx.c struct acx_rxbuf *buf;
buf 1297 dev/ic/acx.c buf = &bd->rx_buf[idx];
buf 1298 dev/ic/acx.c if ((buf->rb_desc->h_ctrl & htole16(DESC_CTRL_HOSTOWN)) &&
buf 1299 dev/ic/acx.c (buf->rb_desc->h_status & htole32(DESC_STATUS_FULL))) {
buf 1315 dev/ic/acx.c struct acx_rxbuf *buf;
buf 1321 dev/ic/acx.c buf = &bd->rx_buf[idx];
buf 1323 dev/ic/acx.c desc_ctrl = letoh16(buf->rb_desc->h_ctrl);
buf 1324 dev/ic/acx.c desc_status = letoh32(buf->rb_desc->h_status);
buf 1329 dev/ic/acx.c bus_dmamap_sync(sc->sc_dmat, buf->rb_mbuf_dmamap, 0,
buf 1330 dev/ic/acx.c buf->rb_mbuf_dmamap->dm_mapsize, BUS_DMASYNC_POSTREAD);
buf 1332 dev/ic/acx.c m = buf->rb_mbuf;
buf 1334 dev/ic/acx.c error = acx_newbuf(sc, buf, 0);
buf 1403 dev/ic/acx.c buf->rb_desc->h_ctrl = htole16(desc_ctrl & ~DESC_CTRL_HOSTOWN);
buf 1404 dev/ic/acx.c buf->rb_desc->h_status = 0;
buf 87 dev/ic/adv.c static void advminphys(struct buf *);
buf 627 dev/ic/adv.c struct buf *bp;
buf 3162 dev/ic/advlib.c u_int8_t *buf;
buf 3181 dev/ic/advlib.c buf = (u_char *) & scsiq_buf;
buf 3183 dev/ic/advlib.c *buf++ = 0x00;
buf 86 dev/ic/adw.c void adw_minphys(struct buf *);
buf 641 dev/ic/adw.c struct buf *bp;
buf 157 dev/ic/aic6360.c void aic_minphys(struct buf *);
buf 566 dev/ic/aic6360.c aic_minphys(struct buf *bp)
buf 6152 dev/ic/aic79xx.c ahd_controller_info(struct ahd_softc *ahd, char *buf, size_t bufsz)
buf 6154 dev/ic/aic79xx.c snprintf(buf, bufsz, "%s: %s, U320 %s Channel %c, SCSI Id=%d, %s, %d SCBs",
buf 9195 dev/ic/aic79xx.c ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
buf 9222 dev/ic/aic79xx.c bytestream_ptr = (uint8_t *)buf;
buf 9229 dev/ic/aic79xx.c *buf = ahd_inw(ahd, SEEDAT);
buf 9231 dev/ic/aic79xx.c buf++;
buf 9242 dev/ic/aic79xx.c ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
buf 9267 dev/ic/aic79xx.c ahd_outw(ahd, SEEDAT, *buf++);
buf 1004 dev/ic/aic79xx.h int ahd_read_seeprom(struct ahd_softc *ahd, uint16_t *buf,
buf 1007 dev/ic/aic79xx.h int ahd_write_seeprom(struct ahd_softc *ahd, uint16_t *buf,
buf 1404 dev/ic/aic79xx.h void ahd_controller_info(struct ahd_softc *ahd, char *buf,
buf 84 dev/ic/aic79xx_openbsd.c void ahd_minphys(struct buf *);
buf 288 dev/ic/aic79xx_openbsd.c ahd_minphys(struct buf *bp)
buf 4459 dev/ic/aic7xxx.c ahc_controller_info(struct ahc_softc *ahc, char *buf, size_t buf_len)
buf 4463 dev/ic/aic7xxx.c snprintf(buf + len, buf_len - len, "%s: ",
buf 4465 dev/ic/aic7xxx.c len = strlen(buf);
buf 4467 dev/ic/aic7xxx.c snprintf(buf + len, buf_len - len,
buf 4488 dev/ic/aic7xxx.c snprintf(buf + len, buf_len - len,
buf 4492 dev/ic/aic7xxx.c len = strlen(buf);
buf 4495 dev/ic/aic7xxx.c snprintf(buf + len, buf_len - len, "%d/%d SCBs",
buf 4498 dev/ic/aic7xxx.c snprintf(buf + len, buf_len - len, "%d SCBs",
buf 59 dev/ic/aic7xxx_openbsd.c void ahc_minphys(struct buf *);
buf 292 dev/ic/aic7xxx_openbsd.c struct buf *bp;
buf 1076 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1081 dev/ic/am7990.c bcopy(from, buf + boff, len);
buf 1090 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1095 dev/ic/am7990.c bcopy(buf + boff, to, len);
buf 1103 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1108 dev/ic/am7990.c bzero(buf + boff, len);
buf 1131 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1137 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + (boff - 1);
buf 1142 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + boff;
buf 1159 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1166 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + (boff - 1);
buf 1171 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + boff;
buf 1188 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1192 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + (boff - 1);
buf 1197 dev/ic/am7990.c bptr = ((volatile u_int16_t *)buf) + boff;
buf 1218 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1223 dev/ic/am7990.c bptr = buf + ((boff << 1) & ~0x1f);
buf 1242 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1247 dev/ic/am7990.c bptr = buf + ((boff << 1) & ~0x1f);
buf 1265 dev/ic/am7990.c volatile caddr_t buf = sc->sc_mem;
buf 1269 dev/ic/am7990.c bptr = buf + ((boff << 1) & ~0x1f);
buf 423 dev/ic/am79c930.c u_int8_t buf[8];
buf 428 dev/ic/am79c930.c buf[i] = bus_space_read_1 (sc->sc_iot, sc->sc_ioh, i);
buf 433 dev/ic/am79c930.c printf(" %02x", buf[i]);
buf 102 dev/ic/ami.c void amiminphys(struct buf *bp);
buf 1253 dev/ic/ami.c amiminphys(struct buf *bp)
buf 700 dev/ic/an.c an_read_bap(struct an_softc *sc, int id, int off, void *buf, int len, int blen)
buf 714 dev/ic/an.c CSR_READ_MULTI_STREAM_2(sc, AN_DATA0, (u_int16_t *)buf, cnt);
buf 723 dev/ic/an.c an_write_bap(struct an_softc *sc, int id, int off, void *buf, int buflen)
buf 737 dev/ic/an.c CSR_WRITE_MULTI_STREAM_2(sc, AN_DATA0, (u_int16_t *)buf, cnt);
buf 837 dev/ic/an.c an_read_rid(struct an_softc *sc, int rid, void *buf, int *buflenp)
buf 853 dev/ic/an.c return an_read_bap(sc, rid, sizeof(len), buf, len, *buflenp);
buf 857 dev/ic/an.c an_write_rid(struct an_softc *sc, int rid, void *buf, int buflen)
buf 868 dev/ic/an.c error = an_write_bap(sc, rid, sizeof(len), buf, buflen);
buf 62 dev/ic/anvar.h #define CSR_READ_MULTI_STREAM_2(sc, reg, buf, count) \
buf 63 dev/ic/anvar.h bus_space_read_multi_stream_2(sc->sc_iot, sc->sc_ioh, reg, buf, count)
buf 2170 dev/ic/atw.c atw_write_sram(struct atw_softc *sc, u_int ofs, u_int8_t *buf, u_int buflen)
buf 2175 dev/ic/atw.c memcpy(&sc->sc_sram[ofs], buf, buflen);
buf 2218 dev/ic/atw.c u_int8_t buf[IEEE80211_WEP_NKID]
buf 2227 dev/ic/atw.c memset(&buf[0][0], 0, sizeof(buf));
buf 2232 dev/ic/atw.c buf[i][1] = ATW_WEP_ENABLED | ATW_WEP_104BIT;
buf 2234 dev/ic/atw.c buf[i][1] = ATW_WEP_ENABLED;
buf 2236 dev/ic/atw.c buf[i][1] = 0;
buf 2239 dev/ic/atw.c buf[i][0] = ic->ic_nw_keys[i].k_key[0];
buf 2240 dev/ic/atw.c memcpy(&buf[i][2], &ic->ic_nw_keys[i].k_key[1],
buf 2263 dev/ic/atw.c atw_write_sram(sc, ATW_SRAM_ADDR_SHARED_KEY, (u_int8_t*)&buf[0][0],
buf 2264 dev/ic/atw.c sizeof(buf));
buf 2316 dev/ic/atw.c u_int8_t buf[roundup(1 /* length */ + IEEE80211_NWID_LEN, 2)];
buf 2318 dev/ic/atw.c memset(buf, 0, sizeof(buf));
buf 2319 dev/ic/atw.c buf[0] = ic->ic_bss->ni_esslen;
buf 2320 dev/ic/atw.c memcpy(&buf[1], ic->ic_bss->ni_essid, ic->ic_bss->ni_esslen);
buf 2322 dev/ic/atw.c atw_write_sram(sc, ATW_SRAM_ADDR_SSID, buf,
buf 2337 dev/ic/atw.c u_int8_t buf[roundup(1 /* length */ + IEEE80211_RATE_SIZE, 2)];
buf 2339 dev/ic/atw.c memset(buf, 0, sizeof(buf));
buf 2340 dev/ic/atw.c buf[0] = ic->ic_bss->ni_rates.rs_nrates;
buf 2341 dev/ic/atw.c memcpy(&buf[1], ic->ic_bss->ni_rates.rs_rates,
buf 2346 dev/ic/atw.c atw_write_sram(sc, ATW_SRAM_ADDR_SUPRATES, buf, sizeof(buf));
buf 136 dev/ic/awi_wep.c static u_int32_t awi_crc_update(u_int32_t crc, u_int8_t *buf, int len);
buf 511 dev/ic/awi_wep.c awi_crc_update(crc, buf, len)
buf 513 dev/ic/awi_wep.c u_int8_t *buf;
buf 518 dev/ic/awi_wep.c for (endbuf = buf + len; buf < endbuf; buf++)
buf 519 dev/ic/awi_wep.c crc = awi_crc_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
buf 106 dev/ic/bha.c void bhaminphys(struct buf *);
buf 1331 dev/ic/bha.c struct buf *bp;
buf 190 dev/ic/bt8xx.h caddr_t buf; /* The real space (virtual addr) */
buf 99 dev/ic/cac.c void cacminphys(struct buf *bp);
buf 263 dev/ic/cac.c u_int8_t buf[512];
buf 265 dev/ic/cac.c memset(buf, 0, sizeof(buf));
buf 266 dev/ic/cac.c buf[0] = 1;
buf 267 dev/ic/cac.c return cac_cmd(sc, CAC_CMD_FLUSH_CACHE, buf, sizeof(buf), 0, 0,
buf 533 dev/ic/cac.c struct buf *bp;
buf 75 dev/ic/ciss.c void cissminphys(struct buf *bp);
buf 463 dev/ic/ciss.c cissminphys(struct buf *bp)
buf 1321 dev/ic/ciss.c u_int8_t drv, buf[128];
buf 1329 dev/ic/ciss.c buf[k++] = drv;
buf 1341 dev/ic/ciss.c bcopy(buf, ldp->tgts, k);
buf 924 dev/ic/dp8390.c dp8390_read(struct dp8390_softc *sc, int buf, u_short len)
buf 930 dev/ic/dp8390.c m = dp8390_get(sc, buf, len);
buf 1160 dev/ic/dp8390.c dp8390_write_mbuf(struct dp8390_softc *sc, struct mbuf *m, int buf)
buf 1171 dev/ic/dp8390.c bus_space_write_region_1(buft, bufh, buf, data, len);
buf 1173 dev/ic/dp8390.c buf += len;
buf 659 dev/ic/dpt.c struct buf *bp;
buf 106 dev/ic/dptvar.h void dpt_minphys(struct buf *);
buf 880 dev/ic/gdt_common.c ("#%d va %p pa %p len %x\n", i, buf,
buf 1223 dev/ic/gdt_common.c struct buf *bp;
buf 406 dev/ic/gdtvar.h void gdtminphys(struct buf *);
buf 1308 dev/ic/if_wi.c wi_read_data_io(struct wi_softc *sc, int id, int off, caddr_t buf, int len)
buf 1315 dev/ic/if_wi.c ptr = (u_int8_t *)buf;
buf 1334 dev/ic/if_wi.c wi_write_data_io(struct wi_softc *sc, int id, int off, caddr_t buf, int len)
buf 1345 dev/ic/if_wi.c ptr = (u_int8_t *)buf;
buf 2340 dev/ic/if_wi.c wi_do_hostencrypt(struct wi_softc *sc, caddr_t buf, int len)
buf 2375 dev/ic/if_wi.c dat = buf;
buf 2399 dev/ic/if_wi.c wi_do_hostdecrypt(struct wi_softc *sc, caddr_t buf, int len)
buf 2412 dev/ic/if_wi.c dat = buf;
buf 155 dev/ic/if_wivar.h caddr_t buf, int len);
buf 157 dev/ic/if_wivar.h caddr_t buf, int len);
buf 485 dev/ic/iha.c struct buf *bp;
buf 427 dev/ic/iha.h void iha_minphys(struct buf *);
buf 4349 dev/ic/isp.c char buf[172];
buf 4350 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "states=>");
buf 4352 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s GOT_BUS", buf);
buf 4355 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s GOT_TGT", buf);
buf 4358 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s SENT_CDB", buf);
buf 4361 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s XFRD_DATA", buf);
buf 4364 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s GOT_STS", buf);
buf 4367 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s GOT_SNS", buf);
buf 4370 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s XFR_CMPLT", buf);
buf 4372 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s\nstatus=>", buf);
buf 4374 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Disconnect", buf);
buf 4377 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Sync_xfr", buf);
buf 4380 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Parity", buf);
buf 4383 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Bus_Reset", buf);
buf 4386 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Device_Reset", buf);
buf 4389 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Aborted", buf);
buf 4392 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Timeout", buf);
buf 4395 dev/ic/isp.c SNPRINTF(buf, sizeof (buf), "%s Negotiation", buf);
buf 4397 dev/ic/isp.c isp_prt(isp, ISP_LOGERR, "%s", buf);
buf 4399 dev/ic/isp.c XS_CHANNEL(xs), XS_TGT(xs), XS_LUN(xs), buf);
buf 154 dev/ic/isp_inline.h char buf[TBA];
buf 159 dev/ic/isp_inline.h for (buf[0] = 0, amt = i = 0; i < 4; i++) {
buf 160 dev/ic/isp_inline.h buf[0] = 0;
buf 161 dev/ic/isp_inline.h SNPRINTF(buf, TBA, " ");
buf 163 dev/ic/isp_inline.h SNPRINTF(buf, TBA, "%s %02x", buf, ptr[amt++] & 0xff);
buf 165 dev/ic/isp_inline.h isp_prt(isp, ISP_LOGALL, buf);
buf 174 dev/ic/isp_inline.h char buf[128];
buf 181 dev/ic/isp_inline.h buf[0] = 0;
buf 186 dev/ic/isp_inline.h SNPRINTF(buf, 128, "%s %02x", buf, ptr[off++] & 0xff);
buf 190 dev/ic/isp_inline.h isp_prt(isp, ISP_LOGALL, "0x%08x:%s", to, buf);
buf 191 dev/ic/isp_inline.h buf[0] = 0;
buf 65 dev/ic/isp_openbsd.c static void ispminphys(struct buf *);
buf 187 dev/ic/isp_openbsd.c ispminphys(struct buf *bp)
buf 61 dev/ic/lptvar.h struct buf *sc_inbuf;
buf 291 dev/ic/malo.c void malo_hexdump(void *buf, int len);
buf 1999 dev/ic/malo.c malo_hexdump(void *buf, int len)
buf 2007 dev/ic/malo.c bcopy(buf + i, b, l);
buf 63 dev/ic/mfi.c void mfiminphys(struct buf *bp);
buf 568 dev/ic/mfi.c mfiminphys(struct buf *bp)
buf 1116 dev/ic/mfi.c void *buf, uint8_t *mbox)
buf 1145 dev/ic/mfi.c ccb->ccb_data = buf;
buf 58 dev/ic/mpi.c void mpi_minphys(struct buf *bp);
buf 1319 dev/ic/mpi.c mpi_minphys(struct buf *bp)
buf 1493 dev/ic/mpi.c mpi_handshake_send(struct mpi_softc *sc, void *buf, size_t dwords)
buf 1495 dev/ic/mpi.c u_int32_t *query = buf;
buf 1552 dev/ic/mpi.c mpi_handshake_recv(struct mpi_softc *sc, void *buf, size_t dwords)
buf 1554 dev/ic/mpi.c struct mpi_msg_reply *reply = buf;
buf 1555 dev/ic/mpi.c u_int32_t *dbuf = buf, dummy;
buf 1240 dev/ic/ncr53c9x.c u_char *buf;
buf 1244 dev/ic/ncr53c9x.c buf = sc->sc_imess;
buf 1248 dev/ic/ncr53c9x.c buf = sc->sc_imess + sc->sc_imlen;
buf 1265 dev/ic/ncr53c9x.c buf[i] = NCR_READ_REG(sc, NCR_FIFO);
buf 1270 dev/ic/ncr53c9x.c buf[i++] = NCR_READ_REG(sc, NCR_FIFO);
buf 1278 dev/ic/ncr53c9x.c buf[i] = NCR_READ_REG(sc, NCR_FIFO);
buf 467 dev/ic/ne2000.c ne2000_write_mbuf(struct dp8390_softc *sc, struct mbuf *m, int buf)
buf 494 dev/ic/ne2000.c bus_space_write_1(nict, nich, ED_P0_RSAR0, buf);
buf 495 dev/ic/ne2000.c bus_space_write_1(nict, nich, ED_P0_RSAR1, buf >> 8);
buf 657 dev/ic/ne2000.c ne2000_read_hdr(struct dp8390_softc *sc, int buf, struct dp8390_ring *hdr)
buf 662 dev/ic/ne2000.c buf, (u_int8_t *)hdr, sizeof(struct dp8390_ring),
buf 81 dev/ic/oosiop.c void oosiop_minphys(struct buf *);
buf 708 dev/ic/oosiop.c oosiop_minphys(struct buf *bp)
buf 96 dev/ic/osiop.c void osiop_minphys(struct buf *);
buf 364 dev/ic/osiop.c struct buf *bp;
buf 175 dev/ic/pcf8584.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 197 dev/ic/pcf8584.c ret = pcfiic_xmit(sc, addr & 0x7f, buf, len);
buf 199 dev/ic/pcf8584.c ret = pcfiic_recv(sc, addr & 0x7f, buf, len);
buf 205 dev/ic/pcf8584.c pcfiic_xmit(struct pcfiic_softc *sc, u_int8_t addr, const u_int8_t *buf,
buf 229 dev/ic/pcf8584.c pcfiic_write(sc, PCF_S0, buf[i]);
buf 236 dev/ic/pcf8584.c pcfiic_recv(struct pcfiic_softc *sc, u_int8_t addr, u_int8_t *buf, size_t len)
buf 266 dev/ic/pcf8584.c buf[i - 1] = r;
buf 498 dev/ic/rln.c u_int8_t *buf;
buf 507 dev/ic/rln.c if (rln_mbox_lock(sc, hdr->cmd_seq, (void **)&buf, &buflen) == 0) {
buf 512 dev/ic/rln.c bcopy(hdr, buf, sizeof *hdr);
buf 513 dev/ic/rln.c buf += sizeof *hdr;
buf 518 dev/ic/rln.c rln_rx_pdata(sc, buf, len, &pd);
buf 526 dev/ic/rln.c rln_rx_pdata(sc, buf, len, &pd);
buf 534 dev/ic/rln.c rln_rx_pdata(sc, buf, buflen, &pd);
buf 135 dev/ic/rlnreg.h #define rln_data_write_multi_1(sc, buf, len) \
buf 137 dev/ic/rlnreg.h RLN_REG_DATA, (buf), (len))
buf 138 dev/ic/rlnreg.h #define rln_data_read_multi_1(sc, buf, len) \
buf 140 dev/ic/rlnreg.h RLN_REG_DATA, (buf), (len))
buf 147 dev/ic/rlnreg.h #define rln_data_write_multi_2(sc, buf, len) \
buf 149 dev/ic/rlnreg.h RLN_REG_DATA, (buf), (len))
buf 150 dev/ic/rlnreg.h #define rln_data_read_multi_2(sc, buf, len) \
buf 152 dev/ic/rlnreg.h RLN_REG_DATA, (buf), (len))
buf 429 dev/ic/rlnsubr.c rln_rx_pdata(sc, buf, len, pd)
buf 431 dev/ic/rlnsubr.c void * buf;
buf 435 dev/ic/rlnsubr.c char * data = (char *)buf;
buf 486 dev/ic/rlnsubr.c rln_rx_data(sc, buf, len)
buf 488 dev/ic/rlnsubr.c void * buf;
buf 513 dev/ic/rlnsubr.c rln_rx_pdata(sc, buf, len, &pd);
buf 555 dev/ic/rlnsubr.c rln_msg_tx_start(sc, buf, pktlen, state)
buf 557 dev/ic/rlnsubr.c void * buf;
buf 561 dev/ic/rlnsubr.c struct rln_mm_cmd * cmd = (struct rln_mm_cmd *)buf;
buf 588 dev/ic/rlnsubr.c rln_msg_tx_data(sc, buf, len, state)
buf 590 dev/ic/rlnsubr.c void * buf;
buf 594 dev/ic/rlnsubr.c char * data = (char *)buf;
buf 619 dev/ic/rlnsubr.c rln_data_write_multi_2(sc, buf, len / 2);
buf 625 dev/ic/rlnsubr.c rln_data_write_multi_1(sc, buf, len);
buf 787 dev/ic/rlnsubr.c rln_mbox_create(sc, seq, buf, len)
buf 790 dev/ic/rlnsubr.c void * buf;
buf 811 dev/ic/rlnsubr.c mb->mb_buf = buf;
buf 121 dev/ic/rlnvar.h #define dprinthex(buf, len) do { \
buf 122 dev/ic/rlnvar.h unsigned char *_b = (unsigned char *)(buf); \
buf 134 dev/ic/rlnvar.h #define dprinthex(buf, len) /* nothing */
buf 139 dev/ic/rlnvar.h #define RLNDUMPHEX(buf, buflen) do { \
buf 142 dev/ic/rlnvar.h printf("%02x", ((unsigned char *)(buf))[_i]); \
buf 676 dev/ic/sili.c sili_post_direct(struct sili_port *sp, u_int slot, void *buf, size_t buflen)
buf 686 dev/ic/sili.c buf, buflen);
buf 711 dev/ic/siop_common.c struct buf *bp;
buf 207 dev/ic/siopvar_common.h void siop_minphys(struct buf *);
buf 95 dev/ic/smc93cx6.c read_seeprom(sd, buf, start_addr, count)
buf 97 dev/ic/smc93cx6.c u_int16_t *buf;
buf 159 dev/ic/smc93cx6.c buf[k - start_addr] = v;
buf 176 dev/ic/smc93cx6.c printf (" 0x%x", buf[k]);
buf 597 dev/ic/stireg.h u_int8_t *buf;
buf 64 dev/ic/trm.c void trm_minphys(struct buf *);
buf 2371 dev/ic/trm.c trm_minphys(struct buf *bp)
buf 752 dev/ic/twe.c struct buf *bp;
buf 87 dev/ic/twevar.h void tweminphys(struct buf *bp);
buf 93 dev/ic/uha.c void uhaminphys(struct buf *);
buf 343 dev/ic/uha.c struct buf *bp;
buf 2098 dev/ic/wdc.c struct buf wi_bp;
buf 2105 dev/ic/wdc.c struct wdc_ioctl *wdc_ioctl_find(struct buf *);
buf 2108 dev/ic/wdc.c void wdc_ioctl_strategy(struct buf *);
buf 2152 dev/ic/wdc.c struct buf *bp;
buf 2189 dev/ic/wdc.c struct buf *bp;
buf 2315 dev/ic/wdc.c error = copyout(log_to_copy, agt->buf, size);
buf 130 dev/ipmi.c #define dbg_dump(lvl, msg, len, buf) \
buf 132 dev/ipmi.c dumpb(msg, len, (const u_int8_t *)(buf));
buf 135 dev/ipmi.c #define dbg_dump(lvl, msg, len, buf)
buf 946 dev/ipmi.c u_int8_t *buf;
buf 950 dev/ipmi.c buf = malloc(*txlen, M_DEVBUF, M_NOWAIT|M_CANFAIL);
buf 951 dev/ipmi.c if (buf == NULL)
buf 954 dev/ipmi.c buf[IPMI_BTMSG_LEN] = len + 3;
buf 955 dev/ipmi.c buf[IPMI_BTMSG_NFLN] = nfLun;
buf 956 dev/ipmi.c buf[IPMI_BTMSG_SEQ] = sc->sc_btseq++;
buf 957 dev/ipmi.c buf[IPMI_BTMSG_CMD] = cmd;
buf 959 dev/ipmi.c memcpy(buf + IPMI_BTMSG_DATASND, data, len);
buf 961 dev/ipmi.c return (buf);
buf 975 dev/ipmi.c u_int8_t *buf;
buf 979 dev/ipmi.c buf = malloc(*txlen, M_DEVBUF, M_NOWAIT|M_CANFAIL);
buf 980 dev/ipmi.c if (buf == NULL)
buf 983 dev/ipmi.c buf[IPMI_MSG_NFLN] = nfLun;
buf 984 dev/ipmi.c buf[IPMI_MSG_CMD] = cmd;
buf 986 dev/ipmi.c memcpy(buf + IPMI_MSG_DATASND, data, len);
buf 988 dev/ipmi.c return (buf);
buf 996 dev/ipmi.c u_int8_t *buf;
buf 1004 dev/ipmi.c buf = sc->sc_if->buildmsg(sc, NETFN_LUN(APP_NETFN, BMC_LUN),
buf 1023 dev/ipmi.c buf = sc->sc_if->buildmsg(sc, NETFN_LUN(netfn, rslun), cmd,
buf 1026 dev/ipmi.c if (buf == NULL) {
buf 1030 dev/ipmi.c rc = sc->sc_if->sendmsg(sc, txlen, buf);
buf 1031 dev/ipmi.c free(buf, M_DEVBUF);
buf 1042 dev/ipmi.c u_int8_t *buf, rc = 0;
buf 1046 dev/ipmi.c buf = malloc(maxlen + 3, M_DEVBUF, M_NOWAIT|M_CANFAIL);
buf 1047 dev/ipmi.c if (buf == NULL) {
buf 1052 dev/ipmi.c if (sc->sc_if->recvmsg(sc, maxlen + 3, &rawlen, buf))
buf 1057 dev/ipmi.c memcpy(data, buf + IPMI_MSG_DATARCV, *rxlen);
buf 1059 dev/ipmi.c rc = buf[IPMI_MSG_CCODE];
buf 1063 dev/ipmi.c buf[IPMI_MSG_NFLN], buf[IPMI_MSG_CMD], buf[IPMI_MSG_CCODE]);
buf 1067 dev/ipmi.c buf[IPMI_MSG_NFLN], buf[IPMI_MSG_CMD], buf[IPMI_MSG_CCODE],
buf 1071 dev/ipmi.c free(buf, M_DEVBUF);
buf 1019 dev/isa/ad1848.c void (*pswcode)(void *, u_char *buf, int cnt);
buf 1020 dev/isa/ad1848.c void (*rswcode)(void *, u_char *buf, int cnt);
buf 1442 dev/isa/ad1848.c ad1848_dma_init_input(addr, buf, cc)
buf 1444 dev/isa/ad1848.c void *buf;
buf 1451 dev/isa/ad1848.c sc->sc_dma_bp = buf;
buf 1453 dev/isa/ad1848.c isa_dmastart(sc->sc_isa, sc->sc_recdrq, buf, cc, NULL,
buf 1455 dev/isa/ad1848.c DPRINTF(("ad1848_dma_init_input: %p %d\n", buf, cc));
buf 1530 dev/isa/ad1848.c ad1848_dma_init_output(addr, buf, cc)
buf 1532 dev/isa/ad1848.c void *buf;
buf 1539 dev/isa/ad1848.c sc->sc_dma_bp = buf;
buf 1541 dev/isa/ad1848.c isa_dmastart(sc->sc_isa, sc->sc_drq, buf, cc, NULL,
buf 1543 dev/isa/ad1848.c DPRINTF(("ad1848_dma_init_output: %p %d\n", buf, cc));
buf 157 dev/isa/aha.c void ahaminphys(struct buf *);
buf 1243 dev/isa/aha.c struct buf *bp;
buf 123 dev/isa/fd.c struct buf sc_q; /* head of buf chain */
buf 143 dev/isa/fd.c void fdstrategy(struct buf *);
buf 152 dev/isa/fd.c void fdfinish(struct fd_softc *fd, struct buf *bp);
buf 344 dev/isa/fd.c register struct buf *bp; /* IO operation to perform */
buf 435 dev/isa/fd.c struct buf *bp;
buf 614 dev/isa/fd.c struct buf *bp;
buf 916 dev/isa/fd.c struct buf *bp = fd->sc_q.b_actf;
buf 1057 dev/isa/fd.c struct buf *bp;
buf 1061 dev/isa/fd.c bp = (struct buf *)malloc(sizeof(struct buf), M_TEMP, M_NOWAIT);
buf 1065 dev/isa/fd.c bzero((void *)bp, sizeof(struct buf));
buf 408 dev/isa/gus.c gus_deinterleave(sc, buf, size)
buf 410 dev/isa/gus.c void *buf;
buf 429 dev/isa/gus.c u_short *sbuf = buf;
buf 450 dev/isa/gus.c u_char *sbuf = buf;
buf 464 dev/isa/gus.c gusmax_dma_output(addr, buf, size, intr, arg)
buf 466 dev/isa/gus.c void *buf;
buf 472 dev/isa/gus.c return gus_dma_output(ac->parent, buf, size, intr, arg);
buf 522 dev/isa/gus.c gus_dma_output(addr, buf, size, intr, arg)
buf 524 dev/isa/gus.c void *buf;
buf 530 dev/isa/gus.c u_char *buffer = buf;
buf 534 dev/isa/gus.c DMAPRINTF(("gus_dma_output %d @ %p\n", size, buf));
buf 2266 dev/isa/gus.c gusmax_dma_input(addr, buf, size, callback, arg)
buf 2268 dev/isa/gus.c void *buf;
buf 2274 dev/isa/gus.c return gus_dma_input(sc->parent, buf, size, callback, arg);
buf 2282 dev/isa/gus.c gus_dma_input(addr, buf, size, callback, arg)
buf 2284 dev/isa/gus.c void *buf;
buf 2313 dev/isa/gus.c isa_dmastart(sc->sc_dev.dv_parent, sc->sc_recdrq, buf, size,
buf 2321 dev/isa/gus.c sc->sc_dmainaddr = buf;
buf 573 dev/isa/if_ec.c ec_write_mbuf(struct dp8390_softc *sc, struct mbuf *m, int buf)
buf 593 dev/isa/if_ec.c for (; m != NULL; buf += m->m_len, m = m->m_next)
buf 594 dev/isa/if_ec.c bus_space_write_region_1(memt, memh, buf,
buf 628 dev/isa/if_ec.c bus_space_write_2(memt, memh, buf,
buf 630 dev/isa/if_ec.c buf += 2;
buf 647 dev/isa/if_ec.c bus_space_write_region_2(memt, memh, buf,
buf 650 dev/isa/if_ec.c buf += len;
buf 665 dev/isa/if_ec.c bus_space_write_2(memt, memh, buf, *(u_int16_t *)savebyte);
buf 693 dev/isa/if_eg.c egread(sc, buf, len)
buf 695 dev/isa/if_eg.c caddr_t buf;
buf 710 dev/isa/if_eg.c m = egget(sc, buf, len);
buf 734 dev/isa/if_eg.c egget(sc, buf, totlen)
buf 736 dev/isa/if_eg.c caddr_t buf;
buf 767 dev/isa/if_eg.c bcopy((caddr_t)buf, mtod(m, caddr_t), len);
buf 768 dev/isa/if_eg.c buf += len;
buf 610 dev/isa/if_we.c we_write_mbuf(struct dp8390_softc *sc, struct mbuf *m, int buf)
buf 629 dev/isa/if_we.c for (; m != NULL; buf += m->m_len, m = m->m_next)
buf 631 dev/isa/if_we.c buf, mtod(m, u_int8_t *), m->m_len);
buf 656 dev/isa/if_we.c bus_space_write_stream_2(memt, memh, buf,
buf 658 dev/isa/if_we.c buf += 2;
buf 676 dev/isa/if_we.c buf, (u_int16_t *)data, len >> 1);
buf 678 dev/isa/if_we.c buf += len;
buf 693 dev/isa/if_we.c bus_space_write_stream_2(memt, memh, buf,
buf 226 dev/isa/isapnpres.c isapnp_process_tag(tag, len, buf, card, dev, conf)
buf 227 dev/isa/isapnpres.c u_char tag, len, *buf;
buf 240 dev/isa/isapnpres.c buf[0] >> 4, buf[0] & 0xf, buf[1] >> 4, buf[1] & 0xf));
buf 244 dev/isa/isapnpres.c (void) isapnp_id_to_vendor(str, buf);
buf 252 dev/isa/isapnpres.c (void) isapnp_id_to_vendor(str, buf);
buf 264 dev/isa/isapnpres.c buf[0] = ISAPNP_DEP_ACCEPTABLE;
buf 270 dev/isa/isapnpres.c (*conf)->ipa_pref = buf[0];
buf 283 dev/isa/isapnpres.c buf[len] = '\0';
buf 284 dev/isa/isapnpres.c DPRINTF(("ANSI Ident: %s\n", buf));
buf 286 dev/isa/isapnpres.c COPY((*card)->ipa_devident, buf);
buf 288 dev/isa/isapnpres.c COPY((*dev)->ipa_devclass, buf);
buf 318 dev/isa/isapnpres.c buf[2] = ISAPNP_IRQTYPE_EDGE_PLUS;
buf 321 dev/isa/isapnpres.c p->bits = buf[0] | (buf[1] << 8);
buf 322 dev/isa/isapnpres.c p->flags = buf[2];
buf 329 dev/isa/isapnpres.c if (buf[0] == 0)
buf 333 dev/isa/isapnpres.c p->bits = buf[0];
buf 334 dev/isa/isapnpres.c p->flags = buf[1];
buf 343 dev/isa/isapnpres.c r->flags = buf[0];
buf 344 dev/isa/isapnpres.c r->minbase = (buf[2] << 8) | buf[1];
buf 345 dev/isa/isapnpres.c r->maxbase = (buf[4] << 8) | buf[3];
buf 346 dev/isa/isapnpres.c r->align = buf[5];
buf 347 dev/isa/isapnpres.c r->length = buf[6];
buf 356 dev/isa/isapnpres.c r->minbase = (buf[1] << 8) | buf[0];
buf 359 dev/isa/isapnpres.c r->length = buf[2];
buf 371 dev/isa/isapnpres.c r->flags = buf[0];
buf 372 dev/isa/isapnpres.c r->minbase = (buf[2] << 16) | (buf[1] << 8);
buf 373 dev/isa/isapnpres.c r->maxbase = (buf[4] << 16) | (buf[3] << 8);
buf 374 dev/isa/isapnpres.c r->align = (buf[6] << 8) | buf[5];
buf 375 dev/isa/isapnpres.c r->length = (buf[8] << 16) | (buf[7] << 8);
buf 392 dev/isa/isapnpres.c r->flags = buf[0];
buf 393 dev/isa/isapnpres.c r->minbase = (buf[4] << 24) | (buf[3] << 16) |
buf 394 dev/isa/isapnpres.c (buf[2] << 8) | buf[1];
buf 395 dev/isa/isapnpres.c r->maxbase = (buf[8] << 24) | (buf[7] << 16) |
buf 396 dev/isa/isapnpres.c (buf[6] << 8) | buf[5];
buf 397 dev/isa/isapnpres.c r->align = (buf[12] << 24) | (buf[11] << 16) |
buf 398 dev/isa/isapnpres.c (buf[10] << 8) | buf[9];
buf 399 dev/isa/isapnpres.c r->length = (buf[16] << 24) | (buf[15] << 16) |
buf 400 dev/isa/isapnpres.c (buf[14] << 8) | buf[13];
buf 408 dev/isa/isapnpres.c r->flags = buf[0];
buf 409 dev/isa/isapnpres.c r->minbase = (buf[4] << 24) | (buf[3] << 16) |
buf 410 dev/isa/isapnpres.c (buf[2] << 8) | buf[1];
buf 413 dev/isa/isapnpres.c r->length = (buf[8] << 24) | (buf[7] << 16) |
buf 414 dev/isa/isapnpres.c (buf[6] << 8) | buf[5];
buf 426 dev/isa/isapnpres.c printf("%.2x ", buf[i]);
buf 450 dev/isa/isapnpres.c u_char buf[ISAPNP_MAX_TAGSIZE], *p;
buf 452 dev/isa/isapnpres.c bzero(buf, sizeof(buf));
buf 488 dev/isa/isapnpres.c buf[0] = d;
buf 490 dev/isa/isapnpres.c buf[1] = d;
buf 491 dev/isa/isapnpres.c len = (buf[1] << 8) | buf[0];
buf 498 dev/isa/isapnpres.c for (p = buf, i = 0; i < len; i++) {
buf 512 dev/isa/isapnpres.c if (isapnp_process_tag(tag, len, buf, &card, &dev, &conf) == -1) {
buf 96 dev/isa/mcd.c struct buf *bp;
buf 140 dev/isa/mcd.c struct buf buf_queue;
buf 222 dev/isa/mcd.c void mcdstrategy(struct buf *);
buf 479 dev/isa/mcd.c struct buf *bp;
buf 536 dev/isa/mcd.c struct buf *bp, *dp = &sc->buf_queue;
buf 1141 dev/isa/mcd.c struct buf *bp = mbx->bp;
buf 527 dev/isa/sbdsp.c void (*swcode)(void *, u_char *buf, int cnt);
buf 347 dev/isa/sf16fmr2.c u_int32_t buf;
buf 356 dev/isa/sf16fmr2.c buf = sf2r_read_register(sc->tea.iot, sc->tea.ioh, sc->tea.offset);
buf 357 dev/isa/sf16fmr2.c ri->freq = sc->freq = tea5757_decode_freq(buf,
buf 359 dev/isa/sf16fmr2.c ri->info = 3 & (buf >> 24);
buf 172 dev/isa/wdc_isapnp.c wdc_isapnp_dma_start(scv, buf, size, read)
buf 173 dev/isa/wdc_isapnp.c void *scv, *buf;
buf 179 dev/isa/wdc_isapnp.c isa_dmastart(sc->sc_ic, sc->sc_drq, buf, size, NULL,
buf 166 dev/isa/wds.c void wdsminphys(struct buf *);
buf 457 dev/isa/wds.c if (scb->buf != 0) {
buf 458 dev/isa/wds.c wds_free_buf(sc, scb->buf);
buf 459 dev/isa/wds.c scb->buf = 0;
buf 483 dev/isa/wds.c wds_free_buf(sc, buf)
buf 485 dev/isa/wds.c struct wds_buf *buf;
buf 491 dev/isa/wds.c buf->busy = 0;
buf 492 dev/isa/wds.c TAILQ_INSERT_HEAD(&wds_free_buffer, buf, chain);
buf 498 dev/isa/wds.c if (TAILQ_NEXT(buf, chain) == NULL)
buf 592 dev/isa/wds.c scb->buf = wds_get_buf(sc, flags);
buf 593 dev/isa/wds.c if (scb->buf == 0) {
buf 611 dev/isa/wds.c struct wds_buf *buf;
buf 617 dev/isa/wds.c buf = TAILQ_FIRST(&wds_free_buffer);
buf 618 dev/isa/wds.c if (buf) {
buf 619 dev/isa/wds.c TAILQ_REMOVE(&wds_free_buffer, buf, chain);
buf 627 dev/isa/wds.c buf->busy = 1;
buf 631 dev/isa/wds.c return (buf);
buf 838 dev/isa/wds.c bcopy(scb->buf->data, xs->data, xs->datalen);
buf 1036 dev/isa/wds.c struct buf *bp;
buf 1232 dev/isa/wds.c bcopy(xs->data, scb->buf->data, xs->datalen);
buf 1234 dev/isa/wds.c bzero(scb->buf->data, xs->datalen);
buf 1236 dev/isa/wds.c ltophys(KVTOPHYS(scb->buf->data), scb->cmd.data);
buf 1318 dev/isa/wds.c bcopy(scb->buf->data, xs->data, xs->datalen);
buf 97 dev/isa/wdsreg.h struct wds_buf *buf;
buf 337 dev/microcode/aic7xxx/aicasm.c char buf[255];
buf 339 dev/microcode/aic7xxx/aicasm.c snprintf(buf, sizeof(buf),
buf 342 dev/microcode/aic7xxx/aicasm.c stop(buf, EX_DATAERR);
buf 526 dev/microcode/aic7xxx/aicasm.c char buf[1024];
buf 615 dev/microcode/aic7xxx/aicasm.c fgets(buf, sizeof(buf), ifile);
buf 616 dev/microcode/aic7xxx/aicasm.c fprintf(listfile, " \t%s", buf);
buf 637 dev/microcode/aic7xxx/aicasm.c fgets(buf, sizeof(buf), ifile);
buf 638 dev/microcode/aic7xxx/aicasm.c fprintf(listfile, "\t%s", buf);
buf 646 dev/microcode/aic7xxx/aicasm.c while(fgets(buf, sizeof(buf), ifile) != NULL)
buf 647 dev/microcode/aic7xxx/aicasm.c fprintf(listfile, " %s", buf);
buf 34 dev/microcode/atmel/build.c output(const char *name, char *buf, int buflen)
buf 44 dev/microcode/atmel/build.c rlen = write(fd, buf, buflen);
buf 28 dev/microcode/typhoon/build.c fullwrite(int fd, const void *buf, size_t nbytes)
buf 32 dev/microcode/typhoon/build.c r = write(fd, buf, nbytes);
buf 265 dev/midisyn.c ms->buf[ms->pos++] = b;
buf 266 dev/midisyn.c status = ms->buf[0];
buf 271 dev/midisyn.c note = ms->buf[1];
buf 274 dev/midisyn.c vel = ms->buf[2];
buf 277 dev/midisyn.c voice = midisyn_findvoice(ms, chan, ms->buf[1]);
buf 284 dev/midisyn.c voice = fs->allocv(ms, chan, ms->buf[1]);
buf 289 dev/midisyn.c voice = midisyn_findvoice(ms, voice, ms->buf[1]);
buf 296 dev/midisyn.c fs->ctlchg(ms, chan, ms->buf[1], vel);
buf 300 dev/midisyn.c fs->pgmchg(ms, chan, ms->buf[1]);
buf 304 dev/midisyn.c voice = midisyn_findvoice(ms, chan, ms->buf[1]);
buf 311 dev/midisyn.c voice = midisyn_findvoice(ms, chan, ms->buf[1]);
buf 81 dev/midisynvar.h u_int8_t buf[3];
buf 48 dev/midivar.h #define MIDIBUF_START(buf) ((buf)->start)
buf 49 dev/midivar.h #define MIDIBUF_END(buf) (((buf)->start + (buf)->used) & MIDIBUF_MASK)
buf 50 dev/midivar.h #define MIDIBUF_USED(buf) ((buf)->used)
buf 51 dev/midivar.h #define MIDIBUF_AVAIL(buf) (MIDIBUF_SIZE - (buf)->used)
buf 52 dev/midivar.h #define MIDIBUF_ISFULL(buf) ((buf)->used >= MIDIBUF_SIZE)
buf 53 dev/midivar.h #define MIDIBUF_ISEMPTY(buf) ((buf)->used == 0)
buf 54 dev/midivar.h #define MIDIBUF_WRITE(buf, byte) \
buf 56 dev/midivar.h (buf)->data[MIDIBUF_END(buf)] = (byte); \
buf 57 dev/midivar.h (buf)->used++; \
buf 59 dev/midivar.h #define MIDIBUF_READ(buf, byte) \
buf 61 dev/midivar.h (byte) = (buf)->data[(buf)->start++]; \
buf 62 dev/midivar.h (buf)->start &= MIDIBUF_MASK; \
buf 63 dev/midivar.h (buf)->used--; \
buf 65 dev/midivar.h #define MIDIBUF_REMOVE(buf, count) \
buf 67 dev/midivar.h (buf)->start += (count); \
buf 68 dev/midivar.h (buf)->start &= MIDIBUF_MASK; \
buf 69 dev/midivar.h (buf)->used -= (count); \
buf 71 dev/midivar.h #define MIDIBUF_INIT(buf) \
buf 73 dev/midivar.h (buf)->start = (buf)->used = 0; \
buf 49 dev/ofw/openfirm.h int OF_getprop(int handle, char *prop, void *buf, int buflen);
buf 53 dev/ofw/openfirm.h int OF_instance_to_path(int ihandle, char *buf, int buflen);
buf 54 dev/ofw/openfirm.h int OF_package_to_path(int phandle, char *buf, int buflen);
buf 240 dev/onewire/onewire.c onewire_read_block(void *arg, void *buf, int len)
buf 244 dev/onewire/onewire.c u_int8_t *p = buf;
buf 247 dev/onewire/onewire.c return (bus->bus_read_block(bus->bus_cookie, buf, len));
buf 254 dev/onewire/onewire.c onewire_write_block(void *arg, const void *buf, int len)
buf 258 dev/onewire/onewire.c const u_int8_t *p = buf;
buf 261 dev/onewire/onewire.c return (bus->bus_write_block(bus->bus_cookie, buf, len));
buf 311 dev/onewire/onewire.c onewire_search(void *arg, u_int64_t *buf, int size, u_int64_t startrom)
buf 320 dev/onewire/onewire.c return (bus->bus_search(bus->bus_cookie, buf, size, rom));
buf 383 dev/onewire/onewire.c buf[count++] = rom;
buf 71 dev/onewire/onewire_subr.c onewire_crc(const void *buf, int len)
buf 73 dev/onewire/onewire_subr.c const u_int8_t *p = buf;
buf 259 dev/pci/alipm.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 315 dev/pci/alipm.c b = buf;
buf 387 dev/pci/alipm.c b = buf;
buf 93 dev/pci/amdiic.c void * buf;
buf 271 dev/pci/amdiic.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 290 dev/pci/amdiic.c sc->sc_i2c_xfer.buf = buf;
buf 308 dev/pci/amdiic.c b = buf;
buf 388 dev/pci/amdiic.c b = sc->sc_i2c_xfer.buf;
buf 180 dev/pci/amdpm.c void *buf;
buf 383 dev/pci/amdpm.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 414 dev/pci/amdpm.c sc->sc_i2c_xfer.buf = buf;
buf 432 dev/pci/amdpm.c b = buf;
buf 535 dev/pci/amdpm.c b = sc->sc_i2c_xfer.buf;
buf 403 dev/pci/arc.c void arc_minphys(struct buf *);
buf 860 dev/pci/arc.c arc_minphys(struct buf *bp)
buf 1348 dev/pci/arc.c u_int8_t *buf = cmd;
buf 1354 dev/pci/arc.c cksum += buf[i];
buf 1644 dev/pci/arc.c arc_read_region(struct arc_softc *sc, bus_size_t r, void *buf, size_t len)
buf 1648 dev/pci/arc.c bus_space_read_raw_region_4(sc->sc_iot, sc->sc_ioh, r, buf, len);
buf 1662 dev/pci/arc.c arc_write_region(struct arc_softc *sc, bus_size_t r, void *buf, size_t len)
buf 1664 dev/pci/arc.c bus_space_write_raw_region_4(sc->sc_iot, sc->sc_ioh, r, buf, len);
buf 367 dev/pci/bktr/bktr_core.c vaddr_t buf = 0;
buf 384 dev/pci/bktr/bktr_core.c buf = get_bktr_mem(bktr, &bktr->dm_mem, BROOKTREE_ALLOC);
buf 386 dev/pci/bktr/bktr_core.c buf = 0;
buf 394 dev/pci/bktr/bktr_core.c if (buf != 0) {
buf 395 dev/pci/bktr/bktr_core.c bktr->bigbuf = buf;
buf 1113 dev/pci/bktr/bktr_core.c vaddr_t buf;
buf 1566 dev/pci/bktr/bktr_core.c buf = get_bktr_mem(bktr, &dmamap,
buf 1568 dev/pci/bktr/bktr_core.c if (buf != 0) {
buf 1572 dev/pci/bktr/bktr_core.c bktr->bigbuf = buf;
buf 1707 dev/pci/bktr/bktr_core.c u_char *buf;
buf 1981 dev/pci/bktr/bktr_core.c buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
buf 1982 dev/pci/bktr/bktr_core.c if ( writeEEProm( bktr, offset, count, buf ) < 0 )
buf 1989 dev/pci/bktr/bktr_core.c buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
buf 1990 dev/pci/bktr/bktr_core.c if ( readEEProm( bktr, offset, count, buf ) < 0 )
buf 1997 dev/pci/bktr/bktr_core.c buf = &(((struct eeProm *)arg)->bytes[ 0 ]);
buf 1998 dev/pci/bktr/bktr_core.c if ( signCard( bktr, offset, count, buf ) < 0 )
buf 626 dev/pci/esa.c vc->play.buf = start;
buf 765 dev/pci/esa.c vc->rec.buf = start;
buf 79 dev/pci/esavar.h void *buf;
buf 510 dev/pci/fmsradio.c u_int32_t buf;
buf 520 dev/pci/fmsradio.c buf = sf256pcs_hw_read(radio->tea.iot, radio->tea.ioh,
buf 526 dev/pci/fmsradio.c buf = sf256pcpr_hw_read(radio->tea.iot, radio->tea.ioh,
buf 534 dev/pci/fmsradio.c buf = sf64pcr_hw_read(radio->tea.iot, radio->tea.ioh,
buf 536 dev/pci/fmsradio.c ri->info = buf & PCR_INFO_SIGNAL ? 0 : RADIO_INFO_SIGNAL;
buf 537 dev/pci/fmsradio.c ri->info |= buf & PCR_INFO_STEREO ? 0 : RADIO_INFO_STEREO;
buf 543 dev/pci/fmsradio.c ri->freq = radio->freq = tea5757_decode_freq(buf,
buf 1131 dev/pci/hifn7751.c hifn_write_command(struct hifn_command *cmd, u_int8_t *buf)
buf 1141 dev/pci/hifn7751.c buf_pos = buf;
buf 1254 dev/pci/hifn7751.c return (buf_pos - buf);
buf 61 dev/pci/ichiic.c void * buf;
buf 197 dev/pci/ichiic.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 228 dev/pci/ichiic.c sc->sc_i2c_xfer.buf = buf;
buf 245 dev/pci/ichiic.c b = buf;
buf 345 dev/pci/ichiic.c b = sc->sc_i2c_xfer.buf;
buf 731 dev/pci/if_bge.c bge_jfree(caddr_t buf, u_int size, void *arg)
buf 745 dev/pci/if_bge.c i = ((vaddr_t)buf
buf 842 dev/pci/if_bge.c caddr_t buf = NULL;
buf 850 dev/pci/if_bge.c buf = bge_jalloc(sc);
buf 851 dev/pci/if_bge.c if (buf == NULL) {
buf 858 dev/pci/if_bge.c MEXTADD(m_new, buf, BGE_JUMBO_FRAMELEN, 0, bge_jfree, sc);
buf 1745 dev/pci/if_bnx.c u_int8_t buf[4];
buf 1758 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags);
buf 1763 dev/pci/if_bnx.c memcpy(ret_buf, buf + (offset & 3), pre_len);
buf 1776 dev/pci/if_bnx.c u_int8_t buf[4];
buf 1784 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags);
buf 1786 dev/pci/if_bnx.c memcpy(ret_buf, buf, 4 - extra);
buf 1788 dev/pci/if_bnx.c u_int8_t buf[4];
buf 1816 dev/pci/if_bnx.c rc = bnx_nvram_read_dword(sc, offset32, buf, cmd_flags);
buf 1818 dev/pci/if_bnx.c memcpy(ret_buf, buf, 4 - extra);
buf 1844 dev/pci/if_bnx.c u_int8_t *buf, start[4], end[4];
buf 1848 dev/pci/if_bnx.c buf = data_buf;
buf 1872 dev/pci/if_bnx.c buf = malloc(len32, M_DEVBUF, M_NOWAIT);
buf 1873 dev/pci/if_bnx.c if (buf == 0)
buf 1877 dev/pci/if_bnx.c memcpy(buf, start, 4);
buf 1880 dev/pci/if_bnx.c memcpy(buf + len32 - 4, end, 4);
buf 1882 dev/pci/if_bnx.c memcpy(buf + align_start, data_buf, buf_size);
buf 1969 dev/pci/if_bnx.c rc = bnx_nvram_write_dword(sc, addr, buf, cmd_flags);
buf 1975 dev/pci/if_bnx.c buf += 4;
buf 2010 dev/pci/if_bnx.c free(buf, M_DEVBUF);
buf 2028 dev/pci/if_bnx.c u_int32_t buf[BNX_NVRAM_SIZE / 4];
buf 2029 dev/pci/if_bnx.c u_int8_t *data = (u_int8_t *) buf;
buf 2040 dev/pci/if_bnx.c magic = bnx_be32toh(buf[0]);
buf 184 dev/pci/if_cas.c u_int8_t buf[32], *desc;
buf 202 dev/pci/if_cas.c bus_space_read_region_1(romt, romh, 0, buf, sizeof(buf));
buf 203 dev/pci/if_cas.c if (bcmp(buf, cas_promhdr, sizeof(cas_promhdr)))
buf 206 dev/pci/if_cas.c dataoff = buf[PROMHDR_PTR_DATA] | (buf[PROMHDR_PTR_DATA + 1] << 8);
buf 210 dev/pci/if_cas.c bus_space_read_region_1(romt, romh, dataoff, buf, sizeof(buf));
buf 211 dev/pci/if_cas.c if (bcmp(buf, cas_promdat, sizeof(cas_promdat)) ||
buf 212 dev/pci/if_cas.c bcmp(buf + PROMDATA_DATA2, cas_promdat2, sizeof(cas_promdat2)))
buf 215 dev/pci/if_cas.c vpdoff = buf[PROMDATA_PTR_VPD] | (buf[PROMDATA_PTR_VPD + 1] << 8);
buf 220 dev/pci/if_cas.c bus_space_read_region_1(romt, romh, vpdoff, buf, sizeof(buf));
buf 221 dev/pci/if_cas.c if (!PCI_VPDRES_ISLARGE(buf[0]))
buf 224 dev/pci/if_cas.c res = (struct pci_vpd_largeres *)buf;
buf 237 dev/pci/if_cas.c buf, sizeof(buf));
buf 239 dev/pci/if_cas.c vpd = (struct pci_vpd *)buf;
buf 249 dev/pci/if_cas.c desc = buf + sizeof(*vpd);
buf 141 dev/pci/if_gem_pci.c u_int8_t buf[32];
buf 159 dev/pci/if_gem_pci.c bus_space_read_region_1(romt, romh, 0, buf, sizeof(buf));
buf 160 dev/pci/if_gem_pci.c if (bcmp(buf, gem_promhdr, sizeof(gem_promhdr)))
buf 163 dev/pci/if_gem_pci.c dataoff = buf[PROMHDR_PTR_DATA] | (buf[PROMHDR_PTR_DATA + 1] << 8);
buf 167 dev/pci/if_gem_pci.c bus_space_read_region_1(romt, romh, dataoff, buf, sizeof(buf));
buf 168 dev/pci/if_gem_pci.c if (bcmp(buf, gem_promdat, sizeof(gem_promdat)) ||
buf 169 dev/pci/if_gem_pci.c bcmp(buf + PROMDATA_DATA2, gem_promdat2, sizeof(gem_promdat2)))
buf 172 dev/pci/if_gem_pci.c vpdoff = buf[PROMDATA_PTR_VPD] | (buf[PROMDATA_PTR_VPD + 1] << 8);
buf 176 dev/pci/if_gem_pci.c bus_space_read_region_1(romt, romh, vpdoff, buf, sizeof(buf));
buf 182 dev/pci/if_gem_pci.c vpd = (struct pci_vpd *)(buf + 3);
buf 183 dev/pci/if_gem_pci.c if (!PCI_VPDRES_ISLARGE(buf[0]) ||
buf 184 dev/pci/if_gem_pci.c PCI_VPDRES_LARGE_NAME(buf[0]) != PCI_VPDRES_TYPE_VPD)
buf 189 dev/pci/if_gem_pci.c bcopy(buf + 6, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
buf 128 dev/pci/if_hme_pci.c u_int8_t buf[32];
buf 153 dev/pci/if_hme_pci.c bus_space_read_region_1(romt, romh, 0, buf, sizeof(buf));
buf 154 dev/pci/if_hme_pci.c if (bcmp(buf, hme_promhdr, sizeof(hme_promhdr)))
buf 157 dev/pci/if_hme_pci.c dataoff = buf[PROMHDR_PTR_DATA] | (buf[PROMHDR_PTR_DATA + 1] << 8);
buf 161 dev/pci/if_hme_pci.c bus_space_read_region_1(romt, romh, dataoff, buf, sizeof(buf));
buf 162 dev/pci/if_hme_pci.c if (bcmp(buf, hme_promdat, sizeof(hme_promdat)) ||
buf 163 dev/pci/if_hme_pci.c bcmp(buf + PROMDATA_DATA2, hme_promdat2, sizeof(hme_promdat2)))
buf 166 dev/pci/if_hme_pci.c vpdoff = buf[PROMDATA_PTR_VPD] | (buf[PROMDATA_PTR_VPD + 1] << 8);
buf 175 dev/pci/if_hme_pci.c bus_space_read_region_1(romt, romh, vpdoff, buf, sizeof(buf));
buf 178 dev/pci/if_hme_pci.c vpd = (struct pci_vpd *)(buf + 3);
buf 179 dev/pci/if_hme_pci.c if (!PCI_VPDRES_ISLARGE(buf[0]) ||
buf 180 dev/pci/if_hme_pci.c PCI_VPDRES_LARGE_NAME(buf[0]) != PCI_VPDRES_TYPE_VPD)
buf 185 dev/pci/if_hme_pci.c bcopy(buf + 6, sc->sc_arpcom.ac_enaddr, ETHER_ADDR_LEN);
buf 1444 dev/pci/if_ipw.c ipw_read_table2(struct ipw_softc *sc, uint32_t off, void *buf, uint32_t *len)
buf 1464 dev/pci/if_ipw.c ipw_read_mem_1(sc, addr, buf, total);
buf 294 dev/pci/if_ipwreg.h #define CSR_WRITE_MULTI_1(sc, reg, buf, len) \
buf 296 dev/pci/if_ipwreg.h (buf), (len))
buf 316 dev/pci/if_ipwreg.h #define MEM_WRITE_MULTI_1(sc, addr, buf, len) do { \
buf 318 dev/pci/if_ipwreg.h CSR_WRITE_MULTI_1((sc), IPW_CSR_INDIRECT_DATA, (buf), (len)); \
buf 468 dev/pci/if_iwireg.h #define MEM_WRITE_MULTI_1(sc, addr, buf, len) do { \
buf 470 dev/pci/if_iwireg.h CSR_WRITE_MULTI_1((sc), IWI_CSR_INDIRECT_DATA, (buf), (len)); \
buf 688 dev/pci/if_lge.c caddr_t buf = NULL;
buf 695 dev/pci/if_lge.c buf = lge_jalloc(sc);
buf 696 dev/pci/if_lge.c if (buf == NULL) {
buf 703 dev/pci/if_lge.c MEXTADD(m_new, buf, LGE_JLEN, 0, lge_jfree, sc);
buf 860 dev/pci/if_lge.c lge_jfree(caddr_t buf, u_int size, void *arg)
buf 873 dev/pci/if_lge.c i = ((vaddr_t)buf - (vaddr_t)sc->lge_cdata.lge_jumbo_buf) / LGE_JLEN;
buf 514 dev/pci/if_msk.c caddr_t buf = NULL;
buf 521 dev/pci/if_msk.c buf = msk_jalloc(sc_if);
buf 522 dev/pci/if_msk.c if (buf == NULL) {
buf 531 dev/pci/if_msk.c MEXTADD(m_new, buf, SK_JLEN, 0, msk_jfree, sc_if);
buf 676 dev/pci/if_msk.c msk_jfree(caddr_t buf, u_int size, void *arg)
buf 689 dev/pci/if_msk.c i = ((vaddr_t)buf
buf 707 dev/pci/if_nfe.c MEXTADD(mnew, jbuf->buf, NFE_JBYTES, 0, nfe_jfree, sc);
buf 1264 dev/pci/if_nfe.c MEXTADD(data->m, jbuf->buf, NFE_JBYTES, 0, nfe_jfree,
buf 1397 dev/pci/if_nfe.c nfe_jfree(caddr_t buf, u_int size, void *arg)
buf 1404 dev/pci/if_nfe.c i = (buf - sc->rxq.jpool) / NFE_JBYTES;
buf 1407 dev/pci/if_nfe.c sc->sc_dev.dv_xname, buf);
buf 1422 dev/pci/if_nfe.c caddr_t buf;
buf 1463 dev/pci/if_nfe.c buf = ring->jpool;
buf 1468 dev/pci/if_nfe.c jbuf->buf = buf;
buf 1473 dev/pci/if_nfe.c buf += NFE_JBYTES;
buf 40 dev/pci/if_nfevar.h caddr_t buf;
buf 1065 dev/pci/if_nge.c caddr_t buf = NULL;
buf 1072 dev/pci/if_nge.c buf = nge_jalloc(sc);
buf 1073 dev/pci/if_nge.c if (buf == NULL) {
buf 1080 dev/pci/if_nge.c MEXTADD(m_new, buf, NGE_MCLBYTES, 0, nge_jfree, sc);
buf 1226 dev/pci/if_nge.c nge_jfree(buf, size, arg)
buf 1227 dev/pci/if_nge.c caddr_t buf;
buf 1243 dev/pci/if_nge.c i = ((vaddr_t)buf - (vaddr_t)sc->nge_cdata.nge_jumbo_buf)
buf 2011 dev/pci/if_nxe.c nxe_rom_read_region(struct nxe_softc *sc, u_int32_t r, void *buf,
buf 2014 dev/pci/if_nxe.c u_int32_t *databuf = buf;
buf 541 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf;
buf 587 dev/pci/if_san_xilinx.c while ((buf = SIMPLEQ_FIRST(&sc->wp_rx_free_list)) != NULL) {
buf 589 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 592 dev/pci/if_san_xilinx.c while ((buf = SIMPLEQ_FIRST(&sc->wp_rx_complete_list)) != NULL) {
buf 594 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 2069 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf;
buf 2100 dev/pci/if_san_xilinx.c buf = sc->rx_dma_buf;
buf 2105 dev/pci/if_san_xilinx.c SIMPLEQ_INSERT_TAIL(&sc->wp_rx_complete_list, buf, entry);
buf 2115 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf, struct mbuf **new_m, u_char *pkt_error)
buf 2119 dev/pci/if_san_xilinx.c wp_rx_element_t *rx_el = &buf->rx_el;
buf 2120 dev/pci/if_san_xilinx.c struct mbuf *m = buf->mbuf;
buf 2265 dev/pci/if_san_xilinx.c buf->mbuf = NULL;
buf 2281 dev/pci/if_san_xilinx.c aft_reload_rx_dma_buff(sc, buf);
buf 2387 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf;
buf 2393 dev/pci/if_san_xilinx.c buf = malloc(sizeof(*buf) * MAX_RX_BUF, M_DEVBUF, M_NOWAIT);
buf 2394 dev/pci/if_san_xilinx.c if (buf == NULL)
buf 2397 dev/pci/if_san_xilinx.c bzero(buf, sizeof(*buf) * MAX_RX_BUF);
buf 2398 dev/pci/if_san_xilinx.c sc->wp_rx_buffers = buf;
buf 2399 dev/pci/if_san_xilinx.c sc->wp_rx_buffer_last = buf;
buf 2407 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf;
buf 2412 dev/pci/if_san_xilinx.c while ((buf = SIMPLEQ_FIRST(&sc->wp_rx_free_list)) != NULL) {
buf 2414 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 2417 dev/pci/if_san_xilinx.c while ((buf = SIMPLEQ_FIRST(&sc->wp_rx_complete_list)) != NULL) {
buf 2419 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 2432 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf, *ebuf;
buf 2436 dev/pci/if_san_xilinx.c buf = sc->wp_rx_buffer_last;
buf 2441 dev/pci/if_san_xilinx.c if (buf->mbuf == NULL)
buf 2443 dev/pci/if_san_xilinx.c if (++buf == ebuf)
buf 2444 dev/pci/if_san_xilinx.c buf = sc->wp_rx_buffers;
buf 2447 dev/pci/if_san_xilinx.c if (buf->mbuf != NULL)
buf 2450 dev/pci/if_san_xilinx.c sc->wp_rx_buffer_last = buf;
buf 2452 dev/pci/if_san_xilinx.c buf->mbuf = wan_mbuf_alloc(sc->dma_mtu);
buf 2453 dev/pci/if_san_xilinx.c if (buf->mbuf == NULL)
buf 2457 dev/pci/if_san_xilinx.c 0, BUS_DMA_NOWAIT | BUS_DMA_ALLOCNOW, &buf->dma_map)) {
buf 2458 dev/pci/if_san_xilinx.c m_freem(buf->mbuf);
buf 2459 dev/pci/if_san_xilinx.c buf->mbuf = NULL;
buf 2463 dev/pci/if_san_xilinx.c if (bus_dmamap_load(sc->dmatag, buf->dma_map,
buf 2464 dev/pci/if_san_xilinx.c mtod(buf->mbuf, void *), sc->dma_mtu, NULL,
buf 2466 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 2470 dev/pci/if_san_xilinx.c SIMPLEQ_INSERT_TAIL(&sc->wp_rx_free_list, buf, entry);
buf 2477 dev/pci/if_san_xilinx.c aft_reload_rx_dma_buff(xilinx_softc_t *sc, struct xilinx_rx_buffer *buf)
buf 2479 dev/pci/if_san_xilinx.c bus_dmamap_unload(sc->dmatag, buf->dma_map);
buf 2480 dev/pci/if_san_xilinx.c if (buf->mbuf == NULL) {
buf 2481 dev/pci/if_san_xilinx.c buf->mbuf = wan_mbuf_alloc(sc->dma_mtu);
buf 2482 dev/pci/if_san_xilinx.c if (buf->mbuf == NULL) {
buf 2483 dev/pci/if_san_xilinx.c bus_dmamap_destroy(sc->dmatag, buf->dma_map);
buf 2487 dev/pci/if_san_xilinx.c if (bus_dmamap_load(sc->dmatag, buf->dma_map, mtod(buf->mbuf, void *),
buf 2489 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(sc, buf);
buf 2493 dev/pci/if_san_xilinx.c SIMPLEQ_INSERT_TAIL(&sc->wp_rx_free_list, buf, entry);
buf 2497 dev/pci/if_san_xilinx.c aft_release_rx_dma_buff(xilinx_softc_t *sc, struct xilinx_rx_buffer *buf)
buf 2499 dev/pci/if_san_xilinx.c bus_dmamap_destroy(sc->dmatag, buf->dma_map);
buf 2500 dev/pci/if_san_xilinx.c m_freem(buf->mbuf);
buf 2501 dev/pci/if_san_xilinx.c buf->mbuf = NULL;
buf 2526 dev/pci/if_san_xilinx.c struct xilinx_rx_buffer *buf;
buf 2527 dev/pci/if_san_xilinx.c buf = SIMPLEQ_FIRST(&sc->wp_rx_complete_list);
buf 2528 dev/pci/if_san_xilinx.c if (buf == NULL)
buf 2536 dev/pci/if_san_xilinx.c xilinx_rx_post_complete(sc->common.card, sc, buf, &new_m,
buf 937 dev/pci/if_sandrv.c sdla_peek(void *phw, unsigned long addr, void *buf, unsigned len)
buf 952 dev/pci/if_sandrv.c sdla_peek_by_4(hw, addr, buf, len);
buf 971 dev/pci/if_sandrv.c sdla_peek_by_4(sdlahw_t *hw, unsigned long offset, void *buf, unsigned int len)
buf 975 dev/pci/if_sandrv.c sdla_bus_read_1(hw, offset++, (u_int8_t*)buf);
buf 976 dev/pci/if_sandrv.c ((u_int8_t *)buf)++;
buf 982 dev/pci/if_sandrv.c sdla_bus_read_4(hw, offset, (u_int32_t*)buf);
buf 983 dev/pci/if_sandrv.c (u_int8_t*)buf += 4;
buf 990 dev/pci/if_sandrv.c sdla_bus_read_1(hw, offset++, (u_int8_t*)buf);
buf 991 dev/pci/if_sandrv.c ((u_int8_t *)buf)++;
buf 1006 dev/pci/if_sandrv.c sdla_poke(void *phw, unsigned long addr, void *buf, unsigned len)
buf 1022 dev/pci/if_sandrv.c sdla_poke_by_4(hw, addr, buf, len);
buf 1041 dev/pci/if_sandrv.c sdla_poke_by_4(sdlahw_t *hw, unsigned long offset, void *buf, unsigned int len)
buf 1045 dev/pci/if_sandrv.c sdla_bus_write_1(hw, offset++, *(char *)buf);
buf 1046 dev/pci/if_sandrv.c ((char *)buf) ++;
buf 1052 dev/pci/if_sandrv.c sdla_bus_write_4(hw, offset, *(unsigned long *)buf);
buf 1054 dev/pci/if_sandrv.c (char*)buf += 4;
buf 1060 dev/pci/if_sandrv.c sdla_bus_write_1(hw, offset++, *(char *)buf);
buf 1061 dev/pci/if_sandrv.c ((char *)buf) ++;
buf 644 dev/pci/if_sk.c caddr_t buf = NULL;
buf 651 dev/pci/if_sk.c buf = sk_jalloc(sc_if);
buf 652 dev/pci/if_sk.c if (buf == NULL) {
buf 661 dev/pci/if_sk.c MEXTADD(m_new, buf, SK_JLEN, 0, sk_jfree, sc_if);
buf 804 dev/pci/if_sk.c sk_jfree(caddr_t buf, u_int size, void *arg)
buf 817 dev/pci/if_sk.c i = ((vaddr_t)buf
buf 1513 dev/pci/if_tht.c void *buf, size_t buflen)
buf 1516 dev/pci/if_tht.c u_int8_t *desc = buf;
buf 1541 dev/pci/if_tht.c void *buf, size_t buflen)
buf 1544 dev/pci/if_tht.c u_int8_t *desc = buf;
buf 1709 dev/pci/if_tht.c u_int8_t *fw, *buf;
buf 1719 dev/pci/if_tht.c buf = fw;
buf 1728 dev/pci/if_tht.c tht_fifo_write(sc, &sc->sc_txt, buf, wrlen);
buf 1732 dev/pci/if_tht.c buf += wrlen;
buf 1795 dev/pci/if_tht.c tht_write_region(struct tht_softc *sc, bus_size_t r, void *buf, size_t len)
buf 1798 dev/pci/if_tht.c buf, len);
buf 341 dev/pci/if_ti.c ti_mem_read(struct ti_softc *sc, u_int32_t addr, u_int32_t len, void *buf)
buf 348 dev/pci/if_ti.c ptr = buf;
buf 371 dev/pci/if_ti.c const void *buf)
buf 378 dev/pci/if_ti.c ptr = buf;
buf 429 dev/pci/if_ti.c u_char *buf = NULL;
buf 447 dev/pci/if_ti.c error = loadfirmware(name, &buf, &buflen);
buf 450 dev/pci/if_ti.c tf = (struct tigon_firmware *)buf;
buf 459 dev/pci/if_ti.c free(buf, M_DEVBUF);
buf 471 dev/pci/if_ti.c free(buf, M_DEVBUF);
buf 698 dev/pci/if_ti.c ti_jfree(caddr_t buf, u_int size, void *arg)
buf 711 dev/pci/if_ti.c i = ((vaddr_t)buf - (vaddr_t)sc->ti_cdata.ti_jumbo_buf) / TI_JLEN;
buf 869 dev/pci/if_ti.c caddr_t buf = NULL;
buf 877 dev/pci/if_ti.c buf = ti_jalloc(sc);
buf 878 dev/pci/if_ti.c if (buf == NULL) {
buf 885 dev/pci/if_ti.c MEXTADD(m_new, buf, TI_JUMBO_FRAMELEN, 0, ti_jfree, sc);
buf 376 dev/pci/if_txp.c u_char *buf;
buf 398 dev/pci/if_txp.c err = loadfirmware("3c990", &buf, &buflen);
buf 405 dev/pci/if_txp.c fileheader = (struct txp_fw_file_header *)buf;
buf 420 dev/pci/if_txp.c secthead = (struct txp_fw_section_header *)(buf +
buf 424 dev/pci/if_txp.c if (txp_download_fw_section(sc, secthead, sect, buf, buflen))
buf 447 dev/pci/if_txp.c free(buf, M_DEVBUF);
buf 451 dev/pci/if_txp.c free(buf, M_DEVBUF);
buf 484 dev/pci/if_txp.c txp_download_fw_section(sc, sect, sectnum, buf, buflen)
buf 488 dev/pci/if_txp.c u_char *buf;
buf 501 dev/pci/if_txp.c rseg = ((u_int8_t *)sect) - ((u_int8_t *)buf);
buf 951 dev/pci/if_wb.c wb_bfree(buf, size, arg)
buf 952 dev/pci/if_wb.c caddr_t buf;
buf 488 dev/pci/if_wpi.c wpi_free_rbuf(caddr_t buf, u_int size, void *arg)
buf 2025 dev/pci/if_wpi.c wpi_cmd(struct wpi_softc *sc, int code, const void *buf, int size, int async)
buf 2040 dev/pci/if_wpi.c memcpy(cmd->data, buf, size);
buf 740 dev/pci/if_xge.c char buf[200];
buf 745 dev/pci/if_xge.c bitmask_snprintf(val, QUIESCENT_BMSK, buf, sizeof buf);
buf 746 dev/pci/if_xge.c printf("%s: ADAPTER_STATUS missing bits %s\n", XNAME, buf);
buf 46 dev/pci/mbg.c char *buf, size_t len,
buf 108 dev/pci/mbg.c int mbg_read_amcc_s5933(struct mbg_softc *, int cmd, char *buf, size_t len,
buf 110 dev/pci/mbg.c int mbg_read_asic(struct mbg_softc *, int cmd, char *buf, size_t len,
buf 276 dev/pci/mbg.c mbg_read_amcc_s5933(struct mbg_softc *sc, int cmd, char *buf, size_t len,
buf 316 dev/pci/mbg.c buf[n] = bus_space_read_1(sc->sc_iot, sc->sc_ioh,
buf 327 dev/pci/mbg.c mbg_read_asic(struct mbg_softc *sc, int cmd, char *buf, size_t len,
buf 333 dev/pci/mbg.c char *p = buf;
buf 1589 dev/pci/musycc.c ebus_read_buf(struct ebus_dev *rom, bus_size_t offset, void *buf, size_t size)
buf 1591 dev/pci/musycc.c u_int8_t *b = buf;
buf 399 dev/pci/neo.c u_char *buf;
buf 402 dev/pci/neo.c error = loadfirmware("neo-coefficients", &buf, &buflen);
buf 405 dev/pci/neo.c nf = (struct neo_firmware *)buf;
buf 1053 dev/pci/noct.c sc->sc_eacmd[wp].buf[i] = 0;
buf 1054 dev/pci/noct.c sc->sc_eacmd[wp].buf[0] = EA_0_SI;
buf 1057 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] = htole32(EA_OP_MD5);
buf 1060 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] = htole32(EA_OP_SHA1);
buf 1065 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] |= htole32(crd->crd_len);
buf 1067 dev/pci/noct.c sc->sc_eacmd[wp].buf[2] = htole32(adr >> 32);
buf 1068 dev/pci/noct.c sc->sc_eacmd[wp].buf[3] = htole32(adr & 0xffffffff);
buf 1073 dev/pci/noct.c offsetof(struct noct_ea_cmd, buf[6]);
buf 1074 dev/pci/noct.c sc->sc_eacmd[wp].buf[4] = htole32(adr >> 32);
buf 1075 dev/pci/noct.c sc->sc_eacmd[wp].buf[5] = htole32(adr & 0xffffffff);
buf 1203 dev/pci/noct.c sc->sc_eacmd[wp].buf[i] = 0;
buf 1205 dev/pci/noct.c sc->sc_eacmd[wp].buf[0] = EA_0_SI;
buf 1208 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] = htole32(EA_OP_3DESCBCE);
buf 1210 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] = htole32(EA_OP_3DESCBCD);
buf 1213 dev/pci/noct.c sc->sc_eacmd[wp].buf[1] |= htole32(crd->crd_len);
buf 1215 dev/pci/noct.c sc->sc_eacmd[wp].buf[2] = htole32(adr >> 32);
buf 1216 dev/pci/noct.c sc->sc_eacmd[wp].buf[3] = htole32(adr & 0xffffffff);
buf 1219 dev/pci/noct.c sc->sc_eacmd[wp].buf[4] = htole32(adr >> 32);
buf 1220 dev/pci/noct.c sc->sc_eacmd[wp].buf[5] = htole32(adr & 0xffffffff);
buf 1223 dev/pci/noct.c pb = (volatile u_int8_t *)&sc->sc_eacmd[wp].buf[20];
buf 1226 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[20]);
buf 1227 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[21]);
buf 1228 dev/pci/noct.c pb = (volatile u_int8_t *)&sc->sc_eacmd[wp].buf[24];
buf 1231 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[24]);
buf 1232 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[25]);
buf 1233 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[26]);
buf 1234 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[27]);
buf 1235 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[28]);
buf 1236 dev/pci/noct.c SWAP32(sc->sc_eacmd[wp].buf[29]);
buf 1295 dev/pci/noct.c bcopy((u_int8_t *)&sc->sc_eacmd[sc->sc_earp].buf[6],
buf 352 dev/pci/noctreg.h volatile u_int32_t buf[EA_CMD_WORDS];
buf 216 dev/pci/nofn.c u_int32_t buf[8], reg;
buf 234 dev/pci/nofn.c NOFN_PK_RNGFIFO_BEGIN, buf, 8);
buf 239 dev/pci/nofn.c add_true_randomness(buf[i]);
buf 216 dev/pci/nviic.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 245 dev/pci/nviic.c b = (u_int8_t *)buf;
buf 61 dev/pci/piixpm.c void * buf;
buf 201 dev/pci/piixpm.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 232 dev/pci/piixpm.c sc->sc_i2c_xfer.buf = buf;
buf 249 dev/pci/piixpm.c b = buf;
buf 350 dev/pci/piixpm.c b = sc->sc_i2c_xfer.buf;
buf 1205 dev/pci/safe.c u_int32_t buf[SAFE_RNG_MAXBUFSIZ]; /* NB: maybe move to softc */
buf 1218 dev/pci/safe.c buf[i] = safe_rng_read(sc);
buf 1258 dev/pci/safe.c add_true_randomness(buf[i]);
buf 1991 dev/pci/safe.c u_int32_t buf[64];
buf 2004 dev/pci/safe.c bzero(buf, sizeof(buf));
buf 2007 dev/pci/safe.c buf[i] = letoh32(READ_REG(sc, SAFE_PK_RAM_START +
buf 2009 dev/pci/safe.c bcopy(buf, res->crp_p, (res->crp_nbits + 7) / 8);
buf 2029 dev/pci/safe.c u_int32_t buf[64], i;
buf 2031 dev/pci/safe.c bzero(buf, sizeof(buf));
buf 2032 dev/pci/safe.c bcopy(n->crp_p, buf, (n->crp_nbits + 7) / 8);
buf 2036 dev/pci/safe.c htole32(buf[i]));
buf 668 dev/pci/sv.c void (*pswcode)(void *, u_char *buf, int cnt);
buf 669 dev/pci/sv.c void (*rswcode)(void *, u_char *buf, int cnt);
buf 802 dev/pci/sv.c sv_dma_init_input(addr, buf, cc)
buf 804 dev/pci/sv.c void *buf;
buf 812 dev/pci/sv.c buf, cc));
buf 813 dev/pci/sv.c for (p = sc->sc_dmas; p && KERNADDR(p) != buf; p = p->next)
buf 816 dev/pci/sv.c printf("sv_dma_init_input: bad addr %p\n", buf);
buf 833 dev/pci/sv.c sv_dma_init_output(addr, buf, cc)
buf 835 dev/pci/sv.c void *buf;
buf 842 dev/pci/sv.c DPRINTF(("eap: dma start loop output buf=%p cc=%d\n", buf, cc));
buf 843 dev/pci/sv.c for (p = sc->sc_dmas; p && KERNADDR(p) != buf; p = p->next)
buf 846 dev/pci/sv.c printf("sv_dma_init_output: bad addr %p\n", buf);
buf 100 dev/pci/viapm.c void * buf;
buf 247 dev/pci/viapm.c const void *cmdbuf, size_t cmdlen, void *buf, size_t len, int flags)
buf 274 dev/pci/viapm.c sc->sc_i2c_xfer.buf = buf;
buf 292 dev/pci/viapm.c b = buf;
buf 391 dev/pci/viapm.c b = sc->sc_i2c_xfer.buf;
buf 355 dev/pci/yds.c u_char *buf;
buf 360 dev/pci/yds.c error = loadfirmware("yds", &buf, &buflen);
buf 363 dev/pci/yds.c yf = (struct yds_firmware *)buf;
buf 372 dev/pci/yds.c free(buf, M_DEVBUF);
buf 379 dev/pci/yds.c free(buf, M_DEVBUF);
buf 384 dev/pci/yds.c free(buf, M_DEVBUF);
buf 414 dev/pci/yds.c free(buf, M_DEVBUF);
buf 1121 dev/pcmcia/if_malo.c cmalo_hexdump(void *buf, int len)
buf 1132 dev/pcmcia/if_malo.c printf("%02x", (int)*((u_char *)buf + i));
buf 1322 dev/pcmcia/if_malo.c cmalo_parse_elements(struct malo_softc *sc, void *buf, int size, int pos)
buf 1330 dev/pcmcia/if_malo.c eid = *(uint8_t *)(buf + i);
buf 1332 dev/pcmcia/if_malo.c len = *(uint8_t *)(buf + i);
buf 1338 dev/pcmcia/if_malo.c bcopy(buf + i, sc->sc_net[pos].ssid, len);
buf 1342 dev/pcmcia/if_malo.c bcopy(buf + i, sc->sc_net[pos].rates, len);
buf 1346 dev/pcmcia/if_malo.c sc->sc_net[pos].channel = *(uint8_t *)(buf + i);
buf 175 dev/raidframe/rf_dagfuncs.c caddr_t buf = (caddr_t) node->params[1].p;
buf 182 dev/raidframe/rf_dagfuncs.c logData = rf_CreateParityLogData(RF_UPDATE, pda, buf,
buf 206 dev/raidframe/rf_dagfuncs.c caddr_t buf = (caddr_t) node->params[1].p;
buf 213 dev/raidframe/rf_dagfuncs.c logData = rf_CreateParityLogData(RF_OVERWRITE, pda, buf,
buf 280 dev/raidframe/rf_dagfuncs.c caddr_t buf = (caddr_t) node->params[1].p;
buf 293 dev/raidframe/rf_dagfuncs.c b_proc = (void *) ((struct buf *) node->dagHdr->bp)->b_proc;
buf 300 dev/raidframe/rf_dagfuncs.c buf, parityStripeID, which_ru,
buf 322 dev/raidframe/rf_dagfuncs.c caddr_t buf = (caddr_t) node->params[1].p;
buf 335 dev/raidframe/rf_dagfuncs.c b_proc = (void *) ((struct buf *) node->dagHdr->bp)->b_proc;
buf 342 dev/raidframe/rf_dagfuncs.c buf, parityStripeID, which_ru,
buf 525 dev/raidframe/rf_dagfuncs.c (struct buf *) node->dagHdr->bp);
buf 166 dev/raidframe/rf_diskqueue.c dqd->bp = (struct buf *) malloc(sizeof(struct buf), M_RAIDFRAME,
buf 172 dev/raidframe/rf_diskqueue.c memset(dqd->bp, 0, sizeof(struct buf));
buf 576 dev/raidframe/rf_diskqueue.c caddr_t buf,
buf 596 dev/raidframe/rf_diskqueue.c p->buf = buf;
buf 617 dev/raidframe/rf_diskqueue.c caddr_t buf,
buf 640 dev/raidframe/rf_diskqueue.c p->buf = buf;
buf 65 dev/raidframe/rf_diskqueue.h caddr_t buf; /* Buffer pointer. */
buf 112 dev/raidframe/rf_diskqueue.h struct buf *bp; /* A bp to use to get this I/O done. */
buf 638 dev/raidframe/rf_disks.c rf_ConfigureDisk(RF_Raid_t *raidPtr, char *buf, RF_RaidDisk_t *diskPtr,
buf 651 dev/raidframe/rf_disks.c p = rf_find_non_white(buf);
buf 652 dev/raidframe/rf_disks.c if (*buf != '\0' && p[strlen(p) - 1] == '\n') {
buf 611 dev/raidframe/rf_driver.c void (*cbF) (struct buf *),
buf 701 dev/raidframe/rf_driver.c void (*cbF) (struct buf *),
buf 707 dev/raidframe/rf_driver.c struct buf *bp = (struct buf *) bp_in;
buf 55 dev/raidframe/rf_driver.h void (*) (struct buf *), void *, RF_AccessState_t *);
buf 60 dev/raidframe/rf_driver.h RF_RaidAccessDesc_t **, void (*) (struct buf *), void *);
buf 457 dev/raidframe/rf_evenodd.c char *pbuf, *buf, *end_p, *p;
buf 474 dev/raidframe/rf_evenodd.c RF_MallocAndAdd(buf, numbytes * (layoutPtr->numDataCol +
buf 478 dev/raidframe/rf_evenodd.c end_p = buf + bytesPerStripe;
buf 482 dev/raidframe/rf_evenodd.c rd_dag_h = rf_MakeSimpleDAG(raidPtr, stripeWidth, numbytes, buf,
buf 490 dev/raidframe/rf_evenodd.c layoutPtr->dataSectorsPerStripe, buf, RF_DONT_REMAP);
buf 552 dev/raidframe/rf_evenodd.c for (p = buf, i = 0; p < end_p; p += numbytes, i++) {
buf 565 dev/raidframe/rf_evenodd.c if (pbuf[i] != buf[bytesPerStripe + i]) {
buf 569 dev/raidframe/rf_evenodd.c (u_char) buf[bytesPerStripe + i],
buf 578 dev/raidframe/rf_evenodd.c if (redundantbuf2[i] != buf[bytesPerStripe + numbytes + i]) {
buf 583 dev/raidframe/rf_evenodd.c (u_char) buf[bytesPerStripe + numbytes + i],
buf 728 dev/raidframe/rf_evenodd_dagfuncs.c char **buf, *ebuf, *pbuf, *dest[2];
buf 746 dev/raidframe/rf_evenodd_dagfuncs.c RF_Malloc(buf, numDataCol * sizeof(char *), (char **));
buf 857 dev/raidframe/rf_evenodd_dagfuncs.c buf[(prmToCol[prm])] = ((RF_PhysDiskAddr_t *)
buf 908 dev/raidframe/rf_evenodd_dagfuncs.c rf_doubleEOdecode(raidPtr, buf, dest, fcol, pbuf, ebuf);
buf 919 dev/raidframe/rf_evenodd_dagfuncs.c RF_Free(buf, numDataCol * sizeof(char *));
buf 962 dev/raidframe/rf_evenodd_dagfuncs.c char **buf; /*
buf 977 dev/raidframe/rf_evenodd_dagfuncs.c RF_Malloc(buf, numDataCol * sizeof(char *), (char **));
buf 998 dev/raidframe/rf_evenodd_dagfuncs.c buf[col] = pda->bufPtr;
buf 1040 dev/raidframe/rf_evenodd_dagfuncs.c rf_doubleEOdecode(raidPtr, buf, dest, fcol, pbuf, ebuf);
buf 1043 dev/raidframe/rf_evenodd_dagfuncs.c buf[j] += bytesPerSector;
buf 1088 dev/raidframe/rf_evenodd_dagfuncs.c RF_Free(buf, numDataCol * sizeof(char *));
buf 98 dev/raidframe/rf_memchunk.c RF_Free(pt->buf, pt->size);
buf 137 dev/raidframe/rf_memchunk.c rf_NewMemChunk(size, buf)
buf 139 dev/raidframe/rf_memchunk.c char *buf;
buf 149 dev/raidframe/rf_memchunk.c p->buf = buf;
buf 164 dev/raidframe/rf_memchunk.c char *buf;
buf 178 dev/raidframe/rf_memchunk.c RF_Malloc(buf, size, (char *));
buf 179 dev/raidframe/rf_memchunk.c p = rf_NewMemChunk(size, buf);
buf 182 dev/raidframe/rf_memchunk.c (void) bzero(p->buf, size);
buf 41 dev/raidframe/rf_memchunk.h char *buf;
buf 170 dev/raidframe/rf_openbsdkintf.c void rf_KernelWakeupFunc(struct buf *);
buf 171 dev/raidframe/rf_openbsdkintf.c void rf_InitBP(struct buf *, struct vnode *, unsigned, dev_t, RF_SectorNum_t,
buf 172 dev/raidframe/rf_openbsdkintf.c RF_SectorCount_t, caddr_t, void (*)(struct buf *), void *, int,
buf 183 dev/raidframe/rf_openbsdkintf.c void raidstrategy(struct buf *);
buf 190 dev/raidframe/rf_openbsdkintf.c struct buf rf_buf; /* New I/O buf. MUST BE FIRST!!! */
buf 191 dev/raidframe/rf_openbsdkintf.c struct buf *rf_obp; /* Ptr. to original I/O buf. */
buf 219 dev/raidframe/rf_openbsdkintf.c struct buf sc_q; /* Used for the device queue. */
buf 745 dev/raidframe/rf_openbsdkintf.c raidstrategy(struct buf *bp)
buf 1721 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 1848 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 1931 dev/raidframe/rf_openbsdkintf.c req->buf, rf_KernelWakeupFunc, (void *)req,
buf 1973 dev/raidframe/rf_openbsdkintf.c rf_KernelWakeupFunc(struct buf *vbp)
buf 1978 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 2055 dev/raidframe/rf_openbsdkintf.c struct buf *bp,
buf 2061 dev/raidframe/rf_openbsdkintf.c caddr_t buf,
buf 2062 dev/raidframe/rf_openbsdkintf.c void (*cbFunc)(struct buf *),
buf 2074 dev/raidframe/rf_openbsdkintf.c bp->b_data = buf;
buf 2285 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 2333 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 3518 dev/raidframe/rf_openbsdkintf.c struct buf *bp;
buf 3520 dev/raidframe/rf_openbsdkintf.c bp = (struct buf *)desc->bp;
buf 195 dev/raidframe/rf_parityscan.c char *pbuf, *buf, *end_p, *p;
buf 208 dev/raidframe/rf_parityscan.c RF_MallocAndAdd(buf, numbytes * (layoutPtr->numDataCol +
buf 212 dev/raidframe/rf_parityscan.c end_p = buf + bytesPerStripe;
buf 214 dev/raidframe/rf_parityscan.c rd_dag_h = rf_MakeSimpleDAG(raidPtr, stripeWidth, numbytes, buf,
buf 222 dev/raidframe/rf_parityscan.c layoutPtr->dataSectorsPerStripe, buf, RF_DONT_REMAP);
buf 270 dev/raidframe/rf_parityscan.c for (p = buf; p < end_p; p += numbytes) {
buf 275 dev/raidframe/rf_parityscan.c if (pbuf[i] != 0 || buf[bytesPerStripe + i] != 0) {
buf 277 dev/raidframe/rf_parityscan.c buf[bytesPerStripe + i]);
buf 280 dev/raidframe/rf_parityscan.c if (pbuf[i] != buf[bytesPerStripe + i]) {
buf 284 dev/raidframe/rf_parityscan.c (u_char) buf[bytesPerStripe + i],
buf 757 dev/raidframe/rf_pq.c rf_IncQ(unsigned long *dest, unsigned long *buf, unsigned length,
buf 771 dev/raidframe/rf_pq.c a = *buf++;
buf 141 dev/raidframe/rf_pqdegdags.c char *buf;
buf 148 dev/raidframe/rf_pqdegdags.c buf = pda->bufPtr;
buf 155 dev/raidframe/rf_pqdegdags.c buf += rf_RaidAddressToStripeUnitID(&(raidPtr->Layout),
buf 171 dev/raidframe/rf_pqdegdags.c rf_bxor(buf, pbuf, rf_RaidAddressToByte(raidPtr, len), bp);
buf 174 dev/raidframe/rf_pqdegdags.c rf_IncQ((unsigned long *) qbuf, (unsigned long *) buf,
buf 213 dev/raidframe/rf_pqdegdags.c char *buf;
buf 238 dev/raidframe/rf_pqdegdags.c buf = pda->bufPtr;
buf 294 dev/raidframe/rf_raid1.c char *buf, *buf1, *buf2;
buf 320 dev/raidframe/rf_raid1.c RF_MallocAndAdd(buf, bcount, (char *), allocList);
buf 321 dev/raidframe/rf_raid1.c if (buf == NULL)
buf 325 dev/raidframe/rf_raid1.c " (%lx - %lx).\n", raidPtr->raidid, (long) buf, bcount,
buf 326 dev/raidframe/rf_raid1.c (long) buf, (long) buf + bcount);
buf 333 dev/raidframe/rf_raid1.c rd_dag_h = rf_MakeSimpleDAG(raidPtr, stripeWidth, nbytes, buf,
buf 347 dev/raidframe/rf_raid1.c layoutPtr->dataSectorsPerStripe, buf, RF_DONT_REMAP);
buf 350 dev/raidframe/rf_raid1.c buf1 = buf;
buf 425 dev/raidframe/rf_raid1.c buf1 = buf;
buf 426 dev/raidframe/rf_raid1.c buf2 = buf + (nbytes * layoutPtr->numDataCol);
buf 444 dev/raidframe/rf_raid1.c nbytes, i, (long) buf1, (long) buf2, (long) buf);
buf 494 dev/raidframe/rf_raid1.c wr_dag_h = rf_MakeSimpleDAG(raidPtr, nbad, nbytes, buf,
buf 373 dev/raidframe/rf_states.c desc->type, (void (*) (struct buf *))
buf 498 dev/raidframe/rf_states.c dag_h->bp = (struct buf *) desc->bp;
buf 65 dev/raidframe/rf_stripelocks.h void (*cbFunc) (struct buf *);
buf 92 dev/ramdisk.c struct buf *sc_buflist;
buf 114 dev/ramdisk.c void rdstrategy(struct buf *bp);
buf 319 dev/ramdisk.c struct buf *bp;
buf 595 dev/ramdisk.c struct buf *bp;
buf 523 dev/rnd.c u_int8_t buf[256];
buf 528 dev/rnd.c nanotime((struct timespec *) buf);
buf 530 dev/rnd.c if (len > sizeof(buf) - sizeof(struct timeval))
buf 531 dev/rnd.c len = sizeof(buf) - sizeof(struct timeval);
buf 532 dev/rnd.c get_random_bytes(buf + sizeof (struct timeval), len);
buf 540 dev/rnd.c arc4random_state.j += si + buf[n % len];
buf 596 dev/rnd.c arc4random_bytes(void *buf, size_t n)
buf 598 dev/rnd.c u_int8_t *cp = buf;
buf 664 dev/rnd.c add_entropy_words(const u_int32_t *buf, u_int n)
buf 671 dev/rnd.c for (; n--; buf++) {
buf 672 dev/rnd.c u_int32_t w = roll(*buf, random_state.input_rotate);
buf 820 dev/rnd.c u_int32_t buf[2];
buf 830 dev/rnd.c buf[0] = rep->re_time;
buf 831 dev/rnd.c buf[1] = rep->re_val;
buf 835 dev/rnd.c add_entropy_words(buf, 2);
buf 873 dev/rnd.c extract_entropy(u_int8_t *buf, int nbytes)
buf 914 dev/rnd.c bcopy(buffer, buf, i);
buf 916 dev/rnd.c buf += i;
buf 934 dev/rnd.c get_random_bytes(void *buf, size_t nbytes)
buf 936 dev/rnd.c extract_entropy((u_int8_t *) buf, nbytes);
buf 945 dev/rnd.c u_int32_t *buf;
buf 950 dev/rnd.c MALLOC(buf, u_int32_t *, POOLBYTES, M_TEMP, M_WAITOK);
buf 989 dev/rnd.c get_random_bytes((char *)buf, n);
buf 998 dev/rnd.c buf[i] = random() << 16 | (random() & 0xFFFF);
buf 1002 dev/rnd.c u_int8_t *cp = (u_int8_t *) buf;
buf 1013 dev/rnd.c ret = uiomove((caddr_t)buf, n, uio);
buf 1016 dev/rnd.c FREE(buf, M_TEMP);
buf 1100 dev/rnd.c u_int32_t *buf;
buf 1108 dev/rnd.c MALLOC(buf, u_int32_t *, POOLBYTES, M_TEMP, M_WAITOK);
buf 1113 dev/rnd.c ret = uiomove((caddr_t)buf, n, uio);
buf 1116 dev/rnd.c ((u_int8_t *) buf)[n++] = 0;
buf 1117 dev/rnd.c add_entropy_words(buf, n / 4);
buf 1124 dev/rnd.c FREE(buf, M_TEMP);
buf 40 dev/rndioctl.h u_int32_t *buf;
buf 213 dev/sdmmc/sbt.c sbt_write_packet(struct sbt_softc *sc, u_char *buf, size_t len)
buf 241 dev/sdmmc/sbt.c error = sdmmc_io_write_multi_1(sc->sc_sf, SBT_REG_DAT, buf, len);
buf 251 dev/sdmmc/sbt.c sbt_read_packet(struct sbt_softc *sc, u_char *buf, size_t *lenp)
buf 273 dev/sdmmc/sbt.c error = sdmmc_io_read_multi_1(sc->sc_sf, SBT_REG_DAT, buf, len);
buf 85 dev/sdmmc/sdmmc_scsi.c void sdmmc_scsi_minphys(struct buf *);
buf 501 dev/sdmmc/sdmmc_scsi.c sdmmc_scsi_minphys(struct buf *bp)
buf 791 dev/sequencer.c u_int8_t c, *buf = &b->arr[2];
buf 805 dev/sequencer.c for (i = 0; i < 6 && buf[i] != 0xff; i++)
buf 807 dev/sequencer.c midiseq_out(md, buf, i, 0);
buf 808 dev/sequencer.c if (i < 6 || (i > 0 && buf[i-1] == MIDI_SYSEX_END))
buf 1075 dev/sequencer.c midiseq_out(struct midi_dev *md, u_char *buf, u_int cc, int chk)
buf 1078 dev/sequencer.c md->msc, md->unit, buf[0], cc));
buf 1081 dev/sequencer.c if (chk && md->last_cmd == buf[0])
buf 1082 dev/sequencer.c buf++, cc--;
buf 1084 dev/sequencer.c md->last_cmd = buf[0];
buf 1085 dev/sequencer.c return (midi_writebytes(md->unit, buf, cc));
buf 1091 dev/sequencer.c u_char buf[3];
buf 1100 dev/sequencer.c buf[0] = MIDI_NOTEON | chan;
buf 1101 dev/sequencer.c buf[1] = note;
buf 1102 dev/sequencer.c buf[2] = vel;
buf 1103 dev/sequencer.c return (midiseq_out(md, buf, 3, 1));
buf 1109 dev/sequencer.c u_char buf[3];
buf 1116 dev/sequencer.c buf[0] = MIDI_NOTEOFF | chan;
buf 1117 dev/sequencer.c buf[1] = note;
buf 1118 dev/sequencer.c buf[2] = vel;
buf 1119 dev/sequencer.c return (midiseq_out(md, buf, 3, 1));
buf 1125 dev/sequencer.c u_char buf[3];
buf 1132 dev/sequencer.c buf[0] = MIDI_KEY_PRESSURE | chan;
buf 1133 dev/sequencer.c buf[1] = note;
buf 1134 dev/sequencer.c buf[2] = vel;
buf 1135 dev/sequencer.c return (midiseq_out(md, buf, 3, 1));
buf 1141 dev/sequencer.c u_char buf[2];
buf 1146 dev/sequencer.c buf[0] = MIDI_PGM_CHANGE | chan;
buf 1147 dev/sequencer.c buf[1] = parm;
buf 1148 dev/sequencer.c return (midiseq_out(md, buf, 2, 1));
buf 1154 dev/sequencer.c u_char buf[2];
buf 1159 dev/sequencer.c buf[0] = MIDI_CHN_PRESSURE | chan;
buf 1160 dev/sequencer.c buf[1] = parm;
buf 1161 dev/sequencer.c return (midiseq_out(md, buf, 2, 1));
buf 1167 dev/sequencer.c u_char buf[3];
buf 1172 dev/sequencer.c buf[0] = MIDI_CTL_CHANGE | chan;
buf 1173 dev/sequencer.c buf[1] = parm;
buf 1174 dev/sequencer.c buf[2] = w14 & 0x7f;
buf 1175 dev/sequencer.c return (midiseq_out(md, buf, 3, 1));
buf 1181 dev/sequencer.c u_char buf[3];
buf 1185 dev/sequencer.c buf[0] = MIDI_PITCH_BEND | chan;
buf 1186 dev/sequencer.c buf[1] = parm & 0x7f;
buf 1187 dev/sequencer.c buf[2] = (parm >> 7) & 0x7f;
buf 1188 dev/sequencer.c return (midiseq_out(md, buf, 3, 1));
buf 1194 dev/sequencer.c u_char c, buf[128];
buf 1220 dev/sequencer.c if (cc > sizeof buf)
buf 1221 dev/sequencer.c cc = sizeof buf;
buf 1222 dev/sequencer.c error = uiomove(buf, cc, uio);
buf 1225 dev/sequencer.c for(i = 0; i < cc && !MIDI_IS_STATUS(buf[i]); i++)
buf 1227 dev/sequencer.c error = midiseq_out(md, buf, i, 0);
buf 1283 dev/sequencer.c midi_writebytes(int unit, u_char *buf, int cc)
buf 52 dev/sequencervar.h seq_event_rec buf[SEQ_MAXQ];
buf 60 dev/sequencervar.h #define SEQ_QPUT(q, e) ((q)->buf[(q)->in++] = (e), (q)->in %= SEQ_MAXQ, (q)->count++)
buf 61 dev/sequencervar.h #define SEQ_QGET(q, e) ((e) = (q)->buf[(q)->out++], (q)->out %= SEQ_MAXQ, (q)->count--)
buf 80 dev/softraid.c void sr_minphys(struct buf *bp);
buf 128 dev/softraid.c void sr_raid1_intr(struct buf *);
buf 137 dev/softraid.c void sr_raidc_intr(struct buf *);
buf 212 dev/softraid.c sr_minphys(struct buf *bp)
buf 1106 dev/softraid.c struct buf b;
buf 1790 dev/softraid.c struct buf b;
buf 1871 dev/softraid.c struct buf b;
buf 2009 dev/softraid.c struct buf *bp;
buf 2763 dev/softraid.c sr_raid1_intr(struct buf *bp)
buf 3212 dev/softraid.c sr_raidc_intr(struct buf *bp)
buf 3237 dev/softraid.c struct buf *bp = sr_raidc_putcryptop(crp);
buf 63 dev/softraidvar.h struct buf ccb_buf; /* MUST BE FIRST!! */
buf 191 dev/tc/if_le_ioasic.c volatile caddr_t buf = sc->sc_mem;
buf 197 dev/tc/if_le_ioasic.c bptr = ((volatile u_int16_t *)buf) + (boff - 1);
buf 202 dev/tc/if_le_ioasic.c bptr = ((volatile u_int16_t *)buf) + boff;
buf 217 dev/tc/if_le_ioasic.c volatile caddr_t buf = sc->sc_mem;
buf 224 dev/tc/if_le_ioasic.c bptr = ((volatile u_int16_t *)buf) + (boff - 1);
buf 229 dev/tc/if_le_ioasic.c bptr = ((volatile u_int16_t *)buf) + boff;
buf 251 dev/tc/if_le_ioasic.c volatile caddr_t buf = sc->sc_mem;
buf 255 dev/tc/if_le_ioasic.c bptr = buf + ((boff << 1) & ~0x1f);
buf 333 dev/tc/if_le_ioasic.c volatile caddr_t buf = sc->sc_mem;
buf 337 dev/tc/if_le_ioasic.c bptr = buf + ((boff << 1) & ~0x1f);
buf 406 dev/tc/if_le_ioasic.c volatile caddr_t buf = sc->sc_mem;
buf 410 dev/tc/if_le_ioasic.c bptr = buf + ((boff << 1) & ~0x1f);
buf 1657 dev/usb/ehci.c void *buf = NULL;
buf 1683 dev/usb/ehci.c buf = KERNADDR(&xfer->dmabuf, 0);
buf 1697 dev/usb/ehci.c *(u_int8_t *)buf = sc->sc_conf;
buf 1711 dev/usb/ehci.c memcpy(buf, &ehci_devd, l);
buf 1723 dev/usb/ehci.c memcpy(buf, &ehci_odevd, l);
buf 1736 dev/usb/ehci.c memcpy(buf, &ehci_confd, l);
buf 1737 dev/usb/ehci.c ((usb_config_descriptor_t *)buf)->bDescriptorType =
buf 1739 dev/usb/ehci.c buf = (char *)buf + l;
buf 1743 dev/usb/ehci.c memcpy(buf, &ehci_ifcd, l);
buf 1744 dev/usb/ehci.c buf = (char *)buf + l;
buf 1748 dev/usb/ehci.c memcpy(buf, &ehci_endpd, l);
buf 1753 dev/usb/ehci.c *(u_int8_t *)buf = 0;
buf 1757 dev/usb/ehci.c totlen = ehci_str(buf, len, "\001");
buf 1760 dev/usb/ehci.c totlen = ehci_str(buf, len, sc->sc_vendor);
buf 1763 dev/usb/ehci.c totlen = ehci_str(buf, len, "EHCI root hub");
buf 1774 dev/usb/ehci.c *(u_int8_t *)buf = 0;
buf 1780 dev/usb/ehci.c USETW(((usb_status_t *)buf)->wStatus,UDS_SELF_POWERED);
buf 1787 dev/usb/ehci.c USETW(((usb_status_t *)buf)->wStatus, 0);
buf 1900 dev/usb/ehci.c memcpy(buf, &hubd, l);
buf 1907 dev/usb/ehci.c memset(buf, 0, len); /* ? XXX */
buf 1938 dev/usb/ehci.c memcpy(buf, &ps, l);
buf 110 dev/usb/ezload.c ezload_download(usbd_device_handle dev, const char *name, const u_char *buf,
buf 120 dev/usb/ezload.c length = *buf++;
buf 124 dev/usb/ezload.c address = UGETW(buf); buf += 2;
buf 141 dev/usb/ezload.c err = usbd_do_request(dev, &req, (u_char *)buf);
buf 145 dev/usb/ezload.c buf += len;
buf 159 dev/usb/ezload.c u_char *buf;
buf 169 dev/usb/ezload.c error = loadfirmware(*names, &buf, &buflen);
buf 173 dev/usb/ezload.c err = ezload_download(dev, *names, buf, buflen);
buf 174 dev/usb/ezload.c free(buf, M_DEVBUF);
buf 49 dev/usb/ezload.h const u_char *buf, size_t buflen);
buf 378 dev/usb/hid.c hid_report_size(void *buf, int len, enum hid_kind k, u_int8_t id)
buf 387 dev/usb/hid.c for (d = hid_start_parse(buf, len, k); hid_get_item(d, &h); ) {
buf 437 dev/usb/hid.c hid_get_data(u_char *buf, struct hid_location *loc)
buf 452 dev/usb/hid.c data |= buf[i / 8] << ((i / 8 - s) * 8);
buf 92 dev/usb/hid.h int hid_report_size(void *buf, int len, enum hid_kind k, u_int8_t id);
buf 95 dev/usb/hid.h u_long hid_get_data(u_char *buf, struct hid_location *loc);
buf 273 dev/usb/if_atu.c u_int8_t size, u_int8_t index, u_int8_t *buf);
buf 479 dev/usb/if_atu.c u_int8_t index, u_int8_t *buf)
buf 484 dev/usb/if_atu.c type << 8, index, size, buf);
buf 238 dev/usb/if_axe.c axe_cmd(struct axe_softc *sc, int cmd, int index, int val, void *buf)
buf 255 dev/usb/if_axe.c err = usbd_do_request(sc->axe_udev, &req, buf);
buf 922 dev/usb/if_axe.c u_char *buf = c->axe_buf;
buf 958 dev/usb/if_axe.c buf += pktlen;
buf 960 dev/usb/if_axe.c memcpy(&hdr, buf, sizeof(hdr));
buf 973 dev/usb/if_axe.c buf += sizeof(hdr);
buf 997 dev/usb/if_axe.c memcpy(mtod(m, char *), buf, pktlen);
buf 905 dev/usb/if_cdce.c usb_cdc_notification_t *buf = &sc->cdce_intr_buf;
buf 921 dev/usb/if_cdce.c if (buf->bmRequestType == UCDC_NOTIFICATION) {
buf 922 dev/usb/if_cdce.c switch (buf->bNotification) {
buf 925 dev/usb/if_cdce.c UGETW(buf->wValue) ? "connected" : "disconnected"));
buf 928 dev/usb/if_cdce.c speed = (usb_cdc_connection_speed_t *)&buf->data;
buf 935 dev/usb/if_cdce.c buf->bNotification));
buf 940 dev/usb/if_cdce.c printf("cdce_intr: bmRequestType=%d ", buf->bmRequestType);
buf 941 dev/usb/if_cdce.c printf("wValue=%d wIndex=%d wLength=%d\n", UGETW(buf->wValue),
buf 942 dev/usb/if_cdce.c UGETW(buf->wIndex), UGETW(buf->wLength));
buf 999 dev/usb/if_cdce.c cdce_crc32(const void *buf, size_t size)
buf 1004 dev/usb/if_cdce.c p = buf;
buf 290 dev/usb/if_cue.c cue_mem(struct cue_softc *sc, int cmd, int addr, void *buf, int len)
buf 307 dev/usb/if_cue.c err = usbd_do_request(sc->cue_udev, &req, buf);
buf 319 dev/usb/if_cue.c cue_getmac(struct cue_softc *sc, void *buf)
buf 332 dev/usb/if_cue.c err = usbd_do_request(sc->cue_udev, &req, buf);
buf 240 dev/usb/if_kue.c u_char *buf;
buf 267 dev/usb/if_kue.c err = loadfirmware("kue", &buf, &buflen);
buf 273 dev/usb/if_kue.c fw = (struct kue_firmware *)buf;
buf 286 dev/usb/if_kue.c free(buf, M_DEVBUF);
buf 298 dev/usb/if_kue.c free(buf, M_DEVBUF);
buf 311 dev/usb/if_kue.c free(buf, M_DEVBUF);
buf 314 dev/usb/if_kue.c free(buf, M_DEVBUF);
buf 421 dev/usb/if_ral.c data->buf = usbd_alloc_buffer(data->xfer,
buf 423 dev/usb/if_ral.c if (data->buf == NULL) {
buf 495 dev/usb/if_ral.c data->buf = mtod(data->m, uint8_t *);
buf 739 dev/usb/if_ral.c desc = (struct ural_rx_desc *)(data->buf + len - RAL_RX_DESC_SIZE);
buf 768 dev/usb/if_ral.c data->buf = mtod(data->m, uint8_t *);
buf 820 dev/usb/if_ral.c usbd_setup_xfer(xfer, sc->sc_rx_pipeh, data, data->buf, MCLBYTES,
buf 996 dev/usb/if_ral.c uint8_t *buf;
buf 1006 dev/usb/if_ral.c buf = usbd_alloc_buffer(xfer, xferlen);
buf 1007 dev/usb/if_ral.c if (buf == NULL) {
buf 1021 dev/usb/if_ral.c desc = (struct ural_tx_desc *)buf;
buf 1023 dev/usb/if_ral.c m_copydata(m0, 0, m0->m_pkthdr.len, buf + RAL_TX_DESC_SIZE);
buf 1030 dev/usb/if_ral.c usbd_setup_xfer(xfer, sc->sc_tx_pipeh, NULL, buf, xferlen,
buf 1120 dev/usb/if_ral.c desc = (struct ural_tx_desc *)data->buf;
buf 1126 dev/usb/if_ral.c data->buf + RAL_TX_DESC_SIZE);
buf 1139 dev/usb/if_ral.c usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf,
buf 1155 dev/usb/if_ral.c desc = (struct ural_tx_desc *)data->buf;
buf 1195 dev/usb/if_ral.c m_copydata(m0, 0, m0->m_pkthdr.len, data->buf + RAL_TX_DESC_SIZE);
buf 1214 dev/usb/if_ral.c usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen,
buf 1390 dev/usb/if_ral.c ural_eeprom_read(struct ural_softc *sc, uint16_t addr, void *buf, int len)
buf 1401 dev/usb/if_ral.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 1431 dev/usb/if_ral.c ural_read_multi(struct ural_softc *sc, uint16_t reg, void *buf, int len)
buf 1442 dev/usb/if_ral.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 1469 dev/usb/if_ral.c ural_write_multi(struct ural_softc *sc, uint16_t reg, void *buf, int len)
buf 1480 dev/usb/if_ral.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 2037 dev/usb/if_ral.c usbd_setup_xfer(data->xfer, sc->sc_rx_pipeh, data, data->buf,
buf 60 dev/usb/if_ralvar.h uint8_t *buf;
buf 67 dev/usb/if_ralvar.h uint8_t *buf;
buf 503 dev/usb/if_rum.c data->buf = usbd_alloc_buffer(data->xfer,
buf 505 dev/usb/if_rum.c if (data->buf == NULL) {
buf 512 dev/usb/if_rum.c bzero(data->buf, RT2573_TX_DESC_SIZE);
buf 579 dev/usb/if_rum.c data->buf = mtod(data->m, uint8_t *);
buf 797 dev/usb/if_rum.c desc = (const struct rum_rx_desc *)data->buf;
buf 826 dev/usb/if_rum.c data->buf = mtod(data->m, uint8_t *);
buf 878 dev/usb/if_rum.c usbd_setup_xfer(xfer, sc->sc_rx_pipeh, data, data->buf, MCLBYTES,
buf 1129 dev/usb/if_rum.c desc = (struct rum_tx_desc *)data->buf;
buf 1135 dev/usb/if_rum.c data->buf + RT2573_TX_DESC_SIZE);
buf 1148 dev/usb/if_rum.c usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf,
buf 1164 dev/usb/if_rum.c desc = (struct rum_tx_desc *)data->buf;
buf 1203 dev/usb/if_rum.c m_copydata(m0, 0, m0->m_pkthdr.len, data->buf + RT2573_TX_DESC_SIZE);
buf 1222 dev/usb/if_rum.c usbd_setup_xfer(data->xfer, sc->sc_tx_pipeh, data, data->buf, xferlen,
buf 1398 dev/usb/if_rum.c rum_eeprom_read(struct rum_softc *sc, uint16_t addr, void *buf, int len)
buf 1409 dev/usb/if_rum.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 1427 dev/usb/if_rum.c rum_read_multi(struct rum_softc *sc, uint16_t reg, void *buf, int len)
buf 1438 dev/usb/if_rum.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 1454 dev/usb/if_rum.c rum_write_multi(struct rum_softc *sc, uint16_t reg, void *buf, size_t len)
buf 1465 dev/usb/if_rum.c error = usbd_do_request(sc->sc_udev, &req, buf);
buf 2049 dev/usb/if_rum.c usbd_setup_xfer(data->xfer, sc->sc_rx_pipeh, data, data->buf,
buf 60 dev/usb/if_rumvar.h uint8_t *buf;
buf 67 dev/usb/if_rumvar.h uint8_t *buf;
buf 330 dev/usb/if_uath.c usbd_setup_xfer(cmd->xfer, sc->cmd_rx_pipe, cmd, cmd->buf,
buf 567 dev/usb/if_uath.c data->buf = usbd_alloc_buffer(data->xfer, UATH_MAX_TXBUFSZ);
buf 568 dev/usb/if_uath.c if (data->buf == NULL) {
buf 612 dev/usb/if_uath.c data->buf = usbd_alloc_buffer(data->xfer, sc->rxbufsz);
buf 613 dev/usb/if_uath.c if (data->buf == NULL) {
buf 641 dev/usb/if_uath.c uath_free_rx_data(caddr_t buf, u_int size, void *arg)
buf 671 dev/usb/if_uath.c cmd->buf = usbd_alloc_buffer(cmd->xfer, UATH_MAX_TXCMDSZ);
buf 672 dev/usb/if_uath.c if (cmd->buf == NULL) {
buf 715 dev/usb/if_uath.c cmd->buf = usbd_alloc_buffer(cmd->xfer, UATH_MAX_RXCMDSZ);
buf 716 dev/usb/if_uath.c if (cmd->buf == NULL) {
buf 941 dev/usb/if_uath.c uath_dump_cmd(const uint8_t *buf, int len, char prefix)
buf 950 dev/usb/if_uath.c printf("%02x", buf[i]);
buf 974 dev/usb/if_uath.c hdr = (struct uath_cmd_hdr *)cmd->buf;
buf 986 dev/usb/if_uath.c uath_dump_cmd(cmd->buf, xferlen, '+');
buf 998 dev/usb/if_uath.c usbd_setup_xfer(cmd->xfer, sc->cmd_tx_pipe, cmd, cmd->buf, xferlen,
buf 1131 dev/usb/if_uath.c hdr = (struct uath_cmd_hdr *)cmd->buf;
buf 1137 dev/usb/if_uath.c uath_dump_cmd(cmd->buf, betoh32(hdr->len), '-');
buf 1173 dev/usb/if_uath.c usbd_setup_xfer(xfer, sc->cmd_rx_pipe, cmd, cmd->buf, UATH_MAX_RXCMDSZ,
buf 1213 dev/usb/if_uath.c hdr = betoh32(*(uint32_t *)data->buf);
buf 1217 dev/usb/if_uath.c (data->buf + len - sizeof (struct uath_rx_desc));
buf 1244 dev/usb/if_uath.c MEXTADD(m, data->buf, sc->rxbufsz, 0, uath_free_rx_data, data);
buf 1248 dev/usb/if_uath.c m->m_data = data->buf + sizeof (uint32_t);
buf 1301 dev/usb/if_uath.c usbd_setup_xfer(data->xfer, sc->data_rx_pipe, data, data->buf,
buf 1317 dev/usb/if_uath.c *(uint32_t *)data->buf = UATH_MAKECTL(1, sizeof (struct uath_tx_desc));
buf 1318 dev/usb/if_uath.c desc = (struct uath_tx_desc *)(data->buf + sizeof (uint32_t));
buf 1324 dev/usb/if_uath.c usbd_setup_xfer(data->xfer, sc->data_tx_pipe, data, data->buf,
buf 1384 dev/usb/if_uath.c desc = (struct uath_tx_desc *)(data->buf + sizeof (uint32_t));
buf 1442 dev/usb/if_uath.c *(uint32_t *)data->buf = UATH_MAKECTL(1, xferlen - sizeof (uint32_t));
buf 1463 dev/usb/if_uath.c uath_dump_cmd(data->buf, xferlen, '+');
buf 1466 dev/usb/if_uath.c usbd_setup_xfer(data->xfer, sc->data_tx_pipe, data, data->buf, xferlen,
buf 1903 dev/usb/if_uath.c usbd_setup_xfer(data->xfer, sc->data_rx_pipe, data, data->buf,
buf 59 dev/usb/if_uathvar.h uint8_t *buf;
buf 66 dev/usb/if_uathvar.h uint8_t *buf;
buf 73 dev/usb/if_uathvar.h uint8_t *buf;
buf 80 dev/usb/if_uathvar.h uint8_t *buf;
buf 379 dev/usb/if_udav.c udav_mem_read(struct udav_softc *sc, int offset, void *buf, int len)
buf 403 dev/usb/if_udav.c err = usbd_do_request(sc->sc_udev, &req, buf);
buf 416 dev/usb/if_udav.c udav_mem_write(struct udav_softc *sc, int offset, void *buf, int len)
buf 440 dev/usb/if_udav.c err = usbd_do_request(sc->sc_udev, &req, buf);
buf 490 dev/usb/if_udav.c udav_csr_read(struct udav_softc *sc, int offset, void *buf, int len)
buf 514 dev/usb/if_udav.c err = usbd_do_request(sc->sc_udev, &req, buf);
buf 527 dev/usb/if_udav.c udav_csr_write(struct udav_softc *sc, int offset, void *buf, int len)
buf 551 dev/usb/if_udav.c err = usbd_do_request(sc->sc_udev, &req, buf);
buf 389 dev/usb/if_url.c url_mem(struct url_softc *sc, int cmd, int offset, void *buf, int len)
buf 413 dev/usb/if_url.c err = usbd_do_request(sc->sc_udev, &req, buf);
buf 997 dev/usb/if_wi_usb.c wi_write_data_usb(struct wi_softc *wsc, int id, int off, caddr_t buf, int len)
buf 1015 dev/usb/if_wi_usb.c bcopy(buf, ptr, len);
buf 1024 dev/usb/if_wi_usb.c wi_read_data_usb(struct wi_softc *wsc, int id, int off, caddr_t buf, int len)
buf 1054 dev/usb/if_wi_usb.c bcopy(ptr, buf, len);
buf 150 dev/usb/if_wi_usb.h int wi_read_data_usb(struct wi_softc *sc, int id, int off, caddr_t buf,
buf 152 dev/usb/if_wi_usb.h int wi_write_data_usb(struct wi_softc *sc, int id, int off, caddr_t buf,
buf 560 dev/usb/if_zyd.c data->buf = usbd_alloc_buffer(data->xfer, ZYD_MAX_TXBUFSZ);
buf 561 dev/usb/if_zyd.c if (data->buf == NULL) {
buf 569 dev/usb/if_zyd.c bzero(data->buf, sizeof (struct zyd_tx_desc));
buf 614 dev/usb/if_zyd.c data->buf = usbd_alloc_buffer(data->xfer, ZYX_MAX_RXBUFSZ);
buf 615 dev/usb/if_zyd.c if (data->buf == NULL) {
buf 1850 dev/usb/if_zyd.c zyd_rx_data(struct zyd_softc *sc, const uint8_t *buf, uint16_t len)
buf 1868 dev/usb/if_zyd.c plcp = (const struct zyd_plcphdr *)buf;
buf 1870 dev/usb/if_zyd.c (buf + len - sizeof (struct zyd_rx_stat));
buf 1971 dev/usb/if_zyd.c (data->buf + len - sizeof (struct zyd_rx_desc));
buf 1974 dev/usb/if_zyd.c const uint8_t *p = data->buf, *end = p + len;
buf 1992 dev/usb/if_zyd.c zyd_rx_data(sc, data->buf, len);
buf 2083 dev/usb/if_zyd.c desc = (struct zyd_tx_desc *)data->buf;
buf 2156 dev/usb/if_zyd.c data->buf + sizeof (struct zyd_tx_desc));
buf 2164 dev/usb/if_zyd.c data->buf, xferlen, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
buf 1105 dev/usb/if_zydreg.h uint8_t *buf;
buf 1112 dev/usb/if_zydreg.h const uint8_t *buf;
buf 2385 dev/usb/ohci.c void *buf = NULL;
buf 2411 dev/usb/ohci.c buf = KERNADDR(&xfer->dmabuf, 0);
buf 2425 dev/usb/ohci.c *(u_int8_t *)buf = sc->sc_conf;
buf 2439 dev/usb/ohci.c memcpy(buf, &ohci_devd, l);
buf 2447 dev/usb/ohci.c memcpy(buf, &ohci_confd, l);
buf 2448 dev/usb/ohci.c buf = (char *)buf + l;
buf 2452 dev/usb/ohci.c memcpy(buf, &ohci_ifcd, l);
buf 2453 dev/usb/ohci.c buf = (char *)buf + l;
buf 2457 dev/usb/ohci.c memcpy(buf, &ohci_endpd, l);
buf 2462 dev/usb/ohci.c *(u_int8_t *)buf = 0;
buf 2466 dev/usb/ohci.c totlen = ohci_str(buf, len, "\001");
buf 2469 dev/usb/ohci.c totlen = ohci_str(buf, len, sc->sc_vendor);
buf 2472 dev/usb/ohci.c totlen = ohci_str(buf, len, "OHCI root hub");
buf 2483 dev/usb/ohci.c *(u_int8_t *)buf = 0;
buf 2489 dev/usb/ohci.c USETW(((usb_status_t *)buf)->wStatus,UDS_SELF_POWERED);
buf 2496 dev/usb/ohci.c USETW(((usb_status_t *)buf)->wStatus, 0);
buf 2601 dev/usb/ohci.c memcpy(buf, &hubd, l);
buf 2608 dev/usb/ohci.c memset(buf, 0, len); /* ? XXX */
buf 2628 dev/usb/ohci.c memcpy(buf, &ps, l);
buf 3219 dev/usb/ohci.c ohci_physaddr_t buf, offs, noffs, bp0;
buf 3238 dev/usb/ohci.c buf = DMAADDR(&xfer->dmabuf, 0);
buf 3239 dev/usb/ohci.c bp0 = OHCI_PAGE(buf);
buf 3240 dev/usb/ohci.c offs = OHCI_PAGE_OFFSET(buf);
buf 3246 dev/usb/ohci.c OHCI_PAGE(buf + noffs) > bp0 + OHCI_PAGE_SIZE) { /* too many page crossings */
buf 3272 dev/usb/ohci.c bp0 = OHCI_PAGE(buf + offs);
buf 589 dev/usb/uaudio.c uaudio_find_iface(const char *buf, int size, int *offsp, int subtype)
buf 594 dev/usb/uaudio.c d = (const void *)(buf + *offsp);
buf 675 dev/usb/uaudio.c static char buf[32];
buf 676 dev/usb/uaudio.c snprintf(buf, sizeof(buf), "i%d", id);
buf 677 dev/usb/uaudio.c return (buf);
buf 854 dev/usb/uaudio.c static char buf[100];
buf 921 dev/usb/uaudio.c snprintf(buf, sizeof(buf), "unknown type (0x%.4x)", terminal_type);
buf 922 dev/usb/uaudio.c return buf;
buf 1518 dev/usb/uaudio.c uaudio_process_as(struct uaudio_softc *sc, const char *buf, int *offsp,
buf 1532 dev/usb/uaudio.c asid = (const void *)(buf + offs);
buf 1542 dev/usb/uaudio.c asf1d = (const void *)(buf + offs);
buf 1556 dev/usb/uaudio.c ed = (const void *)(buf + offs);
buf 1596 dev/usb/uaudio.c sed = (const void *)(buf + offs);
buf 1617 dev/usb/uaudio.c epdesc1 = (const void*)(buf + offs);
buf 1733 dev/usb/uaudio.c const char *buf;
buf 1737 dev/usb/uaudio.c buf = (const char *)cdesc;
buf 1741 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs, UISUBCLASS_AUDIOSTREAM);
buf 1759 dev/usb/uaudio.c uaudio_process_as(sc, buf, &offs, size, id);
buf 1767 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs,UISUBCLASS_AUDIOSTREAM);
buf 1793 dev/usb/uaudio.c const char *buf, *ibuf, *ibufend;
buf 1797 dev/usb/uaudio.c buf = (char *)cdesc;
buf 1801 dev/usb/uaudio.c id = uaudio_find_iface(buf, size, &offs, UISUBCLASS_AUDIOCONTROL);
buf 1810 dev/usb/uaudio.c ibuf = buf + offs;
buf 2591 dev/usb/uaudio.c void *buf;
buf 2600 dev/usb/uaudio.c buf = usbd_alloc_buffer(xfer, size);
buf 2601 dev/usb/uaudio.c if (buf == 0) {
buf 2605 dev/usb/uaudio.c ch->chanbufs[i].buffer = buf;
buf 3026 dev/usb/uaudio.c void (*swcode)(void *, u_char *buf, int cnt);
buf 708 dev/usb/ubsa.c u_char *buf;
buf 710 dev/usb/ubsa.c buf = sc->sc_intr_buf;
buf 725 dev/usb/ubsa.c sc->sc_lsr = buf[2];
buf 726 dev/usb/ubsa.c sc->sc_msr = buf[3];
buf 155 dev/usb/ubt.c uint8_t *buf;
buf 679 dev/usb/ubt.c sc->sc_scord[i].buf = NULL;
buf 685 dev/usb/ubt.c sc->sc_scowr[i].buf = NULL;
buf 804 dev/usb/ubt.c sc->sc_scord[i].buf = usbd_alloc_buffer(sc->sc_scord[i].xfer,
buf 806 dev/usb/ubt.c if (sc->sc_scord[i].buf == NULL) {
buf 831 dev/usb/ubt.c sc->sc_scowr[i].buf = usbd_alloc_buffer(sc->sc_scowr[i].xfer,
buf 833 dev/usb/ubt.c if (sc->sc_scowr[i].buf == NULL) {
buf 1073 dev/usb/ubt.c uint8_t *buf;
buf 1077 dev/usb/ubt.c buf = isoc->buf;
buf 1102 dev/usb/ubt.c m_copydata(m, 0, size, buf);
buf 1105 dev/usb/ubt.c buf += size;
buf 1204 dev/usb/ubt.c ubt_mbufload(uint8_t *buf, int count, uint8_t type)
buf 1214 dev/usb/ubt.c m_copyback(m, 1, count, buf); // (extends if necessary)
buf 1232 dev/usb/ubt.c void *buf;
buf 1240 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, &buf, &count, NULL);
buf 1251 dev/usb/ubt.c m = ubt_mbufload(buf, count, HCI_EVENT_PKT);
buf 1305 dev/usb/ubt.c void *buf;
buf 1334 dev/usb/ubt.c usbd_get_xfer_status(xfer, NULL, &buf, &count, NULL);
buf 1343 dev/usb/ubt.c m = ubt_mbufload(buf, count, HCI_ACL_DATA_PKT);
buf 1463 dev/usb/ubt.c frame = isoc->buf + (i * sc->sc_scord_size);
buf 789 dev/usb/ueagle.c ueagle_crc_update(uint32_t crc, uint8_t *buf, int len)
buf 791 dev/usb/ueagle.c for (; len != 0; len--, buf++)
buf 792 dev/usb/ueagle.c crc = ueagle_crc32_table[(crc >> 24) ^ *buf] ^ (crc << 8);
buf 997 dev/usb/ueagle.c dst = req->buf;
buf 1069 dev/usb/ueagle.c usbd_setup_xfer(req->xfer, sc->pipeh_tx, req, req->buf,
buf 1070 dev/usb/ueagle.c dst + cellleft - req->buf, USBD_FORCE_SHORT_XFER | USBD_NO_COPY,
buf 1213 dev/usb/ueagle.c uint8_t *buf;
buf 1244 dev/usb/ueagle.c txreq->buf = usbd_alloc_buffer(txreq->xfer, UEAGLE_TXBUFLEN);
buf 1245 dev/usb/ueagle.c if (txreq->buf == NULL) {
buf 1299 dev/usb/ueagle.c buf = usbd_alloc_buffer(isoreq->xfer,
buf 1301 dev/usb/ueagle.c if (buf == NULL) {
buf 1310 dev/usb/ueagle.c isoreq->offsets[j] = buf + j * sc->isize;
buf 119 dev/usb/ueaglevar.h uint8_t *buf;
buf 289 dev/usb/ugen.c void *buf;
buf 391 dev/usb/ugen.c buf = usbd_alloc_buffer
buf 393 dev/usb/ugen.c if (buf == 0) {
buf 397 dev/usb/ugen.c sce->isoreqs[i].dmabuf = buf;
buf 491 dev/usb/ugen.c char buf[UGEN_BBSIZE];
buf 571 dev/usb/ugen.c sce->timeout, buf, &tn, "ugenrb");
buf 582 dev/usb/ugen.c error = uiomove(buf, tn, uio);
buf 655 dev/usb/ugen.c char buf[UGEN_BBSIZE];
buf 684 dev/usb/ugen.c error = uiomove(buf, n, uio);
buf 689 dev/usb/ugen.c sce->timeout, buf, &n,"ugenwb");
buf 708 dev/usb/ugen.c error = uiomove(buf, n, uio);
buf 713 dev/usb/ugen.c sce->timeout, buf, &n, "ugenwi");
buf 875 dev/usb/ugen.c char const *buf = (char const *)req->dmabuf + isize * i;
buf 880 dev/usb/ugen.c memcpy(sce->fill, buf, n);
buf 882 dev/usb/ugen.c buf += n;
buf 2318 dev/usb/uhci.c u_int32_t buf, len, status;
buf 2349 dev/usb/uhci.c buf = DMAADDR(&xfer->dmabuf, 0);
buf 2360 dev/usb/uhci.c std->td.td_buffer = htole32(buf);
buf 2372 dev/usb/uhci.c buf += len;
buf 3096 dev/usb/uhci.c void *buf = NULL;
buf 3119 dev/usb/uhci.c buf = KERNADDR(&xfer->dmabuf, 0);
buf 3133 dev/usb/uhci.c *(u_int8_t *)buf = sc->sc_conf;
buf 3147 dev/usb/uhci.c memcpy(buf, &uhci_devd, l);
buf 3155 dev/usb/uhci.c memcpy(buf, &uhci_confd, l);
buf 3156 dev/usb/uhci.c buf = (char *)buf + l;
buf 3160 dev/usb/uhci.c memcpy(buf, &uhci_ifcd, l);
buf 3161 dev/usb/uhci.c buf = (char *)buf + l;
buf 3165 dev/usb/uhci.c memcpy(buf, &uhci_endpd, l);
buf 3170 dev/usb/uhci.c *(u_int8_t *)buf = 0;
buf 3174 dev/usb/uhci.c totlen = uhci_str(buf, len, "\001");
buf 3177 dev/usb/uhci.c totlen = uhci_str(buf, len, sc->sc_vendor);
buf 3180 dev/usb/uhci.c totlen = uhci_str(buf, len, "UHCI root hub");
buf 3191 dev/usb/uhci.c *(u_int8_t *)buf = 0;
buf 3197 dev/usb/uhci.c USETW(((usb_status_t *)buf)->wStatus,UDS_SELF_POWERED);
buf 3204 dev/usb/uhci.c USETW(((usb_status_t *)buf)->wStatus, 0);
buf 3297 dev/usb/uhci.c *(u_int8_t *)buf =
buf 3310 dev/usb/uhci.c memcpy(buf, &uhci_hubd_piix, l);
buf 3317 dev/usb/uhci.c memset(buf, 0, len);
buf 3357 dev/usb/uhci.c memcpy(buf, &ps, l);
buf 79 dev/usb/uhidev.c int uhidev_maxrepid(void *buf, int len);
buf 315 dev/usb/uhidev.c uhidev_maxrepid(void *buf, int len)
buf 323 dev/usb/uhidev.c for (d = hid_start_parse(buf, len, hid_none); hid_get_item(d, &h); )
buf 612 dev/usb/uhidev.c char *buf;
buf 619 dev/usb/uhidev.c buf = malloc(len + 1, M_TEMP, M_WAITOK);
buf 620 dev/usb/uhidev.c buf[0] = scd->sc_report_id;
buf 621 dev/usb/uhidev.c memcpy(buf+1, data, len);
buf 626 dev/usb/uhidev.c free(buf, M_TEMP);
buf 635 dev/usb/uhidev.c char buf[100];
buf 637 dev/usb/uhidev.c buf[0] = scd->sc_report_id;
buf 638 dev/usb/uhidev.c memcpy(buf+1, data, len);
buf 640 dev/usb/uhidev.c data = buf;
buf 79 dev/usb/umass_scsi.c void umass_scsi_minphys(struct buf *);
buf 293 dev/usb/umass_scsi.c umass_scsi_minphys(struct buf *bp)
buf 615 dev/usb/umct.c u_char *buf = sc->sc_intr_buf;
buf 632 dev/usb/umct.c sc->sc_dev.dv_xname, buf[0],buf[1]));
buf 635 dev/usb/umct.c mstatus = buf[0];
buf 1265 dev/usb/umidi.c unsigned char *buf;
buf 1277 dev/usb/umidi.c buf = ep->buffer;
buf 1279 dev/usb/umidi.c cn = GET_CN(buf[0]);
buf 1282 dev/usb/umidi.c evlen = packet_length[GET_CIN(buf[0])];
buf 1284 dev/usb/umidi.c (*jack->u.in.intr)(jack->arg, buf[i+1]);
buf 1286 dev/usb/umidi.c buf += UMIDI_PACKET_SIZE;
buf 1352 dev/usb/umidi.c packet->buf[1] = packet->status = data;
buf 1360 dev/usb/umidi.c packet->buf[packet->index++] = data;
buf 1361 dev/usb/umidi.c packet->buf[0] = (0x4 - 1 + packet->index) | cable_number << 4;
buf 1365 dev/usb/umidi.c packet->buf[0] = 0x5 | cable_number << 4;
buf 1387 dev/usb/umidi.c packet->buf[packet->index++] = data;
buf 1389 dev/usb/umidi.c packet->buf[0] = 0x4 | cable_number << 4;
buf 1395 dev/usb/umidi.c packet->buf[0] = 0x2 | cable_number << 4;
buf 1396 dev/usb/umidi.c packet->buf[1] = packet->status;
buf 1397 dev/usb/umidi.c packet->buf[2] = data;
buf 1402 dev/usb/umidi.c packet->buf[0] = 0x3 | cable_number << 4;
buf 1405 dev/usb/umidi.c packet->buf[packet->index++] = data;
buf 1407 dev/usb/umidi.c packet->buf[1] = packet->status;
buf 1418 dev/usb/umidi.c packet->buf[0] = packet->status >> 4 | cable_number << 4;
buf 1419 dev/usb/umidi.c packet->buf[1] = packet->status;
buf 1422 dev/usb/umidi.c packet->buf[packet->index++] = data;
buf 1431 dev/usb/umidi.c packet->buf[packet->index++] = 0;
buf 1433 dev/usb/umidi.c memcpy(obuf, packet->buf, UMIDI_PACKET_SIZE);
buf 43 dev/usb/umidivar.h unsigned char buf[UMIDI_PACKET_SIZE]; /* common/voice packet */
buf 351 dev/usb/uow.c uow_ow_read_block(void *arg, void *buf, int len)
buf 359 dev/usb/uow.c uow_read(sc, buf, len);
buf 363 dev/usb/uow.c uow_ow_write_block(void *arg, const void *buf, int len)
buf 367 dev/usb/uow.c if (uow_write(sc, buf, len) != 0)
buf 391 dev/usb/uow.c uow_ow_search(void *arg, u_int64_t *buf, int size, u_int64_t startrom)
buf 407 dev/usb/uow.c if ((rv = uow_read(sc, buf, size * 8)) == -1)
buf 464 dev/usb/uow.c uow_read(struct uow_softc *sc, void *buf, int len)
buf 480 dev/usb/uow.c usbd_setup_xfer(sc->sc_xfer, sc->sc_ph_ibulk, sc, buf, len,
buf 496 dev/usb/uow.c uow_write(struct uow_softc *sc, const void *buf, int len)
buf 511 dev/usb/uow.c usbd_setup_xfer(sc->sc_xfer, sc->sc_ph_obulk, sc, (void *)buf, len, 0,
buf 782 dev/usb/uplcom.c u_char *buf = sc->sc_intr_buf;
buf 798 dev/usb/uplcom.c DPRINTF(("%s: uplcom status = %02x\n", sc->sc_dev.dv_xname, buf[8]));
buf 801 dev/usb/uplcom.c pstatus = buf[8];
buf 161 dev/usb/usb_subr.c usbd_get_string(usbd_device_handle dev, int si, char *buf)
buf 189 dev/usb/usb_subr.c s = buf;
buf 202 dev/usb/usb_subr.c return (buf);
buf 433 dev/usb/usbdi_util.c u_int16_t flags, u_int32_t timeout, void *buf, u_int32_t *size, char *lbl)
buf 438 dev/usb/usbdi_util.c usbd_setup_xfer(xfer, pipe, 0, buf, *size, flags, timeout,
buf 474 dev/usb/usbdi_util.c u_int16_t flags, u_int32_t timeout, void *buf, u_int32_t *size, char *lbl)
buf 479 dev/usb/usbdi_util.c usbd_setup_xfer(xfer, pipe, 0, buf, *size, flags, timeout,
buf 84 dev/usb/usbdi_util.h void *buf, u_int32_t *size, char *lbl);
buf 88 dev/usb/usbdi_util.h void *buf, u_int32_t *size, char *lbl);
buf 636 dev/usb/usbf.c static char buf[16];
buf 644 dev/usb/usbf.c (void)snprintf(buf, sizeof buf, "0x%02x", code);
buf 645 dev/usb/usbf.c return buf;
buf 651 dev/usb/usbf.c static char buf[32];
buf 653 dev/usb/usbf.c (void)snprintf(buf, sizeof buf, "%s",
buf 655 dev/usb/usbf.c return buf;
buf 661 dev/usb/usbf.c static char buf[32];
buf 663 dev/usb/usbf.c (void)snprintf(buf, sizeof buf, "%s",
buf 665 dev/usb/usbf.c return buf;
buf 671 dev/usb/usbf.c static char buf[32];
buf 675 dev/usb/usbf.c (void)snprintf(buf, sizeof buf, "%s/%u",
buf 677 dev/usb/usbf.c return buf;
buf 163 dev/usb/usscanner.c void usscanner_scsipi_minphys(struct buf *bp);
buf 449 dev/usb/usscanner.c usscanner_scsipi_minphys(struct buf *bp)
buf 819 dev/usb/uvscom.c u_char *buf = sc->sc_intr_buf;
buf 837 dev/usb/uvscom.c sc->sc_dev.dv_xname, buf[0], buf[1]));
buf 840 dev/usb/uvscom.c sc->sc_usr = buf[1];
buf 842 dev/usb/uvscom.c pstatus = buf[0];
buf 848 dev/usb/uvscom.c pstatus = buf[1];
buf 87 dev/vesa/vesabios.c unsigned char *buf;
buf 91 dev/vesa/vesabios.c if ((buf = kvm86_bios_addpage(KVM86_CALL_TASKVA)) == NULL) {
buf 96 dev/vesa/vesabios.c memcpy(buf, "VBE2", 4);
buf 110 dev/vesa/vesabios.c if (memcmp(((struct vbeinfoblock *)buf)->VbeSignature, "VESA", 4)) {
buf 116 dev/vesa/vesabios.c *vip = (struct vbeinfoblock *)buf;
buf 120 dev/vesa/vesabios.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 151 dev/vesa/vesabios.c static char buf[30];
buf 165 dev/vesa/vesabios.c snprintf(buf, sizeof(buf), "unknown memory model %d", mm);
buf 166 dev/vesa/vesabios.c return (buf);
buf 175 dev/vesa/vesabios.c unsigned char *buf;
buf 229 dev/vesa/vesabios.c buf = kvm86_bios_addpage(KVM86_CALL_TASKVA);
buf 230 dev/vesa/vesabios.c if (!buf) {
buf 251 dev/vesa/vesabios.c mi = (struct modeinfoblock *)buf;
buf 283 dev/vesa/vesabios.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 111 dev/vesa/vesafb.c unsigned char *buf;
buf 114 dev/vesa/vesafb.c if ((buf = kvm86_bios_addpage(KVM86_CALL_TASKVA)) == NULL) {
buf 128 dev/vesa/vesafb.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 132 dev/vesa/vesafb.c memcpy(info, buf, sizeof(struct edid));
buf 133 dev/vesa/vesafb.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 159 dev/vesa/vesafb.c unsigned char *buf;
buf 162 dev/vesa/vesafb.c if ((buf = kvm86_bios_addpage(KVM86_CALL_TASKVA)) == NULL) {
buf 179 dev/vesa/vesafb.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 182 dev/vesa/vesafb.c memcpy(mi, buf, sizeof(struct modeinfoblock));
buf 183 dev/vesa/vesafb.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 191 dev/vesa/vesafb.c char *buf;
buf 193 dev/vesa/vesafb.c if ((buf = kvm86_bios_addpage(KVM86_CALL_TASKVA)) == NULL) {
buf 206 dev/vesa/vesafb.c memcpy(buf, &pe, sizeof(struct paletteentry));
buf 222 dev/vesa/vesafb.c kvm86_bios_delpage(KVM86_CALL_TASKVA, buf);
buf 113 dev/vnd.c struct buf vb_buf;
buf 114 dev/vnd.c struct buf *vb_obp;
buf 134 dev/vnd.c struct buf sc_tab; /* transfer queue */
buf 161 dev/vnd.c void vndiodone(struct buf *);
buf 379 dev/vnd.c vndstrategy(struct buf *bp)
buf 599 dev/vnd.c struct buf *bp;
buf 622 dev/vnd.c vndiodone(struct buf *bp)
buf 625 dev/vnd.c struct buf *pbp = vbp->vb_obp;
buf 1249 dev/wscons/wsdisplay.c void *buf;
buf 1287 dev/wscons/wsdisplay.c buf = malloc(fontsz, M_DEVBUF, M_WAITOK);
buf 1288 dev/wscons/wsdisplay.c error = copyin(d->data, buf, fontsz);
buf 1290 dev/wscons/wsdisplay.c free(buf, M_DEVBUF);
buf 1293 dev/wscons/wsdisplay.c d->data = buf;
buf 1297 dev/wscons/wsdisplay.c free(buf, M_DEVBUF);
buf 1393 dev/wscons/wsdisplay.c u_char *buf;
buf 1430 dev/wscons/wsdisplay.c buf = tp->t_outq.c_cf;
buf 1446 dev/wscons/wsdisplay.c buf, n, 0);
buf 1451 dev/wscons/wsdisplay.c buf = tp->t_outq.c_cf;
buf 1458 dev/wscons/wsdisplay.c (scr->scr_dconf->wsemulcookie, buf, n, 0);
buf 335 dev/wscons/wsemul_vt100_subr.c char buf[20];
buf 341 dev/wscons/wsemul_vt100_subr.c n = snprintf(buf, sizeof buf, "%s%d",
buf 345 dev/wscons/wsemul_vt100_subr.c else if (n >= sizeof buf)
buf 346 dev/wscons/wsemul_vt100_subr.c n = sizeof buf - 1;
buf 348 dev/wscons/wsemul_vt100_subr.c buf, n);
buf 563 dev/wscons/wsemul_vt100_subr.c char buf[20];
buf 569 dev/wscons/wsemul_vt100_subr.c n = snprintf(buf, sizeof buf, "\033[%d;%dR",
buf 573 dev/wscons/wsemul_vt100_subr.c else if (n >= sizeof buf)
buf 574 dev/wscons/wsemul_vt100_subr.c n = sizeof buf - 1;
buf 575 dev/wscons/wsemul_vt100_subr.c wsdisplay_emulinput(edp->cbcookie, buf, n);
buf 710 dev/wscons/wskbd.c wskbd_rawinput(struct device *dev, u_char *buf, int len)
buf 718 dev/wscons/wskbd.c wsdisplay_kbdinput(sc->sc_base.me_dispdv, buf[i]);
buf 978 dev/wscons/wskbd.c void *buf;
buf 1084 dev/wscons/wskbd.c buf = malloc(len, M_TEMP, M_WAITOK);
buf 1085 dev/wscons/wskbd.c error = copyin(umdp->map, buf, len);
buf 1089 dev/wscons/wskbd.c memcpy(sc->sc_map, buf, len);
buf 1095 dev/wscons/wskbd.c free(buf, M_TEMP);
buf 102 isofs/cd9660/cd9660_lookup.c struct buf *bp; /* a buffer of directory entries */
buf 431 isofs/cd9660/cd9660_lookup.c struct buf **bpp)
buf 434 isofs/cd9660/cd9660_lookup.c struct buf *bp;
buf 300 isofs/cd9660/cd9660_node.c struct buf *bp;
buf 302 isofs/cd9660/cd9660_node.c struct buf *bp2 = NULL;
buf 363 isofs/cd9660/cd9660_node.c struct buf *bp;
buf 365 isofs/cd9660/cd9660_node.c struct buf *bp2 = NULL;
buf 462 isofs/cd9660/cd9660_node.c u_char buf[7];
buf 465 isofs/cd9660/cd9660_node.c buf[0] = cd9660_chars2ui(pi,4) - 1900;
buf 468 isofs/cd9660/cd9660_node.c buf[1] = cd9660_chars2ui(pi + 4,2);
buf 471 isofs/cd9660/cd9660_node.c buf[2] = cd9660_chars2ui(pi + 6,2);
buf 474 isofs/cd9660/cd9660_node.c buf[3] = cd9660_chars2ui(pi + 8,2);
buf 477 isofs/cd9660/cd9660_node.c buf[4] = cd9660_chars2ui(pi + 10,2);
buf 480 isofs/cd9660/cd9660_node.c buf[5] = cd9660_chars2ui(pi + 12,2);
buf 483 isofs/cd9660/cd9660_node.c buf[6] = pi[16];
buf 485 isofs/cd9660/cd9660_node.c return (cd9660_tstamp_conv7(buf,pu));
buf 133 isofs/cd9660/cd9660_node.h int cd9660_bufatoff(struct iso_node *, off_t, char **, struct buf **);
buf 136 isofs/cd9660/cd9660_node.h struct buf *);
buf 138 isofs/cd9660/cd9660_node.h struct buf *);
buf 528 isofs/cd9660/cd9660_rrip.c struct buf *bp = NULL;
buf 85 isofs/cd9660/cd9660_vfsops.c int iso_disklabelspoof(dev_t dev, void (*strat)(struct buf *),
buf 224 isofs/cd9660/cd9660_vfsops.c struct buf *bp = NULL;
buf 225 isofs/cd9660/cd9660_vfsops.c struct buf *pribp = NULL, *supbp = NULL;
buf 462 isofs/cd9660/cd9660_vfsops.c void (*strat)(struct buf *);
buf 465 isofs/cd9660/cd9660_vfsops.c struct buf *bp = NULL;
buf 752 isofs/cd9660/cd9660_vfsops.c struct buf *bp;
buf 880 isofs/cd9660/cd9660_vfsops.c struct buf *bp2;
buf 287 isofs/cd9660/cd9660_vnops.c struct buf *bp;
buf 498 isofs/cd9660/cd9660_vnops.c struct buf *bp = NULL;
buf 685 isofs/cd9660/cd9660_vnops.c struct buf *bp;
buf 822 isofs/cd9660/cd9660_vnops.c struct buf *bp = ap->a_bp;
buf 81 isofs/udf/udf.h struct buf *bp;
buf 83 isofs/udf/udf.h uint8_t *buf;
buf 105 isofs/udf/udf.h udf_readlblks(struct umount *ump, int sector, int size, struct buf **bp)
buf 54 isofs/udf/udf_extern.h int udf_readatoffset(struct unode *, int *, off_t, struct buf **,
buf 92 isofs/udf/udf_subr.c udf_disklabelspoof(dev_t dev, void (*strat)(struct buf *),
buf 98 isofs/udf/udf_subr.c struct buf *bp;
buf 233 isofs/udf/udf_subr.c struct buf *bp;
buf 217 isofs/udf/udf_vfsops.c struct buf *bp = NULL;
buf 508 isofs/udf/udf_vfsops.c struct buf *bp;
buf 693 isofs/udf/udf_vfsops.c struct buf *bp;
buf 420 isofs/udf/udf_vnops.c struct buf *bp;
buf 593 isofs/udf/udf_vnops.c if (ds->fid_fragment && ds->buf != NULL) {
buf 595 isofs/udf/udf_vnops.c free(ds->buf, M_UDFFID);
buf 620 isofs/udf/udf_vnops.c ds->buf = malloc(ds->ump->um_bsize, M_UDFFID, M_WAITOK);
buf 621 isofs/udf/udf_vnops.c bzero(ds->buf, ds->ump->um_bsize);
buf 622 isofs/udf/udf_vnops.c bcopy(fid, ds->buf, frag_size);
buf 625 isofs/udf/udf_vnops.c fid = (struct fileid_desc*)ds->buf;
buf 645 isofs/udf/udf_vnops.c bcopy(ds->data, &ds->buf[frag_size],
buf 659 isofs/udf/udf_vnops.c bcopy(ds->data, &ds->buf[frag_size],
buf 688 isofs/udf/udf_vnops.c if (ds->fid_fragment && ds->buf != NULL)
buf 689 isofs/udf/udf_vnops.c free(ds->buf, M_UDFFID);
buf 832 isofs/udf/udf_vnops.c struct buf *bp;
buf 1169 isofs/udf/udf_vnops.c struct buf **bp, uint8_t **data)
buf 1173 isofs/udf/udf_vnops.c struct buf *bp1;
buf 320 kern/exec_elf.c ELFNAME(read_from)(struct proc *p, struct vnode *vp, u_long off, caddr_t buf,
buf 326 kern/exec_elf.c if ((error = vn_rdwr(UIO_READ, vp, buf, size, off, UIO_SYSSPACE,
buf 61 kern/kern_physio.c struct buf *getphysbuf(void);
buf 62 kern/kern_physio.c void putphysbuf(struct buf *bp);
buf 71 kern/kern_physio.c physio(void (*strategy)(struct buf *), struct buf *bp, dev_t dev, int flags,
buf 72 kern/kern_physio.c void (*minphys)(struct buf *), struct uio *uio)
buf 261 kern/kern_physio.c struct buf *
buf 264 kern/kern_physio.c struct buf *bp;
buf 286 kern/kern_physio.c putphysbuf(struct buf *bp)
buf 311 kern/kern_physio.c minphys(struct buf *bp)
buf 385 kern/kern_sysctl.c char buf[256];
buf 387 kern/kern_sysctl.c if (*oldlenp > sizeof(buf))
buf 388 kern/kern_sysctl.c *oldlenp = sizeof(buf);
buf 390 kern/kern_sysctl.c arc4random_bytes(buf, *oldlenp);
buf 391 kern/kern_sysctl.c if ((error = copyout(buf, oldp, *oldlenp)))
buf 1364 kern/kern_sysctl.c char *buf;
buf 1407 kern/kern_sysctl.c buf = malloc(PAGE_SIZE, M_TEMP, M_WAITOK);
buf 1489 kern/kern_sysctl.c iov.iov_base = buf;
buf 1502 kern/kern_sysctl.c if (buf[vstrlen] == '\0')
buf 1512 kern/kern_sysctl.c if ((error = copyout(buf, rarg, vstrlen)) != 0)
buf 1525 kern/kern_sysctl.c buf[0] = '\0';
buf 1526 kern/kern_sysctl.c if ((error = copyout(buf, rarg, 1)) != 0)
buf 1547 kern/kern_sysctl.c free(buf, M_TEMP);
buf 1644 kern/kern_sysctl.c void *buf;
buf 1695 kern/kern_sysctl.c buf = malloc(min(tsize, buflen), M_TEMP, M_WAITOK);
buf 1696 kern/kern_sysctl.c bzero(buf, min(tsize, buflen));
buf 1701 kern/kern_sysctl.c msgsi = (struct msg_sysctl_info *)buf;
buf 1707 kern/kern_sysctl.c semsi = (struct sem_sysctl_info *)buf;
buf 1713 kern/kern_sysctl.c shmsi = (struct shm_sysctl_info *)buf;
buf 1757 kern/kern_sysctl.c error = copyout(buf, where, *sizep);
buf 1758 kern/kern_sysctl.c free(buf, M_TEMP);
buf 466 kern/kern_tc.c char buf[32], *spc, *choices;
buf 474 kern/kern_tc.c maxlen += sizeof(buf);
buf 478 kern/kern_tc.c snprintf(buf, sizeof(buf), "%s%s(%d)",
buf 481 kern/kern_tc.c strlcat(choices, buf, maxlen);
buf 92 kern/subr_disk.c disksort(struct buf *ap, struct buf *bp)
buf 94 kern/subr_disk.c struct buf *bq;
buf 368 kern/subr_disk.c readdoslabel(struct buf *bp, void (*strat)(struct buf *),
buf 603 kern/subr_disk.c bounds_check_with_label(struct buf *bp, struct disklabel *lp, int wlabel)
buf 655 kern/subr_disk.c diskerr(struct buf *bp, char *dname, char *what, int pri, int blkdone,
buf 933 kern/subr_disk.c bufq_default_add(struct bufq *bq, struct buf *bp)
buf 937 kern/subr_disk.c struct buf *head;
buf 949 kern/subr_disk.c struct buf *
buf 953 kern/subr_disk.c struct buf *bp, *head;
buf 1050 kern/subr_disk.c char buf[128];
buf 1082 kern/subr_disk.c len = getsn(buf, sizeof(buf));
buf 1085 kern/subr_disk.c if (strcmp(buf, "exit") == 0)
buf 1088 kern/subr_disk.c strlcpy(buf, bootdv->dv_xname, sizeof buf);
buf 1089 kern/subr_disk.c len = strlen(buf);
buf 1091 kern/subr_disk.c if (len > 0 && buf[len - 1] == '*') {
buf 1092 kern/subr_disk.c buf[--len] = '\0';
buf 1093 kern/subr_disk.c dv = getdisk(buf, len, part, &nrootdev);
buf 1100 kern/subr_disk.c dv = getdisk(buf, len, part, &nrootdev);
buf 1119 kern/subr_disk.c len = getsn(buf, sizeof(buf));
buf 1122 kern/subr_disk.c if (strcmp(buf, "exit") == 0)
buf 1140 kern/subr_disk.c dv = getdisk(buf, len, 1, &nswapdev);
buf 1186 kern/subr_disk.c snprintf(buf, sizeof buf, "%s%d%c",
buf 1188 kern/subr_disk.c rootdv = parsedisk(buf, strlen(buf), 0, &nrootdev);
buf 76 kern/subr_log.c initmsgbuf(caddr_t buf, size_t bufsize)
buf 85 kern/subr_log.c mbp = msgbufp = (struct msgbuf *)buf;
buf 97 kern/subr_log.c bzero(buf, bufsize);
buf 544 kern/subr_prf.c snprintf(char *buf, size_t size, const char *fmt, ...)
buf 550 kern/subr_prf.c p = buf + size - 1;
buf 552 kern/subr_prf.c p = buf;
buf 554 kern/subr_prf.c retval = kprintf(fmt, TOBUFONLY | TOCOUNT, &p, buf, ap);
buf 565 kern/subr_prf.c vsnprintf(char *buf, size_t size, const char *fmt, va_list ap)
buf 570 kern/subr_prf.c p = buf + size - 1;
buf 572 kern/subr_prf.c p = buf;
buf 573 kern/subr_prf.c retval = kprintf(fmt, TOBUFONLY | TOCOUNT, &p, buf, ap);
buf 687 kern/subr_prf.c char buf[KPRINTF_BUFSIZE]; /* space for %c, %[diouxX] */
buf 723 kern/subr_prf.c snprintf(buf, sizeof buf, "%llo", _uquad);
buf 725 kern/subr_prf.c snprintf(buf, sizeof buf, "%lld", _uquad);
buf 727 kern/subr_prf.c snprintf(buf, sizeof buf, "%llx", _uquad);
buf 732 kern/subr_prf.c z = buf;
buf 876 kern/subr_prf.c *(cp = buf) = va_arg(ap, int);
buf 1000 kern/subr_prf.c cp = buf + KPRINTF_BUFSIZE;
buf 1040 kern/subr_prf.c size = buf + KPRINTF_BUFSIZE - cp;
buf 1050 kern/subr_prf.c cp = buf;
buf 93 kern/sys_generic.c return (dofileread(p, fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
buf 98 kern/sys_generic.c dofileread(struct proc *p, int fd, struct file *fp, void *buf, size_t nbyte,
buf 108 kern/sys_generic.c aiov.iov_base = buf;
buf 292 kern/sys_generic.c return (dofilewrite(p, fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
buf 297 kern/sys_generic.c dofilewrite(struct proc *p, int fd, struct file *fp, const void *buf,
buf 307 kern/sys_generic.c aiov.iov_base = (void *)buf; /* XXX kills const */
buf 146 kern/sysv_msg.c (caddr_t)SCARG(uap, buf), copyin, copyout));
buf 150 kern/sysv_msg.c msgctl1(struct proc *p, int msqid, int cmd, caddr_t buf,
buf 159 kern/sysv_msg.c DPRINTF(("call to msgctl(%d, %d, %p)\n", msqid, cmd, buf));
buf 210 kern/sysv_msg.c if ((error = ds_copyin(buf, &msqbuf, sizeof(msqbuf))) != 0)
buf 238 kern/sysv_msg.c error = ds_copyout(msqptr, buf, sizeof(struct msqid_ds));
buf 295 kern/sysv_sem.c if ((error = ds_copyin(arg->buf, &sbuf, sizeof(sbuf))) != 0)
buf 307 kern/sysv_sem.c error = ds_copyout(semaptr, arg->buf, sizeof(struct semid_ds));
buf 300 kern/sysv_shm.c (caddr_t)SCARG(uap, buf), copyin, copyout));
buf 304 kern/sysv_shm.c shmctl1(struct proc *p, int shmid, int cmd, caddr_t buf,
buf 319 kern/sysv_shm.c error = ds_copyout(shmseg, buf, sizeof(inbuf));
buf 326 kern/sysv_shm.c error = ds_copyin(buf, &inbuf, sizeof(inbuf));
buf 131 kern/tty_pty.c char buf[11] = "/dev/XtyXX";
buf 141 kern/tty_pty.c buf[5] = 'p';
buf 142 kern/tty_pty.c buf[8] = TTY_LETTERS[i];
buf 143 kern/tty_pty.c buf[9] = TTY_SUFFIX[j];
buf 144 kern/tty_pty.c memcpy(pti->pty_pn, buf, sizeof(buf));
buf 145 kern/tty_pty.c buf[5] = 't';
buf 146 kern/tty_pty.c memcpy(pti->pty_sn, buf, sizeof(buf));
buf 459 kern/tty_pty.c char buf[BUFSIZ];
buf 504 kern/tty_pty.c cc = q_to_b(&tp->t_outq, buf, min(uio->uio_resid, BUFSIZ));
buf 507 kern/tty_pty.c error = uiomove(buf, cc, uio);
buf 890 kern/uipc_mbuf.c m_devget(char *buf, int totlen, int off, struct ifnet *ifp,
buf 899 kern/uipc_mbuf.c cp = buf;
buf 953 kern/uipc_mbuf.c cp = buf;
buf 403 kern/uipc_syscalls.c aiov.iov_base = (char *)SCARG(uap, buf);
buf 571 kern/uipc_syscalls.c aiov.iov_base = SCARG(uap, buf);
buf 1040 kern/uipc_syscalls.c sockargs(struct mbuf **mp, const void *buf, size_t buflen, int type)
buf 1064 kern/uipc_syscalls.c error = copyin(buf, mtod(m, caddr_t), buflen);
buf 403 kern/uipc_usrreq.c char buf[MLEN];
buf 410 kern/uipc_usrreq.c strncpy(buf, soun->sun_path, namelen);
buf 411 kern/uipc_usrreq.c buf[namelen] = 0; /* null-terminate the string */
buf 412 kern/uipc_usrreq.c NDINIT(&nd, CREATE, NOFOLLOW | LOCKPARENT, UIO_SYSSPACE, buf, p);
buf 69 kern/vfs_bio.c LIST_HEAD(bufhashhdr, buf) *bufhashtbl, invalhash;
buf 86 kern/vfs_bio.c TAILQ_HEAD(bqueues, buf) bufqueues[BQUEUES];
buf 98 kern/vfs_bio.c struct buf *buf_get(size_t);
buf 99 kern/vfs_bio.c struct buf *buf_stub(struct vnode *, daddr64_t);
buf 100 kern/vfs_bio.c void buf_put(struct buf *);
buf 108 kern/vfs_bio.c struct buf *bio_doread(struct vnode *, daddr64_t, int, int);
buf 109 kern/vfs_bio.c struct buf *getnewbuf(size_t, int, int, int *);
buf 110 kern/vfs_bio.c void buf_init(struct buf *, int);
buf 111 kern/vfs_bio.c void bread_cluster_callback(struct buf *);
buf 164 kern/vfs_bio.c bremfree(struct buf *bp)
buf 195 kern/vfs_bio.c buf_init(struct buf *bp, int size)
buf 221 kern/vfs_bio.c struct buf *
buf 224 kern/vfs_bio.c struct buf *bp;
buf 261 kern/vfs_bio.c struct buf *
buf 265 kern/vfs_bio.c struct buf *bp;
buf 302 kern/vfs_bio.c buf_put(struct buf *bp)
buf 342 kern/vfs_bio.c pool_init(&bufpool, sizeof(struct buf), 0, 0, 0, "bufpl", NULL);
buf 376 kern/vfs_bio.c struct buf *
buf 379 kern/vfs_bio.c struct buf *bp;
buf 407 kern/vfs_bio.c struct buf **bpp)
buf 409 kern/vfs_bio.c struct buf *bp;
buf 424 kern/vfs_bio.c int rasizes[], int nrablks, struct ucred *cred, struct buf **bpp)
buf 426 kern/vfs_bio.c struct buf *bp;
buf 451 kern/vfs_bio.c bread_cluster_callback(struct buf *bp)
buf 454 kern/vfs_bio.c struct buf **xbpp;
buf 456 kern/vfs_bio.c xbpp = (struct buf **)bp->b_saveaddr;
buf 470 kern/vfs_bio.c bread_cluster(struct vnode *vp, daddr64_t blkno, int size, struct buf **rbpp)
buf 472 kern/vfs_bio.c struct buf *bp, **xbpp;
buf 493 kern/vfs_bio.c xbpp = malloc((howmany + 1) * sizeof(struct buf *), M_TEMP, M_NOWAIT);
buf 561 kern/vfs_bio.c bwrite(struct buf *bp)
buf 650 kern/vfs_bio.c bdwrite(struct buf *bp)
buf 696 kern/vfs_bio.c bawrite(struct buf *bp)
buf 707 kern/vfs_bio.c buf_dirty(struct buf *bp)
buf 722 kern/vfs_bio.c buf_undirty(struct buf *bp)
buf 737 kern/vfs_bio.c brelse(struct buf *bp)
buf 841 kern/vfs_bio.c struct buf *
buf 844 kern/vfs_bio.c struct buf *bp;
buf 864 kern/vfs_bio.c struct buf *
buf 868 kern/vfs_bio.c struct buf *bp, *nb = NULL;
buf 940 kern/vfs_bio.c struct buf *
buf 943 kern/vfs_bio.c struct buf *bp;
buf 956 kern/vfs_bio.c struct buf *
buf 959 kern/vfs_bio.c struct buf *bp;
buf 1076 kern/vfs_bio.c struct buf *bp;
buf 1138 kern/vfs_bio.c biowait(struct buf *bp)
buf 1178 kern/vfs_bio.c biodone(struct buf *bp)
buf 1223 kern/vfs_bio.c struct buf *bp;
buf 46 kern/vfs_cluster.c void cluster_wbuild(struct vnode *, struct buf *, long, daddr64_t, int,
buf 49 kern/vfs_cluster.c struct buf *);
buf 62 kern/vfs_cluster.c cluster_write(struct buf *bp, struct cluster_info *ci, u_quad_t filesize)
buf 94 kern/vfs_cluster.c struct buf **bpp, **endbp;
buf 171 kern/vfs_cluster.c cluster_wbuild(struct vnode *vp, struct buf *last_bp, long size,
buf 174 kern/vfs_cluster.c struct buf *bp;
buf 226 kern/vfs_cluster.c struct buf *last_bp)
buf 233 kern/vfs_cluster.c buflist = malloc(sizeof(struct buf *) * (len + 1) + sizeof(*buflist),
buf 236 kern/vfs_cluster.c buflist->bs_children = (struct buf **)(buflist + 1);
buf 447 kern/vfs_getcwd.c error = copyout(bp, SCARG(uap, buf), lenused);
buf 1181 kern/vfs_subr.c char buf[64];
buf 1188 kern/vfs_subr.c buf[0] = '\0';
buf 1190 kern/vfs_subr.c strlcat(buf, "|VROOT", sizeof buf);
buf 1192 kern/vfs_subr.c strlcat(buf, "|VTEXT", sizeof buf);
buf 1194 kern/vfs_subr.c strlcat(buf, "|VSYSTEM", sizeof buf);
buf 1196 kern/vfs_subr.c strlcat(buf, "|VXLOCK", sizeof buf);
buf 1198 kern/vfs_subr.c strlcat(buf, "|VXWANT", sizeof buf);
buf 1200 kern/vfs_subr.c strlcat(buf, "|VBIOWAIT", sizeof buf);
buf 1202 kern/vfs_subr.c strlcat(buf, "|VBIOONFREELIST", sizeof buf);
buf 1204 kern/vfs_subr.c strlcat(buf, "|VBIOONSYNCLIST", sizeof buf);
buf 1206 kern/vfs_subr.c strlcat(buf, "|VALIASED", sizeof buf);
buf 1207 kern/vfs_subr.c if (buf[0] != '\0')
buf 1208 kern/vfs_subr.c printf(" flags (%s)", &buf[1]);
buf 1683 kern/vfs_subr.c struct buf *bp;
buf 1823 kern/vfs_subr.c struct buf *bp;
buf 1824 kern/vfs_subr.c struct buf *nbp, *blist;
buf 1901 kern/vfs_subr.c struct buf *bp, *nbp;
buf 1947 kern/vfs_subr.c bgetvp(struct vnode *vp, struct buf *bp)
buf 1972 kern/vfs_subr.c brelvp(struct buf *bp)
buf 2019 kern/vfs_subr.c buf_replacevnode(struct buf *bp, struct vnode *newvp)
buf 2045 kern/vfs_subr.c reassignbuf(struct buf *bp)
buf 2176 kern/vfs_subr.c vfs_buf_print(struct buf *bp, int full, int (*pr)(const char *, ...))
buf 2218 kern/vfs_subr.c struct buf *bp;
buf 584 kern/vfs_syscalls.c return (copyout_statfs(sp, SCARG(uap, buf), p));
buf 620 kern/vfs_syscalls.c return (copyout_statfs(sp, SCARG(uap, buf), p));
buf 641 kern/vfs_syscalls.c sfsp = SCARG(uap, buf);
buf 1153 kern/vfs_syscalls.c return (copyout(sp, SCARG(uap, buf), sizeof(sp)));
buf 1607 kern/vfs_syscalls.c aiov.iov_base = SCARG(uap, buf);
buf 2335 kern/vfs_syscalls.c aiov.iov_base = SCARG(uap, buf);
buf 2468 kern/vfs_syscalls.c return (dofileread(p, fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
buf 2544 kern/vfs_syscalls.c return (dofilewrite(p, fd, fp, SCARG(uap, buf), SCARG(uap, nbyte),
buf 1082 kern/vnode_if.c int VOP_STRATEGY(struct buf *bp)
buf 1105 kern/vnode_if.c int VOP_BWRITE(struct buf *bp)
buf 134 lib/libsa/cd9660.c void *buf;
buf 144 lib/libsa/cd9660.c buf = alloc(buf_size = ISO_DEFAULT_BLOCK_SIZE);
buf 145 lib/libsa/cd9660.c dp = (struct iso_directory_record *)buf;
buf 146 lib/libsa/cd9660.c vd = buf;
buf 150 lib/libsa/cd9660.c ISO_DEFAULT_BLOCK_SIZE, buf, &nread);
buf 173 lib/libsa/cd9660.c free(buf, ISO_DEFAULT_BLOCK_SIZE);
buf 174 lib/libsa/cd9660.c buf = alloc(buf_size = roundup(psize, ISO_DEFAULT_BLOCK_SIZE));
buf 179 lib/libsa/cd9660.c buf_size, buf, &nread);
buf 188 lib/libsa/cd9660.c pp = (struct ptable_ent *)buf;
buf 200 lib/libsa/cd9660.c if ((void *)pp >= buf + psize)
buf 212 lib/libsa/cd9660.c while ((void *)pp < buf + psize) {
buf 230 lib/libsa/cd9660.c buf, &nread);
buf 237 lib/libsa/cd9660.c dp = (struct iso_directory_record *)buf;
buf 240 lib/libsa/cd9660.c if ((void *)dp == buf)
buf 268 lib/libsa/cd9660.c free(buf, buf_size);
buf 275 lib/libsa/cd9660.c free(buf, buf_size);
buf 297 lib/libsa/cd9660.c char buf[ISO_DEFAULT_BLOCK_SIZE];
buf 307 lib/libsa/cd9660.c dp = buf;
buf 330 lib/libsa/cd9660.c if (dp == buf)
buf 331 lib/libsa/cd9660.c bcopy(buf + off, start, nread);
buf 37 lib/libsa/cd9660.h int cd9660_read(struct open_file *f, void *buf,
buf 39 lib/libsa/cd9660.h int cd9660_write(struct open_file *f, void *buf,
buf 263 lib/libsa/cread.c read(int fd, void *buf, size_t len)
buf 266 lib/libsa/cread.c unsigned char *start = buf; /* starting point for crc computation */
buf 275 lib/libsa/cread.c s->stream.next_out = buf;
buf 46 lib/libsa/ctime.c static char buf[64];
buf 70 lib/libsa/ctime.c snprintf(buf, sizeof buf, "%s %s %d %d:%d:%d %d\n",
buf 74 lib/libsa/ctime.c return buf;
buf 40 lib/libsa/disklabel.c getdisklabel(const char *buf, struct disklabel *lp)
buf 45 lib/libsa/disklabel.c elp = (struct disklabel *)(buf + DEV_BSIZE - sizeof(*dlp));
buf 46 lib/libsa/disklabel.c for (dlp = (struct disklabel *)buf; dlp <= elp;
buf 44 lib/libsa/getfile.c char buf[100];
buf 48 lib/libsa/getfile.c gets(buf);
buf 49 lib/libsa/getfile.c if (buf[0] == CTRL('d') && buf[1] == 0)
buf 51 lib/libsa/getfile.c } while ((fd = open(buf, mode)) < 0);
buf 38 lib/libsa/gets.c gets(char *buf)
buf 43 lib/libsa/gets.c for (lp = buf;;)
buf 52 lib/libsa/gets.c if (lp > buf) {
buf 61 lib/libsa/gets.c if (lp > buf)
buf 69 lib/libsa/gets.c for (p = buf; p < lp; ++p)
buf 78 lib/libsa/gets.c lp = buf;
buf 414 lib/libsa/net.c static char buf[sizeof(".255.255.255.255")];
buf 417 lib/libsa/net.c cp = &buf[sizeof buf];
buf 228 lib/libsa/nfs.c nfs_readlink(struct nfs_iodesc *d, char *buf)
buf 262 lib/libsa/nfs.c bcopy(rdata.d.path, buf, rdata.d.len);
buf 263 lib/libsa/nfs.c buf[rdata.d.len] = 0;
buf 517 lib/libsa/nfs.c nfs_read(struct open_file *f, void *buf, size_t size, size_t *resid)
buf 521 lib/libsa/nfs.c char *addr = buf;
buf 558 lib/libsa/nfs.c nfs_write(struct open_file *f, void *buf, size_t size, size_t *resid)
buf 35 lib/libsa/nfs.h int nfs_read(struct open_file *f, void *buf,
buf 37 lib/libsa/nfs.h int nfs_write(struct open_file *f, void *buf,
buf 82 lib/libsa/nullfs.c null_read(struct open_file *f, void *buf, size_t size, size_t *resid)
buf 88 lib/libsa/nullfs.c null_write(struct open_file *f, void *buf, size_t size, size_t *resid)
buf 203 lib/libsa/printf.c char *p, buf[(sizeof(u_int64_t) * NBBY / 4) + 1];
buf 207 lib/libsa/printf.c p = buf;
buf 213 lib/libsa/printf.c } while (p > buf);
buf 239 lib/libsa/printf.c char *p, buf[(sizeof(long) * NBBY / 3) + 1];
buf 241 lib/libsa/printf.c p = buf;
buf 247 lib/libsa/printf.c } while (p > buf);
buf 255 lib/libsa/printf.c char *p, buf[(sizeof(u_int64_t) * NBBY / 3) + 1];
buf 257 lib/libsa/printf.c p = buf;
buf 263 lib/libsa/printf.c } while (p > buf);
buf 59 lib/libsa/snprintf.c snprintf(char *buf, size_t len, const char *fmt, ...)
buf 63 lib/libsa/snprintf.c sbuf = buf;
buf 75 lib/libsa/snprintf.c return sbuf - buf;
buf 65 lib/libsa/stand.h int (*read)(struct open_file *f, void *buf,
buf 67 lib/libsa/stand.h int (*write)(struct open_file *f, void *buf,
buf 87 lib/libsa/stand.h void *buf, size_t *rsize);
buf 175 lib/libsa/stand.h ssize_t null_read(struct open_file *f, void *buf,
buf 177 lib/libsa/stand.h ssize_t null_write(struct open_file *f, void *buf,
buf 113 lib/libsa/ufs.c char *buf;
buf 120 lib/libsa/ufs.c buf = alloc(fs->fs_bsize);
buf 124 lib/libsa/ufs.c buf, &rsize);
buf 135 lib/libsa/ufs.c dp = (struct ufs1_dinode *)buf;
buf 151 lib/libsa/ufs.c free(buf, fs->fs_bsize);
buf 321 lib/libsa/ufs.c char *buf;
buf 327 lib/libsa/ufs.c rc = buf_read_file(f, &buf, &buf_size);
buf 331 lib/libsa/ufs.c dp = (struct direct *)buf;
buf 332 lib/libsa/ufs.c edp = (struct direct *)(buf + buf_size);
buf 362 lib/libsa/ufs.c char namebuf[MAXPATHLEN+1], *cp, *ncp, *buf = NULL;
buf 491 lib/libsa/ufs.c if (!buf)
buf 492 lib/libsa/ufs.c buf = alloc(fs->fs_bsize);
buf 500 lib/libsa/ufs.c fs->fs_bsize, buf, &buf_size);
buf 504 lib/libsa/ufs.c bcopy((char *)buf, namebuf, (unsigned)link_len);
buf 527 lib/libsa/ufs.c if (buf)
buf 528 lib/libsa/ufs.c free(buf, fs->fs_bsize);
buf 565 lib/libsa/ufs.c char *buf, *addr = start;
buf 573 lib/libsa/ufs.c rc = buf_read_file(f, &buf, &buf_size);
buf 581 lib/libsa/ufs.c bcopy(buf, addr, csize);
buf 644 lib/libsa/ufs.c char *buf;
buf 656 lib/libsa/ufs.c if ((rc = buf_read_file(f, &buf, &buf_size)) != 0)
buf 659 lib/libsa/ufs.c dp = (struct direct *)buf;
buf 660 lib/libsa/ufs.c edp = (struct direct *)(buf + buf_size);
buf 37 lib/libsa/ufs.h int ufs_read(struct open_file *f, void *buf,
buf 39 lib/libsa/ufs.h int ufs_write(struct open_file *f, void *buf,
buf 42 lib/libsa/unixdev.c unixstrategy(void *devdata, int rw, daddr_t blk, size_t size, void *buf,
buf 52 lib/libsa/unixdev.c rc = (rw==F_READ) ? uread((int)devdata, buf, size) :
buf 53 lib/libsa/unixdev.c uwrite((int)devdata, buf, size);
buf 14 lib/libz/adler32.c #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;}
buf 15 lib/libz/adler32.c #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1);
buf 16 lib/libz/adler32.c #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2);
buf 17 lib/libz/adler32.c #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4);
buf 18 lib/libz/adler32.c #define DO16(buf) DO8(buf,0); DO8(buf,8);
buf 56 lib/libz/adler32.c uLong ZEXPORT adler32(adler, buf, len)
buf 58 lib/libz/adler32.c const Bytef *buf;
buf 70 lib/libz/adler32.c adler += buf[0];
buf 80 lib/libz/adler32.c if (buf == Z_NULL)
buf 86 lib/libz/adler32.c adler += *buf++;
buf 100 lib/libz/adler32.c DO16(buf); /* 16 sums unrolled */
buf 101 lib/libz/adler32.c buf += 16;
buf 111 lib/libz/adler32.c DO16(buf);
buf 112 lib/libz/adler32.c buf += 16;
buf 115 lib/libz/adler32.c adler += *buf++;
buf 214 lib/libz/crc32.c #define DO1 crc = crc_table[0][((int)crc ^ (*buf++)) & 0xff] ^ (crc >> 8)
buf 218 lib/libz/crc32.c unsigned long ZEXPORT crc32(crc, buf, len)
buf 220 lib/libz/crc32.c const unsigned char FAR *buf;
buf 223 lib/libz/crc32.c if (buf == Z_NULL) return 0UL;
buf 236 lib/libz/crc32.c return crc32_little(crc, buf, len);
buf 238 lib/libz/crc32.c return crc32_big(crc, buf, len);
buf 261 lib/libz/crc32.c local unsigned long crc32_little(crc, buf, len)
buf 263 lib/libz/crc32.c const unsigned char FAR *buf;
buf 271 lib/libz/crc32.c while (len && ((ptrdiff_t)buf & 3)) {
buf 272 lib/libz/crc32.c c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
buf 276 lib/libz/crc32.c buf4 = (const u4 FAR *)(const void FAR *)buf;
buf 285 lib/libz/crc32.c buf = (const unsigned char FAR *)buf4;
buf 288 lib/libz/crc32.c c = crc_table[0][(c ^ *buf++) & 0xff] ^ (c >> 8);
buf 301 lib/libz/crc32.c local unsigned long crc32_big(crc, buf, len)
buf 303 lib/libz/crc32.c const unsigned char FAR *buf;
buf 311 lib/libz/crc32.c while (len && ((ptrdiff_t)buf & 3)) {
buf 312 lib/libz/crc32.c c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
buf 316 lib/libz/crc32.c buf4 = (const u4 FAR *)(const void FAR *)buf;
buf 327 lib/libz/crc32.c buf = (const unsigned char FAR *)buf4;
buf 330 lib/libz/crc32.c c = crc_table[4][(c >> 24) ^ *buf++] ^ (c << 8);
buf 101 lib/libz/inflate.c local unsigned syncsearch OF((unsigned FAR *have, unsigned char FAR *buf,
buf 378 lib/libz/inflate.c # define UPDATE(check, buf, len) \
buf 379 lib/libz/inflate.c (state->flags ? crc32(check, buf, len) : adler32(check, buf, len))
buf 381 lib/libz/inflate.c # define UPDATE(check, buf, len) adler32(check, buf, len)
buf 1321 lib/libz/inflate.c local unsigned syncsearch(have, buf, len)
buf 1323 lib/libz/inflate.c unsigned char FAR *buf;
buf 1332 lib/libz/inflate.c if ((int)(buf[next]) == (got < 2 ? 0 : 0xff))
buf 1334 lib/libz/inflate.c else if (buf[next])
buf 1349 lib/libz/inflate.c unsigned char buf[4]; /* to restore bit buffer to byte string */
buf 1364 lib/libz/inflate.c buf[len++] = (unsigned char)(state->hold);
buf 1369 lib/libz/inflate.c syncsearch(&(state->have), buf, len);
buf 1107 lib/libz/zlib.h ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len));
buf 1116 lib/libz/zlib.h voidpc buf, unsigned len));
buf 1143 lib/libz/zlib.h ZEXTERN char * ZEXPORT gzgets OF((gzFile file, char *buf, int len));
buf 1261 lib/libz/zlib.h ZEXTERN uLong ZEXPORT adler32 OF((uLong adler, const Bytef *buf, uInt len));
buf 1286 lib/libz/zlib.h ZEXTERN uLong ZEXPORT crc32 OF((uLong crc, const Bytef *buf, uInt len));
buf 61 miscfs/procfs/procfs_linux.c char buf[512], *cp;
buf 64 miscfs/procfs/procfs_linux.c len = snprintf(buf, sizeof buf,
buf 92 miscfs/procfs/procfs_linux.c if (len <= 0 || len >= sizeof buf ||
buf 97 miscfs/procfs/procfs_linux.c cp = buf + uio->uio_offset;
buf 107 miscfs/procfs/procfs_linux.c char buf[512], *cp;
buf 110 miscfs/procfs/procfs_linux.c len = sizeof buf;
buf 111 miscfs/procfs/procfs_linux.c if (procfs_getcpuinfstr(buf, &len) < 0)
buf 114 miscfs/procfs/procfs_linux.c if (len == 0 || uio->uio_offset > sizeof(buf))
buf 118 miscfs/procfs/procfs_linux.c cp = buf + uio->uio_offset;
buf 129 miscfs/procfs/procfs_linux.c procfs_getcpuinfstr(char *buf, int *len)
buf 254 miscfs/procfs/procfs_subr.c vfs_getuserstr(struct uio *uio, char *buf, int *buflenp)
buf 269 miscfs/procfs/procfs_subr.c if ((error = uiomove(buf, xlen, uio)) != 0)
buf 276 miscfs/procfs/procfs_subr.c buf[xlen] = '\0';
buf 277 miscfs/procfs/procfs_subr.c xlen = strlen(buf);
buf 278 miscfs/procfs/procfs_subr.c if (xlen > 0 && buf[xlen-1] == '\n')
buf 279 miscfs/procfs/procfs_subr.c buf[--xlen] = '\0';
buf 286 miscfs/procfs/procfs_subr.c vfs_findname(const vfs_namemap_t *nm, char *buf, int buflen)
buf 289 miscfs/procfs/procfs_subr.c if (bcmp(buf, nm->nm_name, buflen + 1) == 0)
buf 552 miscfs/procfs/procfs_vnops.c char buf[16]; /* should be enough */
buf 555 miscfs/procfs/procfs_vnops.c len = snprintf(buf, sizeof buf, "%ld", (long)curproc->p_pid);
buf 556 miscfs/procfs/procfs_vnops.c if (len == -1 || len >= sizeof buf) {
buf 1015 miscfs/procfs/procfs_vnops.c char buf[16]; /* should be enough */
buf 1019 miscfs/procfs/procfs_vnops.c len = snprintf(buf, sizeof buf, "%ld", (long)curproc->p_pid);
buf 1021 miscfs/procfs/procfs_vnops.c len = strlcpy(buf, "curproc", sizeof buf);
buf 1024 miscfs/procfs/procfs_vnops.c if (len == -1 || len >= sizeof buf)
buf 1027 miscfs/procfs/procfs_vnops.c return (uiomove(buf, len, ap->a_uio));
buf 220 miscfs/specfs/spec_vnops.c struct buf *bp;
buf 309 miscfs/specfs/spec_vnops.c struct buf *bp;
buf 443 miscfs/specfs/spec_vnops.c struct buf *bp;
buf 444 miscfs/specfs/spec_vnops.c struct buf *nbp;
buf 486 miscfs/specfs/spec_vnops.c struct buf *bp = ap->a_bp;
buf 89 miscfs/specfs/specdev.h struct buf;
buf 303 msdosfs/denode.h int readde(struct denode *, struct buf **, struct direntry **);
buf 304 msdosfs/denode.h int readep(struct msdosfsmount *, uint32_t, uint32_t, struct buf **, struct direntry **);
buf 98 msdosfs/fat.h int extendfile(struct denode *, uint32_t, struct buf **, uint32_t *, int);
buf 184 msdosfs/msdosfs_denode.c struct buf *bp;
buf 342 msdosfs/msdosfs_denode.c struct buf *bp;
buf 389 msdosfs/msdosfs_denode.c struct buf *bp;
buf 88 msdosfs/msdosfs_fat.c void updatefats(struct msdosfsmount *, struct buf *, uint32_t);
buf 151 msdosfs/msdosfs_fat.c struct buf *bp = NULL;
buf 337 msdosfs/msdosfs_fat.c struct buf *bp;
buf 341 msdosfs/msdosfs_fat.c struct buf *bpn;
buf 515 msdosfs/msdosfs_fat.c struct buf *bp;
buf 620 msdosfs/msdosfs_fat.c struct buf *bp;
buf 866 msdosfs/msdosfs_fat.c struct buf *bp = NULL;
buf 925 msdosfs/msdosfs_fat.c struct buf *bp = NULL;
buf 991 msdosfs/msdosfs_fat.c struct buf **bpp;
buf 999 msdosfs/msdosfs_fat.c struct buf *bp;
buf 106 msdosfs/msdosfs_lookup.c struct buf *bp = 0;
buf 606 msdosfs/msdosfs_lookup.c struct buf *bp;
buf 730 msdosfs/msdosfs_lookup.c struct buf *bp;
buf 808 msdosfs/msdosfs_lookup.c struct buf *bp = NULL;
buf 892 msdosfs/msdosfs_lookup.c struct buf **bpp;
buf 924 msdosfs/msdosfs_lookup.c struct buf **bpp;
buf 947 msdosfs/msdosfs_lookup.c struct buf *bp;
buf 1019 msdosfs/msdosfs_lookup.c struct buf *bp;
buf 1082 msdosfs/msdosfs_lookup.c struct buf *bp;
buf 258 msdosfs/msdosfs_vfsops.c struct buf *bp;
buf 438 msdosfs/msdosfs_vnops.c struct buf *bp;
buf 524 msdosfs/msdosfs_vnops.c struct buf *bp;
buf 869 msdosfs/msdosfs_vnops.c struct buf *bp;
buf 1198 msdosfs/msdosfs_vnops.c struct buf *bp;
buf 1388 msdosfs/msdosfs_vnops.c struct buf *bp;
buf 1722 msdosfs/msdosfs_vnops.c struct buf *bp = ap->a_bp;
buf 833 net/if_ethersubr.c ether_crc32_le(const u_int8_t *buf, size_t len)
buf 841 net/if_ethersubr.c c = buf[i];
buf 855 net/if_ethersubr.c ether_crc32_be(const u_int8_t *buf, size_t len)
buf 863 net/if_ethersubr.c c = buf[i];
buf 877 net/if_ethersubr.c ether_crc32_le(const u_int8_t *buf, size_t len)
buf 891 net/if_ethersubr.c crc ^= buf[i];
buf 900 net/if_ethersubr.c ether_crc32_be(const u_int8_t *buf, size_t len)
buf 918 net/if_ethersubr.c data = buf[i];
buf 1571 net/if_ppp.c char buf[3*MAX_DUMP_BYTES+4];
buf 1572 net/if_ppp.c char *bp = buf;
buf 1581 net/if_ppp.c if (bp > buf + sizeof(buf) - 4)
buf 1588 net/if_ppp.c if (bp > buf + sizeof(buf) - 3)
buf 1598 net/if_ppp.c printf("%s\n", buf);
buf 2007 net/if_spppsubr.c u_char *buf, *r, *p;
buf 2014 net/if_spppsubr.c buf = r = malloc (len, M_TEMP, M_NOWAIT);
buf 2015 net/if_spppsubr.c if (! buf)
buf 2026 net/if_spppsubr.c free(buf, M_TEMP);
buf 2088 net/if_spppsubr.c sppp_cp_send(sp, PPP_LCP, CONF_REJ, h->ident, rlen, buf);
buf 2186 net/if_spppsubr.c sppp_cp_send(sp, PPP_LCP, CONF_REJ, h->ident, rlen, buf);
buf 2190 net/if_spppsubr.c sppp_cp_send(sp, PPP_LCP, CONF_NAK, h->ident, rlen, buf);
buf 2203 net/if_spppsubr.c free(buf, M_TEMP);
buf 2583 net/if_spppsubr.c u_char *buf, *r, *p;
buf 2594 net/if_spppsubr.c buf = r = malloc ((len < 6? 6: len), M_TEMP, M_NOWAIT);
buf 2595 net/if_spppsubr.c if (! buf)
buf 2605 net/if_spppsubr.c free(buf, M_TEMP);
buf 2643 net/if_spppsubr.c sppp_cp_send(sp, PPP_IPCP, CONF_REJ, h->ident, rlen, buf);
buf 2726 net/if_spppsubr.c buf[0] = IPCP_OPT_ADDRESS;
buf 2727 net/if_spppsubr.c buf[1] = 6;
buf 2728 net/if_spppsubr.c buf[2] = hisaddr >> 24;
buf 2729 net/if_spppsubr.c buf[3] = hisaddr >> 16;
buf 2730 net/if_spppsubr.c buf[4] = hisaddr >> 8;
buf 2731 net/if_spppsubr.c buf[5] = hisaddr;
buf 2740 net/if_spppsubr.c sppp_cp_send (sp, PPP_IPCP, CONF_NAK, h->ident, rlen, buf);
buf 2749 net/if_spppsubr.c free(buf, M_TEMP);
buf 4239 net/if_spppsubr.c static char buf[12];
buf 4253 net/if_spppsubr.c snprintf (buf, sizeof buf, "0x%x", type);
buf 4254 net/if_spppsubr.c return buf;
buf 4260 net/if_spppsubr.c static char buf[12];
buf 4276 net/if_spppsubr.c snprintf (buf, sizeof buf, "0x%x", type);
buf 4277 net/if_spppsubr.c return buf;
buf 4283 net/if_spppsubr.c static char buf[12];
buf 4293 net/if_spppsubr.c snprintf (buf, sizeof buf, "0x%x", opt);
buf 4294 net/if_spppsubr.c return buf;
buf 4300 net/if_spppsubr.c static char buf[12];
buf 4306 net/if_spppsubr.c snprintf (buf, sizeof buf, "0x%x", opt);
buf 4307 net/if_spppsubr.c return buf;
buf 4344 net/if_spppsubr.c static char buf[12];
buf 4351 net/if_spppsubr.c snprintf(buf, sizeof buf, "0x%x", (unsigned)proto);
buf 4352 net/if_spppsubr.c return buf;
buf 1390 net/if_trunk.c trunk_lb_gethdr(struct mbuf *m, u_int off, u_int len, void *buf)
buf 1395 net/if_trunk.c m_copydata(m, off, len, buf);
buf 1396 net/if_trunk.c return (buf);
buf 652 net/pf_if.c pfi_get_ifaces(const char *name, struct pfi_kif *buf, int *size)
buf 666 net/pf_if.c if (copyout(p, buf++, sizeof(*buf))) {
buf 2051 net/pf_ioctl.c error = altq_getqstats(altq, pq->buf, &nbytes);
buf 1400 net/pfvar.h void *buf;
buf 1077 net/ppp_tty.c char buf[3*MAX_DUMP_BYTES+4];
buf 1078 net/ppp_tty.c char *bp = buf;
buf 1082 net/ppp_tty.c if (bp >= buf + sizeof(buf) - 3) {
buf 1092 net/ppp_tty.c printf("%s\n", buf);
buf 478 net/slcompress.c sl_uncompress_tcp_core(buf, buflen, total_len, type, comp, hdrp, hlenp)
buf 479 net/slcompress.c u_char *buf;
buf 497 net/slcompress.c ip = (struct ip *) buf;
buf 528 net/slcompress.c cp = buf;
buf 595 net/slcompress.c vjlen = cp - buf;
buf 131 net/zlib.c typedef uLong (*check_func) OF((uLong check, Bytef *buf, uInt len));
buf 422 net/zlib.c local ulg ct_flush_block OF((deflate_state *s, charf *buf, ulg stored_len,
buf 425 net/zlib.c local void ct_stored_block OF((deflate_state *s, charf *buf, ulg stored_len,
buf 550 net/zlib.c local int read_buf OF((z_stream *strm, charf *buf, unsigned size));
buf 889 net/zlib.c local int read_buf(strm, buf, size)
buf 891 net/zlib.c charf *buf;
buf 905 net/zlib.c zmemcpy(buf, strm->next_in, len);
buf 1599 net/zlib.c local void copy_block OF((deflate_state *s, charf *buf, unsigned len,
buf 2236 net/zlib.c local void ct_stored_block(s, buf, stored_len, eof)
buf 2238 net/zlib.c charf *buf; /* input block */
buf 2246 net/zlib.c copy_block(s, buf, (unsigned)stored_len, 1); /* with header */
buf 2293 net/zlib.c local ulg ct_flush_block(s, buf, stored_len, flush)
buf 2295 net/zlib.c charf *buf; /* input block, or NULL if too old */
buf 2347 net/zlib.c if (buf == (charf*)0) error ("block vanished");
buf 2349 net/zlib.c copy_block(buf, (unsigned)stored_len, 0); /* without header */
buf 2367 net/zlib.c if (buf != (char*)0) /* force stored block */
buf 2369 net/zlib.c if (stored_len+4 <= opt_lenb && buf != (char*)0)
buf 2379 net/zlib.c ct_stored_block(s, buf, stored_len, eof);
buf 2584 net/zlib.c local void copy_block(s, buf, len, header)
buf 2586 net/zlib.c charf *buf; /* the input data */
buf 2604 net/zlib.c put_byte(s, *buf++);
buf 4601 net/zlib.c #define DO1(buf) {s1 += *buf++; s2 += s1;}
buf 4602 net/zlib.c #define DO2(buf) DO1(buf); DO1(buf);
buf 4603 net/zlib.c #define DO4(buf) DO2(buf); DO2(buf);
buf 4604 net/zlib.c #define DO8(buf) DO4(buf); DO4(buf);
buf 4605 net/zlib.c #define DO16(buf) DO8(buf); DO8(buf);
buf 4608 net/zlib.c uLong adler32(adler, buf, len)
buf 4610 net/zlib.c Bytef *buf;
buf 4617 net/zlib.c if (buf == Z_NULL) return 1L;
buf 4623 net/zlib.c DO16(buf);
buf 4627 net/zlib.c DO1(buf);
buf 611 net/zlib.h extern uLong adler32 OF((uLong adler, Bytef *buf, uInt len));
buf 591 net80211/ieee80211_crypto.c ieee80211_crc_update(u_int32_t crc, const u_int8_t *buf, int len)
buf 595 net80211/ieee80211_crypto.c for (endbuf = buf + len; buf < endbuf; buf++)
buf 596 net80211/ieee80211_crypto.c crc = ieee80211_crc_table[(crc ^ *buf) & 0xff] ^ (crc >> 8);
buf 152 net80211/ieee80211_proto.c ieee80211_dump_pkt(const u_int8_t *buf, int len, int rate, int rssi)
buf 157 net80211/ieee80211_proto.c wh = (struct ieee80211_frame *)buf;
buf 205 net80211/ieee80211_proto.c printf("%02x", buf[i]);
buf 230 netbt/hci_unit.c hci_send_cmd(struct hci_unit *unit, uint16_t opcode, void *buf, uint8_t len)
buf 249 netbt/hci_unit.c KASSERT(buf != NULL);
buf 251 netbt/hci_unit.c m_copyback(m, sizeof(hci_cmd_hdr_t), len, buf);
buf 413 netbt/l2cap_signal.c uint8_t buf[L2CAP_MTU_MINIMUM];
buf 495 netbt/l2cap_signal.c if (len + sizeof(opt) + L2CAP_OPT_MTU_SIZE > sizeof(buf))
buf 499 netbt/l2cap_signal.c memcpy(buf + len, &opt, sizeof(opt));
buf 502 netbt/l2cap_signal.c memcpy(buf + len, &val, L2CAP_OPT_MTU_SIZE);
buf 537 netbt/l2cap_signal.c if (len + sizeof(opt) > sizeof(buf))
buf 541 netbt/l2cap_signal.c buf[len++] = opt.type;
buf 542 netbt/l2cap_signal.c buf[len++] = 0;
buf 551 netbt/l2cap_signal.c memcpy(buf, &rp, sizeof(rp));
buf 552 netbt/l2cap_signal.c l2cap_send_signal(link, L2CAP_CONFIG_RSP, cmd.ident, len, buf);
buf 1024 netbt/l2cap_signal.c uint8_t *next, buf[L2CAP_MTU_MINIMUM];
buf 1032 netbt/l2cap_signal.c cp = (l2cap_cfg_req_cp *)buf;
buf 1036 netbt/l2cap_signal.c next = buf + sizeof(l2cap_cfg_req_cp);
buf 1070 netbt/l2cap_signal.c chan->lc_link->hl_lastid, (int)(next - buf), buf);
buf 322 netinet/ip_icmp.c char buf[4 * sizeof("123")];
buf 324 netinet/ip_icmp.c strlcpy(buf, inet_ntoa(ip->ip_dst), sizeof buf);
buf 326 netinet/ip_icmp.c inet_ntoa(ip->ip_src), buf, icmplen);
buf 571 netinet/ip_icmp.c char buf[4 * sizeof("123")];
buf 572 netinet/ip_icmp.c strlcpy(buf, inet_ntoa(icp->icmp_ip.ip_dst),
buf 573 netinet/ip_icmp.c sizeof buf);
buf 576 netinet/ip_icmp.c buf, inet_ntoa(icp->icmp_gwaddr));
buf 793 netinet/ip_icmp.c char buf[4 * sizeof("123")];
buf 795 netinet/ip_icmp.c strlcpy(buf, inet_ntoa(ip->ip_dst), sizeof buf);
buf 797 netinet/ip_icmp.c buf, inet_ntoa(ip->ip_src));
buf 175 netinet/ip_input.c static char buf[4*sizeof "123"];
buf 178 netinet/ip_input.c snprintf(buf, sizeof buf, "%d.%d.%d.%d",
buf 181 netinet/ip_input.c return (buf);
buf 970 netinet/ip_ipsp.c static char buf[4][4 * sizeof "123" + 4];
buf 975 netinet/ip_ipsp.c snprintf(buf[i], sizeof buf[0], "%d.%d.%d.%d",
buf 978 netinet/ip_ipsp.c return (buf[i]);
buf 2164 netinet6/icmp6.c static char buf[1024];
buf 2165 netinet6/icmp6.c snprintf(buf, sizeof(buf), "(src=%s dst=%s tgt=%s)",
buf 2167 netinet6/icmp6.c return buf;
buf 2075 netinet6/ip6_output.c ip6_pcbopt(optname, buf, len, pktopt, priv, uproto)
buf 2077 netinet6/ip6_output.c u_char *buf;
buf 2090 netinet6/ip6_output.c return (ip6_setpktopt(optname, buf, len, opt, priv, 1, 0, uproto));
buf 2753 netinet6/ip6_output.c ip6_setpktopt(optname, buf, len, opt, priv, sticky, cmsg, uproto)
buf 2755 netinet6/ip6_output.c u_char *buf;
buf 2810 netinet6/ip6_output.c pktinfo = (struct in6_pktinfo *)buf;
buf 2875 netinet6/ip6_output.c hlimp = (int *)buf;
buf 2889 netinet6/ip6_output.c tclass = *(int *)buf;
buf 2908 netinet6/ip6_output.c if (len < sizeof(struct sockaddr) || len < *buf)
buf 2911 netinet6/ip6_output.c switch (((struct sockaddr *)buf)->sa_family) {
buf 2914 netinet6/ip6_output.c struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *)buf;
buf 2941 netinet6/ip6_output.c opt->ip6po_nexthop = malloc(*buf, M_IP6OPT, M_NOWAIT);
buf 2944 netinet6/ip6_output.c bcopy(buf, opt->ip6po_nexthop, *buf);
buf 2969 netinet6/ip6_output.c hbh = (struct ip6_hbh *)buf;
buf 3002 netinet6/ip6_output.c dest = (struct ip6_dest *)buf;
buf 3061 netinet6/ip6_output.c rth = (struct ip6_rthdr *)buf;
buf 3090 netinet6/ip6_output.c minmtupolicy = *(int *)buf;
buf 3103 netinet6/ip6_output.c if (uproto == IPPROTO_TCP || *(int *)buf == 0) {
buf 244 nfs/nfs.h struct uio; struct buf; struct vattr; struct nameidata; /* XXX */
buf 76 nfs/nfs_bio.c struct buf *bp = NULL, *rabp;
buf 285 nfs/nfs_bio.c struct buf *bp;
buf 456 nfs/nfs_bio.c struct buf *
buf 463 nfs/nfs_bio.c struct buf *bp;
buf 468 nfs/nfs_bio.c while (bp == (struct buf *)0) {
buf 470 nfs/nfs_bio.c return ((struct buf *)0);
buf 545 nfs/nfs_bio.c struct buf *bp;
buf 590 nfs/nfs_bio.c struct buf *bp;
buf 1722 nfs/nfs_subs.c struct buf *bp, *nbp;
buf 1765 nfs/nfs_subs.c struct buf *bp;
buf 1781 nfs/nfs_subs.c struct buf *bp;
buf 1797 nfs/nfs_subs.c struct buf *bp;
buf 1820 nfs/nfs_subs.c struct buf *bp;
buf 1853 nfs/nfs_subs.c struct buf *bp;
buf 1876 nfs/nfs_subs.c struct buf *bp;
buf 697 nfs/nfs_syscalls.c struct buf *bp, *nbp;
buf 41 nfs/nfs_var.h struct buf;
buf 66 nfs/nfs_var.h struct buf *nfs_getcacheblk(struct vnode *, daddr64_t, int, struct proc *);
buf 69 nfs/nfs_var.h int nfs_asyncio(struct buf *);
buf 70 nfs/nfs_var.h int nfs_doio(struct buf *, struct proc *);
buf 136 nfs/nfs_var.h int nfs_writebp(struct buf *, int);
buf 267 nfs/nfs_var.h int nfs_in_committed_range(struct vnode *, struct buf *);
buf 268 nfs/nfs_var.h int nfs_in_tobecommitted_range(struct vnode *, struct buf *);
buf 269 nfs/nfs_var.h void nfs_add_committed_range(struct vnode *, struct buf *);
buf 270 nfs/nfs_var.h void nfs_del_committed_range(struct vnode *, struct buf *);
buf 271 nfs/nfs_var.h void nfs_add_tobecommitted_range(struct vnode *, struct buf *);
buf 272 nfs/nfs_var.h void nfs_del_tobecommitted_range(struct vnode *, struct buf *);
buf 2601 nfs/nfs_vnops.c struct buf *bp = ap->a_bp;
buf 2648 nfs/nfs_vnops.c struct buf *bp;
buf 2650 nfs/nfs_vnops.c struct buf *nbp;
buf 2658 nfs/nfs_vnops.c struct buf *bvec[NFS_COMMITBVECSIZ];
buf 2874 nfs/nfs_vnops.c struct buf *bp;
buf 161 nfs/nfsnode.h extern TAILQ_HEAD(nfs_bufqhead, buf) nfs_bufq;
buf 65 ntfs/ntfs_compr.c u_int8_t * buf,
buf 83 ntfs/ntfs_compr.c memcpy(buf, cbuf + 2, len + 1);
buf 84 ntfs/ntfs_compr.c bzero(buf + len + 1, NTFS_COMPBLOCK_SIZE - 1 - len);
buf 101 ntfs/ntfs_compr.c buf[pos] = buf[pos + boff];
buf 106 ntfs/ntfs_compr.c buf[pos++] = cbuf[cpos++];
buf 307 ntfs/ntfs_subr.c struct buf *bp;
buf 1547 ntfs/ntfs_subr.c struct buf *bp;
buf 1660 ntfs/ntfs_subr.c struct buf *bp;
buf 1977 ntfs/ntfs_subr.c caddr_t buf,
buf 1980 ntfs/ntfs_subr.c struct fixuphdr *fhp = (struct fixuphdr *) buf;
buf 2001 ntfs/ntfs_subr.c fxp = (u_int16_t *) (buf + fhp->fh_foff);
buf 2002 ntfs/ntfs_subr.c cfxp = (u_int16_t *) (buf + ntmp->ntm_bps - 2);
buf 514 ntfs/ntfs_vfsops.c struct buf *bp;
buf 323 ntfs/ntfs_vnops.c struct buf *bp = ap->a_bp;
buf 99 scsi/cd.c void cdminphys(struct buf *);
buf 452 scsi/cd.c cdstrategy(struct buf *bp)
buf 546 scsi/cd.c struct buf *bp = 0;
buf 547 scsi/cd.c struct buf *dp;
buf 689 scsi/cd.c cdminphys(struct buf *bp)
buf 1658 scsi/cd.c u_int8_t buf[20];
buf 1662 scsi/cd.c bzero(buf, sizeof(buf));
buf 1669 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 8,
buf 1673 scsi/cd.c a->lsa.agid = buf[7] >> 6;
buf 1680 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 16,
buf 1684 scsi/cd.c dvd_copy_challenge(a->lsc.chal, &buf[4]);
buf 1691 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 12,
buf 1695 scsi/cd.c dvd_copy_key(a->lsk.key, &buf[4]);
buf 1703 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 12,
buf 1707 scsi/cd.c a->lstk.cpm = (buf[4] >> 7) & 1;
buf 1708 scsi/cd.c a->lstk.cp_sec = (buf[4] >> 6) & 1;
buf 1709 scsi/cd.c a->lstk.cgms = (buf[4] >> 4) & 3;
buf 1710 scsi/cd.c dvd_copy_key(a->lstk.title_key, &buf[5]);
buf 1717 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 8,
buf 1721 scsi/cd.c a->lsasf.asf = buf[7] & 1;
buf 1728 scsi/cd.c buf[1] = 14;
buf 1729 scsi/cd.c dvd_copy_challenge(&buf[4], a->hsc.chal);
buf 1730 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 16,
buf 1741 scsi/cd.c buf[1] = 10;
buf 1742 scsi/cd.c dvd_copy_key(&buf[4], a->hsk.key);
buf 1743 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 12,
buf 1755 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 16,
buf 1765 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 8,
buf 1769 scsi/cd.c a->lrpcs.type = (buf[4] >> 6) & 3;
buf 1770 scsi/cd.c a->lrpcs.vra = (buf[4] >> 3) & 7;
buf 1771 scsi/cd.c a->lrpcs.ucca = (buf[4]) & 7;
buf 1772 scsi/cd.c a->lrpcs.region_mask = buf[5];
buf 1773 scsi/cd.c a->lrpcs.rpc_scheme = buf[6];
buf 1780 scsi/cd.c buf[1] = 6;
buf 1781 scsi/cd.c buf[4] = a->hrpcs.pdrc;
buf 1782 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, 8,
buf 1799 scsi/cd.c u_int8_t buf[4 + 4 * 20], *bufp;
buf 1805 scsi/cd.c bzero(buf, sizeof(buf));
buf 1808 scsi/cd.c _lto2b(sizeof(buf), &cmd.bytes[7]);
buf 1811 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, sizeof(buf),
buf 1815 scsi/cd.c for (i = 0, bufp = &buf[4], layer = &s->physical.layer[0]; i < 4;
buf 1841 scsi/cd.c u_int8_t buf[8];
buf 1845 scsi/cd.c bzero(buf, sizeof(buf));
buf 1848 scsi/cd.c _lto2b(sizeof(buf), &cmd.bytes[7]);
buf 1851 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, sizeof(buf),
buf 1855 scsi/cd.c s->copyright.cpst = buf[4];
buf 1856 scsi/cd.c s->copyright.rmi = buf[5];
buf 1866 scsi/cd.c struct scsi_read_dvd_structure_data *buf;
buf 1869 scsi/cd.c buf = malloc(sizeof(*buf), M_TEMP, M_WAITOK);
buf 1870 scsi/cd.c if (buf == NULL)
buf 1872 scsi/cd.c bzero(buf, sizeof(*buf));
buf 1878 scsi/cd.c _lto2b(sizeof(*buf), cmd.length);
buf 1881 scsi/cd.c sizeof(cmd), (u_char *)buf, sizeof(*buf), CDRETRIES, 30000, NULL,
buf 1884 scsi/cd.c bcopy(buf->data, s->disckey.value, sizeof(s->disckey.value));
buf 1886 scsi/cd.c free(buf, M_TEMP);
buf 1896 scsi/cd.c u_int8_t buf[4 + 188];
buf 1900 scsi/cd.c bzero(buf, sizeof(buf));
buf 1903 scsi/cd.c _lto2b(sizeof(buf), &cmd.bytes[7]);
buf 1905 scsi/cd.c error = scsi_scsi_cmd(cd->sc_link, &cmd, sizeof(cmd), buf, sizeof(buf),
buf 1909 scsi/cd.c s->bca.len = _2btol(&buf[0]);
buf 1912 scsi/cd.c bcopy(&buf[4], s->bca.value, s->bca.len);
buf 1922 scsi/cd.c struct scsi_read_dvd_structure_data *buf;
buf 1925 scsi/cd.c buf = malloc(sizeof(*buf), M_TEMP, M_WAITOK);
buf 1926 scsi/cd.c if (buf == NULL)
buf 1928 scsi/cd.c bzero(buf, sizeof(*buf));
buf 1933 scsi/cd.c _lto2b(sizeof(*buf), cmd.length);
buf 1936 scsi/cd.c sizeof(cmd), (u_char *)buf, sizeof(*buf), CDRETRIES, 30000, NULL,
buf 1939 scsi/cd.c s->manufact.len = _2btol(buf->len);
buf 1941 scsi/cd.c bcopy(buf->data, s->manufact.value, s->manufact.len);
buf 1946 scsi/cd.c free(buf, M_TEMP);
buf 2035 scsi/cd.c struct buf *dp, *bp;
buf 312 scsi/cd.h struct buf buf_queue;
buf 394 scsi/scsi_all.h u_char buf[255]; /* 256 bytes breaks some devices. */
buf 56 scsi/scsi_base.c int datalen, int retries, int timeout, struct buf *, int flags);
buf 183 scsi/scsi_base.c struct buf *bp, int flags)
buf 346 scsi/scsi_base.c scsi_inquire_vpd(struct scsi_link *sc_link, void *buf, u_int buflen,
buf 358 scsi/scsi_base.c bzero(buf, buflen);
buf 361 scsi/scsi_base.c sizeof(scsi_cmd), buf, buflen, 2, 10000, NULL,
buf 500 scsi/scsi_base.c union scsi_mode_sense_buf *buf, void **page_data, u_int32_t *density,
buf 530 scsi/scsi_base.c error = scsi_mode_sense(sc_link, 0, page, &buf->hdr,
buf 531 scsi/scsi_base.c sizeof(*buf), flags, 20000);
buf 533 scsi/scsi_base.c *page_data = scsi_mode_sense_page(&buf->hdr, page_len);
buf 546 scsi/scsi_base.c blk_desc_len = buf->hdr.blk_desc_len;
buf 556 scsi/scsi_base.c error = scsi_mode_sense_big(sc_link, 0, page, &buf->hdr_big,
buf 557 scsi/scsi_base.c sizeof(*buf), flags, 20000);
buf 560 scsi/scsi_base.c if (_2btol(buf->hdr_big.data_length) < 6)
buf 566 scsi/scsi_base.c *page_data = scsi_mode_sense_big_page(&buf->hdr_big, page_len);
buf 567 scsi/scsi_base.c blk_desc_len = _2btol(buf->hdr_big.blk_desc_len);
buf 579 scsi/scsi_base.c general = (struct scsi_blk_desc *)&buf->buf[offset];
buf 589 scsi/scsi_base.c direct = (struct scsi_direct_blk_desc *)&buf->buf[offset];
buf 685 scsi/scsi_base.c struct buf *bp;
buf 866 scsi/scsi_base.c struct buf *bp, int flags)
buf 57 scsi/scsi_ioctl.c struct buf si_bp;
buf 68 scsi/scsi_ioctl.c struct scsi_ioctl *si_find(struct buf *);
buf 69 scsi/scsi_ioctl.c void scsistrategy(struct buf *);
buf 138 scsi/scsi_ioctl.c si_find(struct buf *bp)
buf 164 scsi/scsi_ioctl.c struct buf *bp;
buf 251 scsi/scsi_ioctl.c scsistrategy(struct buf *bp)
buf 88 scsi/scsiconf.h struct buf;
buf 104 scsi/scsiconf.h void (*scsi_minphys)(struct buf *);
buf 241 scsi/scsiconf.h struct buf *bp; /* If we need to associate with a buf */
buf 338 scsi/scsiconf.h int timeout, struct buf *bp, int flags);
buf 90 scsi/sd.c void sdminphys(struct buf *);
buf 492 scsi/sd.c sdstrategy(struct buf *bp)
buf 590 scsi/sd.c struct buf *bp = 0;
buf 591 scsi/sd.c struct buf *dp;
buf 772 scsi/sd.c sdminphys(struct buf *bp)
buf 1312 scsi/sd.c union scsi_mode_sense_buf *buf = NULL;
buf 1329 scsi/sd.c buf = malloc(sizeof(*buf), M_TEMP, M_NOWAIT);
buf 1330 scsi/sd.c if (buf == NULL)
buf 1340 scsi/sd.c scsi_do_mode_sense(sd->sc_link, PAGE_REDUCED_GEOMETRY, buf,
buf 1363 scsi/sd.c buf, (void **)&rigid, NULL, NULL, &blksize,
buf 1373 scsi/sd.c buf, (void **)&flex, NULL, NULL, &blksize,
buf 1390 scsi/sd.c if (buf)
buf 1391 scsi/sd.c free(buf, M_TEMP);
buf 1488 scsi/sd.c struct buf *dp, *bp;
buf 80 scsi/sdvar.h struct buf buf_queue;
buf 263 scsi/ses.c u_char *buf, *p;
buf 274 scsi/ses.c buf = malloc(SES_BUFLEN, M_DEVBUF, M_NOWAIT);
buf 275 scsi/ses.c if (buf == NULL)
buf 278 scsi/ses.c memset(buf, 0, SES_BUFLEN);
buf 293 scsi/ses.c sizeof(cmd), buf, SES_BUFLEN, 2, 3000, NULL, flags) != 0) {
buf 294 scsi/ses.c free(buf, M_DEVBUF);
buf 298 scsi/ses.c cfg = (struct ses_config_hdr *)buf;
buf 300 scsi/ses.c free(buf, M_DEVBUF);
buf 307 scsi/ses.c p = buf + SES_CFG_HDRLEN;
buf 346 scsi/ses.c free(buf, M_DEVBUF);
buf 352 scsi/ses.c free(buf, M_DEVBUF);
buf 357 scsi/ses.c free(buf, M_DEVBUF);
buf 760 scsi/ses.c ses_dump_enc_string(u_char *buf, ssize_t len)
buf 766 scsi/ses.c memcpy(str, buf, len);
buf 99 scsi/ss.c void (*special_minphys)(struct ss_softc *, struct buf *);
buf 118 scsi/ss.c void ssstrategy(struct buf *);
buf 120 scsi/ss.c void ssminphys(struct buf *);
buf 134 scsi/ss.c void get_buffer_status(struct ss_softc *, struct buf *);
buf 504 scsi/ss.c struct buf *bp;
buf 562 scsi/ss.c struct buf *bp;
buf 565 scsi/ss.c struct buf *dp;
buf 633 scsi/ss.c struct buf *bp, *dp;
buf 983 scsi/ss.c struct buf *bp;
buf 74 scsi/ss_mustek.c void mustek_minphys(struct ss_softc *, struct buf *);
buf 75 scsi/ss_mustek.c int mustek_read(struct ss_softc *, struct buf *);
buf 234 scsi/ss_mustek.c struct buf *bp;
buf 441 scsi/ss_mustek.c struct buf *bp;
buf 60 scsi/ss_scanjet.c int scanjet_read(struct ss_softc *, struct buf *);
buf 284 scsi/ss_scanjet.c struct buf *bp;
buf 323 scsi/ss_scanjet.c scanjet_ctl_write(ss, buf, size, flags)
buf 325 scsi/ss_scanjet.c char *buf;
buf 335 scsi/ss_scanjet.c sizeof(cmd), (u_char *) buf, size, 0, 100000, NULL,
buf 344 scsi/ss_scanjet.c scanjet_ctl_read(ss, buf, size, flags)
buf 346 scsi/ss_scanjet.c char *buf;
buf 356 scsi/ss_scanjet.c sizeof(cmd), (u_char *) buf, size, 0, 100000, NULL,
buf 51 scsi/ssvar.h void (*minphys)(struct ss_softc *, struct buf *);
buf 52 scsi/ssvar.h int (*read)(struct ss_softc *, struct buf *);
buf 70 scsi/ssvar.h struct buf buf_queue; /* the queue of pending IO operations */
buf 219 scsi/st.c struct buf buf_queue; /* the queue of pending IO operations */
buf 772 scsi/st.c struct buf *bp;
buf 775 scsi/st.c struct buf *dp;
buf 860 scsi/st.c struct buf *bp, *dp;
buf 1251 scsi/st.c st_read(st, buf, size, flags)
buf 1255 scsi/st.c char *buf;
buf 1273 scsi/st.c sizeof(cmd), (u_char *) buf, size, 0, ST_IO_TIME, NULL,
buf 1453 scsi/st.c memcpy(&outbuf->buf[sizeof(outbuf->hdr)+ sizeof(general)],
buf 1460 scsi/st.c memcpy(&outbuf->buf[sizeof(outbuf->hdr_big) + sizeof(general)],
buf 1474 scsi/st.c memcpy(&outbuf->buf[sizeof(outbuf->hdr)],
buf 1489 scsi/st.c memcpy(&outbuf->buf[sizeof(outbuf->hdr_big)], &general,
buf 1813 scsi/st.c struct buf *bp = xs->bp;
buf 2000 scsi/st.c char *buf;
buf 2004 scsi/st.c buf = malloc(1024, M_TEMP, M_NOWAIT);
buf 2005 scsi/st.c if (!buf)
buf 2024 scsi/st.c st_read(st, buf, readsize, SCSI_SILENT); /* XXX */
buf 2026 scsi/st.c bad: free(buf, M_TEMP);
buf 2031 scsi/st.c free(buf, M_TEMP);
buf 252 stand/boot/cmd.c readline(char *buf, size_t n, int to)
buf 257 stand/boot/cmd.c char *p = buf, ch;
buf 274 stand/boot/cmd.c strlcpy(buf, "boot", 5);
buf 276 stand/boot/cmd.c return strlen(buf);
buf 288 stand/boot/cmd.c while (p > buf) {
buf 299 stand/boot/cmd.c if (p > buf) {
buf 306 stand/boot/cmd.c if (p - buf < n-1)
buf 318 stand/boot/cmd.c return p - buf;
buf 41 sys/ataio.h void *buf; /* pointer to data buffer */
buf 44 sys/buf.h #define NOLIST ((struct buf *)0x87654321)
buf 46 sys/buf.h struct buf;
buf 49 sys/buf.h LIST_HEAD(bufhead, buf);
buf 64 sys/buf.h void (*io_start)(struct buf *);
buf 65 sys/buf.h void (*io_complete)(struct buf *);
buf 66 sys/buf.h void (*io_deallocate)(struct buf *);
buf 67 sys/buf.h void (*io_movedeps)(struct buf *, struct buf *);
buf 68 sys/buf.h int (*io_countdeps)(struct buf *, int, int);
buf 74 sys/buf.h struct buf {
buf 75 sys/buf.h LIST_ENTRY(buf) b_list; /* All allocated buffers. */
buf 76 sys/buf.h LIST_ENTRY(buf) b_hash; /* Hash chain. */
buf 77 sys/buf.h LIST_ENTRY(buf) b_vnbufs; /* Buffer's associated vnode. */
buf 78 sys/buf.h TAILQ_ENTRY(buf) b_freelist; /* Free list position if not active. */
buf 80 sys/buf.h struct buf *b_actf, **b_actb; /* Device driver queue when active. */
buf 94 sys/buf.h void (*b_iodone)(struct buf *);
buf 109 sys/buf.h void (*bufq_add)(struct bufq *, struct buf *);
buf 110 sys/buf.h struct buf *(*bufq_get)(struct bufq *);
buf 115 sys/buf.h struct buf bufq_head[3];
buf 125 sys/buf.h void bufq_default_add(struct bufq *, struct buf *);
buf 126 sys/buf.h struct buf *bufq_default_get(struct bufq *);
buf 182 sys/buf.h struct buf **bs_children; /* List of associated buffers. */
buf 214 sys/buf.h void bawrite(struct buf *);
buf 215 sys/buf.h void bdwrite(struct buf *);
buf 216 sys/buf.h void biodone(struct buf *);
buf 217 sys/buf.h int biowait(struct buf *);
buf 218 sys/buf.h int bread(struct vnode *, daddr64_t, int, struct ucred *, struct buf **);
buf 220 sys/buf.h struct ucred *, struct buf **);
buf 221 sys/buf.h void brelse(struct buf *);
buf 222 sys/buf.h void bremfree(struct buf *);
buf 224 sys/buf.h void buf_dirty(struct buf *);
buf 225 sys/buf.h void buf_undirty(struct buf *);
buf 226 sys/buf.h int bwrite(struct buf *);
buf 227 sys/buf.h struct buf *getblk(struct vnode *, daddr64_t, int, int, int);
buf 228 sys/buf.h struct buf *geteblk(int);
buf 229 sys/buf.h struct buf *incore(struct vnode *, daddr64_t);
buf 231 sys/buf.h void minphys(struct buf *bp);
buf 232 sys/buf.h int physio(void (*strategy)(struct buf *), struct buf *bp, dev_t dev,
buf 233 sys/buf.h int flags, void (*minphys)(struct buf *), struct uio *uio);
buf 234 sys/buf.h void brelvp(struct buf *);
buf 235 sys/buf.h void reassignbuf(struct buf *);
buf 236 sys/buf.h void bgetvp(struct vnode *, struct buf *);
buf 238 sys/buf.h void buf_replacevnode(struct buf *, struct vnode *);
buf 240 sys/buf.h void buf_replacevnode(struct buf *, struct vnode *);
buf 242 sys/buf.h int bread_cluster(struct vnode *, daddr64_t, int, struct buf **);
buf 245 sys/buf.h void buf_print(struct buf *);
buf 249 sys/buf.h buf_start(struct buf *bp)
buf 256 sys/buf.h buf_complete(struct buf *bp)
buf 263 sys/buf.h buf_deallocate(struct buf *bp)
buf 270 sys/buf.h buf_movedeps(struct buf *bp, struct buf *bp2)
buf 277 sys/buf.h buf_countdeps(struct buf *bp, int i, int islocked)
buf 285 sys/buf.h void cluster_write(struct buf *, struct cluster_info *, u_quad_t);
buf 48 sys/conf.h struct buf;
buf 72 sys/conf.h #define dev_type_strategy(n) void n(struct buf *)
buf 90 sys/conf.h void (*d_strategy)(struct buf *bp);
buf 55 sys/disk.h struct buf;
buf 113 sys/disk.h void (*d_strategy)(struct buf *);
buf 120 sys/disk.h void (*d_start)(struct buf *, daddr64_t);
buf 451 sys/disklabel.h void diskerr(struct buf *, char *, char *, int, int, struct disklabel *);
buf 452 sys/disklabel.h void disksort(struct buf *, struct buf *);
buf 457 sys/disklabel.h char *readdisklabel(dev_t, void (*)(struct buf *), struct disklabel *, int);
buf 458 sys/disklabel.h int writedisklabel(dev_t, void (*)(struct buf *), struct disklabel *);
buf 459 sys/disklabel.h int bounds_check_with_label(struct buf *, struct disklabel *, int);
buf 460 sys/disklabel.h char *readdoslabel(struct buf *, void (*)(struct buf *),
buf 463 sys/disklabel.h int iso_disklabelspoof(dev_t dev, void (*strat)(struct buf *),
buf 467 sys/disklabel.h int udf_disklabelspoof(dev_t dev, void (*strat)(struct buf *),
buf 52 sys/hash.h hash32_buf(const void *buf, size_t len, uint32_t hash)
buf 54 sys/hash.h const unsigned char *p = buf;
buf 66 sys/hash.h hash32_str(const void *buf, uint32_t hash)
buf 68 sys/hash.h const unsigned char *p = buf;
buf 80 sys/hash.h hash32_strn(const void *buf, size_t len, uint32_t hash)
buf 82 sys/hash.h const unsigned char *p = buf;
buf 96 sys/hash.h hash32_stre(const void *buf, int end, char **ep, uint32_t hash)
buf 98 sys/hash.h const unsigned char *p = buf;
buf 115 sys/hash.h hash32_strne(const void *buf, size_t len, int end, char **ep, uint32_t hash)
buf 117 sys/hash.h const unsigned char *p = buf;
buf 291 sys/mbuf.h #define MEXTADD(m, buf, size, type, free, arg) do { \
buf 292 sys/mbuf.h (m)->m_data = (m)->m_ext.ext_buf = (caddr_t)(buf); \
buf 47 sys/msgbuf.h void initmsgbuf(caddr_t buf, size_t bufsize);
buf 111 sys/sem.h struct semid_ds *buf; /* buffer for IPC_STAT & IPC_SET */
buf 32 sys/syscallargs.h syscallarg(void *) buf;
buf 38 sys/syscallargs.h syscallarg(const void *) buf;
buf 103 sys/syscallargs.h syscallarg(struct statfs *) buf;
buf 151 sys/syscallargs.h syscallarg(void *) buf;
buf 274 sys/syscallargs.h syscallarg(char *) buf;
buf 447 sys/syscallargs.h syscallarg(caddr_t) buf;
buf 454 sys/syscallargs.h syscallarg(caddr_t) buf;
buf 565 sys/syscallargs.h syscallarg(caddr_t) buf;
buf 609 sys/syscallargs.h syscallarg(const void *) buf;
buf 692 sys/syscallargs.h syscallarg(char *) buf;
buf 699 sys/syscallargs.h syscallarg(struct ostatfs *) buf;
buf 704 sys/syscallargs.h syscallarg(struct ostatfs *) buf;
buf 757 sys/syscallargs.h syscallarg(void *) buf;
buf 765 sys/syscallargs.h syscallarg(const void *) buf;
buf 848 sys/syscallargs.h syscallarg(char *) buf;
buf 940 sys/syscallargs.h syscallarg(struct omsqid_ds *) buf;
buf 972 sys/syscallargs.h syscallarg(struct oshmid_ds *) buf;
buf 1047 sys/syscallargs.h syscallarg(struct shmid_ds35 *) buf;
buf 1053 sys/syscallargs.h syscallarg(struct msqid_ds35 *) buf;
buf 1057 sys/syscallargs.h syscallarg(struct statfs *) buf;
buf 1064 sys/syscallargs.h syscallarg(struct statfs *) buf;
buf 1069 sys/syscallargs.h syscallarg(struct statfs *) buf;
buf 1088 sys/syscallargs.h syscallarg(struct statfs *) buf;
buf 1211 sys/syscallargs.h syscallarg(struct shmid_ds *) buf;
buf 1217 sys/syscallargs.h syscallarg(struct msqid_ds *) buf;
buf 1240 sys/syscallargs.h syscallarg(char *) buf;
buf 164 sys/systm.h int snprintf(char *buf, size_t, const char *, ...)
buf 236 sys/types.h struct buf;
buf 80 sys/vnode.h LIST_HEAD(buflists, buf);
buf 378 sys/vnode_if.h struct buf *a_bp;
buf 381 sys/vnode_if.h int VOP_STRATEGY(struct buf *);
buf 385 sys/vnode_if.h struct buf *a_bp;
buf 388 sys/vnode_if.h int VOP_BWRITE(struct buf *);
buf 319 ufs/ext2fs/ext2fs_alloc.c struct buf *bp;
buf 403 ufs/ext2fs/ext2fs_alloc.c struct buf *bp;
buf 471 ufs/ext2fs/ext2fs_alloc.c struct buf *bp;
buf 513 ufs/ext2fs/ext2fs_alloc.c struct buf *bp;
buf 60 ufs/ext2fs/ext2fs_balloc.c struct buf **bpp, int flags)
buf 64 ufs/ext2fs/ext2fs_balloc.c struct buf *bp, *nbp;
buf 103 ufs/ext2fs/ext2fs_bmap.c struct buf *bp;
buf 37 ufs/ext2fs/ext2fs_extern.h struct buf;
buf 63 ufs/ext2fs/ext2fs_extern.h struct ucred *, struct buf **);
buf 73 ufs/ext2fs/ext2fs_extern.h struct buf **, int);
buf 99 ufs/ext2fs/ext2fs_extern.h int ext2fs_bufatoff(struct inode *, off_t, char **, struct buf **);
buf 104 ufs/ext2fs/ext2fs_extern.h void ext2fs_checkoverlap(struct buf *, struct inode *);
buf 166 ufs/ext2fs/ext2fs_inode.c struct buf *bp;
buf 226 ufs/ext2fs/ext2fs_inode.c struct buf *bp;
buf 436 ufs/ext2fs/ext2fs_inode.c struct buf *bp;
buf 254 ufs/ext2fs/ext2fs_lookup.c struct buf *bp; /* a buffer of directory entries */
buf 746 ufs/ext2fs/ext2fs_lookup.c struct buf *bp;
buf 893 ufs/ext2fs/ext2fs_lookup.c struct buf *bp;
buf 932 ufs/ext2fs/ext2fs_lookup.c struct buf *bp;
buf 72 ufs/ext2fs/ext2fs_readwrite.c struct buf *bp;
buf 164 ufs/ext2fs/ext2fs_readwrite.c struct buf *bp;
buf 80 ufs/ext2fs/ext2fs_subr.c ext2fs_bufatoff(struct inode *ip, off_t offset, char **res, struct buf **bpp)
buf 84 ufs/ext2fs/ext2fs_subr.c struct buf *bp;
buf 106 ufs/ext2fs/ext2fs_subr.c ext2fs_checkoverlap(struct buf *bp, struct inode *ip)
buf 108 ufs/ext2fs/ext2fs_subr.c struct buf *ep;
buf 333 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 390 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 479 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 814 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 1008 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 1024 ufs/ext2fs/ext2fs_vfsops.c struct buf *bp;
buf 72 ufs/ffs/ffs_alloc.c daddr_t ffs_alloccgblk(struct inode *, struct buf *, daddr_t);
buf 178 ufs/ffs/ffs_alloc.c int nsize, struct ucred *cred, struct buf **bpp, daddr_t *blknop)
buf 181 ufs/ffs/ffs_alloc.c struct buf *bp = NULL;
buf 373 ufs/ffs/ffs_alloc.c struct buf *sbp, *ebp;
buf 576 ufs/ffs/ffs_alloc.c struct buf *sbp, *ebp;
buf 1191 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1262 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1351 ufs/ffs/ffs_alloc.c ffs_alloccgblk(struct inode *ip, struct buf *bp, daddr_t bpref)
buf 1419 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1525 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1528 ufs/ffs/ffs_alloc.c struct buf *ibp = NULL;
buf 1692 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1816 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 1871 ufs/ffs/ffs_alloc.c struct buf *bp;
buf 62 ufs/ffs/ffs_balloc.c int ffs1_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
buf 64 ufs/ffs/ffs_balloc.c int ffs2_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
buf 74 ufs/ffs/ffs_balloc.c int flags, struct buf **bpp)
buf 79 ufs/ffs/ffs_balloc.c struct buf *bp, *nbp;
buf 438 ufs/ffs/ffs_balloc.c int flags, struct buf **bpp)
buf 444 ufs/ffs/ffs_balloc.c struct buf *bp, *nbp;
buf 900 ufs/ffs/ffs_balloc.c int flags, struct buf **bpp)
buf 79 ufs/ffs/ffs_extern.h struct buf;
buf 103 ufs/ffs/ffs_extern.h struct ucred *, struct buf **, daddr_t *);
buf 117 ufs/ffs/ffs_extern.h int ffs_balloc(struct inode *, off_t, int, struct ucred *, int, struct buf **);
buf 125 ufs/ffs/ffs_extern.h int ffs_bufatoff(struct inode *, off_t, char **, struct buf **);
buf 128 ufs/ffs/ffs_extern.h void ffs_checkoverlap(struct buf *, struct inode *);
buf 174 ufs/ffs/ffs_extern.h void softdep_update_inodeblock(struct inode *, struct buf *, int);
buf 178 ufs/ffs/ffs_extern.h void softdep_setup_inomapdep(struct buf *, struct inode *, ino_t);
buf 179 ufs/ffs/ffs_extern.h void softdep_setup_blkmapdep(struct buf *, struct fs *, daddr_t);
buf 181 ufs/ffs/ffs_extern.h daddr_t, long, long, struct buf *);
buf 182 ufs/ffs/ffs_extern.h void softdep_setup_allocindir_meta(struct buf *, struct inode *,
buf 183 ufs/ffs/ffs_extern.h struct buf *, int, daddr_t);
buf 185 ufs/ffs/ffs_extern.h struct buf *, int, daddr_t, daddr_t, struct buf *);
buf 73 ufs/ffs/ffs_inode.c struct buf *bp;
buf 169 ufs/ffs/ffs_inode.c struct buf *bp;
buf 472 ufs/ffs/ffs_inode.c struct buf *bp;
buf 118 ufs/ffs/ffs_softdep.c STATIC int getdirtybuf(struct buf *, int);
buf 124 ufs/ffs/ffs_softdep.c STATIC int handle_written_filepage(struct pagedep *, struct buf *);
buf 126 ufs/ffs/ffs_softdep.c STATIC int handle_written_inodeblock(struct inodedep *, struct buf *);
buf 129 ufs/ffs/ffs_softdep.c STATIC void initiate_write_filepage(struct pagedep *, struct buf *);
buf 131 ufs/ffs/ffs_softdep.c STATIC void initiate_write_inodeblock_ufs1(struct inodedep *, struct buf *);
buf 133 ufs/ffs/ffs_softdep.c STATIC void initiate_write_inodeblock_ufs2(struct inodedep *, struct buf *);
buf 137 ufs/ffs/ffs_softdep.c STATIC struct dirrem *newdirrem(struct buf *, struct inode *,
buf 143 ufs/ffs/ffs_softdep.c STATIC void deallocate_dependencies(struct buf *, struct inodedep *);
buf 150 ufs/ffs/ffs_softdep.c STATIC void setup_allocindir_phase2(struct buf *, struct inode *,
buf 158 ufs/ffs/ffs_softdep.c STATIC struct bmsafemap *bmsafemap_lookup(struct buf *);
buf 171 ufs/ffs/ffs_softdep.c void softdep_disk_io_initiation(struct buf *);
buf 172 ufs/ffs/ffs_softdep.c void softdep_disk_write_complete(struct buf *);
buf 173 ufs/ffs/ffs_softdep.c void softdep_deallocate_dependencies(struct buf *);
buf 174 ufs/ffs/ffs_softdep.c void softdep_move_dependencies(struct buf *, struct buf *);
buf 175 ufs/ffs/ffs_softdep.c int softdep_count_dependencies(struct buf *bp, int, int);
buf 845 ufs/ffs/ffs_softdep.c struct buf *oldbp;
buf 846 ufs/ffs/ffs_softdep.c struct buf *newbp;
buf 1251 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 1321 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer for cylgroup block with inode map */
buf 1353 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer for cylgroup block with block map */
buf 1381 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 1446 ufs/ffs/ffs_softdep.c struct buf *bp; /* bp for allocated block */
buf 1722 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer with indirect blk referencing page */
buf 1726 ufs/ffs/ffs_softdep.c struct buf *nbp; /* buffer holding allocated page */
buf 1758 ufs/ffs/ffs_softdep.c struct buf *nbp; /* newly allocated indirect block */
buf 1760 ufs/ffs/ffs_softdep.c struct buf *bp; /* indirect block referencing allocated block */
buf 1779 ufs/ffs/ffs_softdep.c struct buf *bp; /* in-memory copy of the indirect block */
buf 1924 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 2060 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 2468 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 2603 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing directory block */
buf 2607 ufs/ffs/ffs_softdep.c struct buf *newdirbp; /* non-NULL => contents of new mkdir */
buf 2863 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing directory block */
buf 2907 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing directory block */
buf 3014 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing directory block */
buf 3295 ufs/ffs/ffs_softdep.c struct buf *bp; /* structure describing disk write to occur */
buf 3300 ufs/ffs/ffs_softdep.c struct buf *sbp;
buf 3393 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 3438 ufs/ffs/ffs_softdep.c struct buf *bp; /* The inode block */
buf 3586 ufs/ffs/ffs_softdep.c struct buf *bp; /* The inode block */
buf 3804 ufs/ffs/ffs_softdep.c struct buf *bp; /* describes the completed disk write */
buf 4047 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing the inode block */
buf 4308 ufs/ffs/ffs_softdep.c struct buf *bp; /* buffer containing the written page */
buf 4436 ufs/ffs/ffs_softdep.c struct buf *bp; /* the buffer containing the inode block */
buf 4557 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 4683 ufs/ffs/ffs_softdep.c struct buf *bp, *nbp;
buf 4745 ufs/ffs/ffs_softdep.c struct buf *bp, *nbp;
buf 5000 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 5096 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 5510 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 5596 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 5656 ufs/ffs/ffs_softdep.c struct buf *bp;
buf 5684 ufs/ffs/ffs_softdep.c softdep_print(struct buf *bp, int full, int (*pr)(const char *, ...))
buf 71 ufs/ffs/ffs_softdep_stub.c softdep_setup_inomapdep(struct buf *bp, struct inode *ip, ino_t newinum)
buf 77 ufs/ffs/ffs_softdep_stub.c softdep_setup_blkmapdep(struct buf *bp, struct fs *fs, daddr_t newblkno)
buf 84 ufs/ffs/ffs_softdep_stub.c daddr_t oldblkno, long newsize, long oldsize, struct buf *bp)
buf 90 ufs/ffs/ffs_softdep_stub.c softdep_setup_allocindir_page(struct inode *ip, daddr64_t lbn, struct buf *bp,
buf 91 ufs/ffs/ffs_softdep_stub.c int ptrno, daddr_t newblkno, daddr_t oldblkno, struct buf *nbp)
buf 97 ufs/ffs/ffs_softdep_stub.c softdep_setup_allocindir_meta(struct buf *nbp, struct inode *ip,
buf 98 ufs/ffs/ffs_softdep_stub.c struct buf *bp, int ptrno, daddr_t newblkno)
buf 116 ufs/ffs/ffs_softdep_stub.c softdep_setup_directory_add(struct buf *bp, struct inode *dp, off_t diroffset,
buf 117 ufs/ffs/ffs_softdep_stub.c long newinum, struct buf *newdirbp, int isnewblk)
buf 131 ufs/ffs/ffs_softdep_stub.c softdep_setup_remove(struct buf *bp, struct inode *dp, struct inode *ip,
buf 138 ufs/ffs/ffs_softdep_stub.c softdep_setup_directory_change(struct buf *bp, struct inode *dp,
buf 157 ufs/ffs/ffs_softdep_stub.c softdep_update_inodeblock(struct inode *ip, struct buf *bp, int waitfor)
buf 57 ufs/ffs/ffs_subr.c ffs_bufatoff(struct inode *ip, off_t offset, char **res, struct buf **bpp)
buf 61 ufs/ffs/ffs_subr.c struct buf *bp;
buf 124 ufs/ffs/ffs_subr.c ffs_checkoverlap(struct buf *bp, struct inode *ip)
buf 128 ufs/ffs/ffs_subr.c struct buf *ep;
buf 469 ufs/ffs/ffs_vfsops.c struct buf *bp;
buf 533 ufs/ffs/ffs_vfsops.c struct buf *bp = NULL;
buf 668 ufs/ffs/ffs_vfsops.c struct buf *bp;
buf 1243 ufs/ffs/ffs_vfsops.c struct buf *bp;
buf 1418 ufs/ffs/ffs_vfsops.c struct buf *bp;
buf 176 ufs/ffs/ffs_vnops.c struct buf *bp;
buf 267 ufs/ffs/ffs_vnops.c struct buf *bp;
buf 404 ufs/ffs/ffs_vnops.c struct buf *bp, *nbp;
buf 260 ufs/ffs/softdep.h struct buf *id_buf; /* related bmsafemap (if pending) */
buf 301 ufs/ffs/softdep.h struct buf *sm_buf; /* associated buffer */
buf 345 ufs/ffs/softdep.h struct buf *ad_buf; /* cylgrp buffer (if pending) */
buf 372 ufs/ffs/softdep.h struct buf *ir_savebp; /* buffer holding safe copy */
buf 400 ufs/ffs/softdep.h struct buf *ai_buf; /* cylgrp buffer (if pending) */
buf 536 ufs/ffs/softdep.h struct buf *md_buf; /* MKDIR_BODY: buffer holding dir */
buf 35 ufs/mfs/mfs_extern.h struct buf;
buf 60 ufs/mfs/mfs_extern.h void mfs_doio(struct buf *, caddr_t);
buf 113 ufs/mfs/mfs_vfsops.c mfsp->mfs_buflist = (struct buf *)0;
buf 214 ufs/mfs/mfs_vfsops.c mfsp->mfs_buflist = (struct buf *)0;
buf 216 ufs/mfs/mfs_vfsops.c mfsp->mfs_buflist = (struct buf *)-1;
buf 248 ufs/mfs/mfs_vfsops.c struct buf *bp;
buf 253 ufs/mfs/mfs_vfsops.c while (mfsp->mfs_buflist != (struct buf *)-1) {
buf 139 ufs/mfs/mfs_vnops.c struct buf *bp = ap->a_bp;
buf 177 ufs/mfs/mfs_vnops.c mfs_doio(struct buf *bp, caddr_t base)
buf 223 ufs/mfs/mfs_vnops.c struct buf *bp;
buf 256 ufs/mfs/mfs_vnops.c mfsp->mfs_buflist = (struct buf *)(-1);
buf 272 ufs/mfs/mfs_vnops.c if (mfsp->mfs_buflist && mfsp->mfs_buflist != (struct buf *)(-1))
buf 44 ufs/mfs/mfsnode.h struct buf *mfs_buflist; /* list of I/O requests */
buf 120 ufs/ufs/dirhash.h int ufsdirhash_lookup(struct inode *, char *, int, doff_t *, struct buf **,
buf 137 ufs/ufs/inode.h int, struct buf **);
buf 139 ufs/ufs/inode.h struct buf **bpp);
buf 96 ufs/ufs/ufs_bmap.c struct buf *bp;
buf 110 ufs/ufs/ufs_dirhash.c struct buf *bp = NULL;
buf 313 ufs/ufs/ufs_dirhash.c struct buf **bpp, doff_t *prevoffp)
buf 318 ufs/ufs/ufs_dirhash.c struct buf *bp;
buf 485 ufs/ufs/ufs_dirhash.c struct buf *bp;
buf 794 ufs/ufs/ufs_dirhash.c ufsdirhash_checkblock(struct inode *ip, char *buf, doff_t offset)
buf 817 ufs/ufs/ufs_dirhash.c dp = (struct direct *)(buf + i);
buf 35 ufs/ufs/ufs_extern.h struct buf;
buf 119 ufs/ufs/ufs_extern.h struct componentname *, struct buf *);
buf 144 ufs/ufs/ufs_extern.h int softdep_setup_directory_add(struct buf *, struct inode *, off_t,
buf 145 ufs/ufs/ufs_extern.h long, struct buf *, int);
buf 148 ufs/ufs/ufs_extern.h void softdep_setup_remove(struct buf *,struct inode *, struct inode *,
buf 150 ufs/ufs/ufs_extern.h void softdep_setup_directory_change(struct buf *, struct inode *,
buf 110 ufs/ufs/ufs_lookup.c struct buf *bp; /* a buffer of directory entries */
buf 698 ufs/ufs/ufs_lookup.c struct componentname *cnp, struct buf *newdirbp)
buf 704 ufs/ufs/ufs_lookup.c struct buf *bp;
buf 954 ufs/ufs/ufs_lookup.c struct buf *bp;
buf 1026 ufs/ufs/ufs_lookup.c struct buf *bp;
buf 1095 ufs/ufs/ufs_vnops.c struct buf *bp;
buf 1546 ufs/ufs/ufs_vnops.c struct buf *bp = ap->a_bp;
buf 35 ufs/ufs/ufsmount.h struct buf;
buf 110 uvm/uvm.h TAILQ_HEAD(, buf) aio_done; /* done async i/o reqs */
buf 232 uvm/uvm_extern.h struct buf;
buf 432 uvm/uvm_extern.h struct buf;
buf 445 uvm/uvm_extern.h void vmapbuf(struct buf *, vsize_t);
buf 446 uvm/uvm_extern.h void vunmapbuf(struct buf *, vsize_t);
buf 559 uvm/uvm_extern.h void uvm_aio_biodone1(struct buf *);
buf 560 uvm/uvm_extern.h void uvm_aio_biodone(struct buf *);
buf 561 uvm/uvm_extern.h void uvm_aio_aiodone(struct buf *);
buf 742 uvm/uvm_pager.c struct buf *bp;
buf 744 uvm/uvm_pager.c struct buf *mbp = bp->b_private;
buf 770 uvm/uvm_pager.c struct buf *bp;
buf 790 uvm/uvm_pager.c struct buf *bp;
buf 289 uvm/uvm_pdaemon.c struct buf *bp, *nbp;
buf 140 uvm/uvm_swap.c struct buf swd_tab; /* buffer list */
buf 175 uvm/uvm_swap.c struct buf *vx_bp; /* Pointer to parent buffer */
buf 185 uvm/uvm_swap.c struct buf vb_buf;
buf 246 uvm/uvm_swap.c static void sw_reg_strategy(struct swapdev *, struct buf *, int);
buf 247 uvm/uvm_swap.c static void sw_reg_iodone(struct buf *);
buf 1207 uvm/uvm_swap.c struct buf *bp;
buf 1283 uvm/uvm_swap.c struct buf *bp;
buf 1464 uvm/uvm_swap.c struct buf *bp;
buf 1498 uvm/uvm_swap.c struct buf *bp;
buf 1502 uvm/uvm_swap.c struct buf *pbp = vnx->vx_bp; /* parent buffer */
buf 1804 uvm/uvm_swap.c struct buf *bp;
buf 94 xfs/xfs_common-bsd.c xfs_devtoname_r (dev_t dev, char *buf, size_t sz)
buf 102 xfs/xfs_common-bsd.c xfs_devtoname_r (dev_t dev, char *buf, size_t sz)
buf 105 xfs/xfs_common-bsd.c snprintf (buf, sz, "%u/%u", major(dev), minor(dev));
buf 106 xfs/xfs_common-bsd.c return buf;
buf 72 xfs/xfs_common.h xfs_devtoname_r (dev_t dev, char *buf, size_t sz);