Searched refs:cgds (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/sys/cam/
H A Dcam_periph.c1477 struct ccb_getdevstats cgds; local
1479 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1480 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1481 xpt_action((union ccb *)&cgds);
1482 cam_periph_freeze_after_event(periph, &cgds.last_reset, bus_settle);
1544 struct ccb_getdevstats cgds; local
1550 xpt_setup_ccb(&cgds.ccb_h,
1553 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1554 xpt_action((union ccb *)&cgds);
1560 if (cgds
[all...]
H A Dcam_xpt.c2853 struct ccb_getdevstats *cgds = &start_ccb->cgds; local
2860 cgds->dev_openings = dev->ccbq.dev_openings;
2861 cgds->dev_active = dev->ccbq.dev_active;
2862 cgds->allocated = dev->ccbq.allocated;
2863 cgds->queued = cam_ccbq_pending_ccb_count(&dev->ccbq);
2864 cgds->held = cgds->allocated - cgds->dev_active - cgds
[all...]
H A Dcam_ccb.h1322 struct ccb_getdevstats cgds; member in union:ccb
/freebsd-12-stable/sys/cam/ctl/
H A Dscsi_ctl.c1854 struct ccb_getdevstats cgds; local
1857 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1858 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1859 xpt_action((union ccb *)&cgds);
1860 if ((cgds.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) {
1863 cgds.dev_openings, cgds.dev_active, cgds.allocated,
1864 cgds.queued, cgds
[all...]
/freebsd-12-stable/sbin/camcontrol/
H A Dcamcontrol.c5162 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgds);
5182 fprintf(stdout, "dev_openings %d\n", ccb->cgds.dev_openings);
5184 fprintf(stdout, "dev_active %d\n", ccb->cgds.dev_active);
5186 fprintf(stdout, "allocated %d\n", ccb->cgds.allocated);
5188 fprintf(stdout, "queued %d\n", ccb->cgds.queued);
5190 fprintf(stdout, "held %d\n", ccb->cgds.held);
5192 fprintf(stdout, "mintags %d\n", ccb->cgds.mintags);
5194 fprintf(stdout, "maxtags %d\n", ccb->cgds.maxtags);
5200 fprintf(stdout, "%d\n", ccb->cgds.dev_openings +
5201 ccb->cgds
[all...]

Completed in 135 milliseconds