Home
last modified time | relevance | path

Searched refs:gf_io (Results 1 – 3 of 3) sorted by relevance

/titanic_44/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gelf.c60 if (IOP_SEEK(gf->gf_io, shstr->gs_shdr.sh_offset, SEEK_SET) == -1) { in gelf_sect_init()
61 warn("failed to seek %s to shdr strings", IOP_NAME(gf->gf_io)); in gelf_sect_init()
67 if (IOP_READ(gf->gf_io, shstr->gs_data, shstr->gs_shdr.sh_size) != in gelf_sect_init()
69 warn("failed to read %s shdr strings", IOP_NAME(gf->gf_io)); in gelf_sect_init()
80 IOP_NAME(gf->gf_io), i, shp->sh_name); in gelf_sect_init()
144 IOP_NAME(gf->gf_io), gsp->gs_name, (ulong_t)gsp->gs_shdr.sh_size); in mdb_gelf_sect_load()
148 if (IOP_SEEK(gf->gf_io, gsp->gs_shdr.sh_offset, SEEK_SET) == -1) { in mdb_gelf_sect_load()
150 IOP_NAME(gf->gf_io), gsp->gs_name); in mdb_gelf_sect_load()
154 nbytes = IOP_READ(gf->gf_io, gsp->gs_data, gsp->gs_shdr.sh_size); in mdb_gelf_sect_load()
157 warn("failed to read %s:%s", IOP_NAME(gf->gf_io), gsp->gs_name); in mdb_gelf_sect_load()
[all …]
H A Dmdb_gelf.h67 mdb_io_t *gf_io; /* I/o backend for ELF file */ member
H A Dmdb_proc.c986 mdb_io_rele(pt->p_file->gf_io); in pt_setflags()
987 pt->p_file->gf_io = pt->p_fio; in pt_setflags()