Lines Matching refs:i_targets

356 	info.i_targets = &t;
600 if (dfs_target_find(info.i_targets, ntargets, server, share) != -1) {
606 t = realloc(info.i_targets, (ntargets + 1) * sizeof (dfs_target_t));
612 info.i_targets = t;
613 dfs_target_init(&info.i_targets[ntargets], server, share,
659 idx = dfs_target_find(info.i_targets, info.i_ntargets, server, share);
661 bcopy(&info.i_targets[idx + 1], &info.i_targets[idx],
1013 free(info->i_targets);
1037 if (info->i_targets == NULL)
1040 for (i = 0, t = info->i_targets; i < info->i_ntargets; i++, t++) {
1295 t = info->i_targets;
1346 info->i_targets = NULL;
1365 info->i_targets = malloc(sizeof (dfs_target_t));
1366 if (info->i_targets == NULL) {
1376 free(info->i_targets);
1379 dfs_target_init(info->i_targets, t_server, t_share, t_state);
1390 free(info->i_targets);
1393 info->i_targets->t_priority.p_class = t_priority_class;
1394 info->i_targets->t_priority.p_rank = t_priority_rank;
1464 info->i_targets = NULL;
1488 info->i_targets = calloc(info->i_ntargets, sizeof (dfs_target_t));
1489 if (info->i_targets == NULL)
1496 for (i = 0, t = info->i_targets; i < info->i_ntargets; i++, t++) {
1544 for (i = 0, t = info->i_targets; i < info->i_ntargets; i++, t++) {
1894 if (newinfo->i_targets != NULL) {
1895 target_idx = dfs_target_find(info->i_targets, info->i_ntargets,
1896 newinfo->i_targets->t_server, newinfo->i_targets->t_share);
1910 ? newinfo->i_targets->t_state : newinfo->i_state;
1924 info->i_targets[target_idx].t_state = state;
1937 info->i_targets[target_idx].t_priority =
1938 newinfo->i_targets->t_priority;