Searched refs:ctfsect (Results 1 – 3 of 3) sorted by relevance
/titanic_41/usr/src/uts/common/ctf/ |
H A D | ctf_mod.c | 122 ctf_sect_t ctfsect, symsect, strsect; in ctf_modopen() local 129 ctfsect.cts_name = ".SUNW_ctf"; in ctf_modopen() 130 ctfsect.cts_type = SHT_PROGBITS; in ctf_modopen() 131 ctfsect.cts_flags = SHF_ALLOC; in ctf_modopen() 132 ctfsect.cts_data = mp->ctfdata; in ctf_modopen() 133 ctfsect.cts_size = mp->ctfsize; in ctf_modopen() 134 ctfsect.cts_entsize = 1; in ctf_modopen() 135 ctfsect.cts_offset = 0; in ctf_modopen() 159 if ((fp = ctf_bufopen(&ctfsect, &symsect, &strsect, error)) == NULL) in ctf_modopen()
|
/titanic_41/usr/src/lib/libctf/common/ |
H A D | ctf_lib.c | 194 ctf_sect_t ctfsect, symsect, strsect; in ctf_fdopen() local 207 bzero(&ctfsect, sizeof (ctf_sect_t)); in ctf_fdopen() 227 ctfsect.cts_data = mmap64(NULL, st.st_size, PROT_READ, in ctf_fdopen() 230 if (ctfsect.cts_data == MAP_FAILED) in ctf_fdopen() 233 ctfsect.cts_name = _CTF_SECTION; in ctf_fdopen() 234 ctfsect.cts_type = SHT_PROGBITS; in ctf_fdopen() 235 ctfsect.cts_flags = SHF_ALLOC; in ctf_fdopen() 236 ctfsect.cts_size = (size_t)st.st_size; in ctf_fdopen() 237 ctfsect.cts_entsize = 1; in ctf_fdopen() 238 ctfsect.cts_offset = 0; in ctf_fdopen() [all …]
|
/titanic_41/usr/src/common/ctf/ |
H A D | ctf_open.c | 544 ctf_bufopen(const ctf_sect_t *ctfsect, const ctf_sect_t *symsect, in ctf_bufopen() argument 554 if (ctfsect == NULL || ((symsect == NULL) != (strsect == NULL))) in ctf_bufopen() 567 if (ctfsect->cts_size < sizeof (ctf_preamble_t)) in ctf_bufopen() 570 pp = (const ctf_preamble_t *)ctfsect->cts_data; in ctf_bufopen() 585 if (ctfsect->cts_size < sizeof (ctf_header_t)) in ctf_bufopen() 588 bcopy(ctfsect->cts_data, &hp, sizeof (hp)); in ctf_bufopen() 593 (const ctf_header_v1_t *)ctfsect->cts_data; in ctf_bufopen() 595 if (ctfsect->cts_size < sizeof (ctf_header_v1_t)) in ctf_bufopen() 645 bcopy(ctfsect->cts_data, base, hdrsz); in ctf_bufopen() 649 src = (uchar_t *)ctfsect->cts_data + hdrsz; in ctf_bufopen() [all …]
|