ph                 30 kernel/exec.c    struct proghdr ph;
ph                 53 kernel/exec.c    for(i=0, off=elf.phoff; i<elf.phnum; i++, off+=sizeof(ph)){
ph                 54 kernel/exec.c      if(readi(ip, 0, (uint64)&ph, off, sizeof(ph)) != sizeof(ph))
ph                 56 kernel/exec.c      if(ph.type != ELF_PROG_LOAD)
ph                 58 kernel/exec.c      if(ph.memsz < ph.filesz)
ph                 60 kernel/exec.c      if(ph.vaddr + ph.memsz < ph.vaddr)
ph                 62 kernel/exec.c      if(ph.vaddr % PGSIZE != 0)
ph                 65 kernel/exec.c      if((sz1 = uvmalloc(pagetable, sz, ph.vaddr + ph.memsz, flags2perm(ph.flags))) == 0)
ph                 68 kernel/exec.c      if(loadseg(pagetable, ph.vaddr, ip, ph.off, ph.filesz) < 0)