Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/liteos_a/fs/jffs2/
Djffs2.patch2707 - int mdatalen = 0;
2725 - mdatalen = jffs2_encode_dev(&dev, inode->i_rdev);
2728 - __func__, mdatalen);
2731 - mdatalen = f->metadata->size;
2737 - ret = jffs2_read_dnode(c, f, f->metadata, mdata, 0, mdatalen);
2745 - __func__, mdatalen);
2755 - ret = jffs2_reserve_space(c, sizeof(*ri) + mdatalen, &alloclen,
2772 - ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen);
2855 - ri->csize = ri->dsize = cpu_to_je32(mdatalen);
2872 - if (mdatalen)
[all …]