Lines Matching defs:infop
125 rcm_get_info(rcm_handle_t *hd, char *rsrcname, uint_t flag, rcm_info_t **infop)
129 if ((flag & ~RCM_GET_INFO_MASK) || (infop == NULL)) {
146 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop));
152 rcm_info_t **infop)
160 return (rcm_common(CMD_GETINFO, hd, rsrcnames, flag, NULL, infop));
166 rcm_info_t **infop)
173 return (rcm_request_offline_list(hd, rsrcnames, flag, infop));
179 rcm_info_t **infop)
186 return (rcm_common(CMD_OFFLINE, hd, rsrcnames, flag, NULL, infop));
192 rcm_info_t **infop)
199 return (rcm_notify_online_list(hd, rsrcnames, flag, infop));
205 rcm_info_t **infop)
212 return (rcm_common(CMD_ONLINE, hd, rsrcnames, flag, NULL, infop));
218 rcm_info_t **infop)
225 return (rcm_notify_remove_list(hd, rsrcnames, flag, infop));
231 rcm_info_t **infop)
238 return (rcm_common(CMD_REMOVE, hd, rsrcnames, flag, NULL, infop));
244 timespec_t *interval, rcm_info_t **infop)
251 return (rcm_request_suspend_list(hd, rsrcnames, flag, interval, infop));
257 timespec_t *interval, rcm_info_t **infop)
266 infop));
272 rcm_info_t **infop)
279 return (rcm_notify_resume_list(hd, rsrcnames, flag, infop));
285 rcm_info_t **infop)
292 return (rcm_common(CMD_RESUME, hd, rsrcnames, flag, NULL, infop));
298 nvlist_t *nvl, rcm_info_t **infop)
312 infop);
320 nvlist_t *nvl, rcm_info_t **infop)
334 infop);
342 rcm_info_t **infop)
356 rv = rcm_common(CMD_EVENT, hd, rsrcnames, 0, (void *)nvl, infop);
368 rcm_info_t **infop)
411 rcm_info_t **infop)
456 rcm_info_t **infop)
498 rcm_info_t *infop = NULL;
510 result = rcm_common(CMD_GETSTATE, hd, rsrcnames, flag, NULL, &infop);
519 if ((infop == NULL) ||
520 ((tuple = rcm_info_next(infop, NULL)) == NULL) ||
521 (rcm_info_next(infop, tuple) != NULL)) {
523 } else if (infop && tuple) {
528 if (infop)
529 rcm_free_info(infop);
982 rcm_info_t **infop)
1015 return (rcm_direct_call(cmd, hd, rsrcnames, flag, arg, infop));
1021 * we want to append rcm_info_t after infop; zero it may cause
1024 if (infop) {
1025 *infop = NULL;
1031 return (rcm_daemon_call(cmd, hd, rsrcnames, flag, arg, infop));
1039 void *arg, rcm_info_t **infop)
1047 infop);
1052 hd->seq_num, infop);
1057 hd->seq_num, infop);
1062 hd->seq_num, infop);
1067 hd->seq_num, (timespec_t *)arg, infop);
1072 hd->seq_num, infop);
1077 flag, infop);
1087 hd->seq_num, (nvlist_t *)arg, infop);
1092 hd->seq_num, (nvlist_t *)arg, infop);
1097 hd->seq_num, (nvlist_t *)arg, infop);
1101 error = ops->librcm_getstate(rsrcnames[0], hd->pid, infop);
1121 void *arg, rcm_info_t **infop)
1243 if (infop)
1244 *infop = info;
1272 extract_info(nvlist_t *nvl, rcm_info_t **infop)
1316 *infop = info;
1321 *infop = NULL;