Searched refs:buf_buf (Results 1 – 1 of 1) sorted by relevance
86 char *buf_buf; member154 gb->buf_buf = kmalloc(size, GFP_KERNEL); in gs_buf_alloc()155 if (gb->buf_buf == NULL) in gs_buf_alloc()159 gb->buf_put = gb->buf_buf; in gs_buf_alloc()160 gb->buf_get = gb->buf_buf; in gs_buf_alloc()172 kfree(gb->buf_buf); in gs_buf_free()173 gb->buf_buf = NULL; in gs_buf_free()229 len = gb->buf_buf + gb->buf_size - gb->buf_put; in gs_buf_put()232 memcpy(gb->buf_buf, buf+len, count - len); in gs_buf_put()233 gb->buf_put = gb->buf_buf + count - len; in gs_buf_put()[all …]