Lines Matching defs:tbuf
179 void *tbuf;
204 tbuf = vmalloc(tbuf_size);
205 if (!tbuf)
217 err = ubi_eba_read_leb(ubi, vol, lnum, tbuf, off, len, 0);
230 err = copy_to_user(buf, tbuf, len);
240 vfree(tbuf);
256 char *tbuf;
285 tbuf = vmalloc(tbuf_size);
286 if (!tbuf)
297 err = copy_from_user(tbuf, buf, len);
303 err = ubi_eba_write_leb(ubi, vol, lnum, tbuf, off, len);
319 vfree(tbuf);