Searched defs:psh (Results 1 - 3 of 3) sorted by relevance
/osnet-11/usr/src/lib/libsuri/common/ |
H A D | suri_aux.c | 609 * size. Free the old array. If psh is NULL and *current_size 0, create a new 616 suri_expand_handle_array(struct suri_handle **psh, int *current_size) argument 621 assert(psh == NULL || (*current_size > 0)); 624 suri_destroy_handle_array(&psh); 627 (void) memcpy(tpsh, psh, *current_size * sizeof (suri_handle_t *)); 629 if (psh != NULL) 630 free(psh); 638 suri_destroy_handle_array(struct suri_handle ***psh) argument 642 assert(psh != NULL && *psh ! 653 suri_get_handle_count(struct suri_handle **psh) argument 684 suri_remove_duplicate_handles(struct suri_handle **psh) argument [all...] |
H A D | suri_devinfo.c | 50 struct suri_handle ***psh; member in struct:lu_data 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); 850 devinfo_target_mapping_impl(struct suri_handle *sh, int action, boolean_t force_dev_discovery, struct suri_handle ***psh) argument 1047 devinfo_target_mapping(struct suri_handle *sh, int action, struct suri_handle ***psh) argument [all...] |
H A D | suri.c | 118 * *psh. 587 struct suri_handle **psh; local 602 psh = *ppsh; 603 while (*psh != NULL) { 606 assert(suri_err_code((suri_handle_t)*psh) == ESURI_OK); 607 suri_iscsi = SURIH2ISCSI(*psh); 609 n = snprintf((*psh)->sh_uri, SURI_MAX_URI_LEN, 613 n = snprintf((*psh)->sh_uri, SURI_MAX_URI_LEN, 619 n = snprintf((*psh)->sh_uri, SURI_MAX_URI_LEN, 625 ++psh; 1262 suri_alloc_psh(struct suri_handle **psh, struct suri_handle ***ppsh) argument [all...] |
Completed in 19 milliseconds