Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/ext4/
Ddir.c449 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
458 new_fn = kzalloc(len, GFP_KERNEL); in ext4_htree_store_dirent()
459 if (!new_fn) in ext4_htree_store_dirent()
461 new_fn->hash = hash; in ext4_htree_store_dirent()
462 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
463 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
464 new_fn->name_len = ent_name->len; in ext4_htree_store_dirent()
465 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
466 memcpy(new_fn->name, ent_name->name, ent_name->len); in ext4_htree_store_dirent()
476 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
[all …]
/kernel/linux/linux-5.10/fs/jffs2/
Dgc.c761 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_metadata() local
834 new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC); in jffs2_garbage_collect_metadata()
836 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_metadata()
837 pr_warn("Error writing new dnode: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_metadata()
838 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_metadata()
843 f->metadata = new_fn; in jffs2_garbage_collect_metadata()
1019 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_hole() local
1108 new_fn = jffs2_write_dnode(c, f, &ri, NULL, 0, ALLOC_GC); in jffs2_garbage_collect_hole()
1110 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_hole()
1111 pr_warn("Error writing new hole node: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_hole()
[all …]
/kernel/liteos_a/fs/jffs2/
Djffs2.patch3839 struct jffs2_full_dnode *new_fn;
3871 - new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC);
3872 + new_fn = jffs2_write_dnode(c, f, &ri, (unsigned char *)mdata, mdatalen, ALLOC_GC);
3874 if (IS_ERR(new_fn)) {
3875 pr_warn("Error writing new dnode: %ld\n", PTR_ERR(new_fn));
3907 struct jffs2_full_dnode *new_fn;