Searched refs:cshdr (Results 1 – 2 of 2) sorted by relevance
192 Elf_Shdr *shdr, *cshdr, *lshdr; in __elfN() local291 for (cshdr = NULL; /* none */; /* none */) in __elfN()298 lshdr = cshdr; in __elfN()309 if (cshdr == lshdr || in __elfN()310 cshdr->sh_offset > shdr[i].sh_offset) in __elfN()311 cshdr = &shdr[i]; in __elfN()314 if (cshdr == lshdr) in __elfN()317 if (kern_pread(ef->fd, (vm_offset_t)cshdr->sh_addr, in __elfN()318 cshdr->sh_size, (off_t)cshdr->sh_offset) != 0) { in __elfN()
1392 if ((cshdr->sh_entsize == 0) || (cshdr->sh_size == 0)) { in cap_section()1404 if (cshdr->sh_link) { in cap_section()1412 if (cshdr->sh_link >= shnum) { in cap_section()1418 cicache = &cache[cshdr->sh_link]; in cap_section()1460 if (cshdr->sh_info) { in cap_section()1466 if (cshdr->sh_info >= shnum) { in cap_section()1472 strcache = &cache[cshdr->sh_info]; in cap_section()1487 capnum = (Word)(cshdr->sh_size / cshdr->sh_entsize); in cap_section()1757 Shdr *cshdr = NULL; in cap() local1801 cshdr = shdr; in cap()[all …]