Lines Matching refs:fname

381 struct fname {  struct
385 struct fname *next; argument
398 struct fname *fname, *next; in free_rb_tree_fname() argument
400 rbtree_postorder_for_each_entry_safe(fname, next, root, rb_hash) in free_rb_tree_fname()
401 while (fname) { in free_rb_tree_fname()
402 struct fname *old = fname; in free_rb_tree_fname()
403 fname = fname->next; in free_rb_tree_fname()
443 struct fname *fname, *new_fn; in ext4_htree_store_dirent() local
451 len = sizeof(struct fname) + ent_name->len + 1; in ext4_htree_store_dirent()
465 fname = rb_entry(parent, struct fname, rb_hash); in ext4_htree_store_dirent()
471 if ((new_fn->hash == fname->hash) && in ext4_htree_store_dirent()
472 (new_fn->minor_hash == fname->minor_hash)) { in ext4_htree_store_dirent()
473 new_fn->next = fname->next; in ext4_htree_store_dirent()
474 fname->next = new_fn; in ext4_htree_store_dirent()
478 if (new_fn->hash < fname->hash) in ext4_htree_store_dirent()
480 else if (new_fn->hash > fname->hash) in ext4_htree_store_dirent()
482 else if (new_fn->minor_hash < fname->minor_hash) in ext4_htree_store_dirent()
501 struct fname *fname) in call_filldir() argument
507 if (!fname) { in call_filldir()
513 ctx->pos = hash2pos(file, fname->hash, fname->minor_hash); in call_filldir()
514 while (fname) { in call_filldir()
515 if (!dir_emit(ctx, fname->name, in call_filldir()
516 fname->name_len, in call_filldir()
517 fname->inode, in call_filldir()
518 get_dtype(sb, fname->file_type))) { in call_filldir()
519 info->extra_fname = fname; in call_filldir()
522 fname = fname->next; in call_filldir()
531 struct fname *fname; in ext4_dx_readdir() local
588 fname = rb_entry(info->curr_node, struct fname, rb_hash); in ext4_dx_readdir()
589 info->curr_hash = fname->hash; in ext4_dx_readdir()
590 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()
591 if (call_filldir(file, ctx, fname)) in ext4_dx_readdir()
596 fname = rb_entry(info->curr_node, struct fname, in ext4_dx_readdir()
598 info->curr_hash = fname->hash; in ext4_dx_readdir()
599 info->curr_minor_hash = fname->minor_hash; in ext4_dx_readdir()