Lines Matching refs:targ
421 struct target *targ; in conf_new_from_kernel() local
583 targ = target_find(conf, port->cfiscsi_target); in conf_new_from_kernel()
584 if (targ == NULL) { in conf_new_from_kernel()
589 targ = target_new(conf, port->cfiscsi_target); in conf_new_from_kernel()
590 if (targ == NULL) { in conf_new_from_kernel()
611 cp = port_new(conf, targ, pg); in conf_new_from_kernel()
1047 struct target *targ = port->p_target; in kernel_port_add() local
1061 targ->t_name); in kernel_port_add()
1067 if (targ->t_alias) { in kernel_port_add()
1069 "cfiscsi_target_alias", targ->t_alias); in kernel_port_add()
1125 if (strncmp(targ->t_name, "naa.", 4) == 0 && in kernel_port_add()
1126 strlen(targ->t_name) == 20) { in kernel_port_add()
1131 entry.wwnn = strtoull(targ->t_name + 4, NULL, 16); in kernel_port_add()
1147 if (targ->t_luns[i] == NULL) in kernel_port_add()
1151 lm.lun = targ->t_luns[i]->l_ctl_lun; in kernel_port_add()
1173 struct target *targ = port->p_target; in kernel_port_update() local
1182 if (targ->t_luns[i] == NULL) in kernel_port_update()
1185 lm.lun = targ->t_luns[i]->l_ctl_lun; in kernel_port_update()
1205 struct target *targ = port->p_target; in kernel_port_remove() local
1233 targ->t_name); in kernel_port_remove()