Home | History | Annotate | Download | only in bioctl

Lines Matching defs:location

202 str2locator(const char *string, struct locator *location)
216 location->lun = strtonum(lun, 0, 256, &errstr);
220 location->lun = 0;
222 location->target = strtonum(targ, 0, 256, &errstr);
225 location->channel = strtonum(parse, 0, 256, &errstr);
513 "Disk", "Model/Serial", "Status", "Size", "Location");
575 struct locator location;
589 bio_setstate_common(fd, argv[1], &bs, &location);
599 struct locator location;
623 bio_setstate_common(fd, argv[1], &bs, &location);
629 bio_setstate_common(fd, argv[2], &bs, &location);
663 struct locator *location)
667 if (!arg || !location)
670 errstr = str2locator(arg, location);
674 bs->bs_channel = location->channel;
675 bs->bs_target = location->target;
676 bs->bs_lun = location->lun;
694 struct locator location;
747 errstr = str2locator(scsiname, &location);
862 bc.bc_channel = location.channel;
863 bc.bc_target = location.target;
864 bc.bc_lun = location.lun;
878 "SCSI location: %u:%u.%u\n", bc.bc_volid, size, bc.bc_stripe,
900 struct locator location;
915 errstr = str2locator(argv[2], &location);
919 bc.bc_channel = location.channel;
920 bc.bc_target = location.target;
921 bc.bc_lun = location.lun;
926 printf("Removed volume %u at SCSI location %u:%u.%u\n",
936 struct locator location;
954 errstr = str2locator(argv[1], &location);
962 bb.bb_target = location.target;
963 bb.bb_channel = location.channel;
993 if (bd.bd_channel == location.channel &&
994 bd.bd_target == location.target &&
995 bd.bd_lun == location.lun) {
998 location.target, blink);