Lines Matching refs:stripe_cache
59 struct list_head stripe_cache; member
211 INIT_LIST_HEAD(&table->stripe_cache); in btrfs_alloc_stripe_hash_table()
357 list_del_init(&rbio->stripe_cache); in __remove_rbio_from_cache()
416 while (!list_empty(&table->stripe_cache)) { in btrfs_clear_rbio_cache()
417 rbio = list_entry(table->stripe_cache.next, in btrfs_clear_rbio_cache()
419 stripe_cache); in btrfs_clear_rbio_cache()
466 if (!list_empty(&rbio->stripe_cache)){ in cache_rbio()
467 list_move(&rbio->stripe_cache, &table->stripe_cache); in cache_rbio()
469 list_add(&rbio->stripe_cache, &table->stripe_cache); in cache_rbio()
478 found = list_entry(table->stripe_cache.prev, in cache_rbio()
480 stripe_cache); in cache_rbio()
826 WARN_ON(!list_empty(&rbio->stripe_cache)); in __free_raid_bio()
984 INIT_LIST_HEAD(&rbio->stripe_cache); in alloc_rbio()