Lines Matching refs:info

106 	struct ctlib_event_info *info = evthdl;  in ct_pr_event_get_pid()  local
107 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_pid()
109 if (info->nvl == NULL) in ct_pr_event_get_pid()
111 return (nvlist_lookup_uint32(info->nvl, CTPE_PID, (uint_t *)pid)); in ct_pr_event_get_pid()
117 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_ppid() local
118 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_ppid()
120 if (info->event.ctev_type != CT_PR_EV_FORK) in ct_pr_event_get_ppid()
122 if (info->nvl == NULL) in ct_pr_event_get_ppid()
124 return (nvlist_lookup_uint32(info->nvl, CTPE_PPID, (uint_t *)ppid)); in ct_pr_event_get_ppid()
130 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_signal() local
131 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_signal()
133 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_signal()
135 if (info->nvl == NULL) in ct_pr_event_get_signal()
137 return (nvlist_lookup_uint32(info->nvl, CTPE_SIGNAL, (uint_t *)signal)); in ct_pr_event_get_signal()
143 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_sender() local
144 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_sender()
146 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_sender()
148 if (info->nvl == NULL) in ct_pr_event_get_sender()
150 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDER, (uint_t *)sender)); in ct_pr_event_get_sender()
156 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_senderct() local
157 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_senderct()
159 if (info->event.ctev_type != CT_PR_EV_SIGNAL) in ct_pr_event_get_senderct()
161 if (info->nvl == NULL) in ct_pr_event_get_senderct()
163 return (nvlist_lookup_uint32(info->nvl, CTPE_SENDCT, (uint_t *)sendct)); in ct_pr_event_get_senderct()
169 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_exitstatus() local
170 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_exitstatus()
172 if (info->event.ctev_type != CT_PR_EV_EXIT) in ct_pr_event_get_exitstatus()
174 if (info->nvl == NULL) in ct_pr_event_get_exitstatus()
176 return (nvlist_lookup_int32(info->nvl, CTPE_EXITSTATUS, exitstatus)); in ct_pr_event_get_exitstatus()
182 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_pcorefile() local
183 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_pcorefile()
185 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_pcorefile()
187 if (info->nvl == NULL) in ct_pr_event_get_pcorefile()
189 return (nvlist_lookup_string(info->nvl, CTPE_PCOREFILE, in ct_pr_event_get_pcorefile()
196 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_gcorefile() local
197 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_gcorefile()
199 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_gcorefile()
201 if (info->nvl == NULL) in ct_pr_event_get_gcorefile()
203 return (nvlist_lookup_string(info->nvl, CTPE_GCOREFILE, in ct_pr_event_get_gcorefile()
210 struct ctlib_event_info *info = evthdl; in ct_pr_event_get_zcorefile() local
211 if (info->event.ctev_cttype != CTT_PROCESS) in ct_pr_event_get_zcorefile()
213 if (info->event.ctev_type != CT_PR_EV_CORE) in ct_pr_event_get_zcorefile()
215 if (info->nvl == NULL) in ct_pr_event_get_zcorefile()
217 return (nvlist_lookup_string(info->nvl, CTPE_ZCOREFILE, in ct_pr_event_get_zcorefile()
228 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_param() local
229 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_param()
231 if (info->nvl == NULL) in ct_pr_status_get_param()
233 return (nvlist_lookup_uint32(info->nvl, CTPS_PARAMS, param)); in ct_pr_status_get_param()
239 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_fatal() local
240 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_fatal()
242 if (info->nvl == NULL) in ct_pr_status_get_fatal()
244 return (nvlist_lookup_uint32(info->nvl, CTPS_EV_FATAL, fatal)); in ct_pr_status_get_fatal()
250 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_members() local
251 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_members()
253 if (info->nvl == NULL) in ct_pr_status_get_members()
255 return (nvlist_lookup_uint32_array(info->nvl, CTPS_MEMBERS, in ct_pr_status_get_members()
263 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_contracts() local
264 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_contracts()
266 if (info->nvl == NULL) in ct_pr_status_get_contracts()
268 return (nvlist_lookup_uint32_array(info->nvl, CTPS_CONTRACTS, in ct_pr_status_get_contracts()
275 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_fmri() local
276 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_fmri()
278 if (info->nvl == NULL) in ct_pr_status_get_svc_fmri()
280 return (nvlist_lookup_string(info->nvl, CTPS_SVC_FMRI, svc_fmri)); in ct_pr_status_get_svc_fmri()
286 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_aux() local
287 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_aux()
289 if (info->nvl == NULL) in ct_pr_status_get_svc_aux()
291 return (nvlist_lookup_string(info->nvl, CTPS_CREATOR_AUX, svc_aux)); in ct_pr_status_get_svc_aux()
297 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_ctid() local
298 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_ctid()
300 if (info->nvl == NULL) in ct_pr_status_get_svc_ctid()
302 return (nvlist_lookup_int32(info->nvl, CTPS_SVC_CTID, in ct_pr_status_get_svc_ctid()
309 struct ctlib_status_info *info = stathdl; in ct_pr_status_get_svc_creator() local
310 if (info->status.ctst_type != CTT_PROCESS) in ct_pr_status_get_svc_creator()
312 if (info->nvl == NULL) in ct_pr_status_get_svc_creator()
314 return (nvlist_lookup_string(info->nvl, CTPS_SVC_CREATOR, svc_creator)); in ct_pr_status_get_svc_creator()