Searched refs:buf_buf (Results 1 – 1 of 1) sorted by relevance
86 char *buf_buf; member155 gb->buf_buf = kmalloc(size, GFP_KERNEL); in gs_buf_alloc()156 if (gb->buf_buf == NULL) in gs_buf_alloc()160 gb->buf_put = gb->buf_buf; in gs_buf_alloc()161 gb->buf_get = gb->buf_buf; in gs_buf_alloc()173 kfree(gb->buf_buf); in gs_buf_free()174 gb->buf_buf = NULL; in gs_buf_free()230 len = gb->buf_buf + gb->buf_size - gb->buf_put; in gs_buf_put()233 memcpy(gb->buf_buf, buf+len, count - len); in gs_buf_put()234 gb->buf_put = gb->buf_buf + count - len; in gs_buf_put()[all …]