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);
504 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs);
610 if (num_act_qp != ha->tgt.num_act_qpairs) {
611 ha->tgt.num_act_qpairs = num_act_qp;
654 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database",
660 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess",
664 ha->tgt.dfs_naqp = debugfs_create_file("naqp",
666 if (IS_ERR(ha->tgt.dfs_naqp)) {
687 if (ha->tgt.dfs_naqp) {
688 debugfs_remove(ha->tgt.dfs_naqp);
689 ha->tgt.dfs_naqp = NULL;
692 if (ha->tgt.dfs_tgt_sess) {
693 debugfs_remove(ha->tgt.dfs_tgt_sess);
694 ha->tgt.dfs_tgt_sess = NULL;
697 if (ha->tgt.dfs_tgt_port_database) {
698 debugfs_remove(ha->tgt.dfs_tgt_port_database);
699 ha->tgt.dfs_tgt_port_database = NULL;