Home
last modified time | relevance | path

Searched refs:rdsize (Results 1 – 8 of 8) sorted by relevance

/freebsd/sbin/fsck_ffs/
H A Dsetup.c559 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 Dmain.c94 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 Dhidraw.c285 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 Dhid.h296 hid_size_t rdsize; member
/freebsd/sys/dev/usb/input/
H A Dusbhid.c396 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 Dhv_hid.c486 rdesc->rdsize = rdesc->isize; in hv_hid_intr_setup()
/freebsd/sys/dev/iicbus/
H A Diichid.c848 rdesc->rdsize =
859 sc->intr_bufsize = rdesc->rdsize;
/freebsd/sys/dev/atopcase/
H A Datopcase.c580 rdesc->rdsize = ATOPCASE_MSG_SIZE - sizeof(struct atopcase_header) - 2; in atopcase_intr_setup()