Lines Matching refs:wwn_list_found

259 	struct	wwn_list_struct *new_wwn, *wwn_list_s, *wwn_list_found;
304 wwn_list_found = wwn_list_s;
319 * the info from the wwn_list_found
331 strlen(wwn_list_found->physical_path)
338 strlen(wwn_list_found->logical_path)
354 wwn_list_found->physical_path,
355 strlen(wwn_list_found->physical_path));
357 wwn_list_found->logical_path,
358 strlen(wwn_list_found->logical_path));
365 * we already have in wwn_list_found.
368 wwn_list_found->node_wwn_s, WWN_S_LEN);
370 wwn_list_found->w_node_wwn, WWN_SIZE);
372 wwn_list_found->device_type;
431 * searches wwn_list_found for the pwwn passed in
436 search_wwn_entry(struct wwn_list_found_struct *wwn_list_found, uchar_t *pwwn,
441 for (wwn_list_s = wwn_list_found; wwn_list_s != NULL;
452 * adds a nwwn, pwwn entry to the next entry in wwn_list_found list
455 add_wwn_entry(struct wwn_list_found_struct **wwn_list_found, uchar_t *pwwn,
472 if (*wwn_list_found != NULL) {
473 temp_wwn_list_found = (*wwn_list_found)->wwn_next;
474 (*wwn_list_found)->wwn_next = new_wwn;
476 *wwn_list_found = new_wwn;
499 struct wwn_list_found_struct *wwn_list_found = NULL;
533 if ((search_wwn_entry(wwn_list_found, port_wwn,
539 &wwn_list_found)) != 0) {
541 &wwn_list_found);
562 &wwn_list_found);
596 g_free_wwn_list_found(&wwn_list_found);
734 g_free_wwn_list_found(struct wwn_list_found_struct **wwn_list_found) {
737 /* return if wwn_list_found is NULL */
738 if (wwn_list_found == NULL) {
741 for (; *wwn_list_found != NULL; *wwn_list_found = next) {
742 next = (*wwn_list_found)->wwn_next;
743 g_destroy_data(*wwn_list_found);
744 *wwn_list_found = NULL;
3739 * and add all WWNs to the wwn_list_found list.
3748 struct wwn_list_found_struct **wwn_list_found)
3885 add_wwn_entry(wwn_list_found, port_wwn_byte,
3921 struct wwn_list_found_struct *wwn_list_found = NULL;
3933 ret = get_wwns(path_phys, port_wwn, node_wwn, al_pa, &wwn_list_found);
3934 g_free_wwn_list_found(&wwn_list_found);