Home
last modified time | relevance | path

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

/linux-6.1.9/fs/jffs2/
Dfs.c40 int mdatalen = 0; in jffs2_do_setattr() local
55 mdatalen = jffs2_encode_dev(&dev, inode->i_rdev); in jffs2_do_setattr()
58 __func__, mdatalen); in jffs2_do_setattr()
61 mdatalen = f->metadata->size; in jffs2_do_setattr()
67 ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen); in jffs2_do_setattr()
75 __func__, mdatalen); in jffs2_do_setattr()
85 ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen, in jffs2_do_setattr()
98 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr()
121 ri->csize = ri->dsize = cpu_to_je32(mdatalen); in jffs2_do_setattr()
134 if (mdatalen) in jffs2_do_setattr()
[all …]
Dgc.c766 int mdatalen = 0; in jffs2_garbage_collect_metadata() local
773 mdatalen = jffs2_encode_dev(&dev, JFFS2_F_I_RDEV(f)); in jffs2_garbage_collect_metadata()
776 __func__, mdatalen); in jffs2_garbage_collect_metadata()
778 mdatalen = fn->size; in jffs2_garbage_collect_metadata()
784 ret = jffs2_read_dnode(c, f, fn, mdata, 0, mdatalen); in jffs2_garbage_collect_metadata()
792 __func__, mdatalen); in jffs2_garbage_collect_metadata()
796 ret = jffs2_reserve_space_gc(c, sizeof(ri) + mdatalen, &alloclen, in jffs2_garbage_collect_metadata()
800 sizeof(ri) + mdatalen, ret); in jffs2_garbage_collect_metadata()
815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
828 ri.csize = cpu_to_je32(mdatalen); in jffs2_garbage_collect_metadata()
[all …]