Lines Matching refs:bch
2 * drivers/bch/bchlib_teardown.c27 #include "bch.h"44 struct bchlib_s *bch = (struct bchlib_s *)handle;50 if (bch->refs > 0)57 (void)bchlib_flushsector(bch);61 (void)close_blockdriver(bch->vnode);65 if (bch->buffer)67 free(bch->buffer);70 (void)sem_destroy(&bch->sem);71 free(bch);