Home
last modified time | relevance | path

Searched refs:mdatalen (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/fs/jffs2/
Dfs.c38 int mdatalen = 0; in jffs2_do_setattr() local
53 mdatalen = jffs2_encode_dev(&dev, inode->i_rdev); in jffs2_do_setattr()
56 __func__, mdatalen); in jffs2_do_setattr()
59 mdatalen = f->metadata->size; in jffs2_do_setattr()
65 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr()
73 __func__, mdatalen); in jffs2_do_setattr()
83 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr()
96 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr()
117 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr()
130 if (mdatalen) in jffs2_do_setattr()
[all …]
Dgc.c746 int mdatalen = 0; in jffs2_garbage_collect_metadata() local
753 mdatalen = jffs2_encode_dev(&dev, JFFS2_F_I_RDEV(f)); in jffs2_garbage_collect_metadata()
756 __func__, mdatalen); in jffs2_garbage_collect_metadata()
758 mdatalen = fn->size; in jffs2_garbage_collect_metadata()
764 ret = jffs2_read_dnode(c, f, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata()
772 __func__, mdatalen); in jffs2_garbage_collect_metadata()
776 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &alloclen, in jffs2_garbage_collect_metadata()
780 sizeof(ri) + mdatalen, ret); in jffs2_garbage_collect_metadata()
795 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
808 ri.csize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata()
[all …]