Lines Matching refs:fname
417 struct fname { struct
421 struct fname *next; argument
434 struct fname *fname, *next; in free_rb_tree_fname() local
436 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
437 while (fname) { in free_rb_tree_fname()
438 struct fname *old = fname; in free_rb_tree_fname()
439 fname = fname->next; in free_rb_tree_fname()
476 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
495 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
501 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
502 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
503 new_fn->next = fname->next; in ext4_htree_store_dirent()
504 fname->next = new_fn; in ext4_htree_store_dirent()
508 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
510 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
512 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
531 struct fname *fname) in call_filldir() argument
537 if (!fname) { in call_filldir()
543 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash); in call_filldir()
544 while (fname) { in call_filldir()
545 if (!dir_emit(ctx, fname->name, in call_filldir()
546 fname->name_len, in call_filldir()
547 fname->inode, in call_filldir()
548 get_dtype(sb, fname->file_type))) { in call_filldir()
549 info->extra_fname = fname; in call_filldir()
552 fname = fname->next; in call_filldir()
561 struct fname *fname; in ext4_dx_readdir() local
613 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
614 info->curr_hash = fname->hash; in ext4_dx_readdir()
615 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()
616 if (call_filldir(file, ctx, fname)) in ext4_dx_readdir()
621 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
623 info->curr_hash = fname->hash; in ext4_dx_readdir()
624 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()