/src/sys/arch/atari/stand/tostools/libtos/ |
elf.c | 119 Elf32_Shdr shdr; local in function:elf_load 122 if (read(fd, &shdr, sizeof(shdr)) != sizeof(shdr)) 124 if ((shdr.sh_type == SHT_SYMTAB) || (shdr.sh_type == SHT_STRTAB)) 125 symsize += shdr.sh_size;
|
/src/lib/libexecinfo/ |
symtab.c | 124 GElf_Shdr shdr; local in function:symtab_create 129 gelf_getshdr(scn, &shdr); 130 if(shdr.sh_type != SHT_SYMTAB) 134 ns = shdr.sh_size / shdr.sh_entsize; 147 elf_strptr(elf, shdr.sh_link, sym.st_name), 162 elf_strptr(elf, shdr.sh_link, sym.st_name));
|
/src/sys/arch/amd64/stand/prekern/ |
elf.c | 38 Elf_Shdr *shdr; member in struct:elfinfo 64 elf_section_mappable(Elf_Shdr *shdr) 66 if (!(shdr->sh_flags & SHF_ALLOC)) { 69 if (shdr->sh_type != SHT_NOBITS && 70 shdr->sh_type != SHT_PROGBITS) { 77 elf_can_drop_unmappable(Elf_Shdr *shdr) 80 * We found relocations from the section 'shdr' towards the rest of 81 * the binary, but 'shdr' is not mapped. Decide whether to skip the 91 if (shdr->sh_type == SHT_NOTE) { 130 if (eif.shdr[i].sh_name == 0) 277 Elf_Shdr *shdr; local in function:elf_get_head_size 338 Elf_Shdr *shdr; local in function:elf_map_sections [all...] |
/src/sys/kern/ |
core_elf32.c | 115 Elf_Shdr shdr; local in function:ELFNAMEEND 194 ehdr.e_phoff = sizeof(ehdr) + sizeof(shdr); 210 memset(&shdr, 0, sizeof(shdr)); 211 shdr.sh_type = SHT_NULL; 212 shdr.sh_info = npsections; 214 &shdr, sizeof(shdr)), ENOSYS, error);
|
subr_kobj.c | 156 Elf_Shdr *shdr; local in function:kobj_load 176 shdr = NULL; 235 error = ko->ko_read(ko, (void **)&shdr, ko->ko_shdrsz, hdr->e_shoff, 241 ko->ko_shdr = shdr; 249 switch (shdr[i].sh_type) { 257 symstrindex = shdr[i].sh_link; 260 if (shdr[shdr[i].sh_info].sh_type != SHT_PROGBITS) 265 if (shdr[shdr[i].sh_info].sh_type != SHT_PROGBITS [all...] |
kern_ksyms.c | 502 Elf_Shdr *shdr; local in function:ksyms_addsyms_elf 536 shdr = (Elf_Shdr *)((uint8_t *)start + ehdr->e_shoff); 538 if (shdr[i].sh_type != SHT_SYMTAB) 540 if (shdr[i].sh_offset == 0) 542 symstart = (uint8_t *)start + shdr[i].sh_offset; 543 symsize = shdr[i].sh_size; 544 j = shdr[i].sh_link; 545 if (shdr[j].sh_offset == 0) 547 strstart = (uint8_t *)start + shdr[j].sh_offset; 548 strsize = shdr[j].sh_size [all...] |
/src/sys/lib/libsa/ |
loadfile_elf32.c | 190 internalize_shdr(Elf_Byte bo, Elf_Shdr *shdr) 194 I32(shdr->sh_name); 195 I32(shdr->sh_type); 196 I32(shdr->sh_flags); 197 I32(shdr->sh_addr); 198 I32(shdr->sh_offset); 199 I32(shdr->sh_size); 200 I32(shdr->sh_link); 201 I32(shdr->sh_info); 202 I32(shdr->sh_addralign) 350 Elf_Shdr *shdr; local in function:ELFNAMEEND [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/clk/ |
nouveau_nvkm_subdev_clk_base.c | 57 u8 idx = 0, sver, shdr; local in function:nvkm_clk_adjust 64 shdr = hdr; 65 subd = nvbios_boostSp(bios, idx++, data, &sver, &shdr, 471 u8 sver = ver, shdr = hdr; local in function:nvkm_pstate_new 473 &sver, &shdr, cnt, len, &perfS);
|
/src/sys/arch/x68k/stand/aout2hux/ |
aout2hux.c | 201 fprintf(stderr, "%s: size shdr %d should be %d\n", fn, i, 244 struct elf_m68k_shdr shdr; local in function:open_elf 252 (foff_t) (get_uint32(&hdr->e_shoff) + sizeof shdr), 258 if (fread(&shdr, sizeof shdr, 1, fp) != 1) { 266 fn, i, get_uint32(&shdr.sh_flags))); 268 if (ELF68K_ISDATASEG(&shdr)) { 274 inf->text_size = get_uint32(&shdr.sh_offset) -
|
/src/sys/dev/pci/ |
if_ipw.c | 377 struct ipw_soft_hdr *shdr; local in function:ipw_dma_alloc 554 shdr = &sc->shdr_list[i]; 555 shdr->hdr = sc->hdr_list + i; 556 shdr->offset = sizeof(struct ipw_hdr) * i; 557 shdr->addr = sc->hdr_map->dm_segs[0].ds_addr + shdr->offset; 558 TAILQ_INSERT_TAIL(&sc->sc_free_shdr, shdr, next); 1180 struct ipw_soft_hdr *shdr; local in function:ipw_release_sbd 1191 shdr = sbd->priv; 1193 shdr->offset, sizeof(struct ipw_hdr), BUS_DMASYNC_POSTWRITE) 1353 struct ipw_soft_hdr *shdr; local in function:ipw_tx_start [all...] |
/src/bin/ksh/ |
history.c | 904 shdr, /* expecting a header */ enumerator in enum:state 915 State state = shdr; 921 case shdr: 935 lines++, state = shdr; 1038 for (state = shdr; bytes-- > 0; base++) { 1040 case shdr: 1072 state = shdr;
|
/src/sys/arch/i386/stand/lib/ |
exec_multiboot2.c | 1027 char *shdr = (char *)mbp->mbp_marks[MARK_SYM] + shoff; local in function:mbi_elf_sections 1035 pvbcopy((void *)shdr, mbt + 1, shdr_len);
|
/src/sys/arch/mac68k/obio/ |
iwm_fd.c | 1148 sectorHdr_t *shdr; local in function:fdstart_Read 1155 shdr = &fd->sHdr; 1173 shdr->side = pos->side; 1174 shdr->sector = pos->sector; 1175 shdr->track = pos->track; 1178 fd->iwmErr = iwmReadSector(&fd->sHdr, fd->r_slots, 1184 shdr->track, shdr->side >> 3, 1185 shdr->sector, fd->iwmErr, fd->sectRetries) 1262 sectorHdr_t *shdr; local in function:fdstart_Flush [all...] |
/src/sys/dev/ |
ipmi.c | 1156 struct sdrhdr shdr; local in function:get_sdr 1173 if (get_sdr_partial(sc, recid, resid, 0, sizeof shdr, &shdr, nxtrec)) { 1179 sdrlen = sizeof(shdr) + shdr.record_length; 1184 memcpy(psdr, &shdr, sizeof(shdr)); 1187 for (offset = sizeof(shdr); offset < sdrlen; offset += maxsdrlen) {
|
/src/sys/netinet/ |
sctp_output.c | 5278 struct sctphdr *shdr; local in function:sctp_med_chunk_output 5595 shdr = mtod(outchain, struct sctphdr *); 5596 shdr->src_port = inp->sctp_lport; 5597 shdr->dest_port = stcb->rport; 5598 shdr->v_tag = htonl(stcb->asoc.peer_vtag); 5599 shdr->checksum = 0; 5874 shdr = mtod(outchain, struct sctphdr *); 5875 shdr->src_port = inp->sctp_lport; 5876 shdr->dest_port = stcb->rport; 5877 shdr->v_tag = htonl(stcb->asoc.peer_vtag) 6472 struct sctphdr *shdr; local in function:sctp_chunk_retransmission [all...] |