Lines Matching refs:local_buf
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
679 buf = HIDRAW_LOCAL_ALLOC(local_buf, hgd->hgd_maxlen); in hidraw_ioctl()
687 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
707 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
710 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
749 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
754 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
783 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
791 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
830 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
836 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()