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

/freebsd-13-stable/sys/cam/
H A Dcam_periph.c1457 struct ccb_getdevstats cgds; local
1459 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1460 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1461 xpt_action((union ccb *)&cgds);
1462 cam_periph_freeze_after_event(periph, &cgds.last_reset, bus_settle);
1524 struct ccb_getdevstats cgds; local
1530 xpt_setup_ccb(&cgds.ccb_h,
1533 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1534 xpt_action((union ccb *)&cgds);
1540 if (cgds
[all...]
H A Dcam_xpt.c2831 struct ccb_getdevstats *cgds = &start_ccb->cgds; local
2838 cgds->dev_openings = dev->ccbq.dev_openings;
2839 cgds->dev_active = dev->ccbq.dev_active;
2840 cgds->allocated = dev->ccbq.allocated;
2841 cgds->queued = cam_ccbq_pending_ccb_count(&dev->ccbq);
2842 cgds->held = cgds->allocated - cgds->dev_active - cgds
[all...]
H A Dcam_ccb.h1347 struct ccb_getdevstats cgds; member in union:ccb
/freebsd-13-stable/sys/cam/ctl/
H A Dscsi_ctl.c1852 struct ccb_getdevstats cgds; local
1855 xpt_setup_ccb(&cgds.ccb_h, periph->path, CAM_PRIORITY_NORMAL);
1856 cgds.ccb_h.func_code = XPT_GDEV_STATS;
1857 xpt_action((union ccb *)&cgds);
1858 if ((cgds.ccb_h.status & CAM_STATUS_MASK) == CAM_REQ_CMP) {
1861 cgds.dev_openings, cgds.dev_active, cgds.allocated,
1862 cgds.queued, cgds
[all...]
/freebsd-13-stable/sbin/camcontrol/
H A Dcamcontrol.c5137 CCB_CLEAR_ALL_EXCEPT_HDR(&ccb->cgds);
5157 fprintf(stdout, "dev_openings %d\n", ccb->cgds.dev_openings);
5159 fprintf(stdout, "dev_active %d\n", ccb->cgds.dev_active);
5161 fprintf(stdout, "allocated %d\n", ccb->cgds.allocated);
5163 fprintf(stdout, "queued %d\n", ccb->cgds.queued);
5165 fprintf(stdout, "held %d\n", ccb->cgds.held);
5167 fprintf(stdout, "mintags %d\n", ccb->cgds.mintags);
5169 fprintf(stdout, "maxtags %d\n", ccb->cgds.maxtags);
5175 fprintf(stdout, "%d\n", ccb->cgds.dev_openings +
5176 ccb->cgds
[all...]

Completed in 94 milliseconds