Lines Matching defs:new_fn
336 struct fname * fname, *new_fn;
345 new_fn = kzalloc(len, GFP_KERNEL);
346 if (!new_fn)
348 new_fn->hash = hash;
349 new_fn->minor_hash = minor_hash;
350 new_fn->inode = le32_to_cpu(dirent->inode);
351 new_fn->name_len = dirent->name_len;
352 new_fn->file_type = dirent->file_type;
353 memcpy(new_fn->name, dirent->name, dirent->name_len);
354 new_fn->name[dirent->name_len] = 0;
364 if ((new_fn->hash == fname->hash) &&
365 (new_fn->minor_hash == fname->minor_hash)) {
366 new_fn->next = fname->next;
367 fname->next = new_fn;
371 if (new_fn->hash < fname->hash)
373 else if (new_fn->hash > fname->hash)
375 else if (new_fn->minor_hash < fname->minor_hash)
377 else /* if (new_fn->minor_hash > fname->minor_hash) */
381 rb_link_node(&new_fn->rb_hash, parent, p);
382 rb_insert_color(&new_fn->rb_hash, &info->root);