Lines Matching defs:phdrp
151 dtrace_safe_phdr(Phdr *phdrp, struct uarg *args, uintptr_t base)
153 ASSERT(phdrp->p_type == PT_SUNWDTRACE);
159 if (phdrp->p_memsz < PT_SUNWDTRACE_SIZE ||
160 (phdrp->p_flags & (PF_R | PF_W | PF_X)) != (PF_R | PF_W | PF_X))
163 args->thrptr = phdrp->p_vaddr + base;
305 Phdr *phdrp;
409 phdrp = (Phdr *)phdrbase;
411 switch (phdrp->p_type) {
420 if (phdrp->p_flags & PF_R)
422 if (phdrp->p_flags & PF_W)
424 if (phdrp->p_flags & PF_X)
428 dataphdrp = phdrp;
431 capphdr = phdrp;
434 dynamicphdr = phdrp;
437 phdrp = (Phdr *)((caddr_t)phdrp + hsize);
1017 Phdr *phdrp = (Phdr *)phdrbase;
1027 if (phdrp->p_type == PT_LOAD) {
1028 lo = phdrp->p_vaddr;
1029 hi = lo + phdrp->p_memsz;
1047 (phdrp->p_flags & PF_W)) {
1052 phdrp = (Phdr *)((caddr_t)phdrp + hsize);