Lines Matching refs:bow_context
81 struct bow_context { struct
171 static int split_range(struct bow_context *bc, struct bow_range **br, in split_range()
220 static void set_type(struct bow_context *bc, struct bow_range **br, int type) in set_type()
256 static struct bow_range *find_free_range(struct bow_context *bc) in find_free_range()
267 static sector_t sector_to_page(struct bow_context const *bc, sector_t sector) in sector_to_page()
274 static int copy_data(struct bow_context const *bc, in copy_data()
325 static int add_log_entry(struct bow_context *bc, sector_t source, sector_t dest,
328 static int backup_log_sector(struct bow_context *bc) in backup_log_sector()
376 static int add_log_entry(struct bow_context *bc, sector_t source, sector_t dest, in add_log_entry()
411 static int prepare_log(struct bow_context *bc) in prepare_log()
494 static struct bow_range *find_sector0_current(struct bow_context *bc) in find_sector0_current()
508 struct bow_context *bc = container_of(kobj, struct bow_context, in state_show()
517 struct bow_context *bc = container_of(kobj, struct bow_context, in state_store()
569 struct bow_context *bc = container_of(kobj, struct bow_context, in free_show()
599 struct bow_context *bc = (struct bow_context *) ti->private; in dm_bow_dtr()
629 struct bow_context *bc = ti->private; in dm_bow_io_hints()
651 struct bow_context *bc = ti->private; in dm_bow_ctr_optional()
694 struct bow_context *bc; in dm_bow_ctr()
804 static int prepare_unchanged_range(struct bow_context *bc, struct bow_range *br, in prepare_unchanged_range()
886 static int prepare_free_range(struct bow_context *bc, struct bow_range *br, in prepare_free_range()
898 static int prepare_changed_range(struct bow_context *bc, struct bow_range *br, in prepare_changed_range()
905 static int prepare_one_range(struct bow_context *bc, in prepare_one_range()
938 struct bow_context *bc;
945 struct bow_context *bc = ww->bc; in bow_write()
973 static int queue_write(struct bow_context *bc, struct bio *bio) in queue_write()
989 static int handle_sector0(struct bow_context *bc, struct bio *bio) in handle_sector0()
1019 static int add_trim(struct bow_context *bc, struct bio *bio) in add_trim()
1058 static int remove_trim(struct bow_context *bc, struct bio *bio) in remove_trim()
1096 int remap_unless_illegal_trim(struct bow_context *bc, struct bio *bio) in remap_unless_illegal_trim()
1113 struct bow_context *bc = ti->private; in dm_bow_map()
1156 struct bow_context *bc = ti->private; in dm_bow_tablestatus()
1257 struct bow_context *bc = ti->private; in dm_bow_prepare_ioctl()
1268 struct bow_context *bc = ti->private; in dm_bow_iterate_devices()