def _register_end_clone_bio(cls, sym): if 'clone' in cls.dm_rq_clone_bio_info_p_type.target(): getter = cls._get_clone_bio_rq_info_3_7 else: getter = cls._get_clone_bio_rq_info_old cls._get_clone_bio_rq_info = getter block.register_bio_decoder(sym, cls.decode_clone_bio_rq)
def _register_clone_endio(cls, sym): if 'clone' in cls.dm_target_io_p_type.target(): getter = cls._get_clone_bio_tio_3_15 else: getter = cls._get_clone_bio_tio_old cls._get_clone_bio_tio = getter block.register_bio_decoder(sym, cls.decode_clone_bio)
def register_mpage_end_io(cls, sym): block.register_bio_decoder(sym, cls.decode_mpage)
def register_dio_bio_end(cls, sym): block.register_bio_decoder(sym, cls.decode_dio_bio)
def register_dio_bio(cls, symval): block.register_bio_decoder(cls.dio_bio_end, cls.decode_dio_bio)
def register_clone_endio(cls, sym): block.register_bio_decoder(sym, cls.decode_clone_bio)
def _register_end_bio_bh_io_sync(cls, sym): block.register_bio_decoder(sym, cls.decode_bio_buffer_head)