Lines Matching refs:tuple

500 	rcm_info_tuple_t *tuple = NULL;  in rcm_get_rsrcstate()  local
521 ((tuple = rcm_info_next(infop, NULL)) == NULL) || in rcm_get_rsrcstate()
522 (rcm_info_next(infop, tuple) != NULL)) { in rcm_get_rsrcstate()
524 } else if (infop && tuple) { in rcm_get_rsrcstate()
525 *statep = rcm_info_state(tuple); in rcm_get_rsrcstate()
555 rcm_info_next(rcm_info_t *info, rcm_info_tuple_t *tuple) in rcm_info_next() argument
562 if (tuple == NULL) { in rcm_info_next()
565 return ((rcm_info_tuple_t *)tuple->next); in rcm_info_next()
570 rcm_info_rsrc(rcm_info_tuple_t *tuple) in rcm_info_rsrc() argument
574 if (tuple == NULL || tuple->info == NULL) { in rcm_info_rsrc()
579 if (errno = nvlist_lookup_string(tuple->info, RCM_RSRCNAME, &rsrcname)) in rcm_info_rsrc()
586 rcm_info_info(rcm_info_tuple_t *tuple) in rcm_info_info() argument
590 if (tuple == NULL || tuple->info == NULL) { in rcm_info_info()
595 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_INFO, &info)) in rcm_info_info()
602 rcm_info_error(rcm_info_tuple_t *tuple) in rcm_info_error() argument
606 if (tuple == NULL || tuple->info == NULL) { in rcm_info_error()
611 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_ERROR, in rcm_info_error()
620 rcm_info_modname(rcm_info_tuple_t *tuple) in rcm_info_modname() argument
624 if (tuple == NULL || tuple->info == NULL) { in rcm_info_modname()
629 if (errno = nvlist_lookup_string(tuple->info, RCM_CLIENT_MODNAME, in rcm_info_modname()
638 rcm_info_pid(rcm_info_tuple_t *tuple) in rcm_info_pid() argument
642 if (tuple == NULL || tuple->info == NULL) { in rcm_info_pid()
647 if (errno = nvlist_lookup_uint64(tuple->info, RCM_CLIENT_ID, &pid64)) in rcm_info_pid()
655 rcm_info_state(rcm_info_tuple_t *tuple) in rcm_info_state() argument
659 if (tuple == NULL || tuple->info == NULL) { in rcm_info_state()
664 if (errno = nvlist_lookup_int32(tuple->info, RCM_RSRCSTATE, &state)) in rcm_info_state()
672 rcm_info_properties(rcm_info_tuple_t *tuple) in rcm_info_properties() argument
678 if (tuple == NULL || tuple->info == NULL) { in rcm_info_properties()
683 if (errno = nvlist_lookup_byte_array(tuple->info, RCM_CLIENT_PROPERTIES, in rcm_info_properties()
701 rcm_info_seqnum(rcm_info_tuple_t *tuple) in rcm_info_seqnum() argument
705 if (tuple == NULL || tuple->info == NULL) { in rcm_info_seqnum()
710 if (errno = nvlist_lookup_int32(tuple->info, RCM_SEQ_NUM, &seqnum)) in rcm_info_seqnum()
752 rcm_info_t *tuple; in rcm_append_info() local
759 if ((tuple = *head) == NULL) { in rcm_append_info()
764 while (tuple->next) { in rcm_append_info()
765 tuple = tuple->next; in rcm_append_info()
767 tuple->next = info; in rcm_append_info()