Lines Matching refs:info

163 		return (module->info());
243 * dlsym rcm_mod_init/fini/info() entry points
249 module->info = (const char *(*)())dlsym(module->dlhandle,
252 module->info == NULL) {
263 module->info = (const char *(*)()) NULL;
410 * Gather usage info be passed back to requester. Discard info if user does
418 rcm_info_t *info;
427 info = s_calloc(1, sizeof (*info));
428 if (errno = nvlist_alloc(&(info->info), NV_UNIQUE_NAME, 0)) {
435 if ((errno = nvlist_add_string(info->info, RCM_RSRCNAME, alias)) ||
436 (errno = nvlist_add_int32(info->info, RCM_SEQ_NUM, seq_num)) ||
437 (errno = nvlist_add_int64(info->info, RCM_CLIENT_ID, pid)) ||
438 (errno = nvlist_add_int32(info->info, RCM_RSRCSTATE, state))) {
446 * error/info. Add these through librcm interfaces.
451 if (errno = nvlist_add_string(info->info, RCM_CLIENT_ERROR,
460 if (errno = nvlist_add_string(info->info, RCM_CLIENT_INFO,
469 if (errno = nvlist_add_string(info->info, RCM_CLIENT_MODNAME,
484 if (errno = nvlist_add_byte_array(info->info,
494 /* link info at end of list */
499 tmp->next = info;
501 *list = info;
636 char *info = NULL;
699 targ->flag, &info, &error, client_props, &depend_info);
898 &info, &dummy_error, client_props, &depend_info);
908 targ->seq_num, client->module->name, info, error,
909 client_props, targ->info);
913 if (info)
914 (void) free(info);
919 if (targ->info) {
920 (void) rcm_append_info(targ->info, depend_info);
1456 * Get info on current regsitrations
1459 rsrc_usage_info(char **rsrcnames, uint_t flag, int seq_num, rcm_info_t **info)
1469 arg.info = &result;
1511 (void) rcm_append_info(info, result);
1522 rcm_info_t *info = NULL;
1529 modinfo, NULL, NULL, &info);
1534 return (info);
1895 uint_t flag, char **info, char **error, nvlist_t *client_props,
1903 rval = v1_ops->rcmop_get_info(hdl, alias, pid, flag, info,
1905 if (rval != RCM_SUCCESS && *info != NULL)
1906 *error = strdup(*info);
1909 return (ops->rcmop_get_info(hdl, alias, pid, flag, info, error,