Home
last modified time | relevance | path

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

/fs/ext3/
Ddir.c398 struct fname * fname, *new_fn; in ext3_htree_store_dirent() local
407 new_fn = kzalloc(len, GFP_KERNEL); in ext3_htree_store_dirent()
408 if (!new_fn) in ext3_htree_store_dirent()
410 new_fn->hash = hash; in ext3_htree_store_dirent()
411 new_fn->minor_hash = minor_hash; in ext3_htree_store_dirent()
412 new_fn->inode = le32_to_cpu(dirent->inode); in ext3_htree_store_dirent()
413 new_fn->name_len = dirent->name_len; in ext3_htree_store_dirent()
414 new_fn->file_type = dirent->file_type; in ext3_htree_store_dirent()
415 memcpy(new_fn->name, dirent->name, dirent->name_len); in ext3_htree_store_dirent()
416 new_fn->name[dirent->name_len] = 0; in ext3_htree_store_dirent()
[all …]
/fs/ext4/
Ddir.c427 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
436 new_fn = kzalloc(len, GFP_KERNEL); in ext4_htree_store_dirent()
437 if (!new_fn) in ext4_htree_store_dirent()
439 new_fn->hash = hash; in ext4_htree_store_dirent()
440 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
441 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
442 new_fn->name_len = ent_name->len; in ext4_htree_store_dirent()
443 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
444 memcpy(new_fn->name, ent_name->name, ent_name->len); in ext4_htree_store_dirent()
445 new_fn->name[ent_name->len] = 0; in ext4_htree_store_dirent()
[all …]
/fs/jffs2/
Dgc.c741 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_metadata() local
814 new_fn = jffs2_write_dnode(c, f, &ri, mdata, mdatalen, ALLOC_GC); in jffs2_garbage_collect_metadata()
816 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_metadata()
817 pr_warn("Error writing new dnode: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_metadata()
818 ret = PTR_ERR(new_fn); in jffs2_garbage_collect_metadata()
823 f->metadata = new_fn; in jffs2_garbage_collect_metadata()
999 struct jffs2_full_dnode *new_fn; in jffs2_garbage_collect_hole() local
1088 new_fn = jffs2_write_dnode(c, f, &ri, NULL, 0, ALLOC_GC); in jffs2_garbage_collect_hole()
1090 if (IS_ERR(new_fn)) { in jffs2_garbage_collect_hole()
1091 pr_warn("Error writing new hole node: %ld\n", PTR_ERR(new_fn)); in jffs2_garbage_collect_hole()
[all …]