Lines Matching refs:result
1482 char *result = NULL;
1533 if ((result = g_get_physical_name_from_link(namebuf)) == NULL) {
1542 if ((fd = g_object_open(result, O_NDELAY | O_RDONLY)) == -1) {
1543 g_destroy_data(result);
1550 g_destroy_data(result);
1565 g_destroy_data(result);
1578 g_destroy_data(result);
1586 (char *)result);
1614 status = g_get_wwn(result, port_wwn, node_wwn,
1636 g_destroy_data(result);
1644 g_destroy_data(result);
1708 l_get_conflict(char *name, char **result, int verbose)
1717 if ((*result = g_get_physical_name(s)) == NULL) {
1720 if ((strstr((const char *)*result, PLNDEF)) == NULL) {
1721 (void) g_destroy_data(*result);
1722 *result = NULL;
1768 s, *result, p);
1933 char *result = NULL;
1966 if ((result = g_get_physical_name(name)) == NULL) {
1970 path_ptr->p_physical_path = result;
1977 if ((err = g_get_inquiry(result, &inq)) != 0) {
1978 (void) free(result);
1989 *phys_path = result;
1994 if (err = load_flds_if_enc_disk(result, path_struct)) {
1995 (void) free(result);
2004 if ((err = l_get_conflict(tmp_name, &result, verbose)) != 0) {
2005 if (result != NULL) {
2006 (void) g_destroy_data(result);
2010 if (result != NULL) {
2011 path_ptr->p_physical_path = result;
2012 if ((err = g_get_inquiry(result, &inq)) != 0) {
2013 (void) free(result);
2023 result, path_struct)) {
2024 (void) free(result);
2087 result =
2100 (void) g_destroy_data(result);
2114 (void) g_destroy_data(result);
2118 (void) strcpy(ses_path, result);
2121 (void) g_destroy_data(result);
2131 (void) g_destroy_data(result);
2145 (void) g_destroy_data(result);
2153 result =
2159 g_alloc_string(result);
2160 (void) g_destroy_data(result);
2161 result = NULL;
2165 result =
2171 g_alloc_string(result);
2172 (void) g_destroy_data(result);
2173 result = NULL;
2194 result =
2221 result = g_alloc_string(wwn_list_ptr->physical_path);
2232 path_ptr->p_physical_path = result;
2233 if ((err = g_get_inquiry(result, &inq)) != 0) {
2234 (void) free(result);
2244 result, path_struct)) {
2245 (void) free(result);
2258 result = g_get_physical_name(name);
2263 if (result == NULL) {
2267 path_ptr->p_physical_path = result;
2291 *phys_path = result;