Lines Matching refs:csize
50 D1(printk(KERN_DEBUG "Node read from %08x: node_crc %08x, calculated CRC %08x. dsize %x, csize %x, offset %x, buf %p\n",
52 crc, je32_to_cpu(ri->dsize), je32_to_cpu(ri->csize),
60 /* There was a bug where we wrote hole nodes out with csize/dsize
63 je32_to_cpu(ri->csize)) {
64 ri->dsize = ri->csize;
65 ri->csize = cpu_to_je32(0);
90 readbuf = kmalloc(je32_to_cpu(ri->csize), GFP_KERNEL);
110 D2(printk(KERN_DEBUG "Read %d bytes to %p\n", je32_to_cpu(ri->csize),
113 je32_to_cpu(ri->csize), &readlen, readbuf);
115 if (!ret && readlen != je32_to_cpu(ri->csize))
120 crc = crc32(0, readbuf, je32_to_cpu(ri->csize));
130 je32_to_cpu(ri->csize), readbuf, je32_to_cpu(ri->dsize), decomprbuf));
131 ret = jffs2_decompress(c, f, ri->compr | (ri->usercompr << 8), readbuf, decomprbuf, je32_to_cpu(ri->csize), je32_to_cpu(ri->dsize));