Lines Matching refs:local_buf
79 #define HIDRAW_LOCAL_ALLOC(local_buf, size) \ argument
80 (sizeof(local_buf) > (size) ? (local_buf) : \
82 #define HIDRAW_LOCAL_FREE(local_buf, buf) \ argument
83 if ((local_buf) != (buf)) { \
463 uint8_t local_buf[HIDRAW_LOCAL_BUFSIZE], *buf; in hidraw_write() local
500 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_write()
505 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_write()
514 uint8_t local_buf[HIDRAW_LOCAL_BUFSIZE]; in hidraw_ioctl() local
597 buf = HIDRAW_LOCAL_ALLOC(local_buf, hgd->hgd_maxlen); in hidraw_ioctl()
603 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
623 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
626 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
663 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
668 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
692 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
698 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()
720 buf = HIDRAW_LOCAL_ALLOC(local_buf, size); in hidraw_ioctl()
726 HIDRAW_LOCAL_FREE(local_buf, buf); in hidraw_ioctl()