Lines Matching defs:results
63 nvlist_t *results;
86 rv = i_hp_call_hotplugd(args, &results);
91 /* Parse additional results, if any */
92 if ((rv == 0) && (results != NULL)) {
93 rv = i_hp_parse_results(results, &root, NULL);
94 nvlist_free(results);
647 nvlist_t *results;
686 rv = i_hp_call_hotplugd(args, &results);
691 /* Parse additional results, if any */
692 if ((rv == 0) && (results != NULL)) {
693 /* Parse additional results, if any */
694 rv = i_hp_parse_results(results, &root, NULL);
699 if (nvlist_lookup_uint32(results, HPD_HANDLE, handlep) != 0) {
703 nvlist_free(results);
721 nvlist_t *results;
759 rv = i_hp_call_hotplugd(args, &results);
764 /* Parse additional results, if any */
765 if ((rv == 0) && (results != NULL)) {
766 rv = i_hp_parse_results(results, &root, NULL);
767 nvlist_free(results);
786 nvlist_t *results;
844 rv = i_hp_call_hotplugd(args, &results);
849 /* Parse additional results, if any */
850 if ((rv == 0) && (results != NULL)) {
851 rv = i_hp_parse_results(results, &root, NULL);
852 nvlist_free(results);
871 nvlist_t *results;
891 /* Initialize results */
904 rv = i_hp_call_hotplugd(args, &results);
909 /* Parse additional results, if any */
910 if ((rv == 0) && (results != NULL)) {
911 rv = i_hp_parse_results(results, NULL, &values);
912 nvlist_free(results);
931 nvlist_t *results;
951 /* Initialize results */
964 rv = i_hp_call_hotplugd(args, &results);
969 /* Parse additional results, if any */
970 if ((rv == 0) && (results != NULL)) {
971 rv = i_hp_parse_results(results, NULL, &values);
972 nvlist_free(results);
990 nvlist_t *results;
1020 rv = i_hp_call_hotplugd(args, &results);
1025 /* Parse additional results, if any */
1026 if ((rv == 0) && (results != NULL)) {
1027 rv = i_hp_parse_results(results, &root, NULL);
1028 nvlist_free(results);
1046 nvlist_t *results;
1076 rv = i_hp_call_hotplugd(args, &results);
1081 /* Parse additional results, if any */
1082 if ((rv == 0) && (results != NULL)) {
1083 rv = i_hp_parse_results(results, &root, NULL);
1084 nvlist_free(results);
1097 nvlist_t *results;
1117 /* Initialize results */
1121 rv = i_hp_call_hotplugd(args, &results);
1126 /* Parse additional results, if any */
1127 if ((rv == 0) && (results != NULL)) {
1128 rv = i_hp_parse_results(results, &root, NULL);
1129 nvlist_free(results);
1141 nvlist_t *results;
1161 /* Initialize results */
1165 rv = i_hp_call_hotplugd(args, &results);
1170 /* Parse additional results, if any */
1171 if ((rv == 0) && (results != NULL)) {
1172 rv = i_hp_parse_results(results, &root, NULL);
1173 nvlist_free(results);
1500 /* Initialize results */
1576 /* Initialize results */
1699 nvlist_t *results = NULL;
1706 /* Initialize results */
1745 * If results are not in the original buffer provided,
1746 * then check and process the new results buffer.
1758 i_hp_dprintf("i_hp_call_hotplugd: invalid results.\n");
1765 door_arg.data_size, &results, 0)) != 0) {
1767 "cannot unpack results (%s).\n", strerror(rv));
1768 results = NULL;
1772 /* Unmap the results buffer */
1780 if ((results != NULL) &&
1781 (nvlist_lookup_uint64(results, HPD_SEQNUM, &seqnum) == 0)) {
1793 *resultsp = results;
1862 * Parse out individual fields of an nvlist of results from
1866 i_hp_parse_results(nvlist_t *results, hp_node_t *rootp, char **optionsp)
1876 if (nvlist_lookup_byte_array(results, HPD_INFO,
1888 if ((nvlist_lookup_string(results, HPD_OPTIONS, &str) == 0) &&
1895 if (nvlist_lookup_int32(results, HPD_STATUS, &rv) != 0) {