Lines Matching refs:csize
53 jffs2_dbg(1, "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n",
55 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize),
63 /* There was a bug where we wrote hole nodes out with csize/dsize
66 je32_to_cpu(ri->csize)) {
67 ri->dsize = ri->csize;
68 ri->csize = cpu_to_je32(0);
93 readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL);
113 jffs2_dbg(2, "Read %d bytes to %p\n", je32_to_cpu(ri->csize),
116 je32_to_cpu(ri->csize), &readlen, readbuf);
118 if (!ret && readlen != je32_to_cpu(ri->csize))
123 crc = crc32(0, readbuf, je32_to_cpu(ri->csize));
133 je32_to_cpu(ri->csize), readbuf,
135 ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize));