Lines Matching defs:targets
64 static pmcs_xscsi_t **targets = NULL;
723 if (targets == NULL) {
724 targets = mdb_alloc(sizeof (targets) * max_dev, UM_SLEEP);
727 if (MDB_RD(targets, sizeof (targets) * max_dev, m.targets) == -1) {
728 NOREAD(targets, m.targets);
741 if (targets[idx] == NULL) {
745 if (MDB_RD(&xs, sizeof (xs), targets[idx]) == -1) {
746 NOREAD(pmcs_xscsi_t, targets[idx]);
839 "Configured targets:", (sas_targets + sata_targets + smp_targets),
1159 if (targets == NULL) {
1160 targets = mdb_alloc(sizeof (targets) * max_dev, UM_SLEEP);
1163 if (MDB_RD(targets, sizeof (targets) * max_dev, m.targets) == -1) {
1164 NOREAD(targets, m.targets);
1169 if (targets[i] == NULL) {
1172 if (MDB_RD(&xs, sizeof (xs), targets[i]) == -1) {
1173 NOREAD(pmcs_xscsi_t, targets[i]);
2376 * Address provided belongs to HBA softstate. Get the targets pointer
2385 if (targets == NULL) {
2386 targets = mdb_alloc(sizeof (targets) * ss.max_dev, UM_SLEEP);
2389 if (MDB_RD(targets, sizeof (targets) * ss.max_dev, ss.targets) == -1) {
2390 NOREAD(targets, ss.targets);
2395 wsp->walk_addr = (uintptr_t)(targets[0]);
2420 wsp->walk_addr = (uintptr_t)(targets[++target_idx]);
2487 * Address provided belongs to HBA softstate. Get the targets pointer
3109 " -u: Show SAS address of all unconfigured targets\n"