Lines Matching refs:segs
1489 static void fill_elf_header(struct elfhdr *elf, int segs,
1507 elf->e_phnum = segs;
2169 elf_addr_t e_shoff, int segs)
2181 shdr4extnum->sh_info = segs;
2194 int segs, i;
2204 * The number of segs are recored into ELF header as 16bit value.
2207 segs = cprm->vma_count + elf_core_extra_phdrs();
2210 segs++;
2212 /* If segs > PN_XNUM(0xffff), then e_phnum overflows. To avoid
2215 e_phnum = segs > PN_XNUM ? PN_XNUM : segs;
2227 offset += segs * sizeof(struct elf_phdr); /* Program headers */
2253 fill_extnum_info(&elf, shdr4extnum, e_shoff, segs);