Lines Matching defs:tgt
787 update_target(struct iodev_snapshot *tgt, struct iodev_snapshot *path)
789 tgt->is_stats.reads += path->is_stats.reads;
790 tgt->is_stats.writes += path->is_stats.writes;
791 tgt->is_stats.nread += path->is_stats.nread;
792 tgt->is_stats.nwritten += path->is_stats.nwritten;
793 tgt->is_stats.wcnt += path->is_stats.wcnt;
794 tgt->is_stats.rcnt += path->is_stats.rcnt;
801 tgt->is_crtime += hrtime_delta(path->is_crtime, path->is_snaptime);
802 tgt->is_snaptime += path->is_snaptime;
803 tgt->is_nr_children += 1;
815 int lun, tgt, initiator;
823 lun_name, &lun, tgt_name, &tgt, initiator_name, &initiator) != 1) {
840 tptr->is_id.id = tgt;
842 "%s%d", tgt_name, tgt);
844 "%s%d.%s%d", lun_name, lun, tgt_name, tgt);
881 int lun, tgt, initiator;
894 tgt_name, &tgt, initiator_name, &initiator) != 1) {
945 int lun, tgt, initiator;
958 tgt_name, &tgt, initiator_name, &initiator) != 1) {
965 pos->is_id.id == tgt &&