Lines Matching defs:tgt
155 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt;
158 if (tgt) {
161 spin_lock_irqsave(&ha->tgt.sess_lock, flags);
167 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags);
460 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs);
510 if (num_act_qp != ha->tgt.num_act_qpairs) {
511 ha->tgt.num_act_qpairs = num_act_qp;
562 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database",
568 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess",
572 ha->tgt.dfs_naqp = debugfs_create_file("naqp",
574 if (IS_ERR(ha->tgt.dfs_naqp)) {
595 if (ha->tgt.dfs_naqp) {
596 debugfs_remove(ha->tgt.dfs_naqp);
597 ha->tgt.dfs_naqp = NULL;
600 if (ha->tgt.dfs_tgt_sess) {
601 debugfs_remove(ha->tgt.dfs_tgt_sess);
602 ha->tgt.dfs_tgt_sess = NULL;
605 if (ha->tgt.dfs_tgt_port_database) {
606 debugfs_remove(ha->tgt.dfs_tgt_port_database);
607 ha->tgt.dfs_tgt_port_database = NULL;