Lines Matching refs:core
60 int _libproc_incore_elf; /* only use in-core elf data */
867 str = "no such core file";
870 str = "no such process or core file";
897 str = "file is not an ELF core file";
903 str = "core file is corrupt or missing required data";
934 if (P->core != NULL) {
936 lwp_info_t *nlwp, *lwp = list_next(&P->core->core_lwp_head);
938 for (i = 0; i < P->core->core_nlwp; i++, lwp = nlwp) {
953 if (P->core->core_platform != NULL)
954 free(P->core->core_platform);
955 if (P->core->core_uts != NULL)
956 free(P->core->core_uts);
957 if (P->core->core_cred != NULL)
958 free(P->core->core_cred);
959 if (P->core->core_priv != NULL)
960 free(P->core->core_priv);
961 if (P->core->core_privinfo != NULL)
962 __priv_free_info(P->core->core_privinfo);
963 if (P->core->core_ppii != NULL)
964 free(P->core->core_ppii);
965 if (P->core->core_zonename != NULL)
966 free(P->core->core_zonename);
968 if (P->core->core_ldt != NULL)
969 free(P->core->core_ldt);
972 free(P->core);
1094 if (P->core->core_cred != NULL) {
1100 ngroups = MIN(ngroups, P->core->core_cred->pr_ngroups);
1102 (void) memcpy(pcrp, P->core->core_cred,
1131 return (P->core->core_nldt);
1133 if (P->core->core_ldt != NULL) {
1134 nldt = MIN(nldt, P->core->core_nldt);
1136 (void) memcpy(pldt, P->core->core_ldt,
1167 return (P->core->core_priv_size);
1169 if (P->core->core_priv != NULL) {
1170 size = MIN(P->core->core_priv_size, size);
1171 (void) memcpy(pprv, P->core->core_priv, size);
1219 return (P->core->core_privinfo);
2762 * For the core file multi-LWP case, we just iterate through the
2763 * list of LWP structs we read in from the core file.
2766 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head);
2769 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_prev(lwp)) {
2833 * For the core file multi-LWP case, we just iterate through the
2834 * list of LWP structs we read in from the core file.
2837 lwp_info_t *lwp = list_prev(&P->core->core_lwp_head);
2840 for (i = 0; i < P->core->core_nlwp; i++, lwp = list_prev(lwp)) {
2922 return (P->core->core_content);
2994 if (P->state == PS_DEAD) { /* core file */