Lines Matching refs:core
935 if (P->core != NULL) { in Pfree()
937 lwp_info_t *nlwp, *lwp = list_next(&P->core->core_lwp_head); in Pfree()
939 for (i = 0; i < P->core->core_nlwp; i++, lwp = nlwp) { in Pfree()
952 if (P->core->core_platform != NULL) in Pfree()
953 free(P->core->core_platform); in Pfree()
954 if (P->core->core_uts != NULL) in Pfree()
955 free(P->core->core_uts); in Pfree()
956 if (P->core->core_cred != NULL) in Pfree()
957 free(P->core->core_cred); in Pfree()
958 if (P->core->core_priv != NULL) in Pfree()
959 free(P->core->core_priv); in Pfree()
960 if (P->core->core_privinfo != NULL) in Pfree()
961 __priv_free_info(P->core->core_privinfo); in Pfree()
962 if (P->core->core_ppii != NULL) in Pfree()
963 free(P->core->core_ppii); in Pfree()
964 if (P->core->core_zonename != NULL) in Pfree()
965 free(P->core->core_zonename); in Pfree()
967 if (P->core->core_ldt != NULL) in Pfree()
968 free(P->core->core_ldt); in Pfree()
971 free(P->core); in Pfree()
1093 if (P->core->core_cred != NULL) { in Pcred()
1099 ngroups = MIN(ngroups, P->core->core_cred->pr_ngroups); in Pcred()
1101 (void) memcpy(pcrp, P->core->core_cred, in Pcred()
1130 return (P->core->core_nldt); in Pldt()
1132 if (P->core->core_ldt != NULL) { in Pldt()
1133 nldt = MIN(nldt, P->core->core_nldt); in Pldt()
1135 (void) memcpy(pldt, P->core->core_ldt, in Pldt()
1163 if (P->core->core_priv != NULL) { in Ppriv()
1164 size = MIN(P->core->core_priv_size, size); in Ppriv()
1165 (void) memcpy(pprv, P->core->core_priv, size); in Ppriv()
1213 return (P->core->core_privinfo); in Pprivinfo()
2760 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head); in Plwp_iter()
2763 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_prev(lwp)) { in Plwp_iter()
2831 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head); in Plwp_iter_all()
2834 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_prev(lwp)) { in Plwp_iter_all()
2916 return (P->core->core_content); in Pcontent()