Searched refs:buf_buf (Results 1 – 1 of 1) sorted by relevance
87 char *buf_buf; member156 gb->buf_buf = kmalloc(size, GFP_KERNEL); in gs_buf_alloc()157 if (gb->buf_buf == NULL) in gs_buf_alloc()161 gb->buf_put = gb->buf_buf; in gs_buf_alloc()162 gb->buf_get = gb->buf_buf; in gs_buf_alloc()174 kfree(gb->buf_buf); in gs_buf_free()175 gb->buf_buf = NULL; in gs_buf_free()231 len = gb->buf_buf + gb->buf_size - gb->buf_put; in gs_buf_put()234 memcpy(gb->buf_buf, buf+len, count - len); in gs_buf_put()235 gb->buf_put = gb->buf_buf + count - len; in gs_buf_put()[all …]