Lines Matching defs:targ
420 struct target *targ;
582 targ = target_find(conf, port->cfiscsi_target);
583 if (targ == NULL) {
588 targ = target_new(conf, port->cfiscsi_target);
589 if (targ == NULL) {
610 cp = port_new(conf, targ, pg);
1046 struct target *targ = port->p_target;
1060 targ->t_name);
1066 if (targ->t_alias) {
1068 "cfiscsi_target_alias", targ->t_alias);
1124 if (strncmp(targ->t_name, "naa.", 4) == 0 &&
1125 strlen(targ->t_name) == 20) {
1130 entry.wwnn = strtoull(targ->t_name + 4, NULL, 16);
1146 if (targ->t_luns[i] == NULL)
1150 lm.lun = targ->t_luns[i]->l_ctl_lun;
1172 struct target *targ = port->p_target;
1181 if (targ->t_luns[i] == NULL)
1184 lm.lun = targ->t_luns[i]->l_ctl_lun;
1204 struct target *targ = port->p_target;
1232 targ->t_name);