Lines Matching refs:targ
423 struct target *targ;
585 targ = target_find(conf, port->cfiscsi_target);
586 if (targ == NULL) {
591 targ = target_new(conf, port->cfiscsi_target);
592 if (targ == NULL) {
613 cp = port_new(conf, targ, pg);
1015 struct target *targ = port->p_target;
1029 targ->t_name);
1035 if (targ->t_alias) {
1037 "cfiscsi_target_alias", targ->t_alias);
1091 if (strncmp(targ->t_name, "naa.", 4) == 0 &&
1092 strlen(targ->t_name) == 20) {
1097 entry.wwnn = strtoull(targ->t_name + 4, NULL, 16);
1113 if (targ->t_luns[i] == NULL)
1117 lm.lun = targ->t_luns[i]->l_ctl_lun;
1139 struct target *targ = port->p_target;
1148 if (targ->t_luns[i] == NULL)
1151 lm.lun = targ->t_luns[i]->l_ctl_lun;
1171 struct target *targ = port->p_target;
1199 targ->t_name);