Searched refs:local_buf (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/hid/ |
H A D | hidraw.c | 80 #define HIDRAW_LOCAL_ALLOC(local_buf, size) \ argument 81 (sizeof(local_buf) > (size) ? (local_buf) : \ 83 #define HIDRAW_LOCAL_FREE(local_buf, buf) \ argument 84 if ((local_buf) != (buf)) { \ 489 uint8_t local_buf[HIDRAW_LOCAL_BUFSIZE], *buf; in hidraw_write() local 526 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_write() 531 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_write() 560 uint8_t local_buf[HIDRAW_LOCAL_BUFSIZE]; in hidraw_ioctl() local 680 buf = HIDRAW_LOCAL_ALLOC(local_buf, hgd->hgd_maxlen); in hidraw_ioctl() 688 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl() [all …]
|
/freebsd/stand/libsa/ |
H A D | dosfs.c | 924 u_char local_buf[SECSIZ]; in ioread() local 931 err = ioget(fs->fd, bytsec(offset), local_buf, in ioread() 932 sizeof(local_buf)); in ioread() 935 memcpy(s, local_buf + off, n); in ioread() 948 err = ioget(fs->fd, bytsec(offset), local_buf, in ioread() 949 sizeof(local_buf)); in ioread() 952 memcpy(s, local_buf, n); in ioread()
|