Searched refs:datahdr (Results 1 – 2 of 2) sorted by relevance
/titanic_44/usr/src/cmd/savecore/ |
H A D | savecore.c | 91 static dumpdatahdr_t datahdr; /* compression info */ variable 364 Pread(dumpfd, &datahdr, sizeof (datahdr), endoff + sizeof (dumphdr)); in read_dumphdr() 386 if (datahdr.dump_datahdr_magic == DUMP_DATAHDR_MAGIC) { in read_dumphdr() 387 if (datahdr.dump_datahdr_version != DUMP_DATAHDR_VERSION) in read_dumphdr() 390 datahdr.dump_datahdr_version, progname, in read_dumphdr() 393 (void) memset(&datahdr, 0, sizeof (datahdr)); in read_dumphdr() 394 datahdr.dump_maxcsize = pagesize; in read_dumphdr() 433 dumpsize += datahdr.dump_data_csize; in check_space() 620 if (datahdr.dump_data_csize != 0) in copy_crashfile() 621 Copy(dumphdr.dump_data, datahdr.dump_data_csize, &coreoff, in copy_crashfile() [all …]
|
/titanic_44/usr/src/uts/common/os/ |
H A D | dumpsubr.c | 2681 dumpdatahdr_t datahdr; in dumpsys() local 2966 bzero(&datahdr, sizeof (datahdr)); in dumpsys() 2975 datahdr.dump_metrics = kmem_dump_finish(buf, size); in dumpsys() 2976 buf += datahdr.dump_metrics; in dumpsys() 2977 size -= datahdr.dump_metrics; in dumpsys() 2985 datahdr.dump_datahdr_magic = DUMP_DATAHDR_MAGIC; in dumpsys() 2986 datahdr.dump_datahdr_version = DUMP_DATAHDR_VERSION; in dumpsys() 2987 datahdr.dump_maxcsize = CBUF_SIZE; in dumpsys() 2988 datahdr.dump_maxrange = CBUF_MAPSIZE / PAGESIZE; in dumpsys() 2989 datahdr.dump_nstreams = dumpcfg.nhelper_used; in dumpsys() [all …]
|