Lines Matching refs:cl
538 static void bch2_write_done(struct closure *cl) in bch2_write_done() argument
540 struct bch_write_op *op = container_of(cl, struct bch_write_op, cl); in bch2_write_done()
552 EBUG_ON(cl->parent); in bch2_write_done()
553 closure_debug_destroy(cl); in bch2_write_done()
672 closure_type(op, struct bch_write_op, cl); in CLOSURE_CALLBACK()
723 bch2_write_done(&op->cl); in bch2_write_point_do_index_updates()
729 struct closure *cl = bio->bi_private; in bch2_write_endio() local
730 struct bch_write_op *op = container_of(cl, struct bch_write_op, cl); in bch2_write_endio()
778 closure_put(cl); in bch2_write_endio()
1298 closure_type(op, struct bch_write_op, cl); in CLOSURE_CALLBACK()
1301 bch2_write_done(cl); in CLOSURE_CALLBACK()
1420 bio->bi_private = &op->cl; in bch2_nocow_write()
1422 closure_get(&op->cl); in bch2_nocow_write()
1450 closure_sync(&op->cl); in bch2_nocow_write()
1454 closure_sync(&op->cl); in bch2_nocow_write()
1455 bch2_nocow_write_done(&op->cl.work); in bch2_nocow_write()
1462 continue_at(&op->cl, bch2_nocow_write_done, index_update_wq(op)); in bch2_nocow_write()
1543 &op->cl, &wp))); in __bch2_write()
1571 bio->bi_private = &op->cl; in __bch2_write()
1593 bch2_wait_on_allocator(c, &op->cl); in __bch2_write()
1599 bch2_write_done(&op->cl); in __bch2_write()
1602 continue_at(&op->cl, bch2_write_index, NULL); in __bch2_write()
1650 bch2_write_done(&op->cl); in bch2_write_data_inline()
1672 closure_type(op, struct bch_write_op, cl); in CLOSURE_CALLBACK()
1677 EBUG_ON(op->cl.parent); in CLOSURE_CALLBACK()
1727 closure_debug_destroy(&op->cl); in CLOSURE_CALLBACK()
1761 prt_printf(out, "ref:\t%u\n", closure_nr_remaining(&op->cl)); in bch2_write_op_to_text()