Searched refs:rdsize (Results 1 – 8 of 8) sorted by relevance
/freebsd/sbin/fsck_ffs/ |
H A D | setup.c | 559 u_int secsize, rdsize; in chkrecovery() local 566 rdsize = sblock.fs_fsize; in chkrecovery() 568 rdsize % secsize != 0 || in chkrecovery() 569 (fsrbuf = Balloc(rdsize)) == NULL || in chkrecovery() 570 blread(devfd, fsrbuf, (SBLOCK_UFS2 - rdsize) / dev_bsize, in chkrecovery() 571 rdsize) != 0) { in chkrecovery() 579 fsr = (struct fsrecovery *)&fsrbuf[rdsize - sizeof *fsr]; in chkrecovery() 601 u_int secsize, rdsize; in saverecovery() local 604 rdsize = sblock.fs_fsize; in saverecovery() 607 rdsize % secsize != 0 || in saverecovery() [all …]
|
/freebsd/stand/userboot/userboot/ |
H A D | main.c | 94 size_t marklen, rdsize; in check_interpreter() local 110 rdsize = st.st_size; in check_interpreter() 111 buf = malloc(rdsize); in check_interpreter() 114 if (read(fd, buf, rdsize) < rdsize) in check_interpreter() 126 if ((guest_interp = memmem(buf, rdsize, INTERP_MARKER, in check_interpreter()
|
/freebsd/sys/dev/hid/ |
H A D | hidraw.c | 285 bcopy(buf, sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize, len); in hidraw_intr() 288 if (len < sc->sc_rdesc->rdsize) in hidraw_intr() 289 bzero(sc->sc_q + sc->sc_tail * sc->sc_rdesc->rdsize + len, in hidraw_intr() 367 sc->sc_q = malloc(sc->sc_rdesc->rdsize * HIDRAW_BUFFER_SIZE, M_DEVBUF, in hidraw_open() 464 error = uiomove(sc->sc_q + sc->sc_head * sc->sc_rdesc->rdsize, in hidraw_read() 693 sc->sc_rdesc->rdsize * HIDRAW_BUFFER_SIZE, in hidraw_ioctl()
|
H A D | hid.h | 296 hid_size_t rdsize; member
|
/freebsd/sys/dev/usb/input/ |
H A D | usbhid.c | 396 rdesc->rdsize = usbhid_xfer_max_len(sc->sc_xfer[USBHID_INTR_IN_DT]); in usbhid_intr_setup() 402 sc->sc_intr_buf = malloc(rdesc->rdsize, M_USBDEV, M_ZERO | M_WAITOK); in usbhid_intr_setup()
|
/freebsd/sys/dev/hyperv/input/ |
H A D | hv_hid.c | 486 rdesc->rdsize = rdesc->isize; in hv_hid_intr_setup()
|
/freebsd/sys/dev/iicbus/ |
H A D | iichid.c | 848 rdesc->rdsize = 859 sc->intr_bufsize = rdesc->rdsize;
|
/freebsd/sys/dev/atopcase/ |
H A D | atopcase.c | 580 rdesc->rdsize = ATOPCASE_MSG_SIZE - sizeof(struct atopcase_header) - 2; in atopcase_intr_setup()
|