Lines Matching refs:afl_alloc_buf
629 struct afl_alloc_buf { struct
639 #define AFL_ALLOC_SIZE_OFFSET (offsetof(struct afl_alloc_buf, buf)) argument
642 static inline struct afl_alloc_buf *afl_alloc_bufptr(void *buf) { in afl_alloc_bufptr()
644 return (struct afl_alloc_buf *)((u8 *)buf - AFL_ALLOC_SIZE_OFFSET); in afl_alloc_bufptr()
665 struct afl_alloc_buf *new_buf = NULL; in afl_realloc()
673 new_buf = (struct afl_alloc_buf *)afl_alloc_bufptr(*buf); in afl_realloc()
699 struct afl_alloc_buf *newer_buf = in afl_realloc()
700 (struct afl_alloc_buf *)realloc(new_buf, next_size); in afl_realloc()
722 struct afl_alloc_buf *new_buf = NULL; in afl_realloc_exact()
729 new_buf = (struct afl_alloc_buf *)afl_alloc_bufptr(*buf); in afl_realloc_exact()
740 struct afl_alloc_buf *newer_buf = in afl_realloc_exact()
741 (struct afl_alloc_buf *)realloc(new_buf, size_needed); in afl_realloc_exact()