Lines Matching refs:fname

362 struct fname {  struct
366 struct fname *next; argument
379 struct fname *fname, *next; in free_rb_tree_fname() local
381 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
382 while (fname) { in free_rb_tree_fname()
383 struct fname *old = fname; in free_rb_tree_fname()
384 fname = fname->next; in free_rb_tree_fname()
424 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
432 len = sizeof(struct fname) + ent_name->len + 1; in ext4_htree_store_dirent()
446 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
452 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
453 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
454 new_fn->next = fname->next; in ext4_htree_store_dirent()
455 fname->next = new_fn; in ext4_htree_store_dirent()
459 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
461 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
463 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
482 struct fname *fname) in call_filldir() argument
488 if (!fname) { in call_filldir()
494 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash); in call_filldir()
495 while (fname) { in call_filldir()
496 if (!dir_emit(ctx, fname->name, in call_filldir()
497 fname->name_len, in call_filldir()
498 fname->inode, in call_filldir()
499 get_dtype(sb, fname->file_type))) { in call_filldir()
500 info->extra_fname = fname; in call_filldir()
503 fname = fname->next; in call_filldir()
512 struct fname *fname; in ext4_dx_readdir() local
569 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
570 info->curr_hash = fname->hash; in ext4_dx_readdir()
571 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()
572 if (call_filldir(file, ctx, fname)) in ext4_dx_readdir()
577 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
579 info->curr_hash = fname->hash; in ext4_dx_readdir()
580 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()