Lines Matching refs:mdata
39 unsigned char *mdata = NULL; in jffs2_do_setattr() local
56 mdata = (char *)&dev; in jffs2_do_setattr()
62 mdata = kmalloc(f->metadata->size, GFP_USER); in jffs2_do_setattr()
63 if (!mdata) { in jffs2_do_setattr()
67 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr()
70 kfree(mdata); in jffs2_do_setattr()
81 kfree(mdata); in jffs2_do_setattr()
90 kfree(mdata); in jffs2_do_setattr()
135 ri->data_crc = cpu_to_je32(crc32(0, mdata, mdatalen)); in jffs2_do_setattr()
139 new_metadata = jffs2_write_dnode(c, f, ri, mdata, mdatalen, alloc_type); in jffs2_do_setattr()
141 kfree(mdata); in jffs2_do_setattr()