def METHOD_NAME(self, msg):
    if msg.DVA:
        size = 0x1000 * msg.SIZE
        self.iobuffer_dva = msg.DVA
        self.log(f"buf prealloc at dva {self.iobuffer_dva:#x}")
    else:
        size = align(0x1000 * msg.SIZE, 0x4000)
        self.iobuffer, self.iobuffer_dva = self.asc.ioalloc(size)
        self.log(f"buf {self.iobuffer:#x} / {self.iobuffer_dva:#x}")
        self.send(CrashLogMessage(TYPE=1, SIZE=size // 0x1000, DVA=self.iobuffer_dva))
    self.started = True
    return True