/freebsd-11-stable/sys/cam/ata/ |
H A D | ata_da.c | 806 struct ccb_getdev *cgd); 808 struct ccb_getdev *cgd); 1283 struct ccb_getdev cgd; local 1291 struct ccb_getdev *cgd; local 1294 cgd = (struct ccb_getdev *)arg; 1295 if (cgd == NULL) 1298 if (cgd->protocol != PROTO_ATA) 1310 AC_FOUND_DEVICE, cgd); 1321 xpt_setup_ccb(&cgd.ccb_h, periph->path, CAM_PRIORITY_NORMAL); 1322 cgd 1616 adasetflags(struct ada_softc *softc, struct ccb_getdev *cgd) argument 1719 struct ccb_getdev *cgd; local 3314 adasetgeom(struct ada_softc *softc, struct ccb_getdev *cgd) argument [all...] |
H A D | ata_pmp.c | 273 struct ccb_getdev *cgd; local 276 cgd = (struct ccb_getdev *)arg; 277 if (cgd == NULL) 280 if (cgd->protocol != PROTO_SATAPM) 292 AC_FOUND_DEVICE, cgd); 369 struct ccb_getdev *cgd; local 371 cgd = (struct ccb_getdev *)arg; 372 if (cgd == NULL) { 387 softc->pm_pid = ((uint32_t *)&cgd->ident_data)[0]; 388 softc->pm_prv = ((uint32_t *)&cgd [all...] |
/freebsd-11-stable/sys/cam/scsi/ |
H A D | scsi_pt.c | 250 struct ccb_getdev *cgd; local 255 cgd = (struct ccb_getdev *)arg; 256 if (cgd == NULL) { 299 SID_TYPE(&cgd->inq_data) | 367 struct ccb_getdev *cgd; local 370 cgd = (struct ccb_getdev *)arg; 371 if (cgd == NULL) 374 if (cgd->protocol != PROTO_SCSI) 376 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 378 if (SID_TYPE(&cgd [all...] |
H A D | scsi_enc.c | 225 struct ccb_getdev *cgd; local 229 cgd = (struct ccb_getdev *)arg; 234 if (enc_type(cgd) == ENC_NONE) { 255 cgd->protocol != PROTO_ATA)) 266 path, enc_async, AC_FOUND_DEVICE, cgd); 683 enc_type(struct ccb_getdev *cgd) argument 688 if (cgd->protocol == PROTO_SEMB) { 689 iqd = (unsigned char *)&cgd->ident_data; 696 } else if (cgd->protocol != PROTO_SCSI) 699 iqd = (unsigned char *)&cgd 916 struct ccb_getdev *cgd; local [all...] |
H A D | scsi_ch.c | 331 struct ccb_getdev *cgd; local 334 cgd = (struct ccb_getdev *)arg; 335 if (cgd == NULL) 338 if (cgd->protocol != PROTO_SCSI) 340 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 342 if (SID_TYPE(&cgd->inq_data)!= T_CHANGER) 353 chasync, AC_FOUND_DEVICE, cgd); 373 struct ccb_getdev *cgd; local 378 cgd = (struct ccb_getdev *)arg; 379 if (cgd 1715 struct ccb_getdev *cgd; local [all...] |
H A D | scsi_sg.c | 263 struct ccb_getdev *cgd; local 266 cgd = (struct ccb_getdev *)arg; 267 if (cgd == NULL) 270 if (cgd->protocol != PROTO_SCSI) 280 sgasync, AC_FOUND_DEVICE, cgd); 301 struct ccb_getdev *cgd; local 306 cgd = (struct ccb_getdev *)arg; 307 if (cgd == NULL) { 319 softc->pd_type = SID_TYPE(&cgd->inq_data); 339 no_tags = (cgd [all...] |
H A D | scsi_da.c | 1886 struct ccb_getdev *cgd; local 1889 cgd = (struct ccb_getdev *)arg; 1890 if (cgd == NULL) 1893 if (cgd->protocol != PROTO_SCSI) 1895 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 1897 if (SID_TYPE(&cgd->inq_data) != T_DIRECT 1898 && SID_TYPE(&cgd->inq_data) != T_RBC 1899 && SID_TYPE(&cgd->inq_data) != T_OPTICAL 1900 && SID_TYPE(&cgd->inq_data) != T_ZBC_HM) 1912 AC_FOUND_DEVICE, cgd); 2468 struct ccb_getdev *cgd; local 4489 struct ccb_getdev cgd; local [all...] |
H A D | scsi_sa.c | 2241 struct ccb_getdev *cgd; local 2244 cgd = (struct ccb_getdev *)arg; 2245 if (cgd == NULL) 2248 if (cgd->protocol != PROTO_SCSI) 2250 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 2252 if (SID_TYPE(&cgd->inq_data) != T_SEQUENTIAL) 2263 saasync, AC_FOUND_DEVICE, cgd); 2343 struct ccb_getdev *cgd; local 2350 cgd = (struct ccb_getdev *)arg; 2351 if (cgd 4408 struct ccb_getdev cgd; local [all...] |
H A D | scsi_pass.c | 485 struct ccb_getdev *cgd; local 488 cgd = (struct ccb_getdev *)arg; 489 if (cgd == NULL) 500 passasync, AC_FOUND_DEVICE, cgd); 550 struct ccb_getdev *cgd; local 555 cgd = (struct ccb_getdev *)arg; 556 if (cgd == NULL) { 572 if (cgd->protocol == PROTO_SCSI || cgd->protocol == PROTO_ATAPI) 573 softc->pd_type = SID_TYPE(&cgd [all...] |
H A D | scsi_cd.c | 402 struct ccb_getdev *cgd; local 405 cgd = (struct ccb_getdev *)arg; 406 if (cgd == NULL) 409 if (cgd->protocol != PROTO_SCSI) 411 if (SID_QUAL(&cgd->inq_data) != SID_QUAL_LU_CONNECTED) 413 if (SID_TYPE(&cgd->inq_data) != T_CDROM 414 && SID_TYPE(&cgd->inq_data) != T_WORM) 426 AC_FOUND_DEVICE, cgd); 567 struct ccb_getdev *cgd; local 571 cgd 1233 struct ccb_getdev cgd; local [all...] |
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
H A D | SystemZHazardRecognizer.cpp | 282 LLVM_DEBUG(raw_string_ostream cgd(CurGroupDbg); 283 if (CurGroupDbg.length()) cgd << ", "; dumpSU(SU, cgd););
|
/freebsd-11-stable/sys/cam/ |
H A D | cam_periph.c | 1575 struct ccb_getdev cgd; local 1580 xpt_setup_ccb(&cgd.ccb_h, ccb->ccb_h.path, CAM_PRIORITY_NORMAL); 1581 cgd.ccb_h.func_code = XPT_GDEV_TYPE; 1582 xpt_action((union ccb *)&cgd); 1584 err_action = scsi_error_action(&ccb->csio, &cgd.inq_data, 1593 SID_TYPE(&cgd.inq_data) == T_SEQUENTIAL) { 1672 if (SID_IS_REMOVABLE(&cgd.inq_data)) 2001 struct ccb_getdev *cgd; local 2017 if ((cgd = (struct ccb_getdev *)xpt_alloc_ccb_nowait()) != NULL) { 2018 xpt_setup_ccb(&cgd [all...] |
H A D | cam_xpt.c | 2454 struct ccb_getdev cgd; local 2471 xpt_setup_ccb(&cgd.ccb_h, &path, CAM_PRIORITY_NORMAL); 2472 cgd.ccb_h.func_code = XPT_GDEV_TYPE; 2473 xpt_action((union ccb *)&cgd); 2476 &path, &cgd); 2711 struct ccb_getdev *cgd; local 2713 cgd = &start_ccb->cgd; 2714 cgd->protocol = dev->protocol; 2715 cgd [all...] |
/freebsd-11-stable/sbin/fsck_ffs/ |
H A D | pass1.c | 67 ufs2_daddr_t i, cgd; local 77 cgd = cgdmin(&sblock, c); 82 for (; i < cgd; i++) 86 cgd = i + howmany(sblock.fs_cssize, sblock.fs_fsize); 87 for (; i < cgd; i++)
|
/freebsd-11-stable/lib/libcam/ |
H A D | camlib.c | 618 device->pd_type = SID_TYPE(&ccb.cgd.inq_data); 619 bcopy(&ccb.cgd.inq_data, &device->inq_data, 621 device->serial_num_len = ccb.cgd.serial_num_len; 622 bcopy(&ccb.cgd.serial_num, &device->serial_num, device->serial_num_len);
|
/freebsd-11-stable/contrib/bmake/mk/sys/ |
H A D | AIX.mk | 1 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | OSF1.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | Linux.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | HP-UX.mk | 2 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
H A D | UnixWare.mk | 3 # $NetBSD: sys.mk,v 1.19.2.1 1994/07/26 19:58:31 cgd Exp $
|
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_cam.c | 1050 struct ccb_getdev *cgd; local 1051 cgd = (struct ccb_getdev *)arg; 1052 if (cgd == NULL) { 1055 uint32_t t_id = cgd->ccb_h.target_id; 1059 pqi_scsi_dev_t *dvp = softs->device_list[t_id][cgd->ccb_h.target_lun];
|
/freebsd-11-stable/sys/cam/nvme/ |
H A D | nvme_da.c | 544 struct ccb_getdev *cgd; local 547 cgd = (struct ccb_getdev *)arg; 548 if (cgd == NULL) 551 if (cgd->protocol != PROTO_NVME) 563 AC_FOUND_DEVICE, cgd);
|
/freebsd-11-stable/sys/dev/advansys/ |
H A D | advlib.c | 308 struct ccb_getdev *cgd; local 315 cgd = (struct ccb_getdev *)arg; 317 target_mask = ADV_TID_TO_TARGET_MASK(cgd->ccb_h.target_id); 320 match = cam_quirkmatch((caddr_t)&cgd->inq_data, 351 tinfo = &adv->tinfo[cgd->ccb_h.target_id]; 352 adv_set_syncrate(adv, cgd->ccb_h.path, 353 cgd->ccb_h.target_id,
|
/freebsd-11-stable/sys/dev/buslogic/ |
H A D | bt.c | 2192 struct ccb_getdev cgd; local 2201 xpt_setup_ccb(&cgd.ccb_h, cts->ccb_h.path, /*priority*/1); 2202 cgd.ccb_h.func_code = XPT_GDEV_TYPE; 2203 xpt_action((union ccb *)&cgd); 2204 if ((cgd.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP 2205 && (cgd.inq_data.flags & SID_WBus16) != 0)
|
/freebsd-11-stable/sys/dev/mpt/ |
H A D | mpt_raid.c | 236 struct ccb_getdev *cgd; local 239 cgd = (struct ccb_getdev *)arg; 240 if (cgd == NULL) { 245 cgd->ccb_h.target_id); 252 == cgd->ccb_h.target_id) {
|