Lines Matching refs:new_fn
466 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
475 new_fn = kzalloc(len, GFP_KERNEL); in ext4_htree_store_dirent()
476 if (!new_fn) in ext4_htree_store_dirent()
478 new_fn->hash = hash; in ext4_htree_store_dirent()
479 new_fn->minor_hash = minor_hash; in ext4_htree_store_dirent()
480 new_fn->inode = le32_to_cpu(dirent->inode); in ext4_htree_store_dirent()
481 new_fn->name_len = ent_name->len; in ext4_htree_store_dirent()
482 new_fn->file_type = dirent->file_type; in ext4_htree_store_dirent()
483 memcpy(new_fn->name, ent_name->name, ent_name->len); in ext4_htree_store_dirent()
493 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
494 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
495 new_fn->next = fname->next; in ext4_htree_store_dirent()
496 fname->next = new_fn; in ext4_htree_store_dirent()
500 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
502 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
504 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
510 rb_link_node(&new_fn->rb_hash, parent, p); in ext4_htree_store_dirent()
511 rb_insert_color(&new_fn->rb_hash, &info->root); in ext4_htree_store_dirent()