Lines Matching refs:new_fn
398 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()
426 if ((new_fn->hash == fname->hash) && in ext3_htree_store_dirent()
427 (new_fn->minor_hash == fname->minor_hash)) { in ext3_htree_store_dirent()
428 new_fn->next = fname->next; in ext3_htree_store_dirent()
429 fname->next = new_fn; in ext3_htree_store_dirent()
433 if (new_fn->hash < fname->hash) in ext3_htree_store_dirent()
435 else if (new_fn->hash > fname->hash) in ext3_htree_store_dirent()
437 else if (new_fn->minor_hash < fname->minor_hash) in ext3_htree_store_dirent()
443 rb_link_node(&new_fn->rb_hash, parent, p); in ext3_htree_store_dirent()
444 rb_insert_color(&new_fn->rb_hash, &info->root); in ext3_htree_store_dirent()