Lines Matching refs:fname

387 struct fname {  struct
391 struct fname *next; argument
404 struct fname *fname, *next; in free_rb_tree_fname() argument
406 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
407 while (fname) { in free_rb_tree_fname()
408 struct fname *old = fname; in free_rb_tree_fname()
409 fname = fname->next; in free_rb_tree_fname()
449 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
457 len = sizeof(struct fname) + ent_name->len + 1; in ext4_htree_store_dirent()
470 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
476 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
477 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
478 new_fn->next = fname->next; in ext4_htree_store_dirent()
479 fname->next = new_fn; in ext4_htree_store_dirent()
483 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
485 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
487 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
506 struct fname *fname) in call_filldir() argument
512 if (!fname) { in call_filldir()
518 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash); in call_filldir()
519 while (fname) { in call_filldir()
520 if (!dir_emit(ctx, fname->name, in call_filldir()
521 fname->name_len, in call_filldir()
522 fname->inode, in call_filldir()
523 get_dtype(sb, fname->file_type))) { in call_filldir()
524 info->extra_fname = fname; in call_filldir()
527 fname = fname->next; in call_filldir()
536 struct fname *fname; in ext4_dx_readdir() local
593 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
594 info->curr_hash = fname->hash; in ext4_dx_readdir()
595 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()
596 if (call_filldir(file, ctx, fname)) in ext4_dx_readdir()
601 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
603 info->curr_hash = fname->hash; in ext4_dx_readdir()
604 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()