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