Lines Matching refs:info

108 	struct ctlib_event_info *info = evthdl;  in ct_pr_event_get_pid()  local
109 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_pid()
111 if (info->nvl == NULL) in ct_pr_event_get_pid()
113 return (nvlist_lookup_uint32(info->nvl, CTPE_PID, (uint_t *)pid)); in ct_pr_event_get_pid()
119 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_ppid() local
120 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_ppid()
122 if (info->event.ctev_type != CT_PR_EV_FORK) in ct_pr_event_get_ppid()
124 if (info->nvl == NULL) in ct_pr_event_get_ppid()
126 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); in ct_pr_event_get_ppid()
132 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_signal() local
133 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_signal()
135 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_signal()
137 if (info->nvl == NULL) in ct_pr_event_get_signal()
139 return (nvlist_lookup_uint32(info->nvl, CTPE_SIGNAL, (uint_t *)signal)); in ct_pr_event_get_signal()
145 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_sender() local
146 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_sender()
148 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_sender()
150 if (info->nvl == NULL) in ct_pr_event_get_sender()
152 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDER, (uint_t *)sender)); in ct_pr_event_get_sender()
158 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_senderct() local
159 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_senderct()
161 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_senderct()
163 if (info->nvl == NULL) in ct_pr_event_get_senderct()
165 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDCT, (uint_t *)sendct)); in ct_pr_event_get_senderct()
171 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_exitstatus() local
172 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_exitstatus()
174 if (info->event.ctev_type != CT_PR_EV_EXIT) in ct_pr_event_get_exitstatus()
176 if (info->nvl == NULL) in ct_pr_event_get_exitstatus()
178 return (nvlist_lookup_int32(info->nvl, CTPE_EXITSTATUS, exitstatus)); in ct_pr_event_get_exitstatus()
184 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_pcorefile() local
185 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_pcorefile()
187 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_pcorefile()
189 if (info->nvl == NULL) in ct_pr_event_get_pcorefile()
191 return (nvlist_lookup_string(info->nvl, CTPE_PCOREFILE, in ct_pr_event_get_pcorefile()
198 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_gcorefile() local
199 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_gcorefile()
201 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_gcorefile()
203 if (info->nvl == NULL) in ct_pr_event_get_gcorefile()
205 return (nvlist_lookup_string(info->nvl, CTPE_GCOREFILE, in ct_pr_event_get_gcorefile()
212 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_zcorefile() local
213 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_zcorefile()
215 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_zcorefile()
217 if (info->nvl == NULL) in ct_pr_event_get_zcorefile()
219 return (nvlist_lookup_string(info->nvl, CTPE_ZCOREFILE, in ct_pr_event_get_zcorefile()
230 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_param() local
231 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_param()
233 if (info->nvl == NULL) in ct_pr_status_get_param()
235 return (nvlist_lookup_uint32(info->nvl, CTPS_PARAMS, param)); in ct_pr_status_get_param()
241 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_fatal() local
242 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_fatal()
244 if (info->nvl == NULL) in ct_pr_status_get_fatal()
246 return (nvlist_lookup_uint32(info->nvl, CTPS_EV_FATAL, fatal)); in ct_pr_status_get_fatal()
252 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_members() local
253 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_members()
255 if (info->nvl == NULL) in ct_pr_status_get_members()
257 return (nvlist_lookup_uint32_array(info->nvl, CTPS_MEMBERS, in ct_pr_status_get_members()
265 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_contracts() local
266 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_contracts()
268 if (info->nvl == NULL) in ct_pr_status_get_contracts()
270 return (nvlist_lookup_uint32_array(info->nvl, CTPS_CONTRACTS, in ct_pr_status_get_contracts()
277 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_fmri() local
278 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_fmri()
280 if (info->nvl == NULL) in ct_pr_status_get_svc_fmri()
282 return (nvlist_lookup_string(info->nvl, CTPS_SVC_FMRI, svc_fmri)); in ct_pr_status_get_svc_fmri()
288 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_aux() local
289 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_aux()
291 if (info->nvl == NULL) in ct_pr_status_get_svc_aux()
293 return (nvlist_lookup_string(info->nvl, CTPS_CREATOR_AUX, svc_aux)); in ct_pr_status_get_svc_aux()
299 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_ctid() local
300 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_ctid()
302 if (info->nvl == NULL) in ct_pr_status_get_svc_ctid()
304 return (nvlist_lookup_int32(info->nvl, CTPS_SVC_CTID, in ct_pr_status_get_svc_ctid()
311 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_creator() local
312 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_creator()
314 if (info->nvl == NULL) in ct_pr_status_get_svc_creator()
316 return (nvlist_lookup_string(info->nvl, CTPS_SVC_CREATOR, svc_creator)); in ct_pr_status_get_svc_creator()