Lines Matching defs:psh

50 	struct suri_handle ***psh;
78 if (data->psh != NULL)
79 suri_destroy_handle_array(data->psh);
259 data->ret = suri_clone(data->sh, *data->psh + data->psh_count);
261 suri_destroy_handle_array(data->psh);
267 *data->psh = suri_expand_handle_array(*data->psh, &data->psh_size);
268 if (*data->psh == NULL) {
272 data->ret = suri_clone(data->sh, *data->psh + data->psh_count);
274 suri_destroy_handle_array(data->psh);
538 suri_destroy_handle_array(data->psh);
545 suri_destroy_handle_array(data->psh);
549 suri_destroy_handle_array(data->psh);
564 * first device path found and we work with data->sh, never with data->psh.
761 * data->psh. Note that we do not care whether multipathing is enabled or
841 * logical unit URI, and use 'sh' to set its mapped device property. psh is
845 * name. For each URI found, create a new handle and put it to *psh. 'sh' will
847 * *psh will be NULL.
851 boolean_t force_dev_discovery, struct suri_handle ***psh)
864 data.psh = psh;
881 /* We got an URI, looking up a devname. psh is not used. */
883 assert(psh == NULL);
889 * We got a devname, looking up URIs. Use psh to store them.
895 assert(psh != NULL);
896 *psh = suri_expand_handle_array(NULL, &(data.psh_size));
897 if (*psh == NULL)
901 suri_destroy_handle_array(psh);
919 if (psh != NULL)
920 suri_destroy_handle_array(psh);
942 * data->psh is empty and data->sh contains the specific description
1029 if (ret != ESURI_OK && psh != NULL)
1030 suri_destroy_handle_array(psh);
1048 struct suri_handle ***psh)
1053 ret = devinfo_target_mapping_impl(sh, action, B_FALSE, psh);
1081 * instead of psh.
1102 * NULL instead of psh.