Lines Matching refs:btrfsic_dev_state

128 struct btrfsic_dev_state;
142 struct btrfsic_dev_state *dev_state;
186 struct btrfsic_dev_state { struct
212 struct btrfsic_dev_state *dev; argument
257 static void btrfsic_dev_state_init(struct btrfsic_dev_state *ds);
258 static struct btrfsic_dev_state *btrfsic_dev_state_alloc(void);
259 static void btrfsic_dev_state_free(struct btrfsic_dev_state *ds);
283 struct btrfsic_dev_state *ds,
285 static void btrfsic_dev_state_hashtable_remove(struct btrfsic_dev_state *ds);
286 static struct btrfsic_dev_state *btrfsic_dev_state_hashtable_lookup(dev_t dev,
324 static void btrfsic_process_written_block(struct btrfsic_dev_state *dev_state,
369 struct btrfsic_dev_state *dev_state,
372 struct btrfsic_dev_state **selected_dev_state,
374 static struct btrfsic_dev_state *btrfsic_dev_state_lookup(dev_t dev);
377 struct btrfsic_dev_state *dev_state,
457 static void btrfsic_dev_state_init(struct btrfsic_dev_state *ds) in btrfsic_dev_state_init()
470 static struct btrfsic_dev_state *btrfsic_dev_state_alloc(void) in btrfsic_dev_state_alloc()
472 struct btrfsic_dev_state *ds; in btrfsic_dev_state_alloc()
481 static void btrfsic_dev_state_free(struct btrfsic_dev_state *ds) in btrfsic_dev_state_free()
599 struct btrfsic_dev_state *ds, in btrfsic_dev_state_hashtable_add()
609 static void btrfsic_dev_state_hashtable_remove(struct btrfsic_dev_state *ds) in btrfsic_dev_state_hashtable_remove()
614 static struct btrfsic_dev_state *btrfsic_dev_state_hashtable_lookup(dev_t dev, in btrfsic_dev_state_hashtable_lookup()
619 struct btrfsic_dev_state *ds; in btrfsic_dev_state_hashtable_lookup()
636 struct btrfsic_dev_state *selected_dev_state = NULL; in btrfsic_process_superblock()
649 struct btrfsic_dev_state *dev_state; in btrfsic_process_superblock()
763 struct btrfsic_dev_state *dev_state, in btrfsic_process_superblock_dev_mirror()
766 struct btrfsic_dev_state **selected_dev_state, in btrfsic_process_superblock_dev_mirror()
1740 static void btrfsic_process_written_block(struct btrfsic_dev_state *dev_state, in btrfsic_process_written_block()
2118 struct btrfsic_dev_state *const dev_state = block->dev_state; in btrfsic_bio_end_io()
2151 struct btrfsic_dev_state *dev_state; in btrfsic_bh_end_io()
2638 struct btrfsic_dev_state *dev_state; in btrfsic_block_lookup_or_add()
2678 struct btrfsic_dev_state *dev_state, in btrfsic_cmp_log_and_dev_bytenr()
2725 static struct btrfsic_dev_state *btrfsic_dev_state_lookup(dev_t dev) in btrfsic_dev_state_lookup()
2733 struct btrfsic_dev_state *dev_state; in btrfsic_submit_bh()
2790 struct btrfsic_dev_state *dev_state; in __btrfsic_submit_bio()
2930 struct btrfsic_dev_state *ds; in btrfsic_mount()
2982 struct btrfsic_dev_state *ds; in btrfsic_unmount()