Lines Matching refs:info
66 * Define callback argument used when merging info.
79 static int merge_rcm_info(hp_node_t root, rcm_info_t *info);
81 static int build_table(rcm_info_t *info, info_table_t **tablep,
98 rcm_info_t *info = NULL;
113 if ((rv = get_rcm_usage(rsrcs, &info)) != 0) {
123 if (info != NULL) {
124 rv = merge_rcm_info(root, info);
125 rcm_free_info(info);
189 rcm_info_t *info = NULL;
209 &info) != RCM_SUCCESS)
218 * merge the RCM info into the caller's hotplug snapshot.
220 if (info != NULL) {
222 (void) merge_rcm_info(root, info);
223 rcm_free_info(info);
238 rcm_info_t *info = NULL;
247 (void) rcm_notify_online_list(handle, rsrcs, 0, &info);
251 if (info != NULL)
252 rcm_free_info(info);
264 rcm_info_t *info = NULL;
273 (void) rcm_notify_remove_list(handle, rsrcs, 0, &info);
277 if (info != NULL)
278 rcm_free_info(info);
290 rcm_info_t *info = NULL;
306 &info) != RCM_SUCCESS) {
315 *info_p = info;
326 * RCM info tuples for each path in the snapshot.
329 merge_rcm_info(hp_node_t root, rcm_info_t *info)
337 if ((rv = build_table(info, &table, &table_len)) != 0) {
494 log_err("Cannot allocate hotplug usage node info.\n");
517 build_table(rcm_info_t *info, info_table_t **tablep, size_t *table_lenp)
532 /* Count the RCM info tuples to determine the table's size */
534 for (tuple = NULL; (tuple = rcm_info_next(info, tuple)) != NULL; )
554 for (tuple = NULL; (tuple = rcm_info_next(info, tuple)) != NULL; ) {
577 log_err("Cannot build info table slot.\n");
590 log_err("Cannot allocate info table entry.\n");
602 log_err("Cannot build info table entry.\n");