Searched refs:rdsize (Results 1 – 8 of 8) sorted by relevance
| /src/sbin/fsck_ffs/ |
| H A D | setup.c | 512 u_int secsize, rdsize; in chkrecovery() local 519 rdsize = sblock.fs_fsize; in chkrecovery() 521 rdsize % secsize != 0 || in chkrecovery() 522 (fsrbuf = Balloc(rdsize)) == NULL || in chkrecovery() 523 blread(devfd, fsrbuf, (SBLOCK_UFS2 - rdsize) / dev_bsize, in chkrecovery() 524 rdsize) != 0) { in chkrecovery() 532 fsr = (struct fsrecovery *)&fsrbuf[rdsize - sizeof *fsr]; in chkrecovery() 554 u_int secsize, rdsize; in saverecovery() local 557 rdsize = sblock.fs_fsize; in saverecovery() 560 rdsize % secsize != 0 || in saverecovery() [all …]
|
| /src/stand/userboot/userboot/ |
| H A D | main.c | 103 size_t marklen, rdsize; in check_interpreter() local 119 rdsize = st.st_size; in check_interpreter() 120 buf = malloc(rdsize); in check_interpreter() 123 if (read(fd, buf, rdsize) < rdsize) in check_interpreter() 135 if ((guest_interp = memmem(buf, rdsize, INTERP_MARKER, in check_interpreter()
|
| /src/sys/dev/hid/ |
| H A D | hidraw.c | 292 bcopy(buf, sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize, len); in hidraw_intr() 295 if (len < sc->sc_rdesc->rdsize) in hidraw_intr() 296 bzero(sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize + len, in hidraw_intr() 374 sc->sc_q = malloc(sc->sc_rdesc->rdsize * HIDRAW_BUFFER_SIZE, M_DEVBUF, in hidraw_open() 471 error = uiomove(sc->sc_q + sc->sc_head * sc->sc_rdesc->rdsize, in hidraw_read() 701 sc->sc_rdesc->rdsize * HIDRAW_BUFFER_SIZE, in hidraw_ioctl()
|
| H A D | hid.h | 300 hid_size_t rdsize; member
|
| /src/sys/dev/iicbus/ |
| H A D | iichid.c | 829 rdesc->rdsize = rdesc->rdsize == 0 ? in iichid_intr_setup() 840 sc->intr_bufsize = rdesc->rdsize + 2; in iichid_intr_setup()
|
| /src/sys/dev/usb/input/ |
| H A D | usbhid.c | 397 rdesc->rdsize = usbhid_xfer_max_len(sc->sc_xfer[USBHID_INTR_IN_DT]); in usbhid_intr_setup() 403 sc->sc_intr_buf = malloc(rdesc->rdsize, M_USBDEV, M_ZERO | M_WAITOK); in usbhid_intr_setup()
|
| /src/sys/dev/hyperv/input/ |
| H A D | hv_hid.c | 486 rdesc->rdsize = rdesc->isize; in hv_hid_intr_setup()
|
| /src/sys/dev/atopcase/ |
| H A D | atopcase.c | 580 rdesc->rdsize = ATOPCASE_MSG_SIZE - sizeof(struct atopcase_header) - 2; in atopcase_intr_setup()
|