Lines Matching refs:fname
409 struct fname { struct
413 struct fname *next; argument
426 struct fname *fname, *next; in free_rb_tree_fname() argument
428 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
429 while (fname) { in free_rb_tree_fname()
430 struct fname *old = fname; in free_rb_tree_fname()
431 fname = fname->next; in free_rb_tree_fname()
471 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
479 len = sizeof(struct fname) + ent_name->len + 1; in ext4_htree_store_dirent()
492 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
498 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
499 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
500 new_fn->next = fname->next; in ext4_htree_store_dirent()
501 fname->next = new_fn; in ext4_htree_store_dirent()
505 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
507 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
509 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
528 struct fname *fname) in call_filldir() argument
534 if (!fname) { in call_filldir()
540 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash); in call_filldir()
541 while (fname) { in call_filldir()
542 if (!dir_emit(ctx, fname->name, in call_filldir()
543 fname->name_len, in call_filldir()
544 fname->inode, in call_filldir()
545 get_dtype(sb, fname->file_type))) { in call_filldir()
546 info->extra_fname = fname; in call_filldir()
549 fname = fname->next; in call_filldir()
558 struct fname *fname; in ext4_dx_readdir() local
615 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
616 info->curr_hash = fname->hash; in ext4_dx_readdir()
617 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()
618 if (call_filldir(file, ctx, fname)) in ext4_dx_readdir()
623 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
625 info->curr_hash = fname->hash; in ext4_dx_readdir()
626 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()