Lines Matching refs:Lhp
2686 prheader_t *Lhp;
2710 if ((Lhp = malloc(size)) == NULL)
2712 if ((rval = pread(fd, Lhp, size, 0)) < 0 ||
2714 free(Lhp);
2715 Lhp = NULL;
2721 free(Lhp);
2726 return (Lhp);
2735 prheader_t *Lhp;
2782 if ((Lhp = read_lfile(P, "lstatus")) == NULL)
2785 for (nlwp = Lhp->pr_nent, Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1);
2787 nlwp--, Lsp = (lwpstatus_t *)((uintptr_t)Lsp + Lhp->pr_entsize)) {
2792 free(Lhp);
2803 prheader_t *Lhp = NULL;
2813 if (Lhp != NULL)
2814 free(Lhp);
2855 if ((Lhp = read_lfile(P, "lstatus")) == NULL)
2858 free(Lhp);
2867 if (Lhp->pr_nent != P->status.pr_nlwp ||
2878 Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1);
2880 nstat = Lhp->pr_nent;
2888 Lsp = (lwpstatus_t *)((uintptr_t)Lsp + Lhp->pr_entsize);
2899 Lsp = (lwpstatus_t *)(uintptr_t)(Lhp + 1);
2904 Lsp = (lwpstatus_t *)((uintptr_t)Lsp + Lhp->pr_entsize);
2913 free(Lhp);