Lines Matching refs:info

514 	 * A successful result implies the presence of exactly one RCM info
539 /* Free linked list of registration info */
541 rcm_free_info(rcm_info_t *info)
543 while (info) {
544 rcm_info_t *tmp = info->next;
546 nvlist_free(info->info);
547 free(info);
549 info = tmp;
553 /* return the next tuple in the info structure */
555 rcm_info_next(rcm_info_t *info, rcm_info_tuple_t *tuple)
557 if (info == NULL) {
563 return ((rcm_info_tuple_t *)info);
574 if (tuple == NULL || tuple->info == NULL) {
579 if (errno = nvlist_lookup_string(tuple->info, RCM_RSRCNAME, &rsrcname))
588 char *info = NULL;
590 if (tuple == NULL || tuple->info == NULL) {
595 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_INFO, &info))
598 return (info);
606 if (tuple == NULL || tuple->info == NULL) {
611 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_ERROR,
618 /* return info string in the tuple */
624 if (tuple == NULL || tuple->info == NULL) {
629 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_MODNAME,
642 if (tuple == NULL || tuple->info == NULL) {
647 if (errno = nvlist_lookup_uint64(tuple->info, RCM_CLIENT_ID, &pid64))
659 if (tuple == NULL || tuple->info == NULL) {
664 if (errno = nvlist_lookup_int32(tuple->info, RCM_RSRCSTATE, &state))
678 if (tuple == NULL || tuple->info == NULL) {
683 if (errno = nvlist_lookup_byte_array(tuple->info, RCM_CLIENT_PROPERTIES,
705 if (tuple == NULL || tuple->info == NULL) {
710 if (errno = nvlist_lookup_int32(tuple->info, RCM_SEQ_NUM, &seqnum))
748 /* Append info at the very end */
750 rcm_append_info(rcm_info_t **head, rcm_info_t *info)
760 *head = info;
767 tuple->next = info;
1133 rcm_info_t *info = NULL;
1234 * The door call succeeded. Now extract info from returned event.
1236 if (extract_info(ret, &info) != 0) {
1244 *infop = info;
1246 rcm_free_info(info);
1267 * Extract registration info from event data.
1273 rcm_info_t *info = NULL;
1300 if (errno = nvlist_unpack(buf, buflen, &(tmp->info), 0)) {
1307 if (info == NULL) {
1308 prev = info = tmp;
1315 *infop = info;
1319 rcm_free_info(info);