Lines Matching refs:coreoff
582 offset_t coreoff; in copy_crashfile() local
597 coreoff = sizeof (corehdr); in copy_crashfile()
612 coreoff = roundup(coreoff, pagesize); in copy_crashfile()
613 corehdr.dump_ksyms = coreoff; in copy_crashfile()
614 Copy(dumphdr.dump_ksyms, dumphdr.dump_ksyms_csize, &coreoff, corefd, in copy_crashfile()
620 coreoff = roundup(coreoff, pagesize); in copy_crashfile()
621 corehdr.dump_pfn = coreoff; in copy_crashfile()
622 Copy(dumphdr.dump_pfn, dumphdr.dump_npages * sizeof (pfn_t), &coreoff, in copy_crashfile()
628 coreoff = roundup(coreoff, pagesize); in copy_crashfile()
629 corehdr.dump_map = coreoff; in copy_crashfile()
631 &coreoff, corefd, inbuf, bufsz, &completed, total); in copy_crashfile()
636 coreoff = roundup(coreoff, pagesize); in copy_crashfile()
637 corehdr.dump_data = coreoff; in copy_crashfile()
639 Copy(dumphdr.dump_data, datahdr.dump_data_csize, &coreoff, in copy_crashfile()
642 CopyPages(&coreoff, corefd, inbuf, bufsz, &completed, total); in copy_crashfile()
658 nb = DUMP_OFFSET - (coreoff & (DUMP_OFFSET - 1)); in copy_crashfile()
660 Pwrite(corefd, inbuf, nb, coreoff); in copy_crashfile()
661 coreoff += nb; in copy_crashfile()
664 Pwrite(corefd, &corehdr, sizeof (corehdr), coreoff); in copy_crashfile()
665 coreoff += sizeof (corehdr); in copy_crashfile()
667 Pwrite(corefd, &datahdr, sizeof (datahdr), coreoff); in copy_crashfile()
668 coreoff += sizeof (datahdr); in copy_crashfile()
670 nb = DUMP_OFFSET - (coreoff & (DUMP_OFFSET - 1)); in copy_crashfile()
672 Pwrite(corefd, inbuf, nb, coreoff); in copy_crashfile()