Home
last modified time | relevance | path

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

/linux-6.6.21/fs/ext4/
Ddir.c465 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
474 new_fn = kzalloc(len, GFP_KERNEL); in ext4_htree_store_dirent()
475 if (!new_fn) in ext4_htree_store_dirent()
477 new_fn->hash = hash; in ext4_htree_store_dirent()
478 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
479 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
480 new_fn->name_len = ent_name->len; in ext4_htree_store_dirent()
481 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
482 memcpy(new_fn->name, ent_name->name, ent_name->len); in ext4_htree_store_dirent()
492 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
[all …]
/linux-6.6.21/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 …]