Searched refs:devq (Results 51 - 66 of 66) sorted by relevance

123

/freebsd-11-stable/sys/dev/hptmv/
H A Dentry.c1981 struct cam_devq *devq; local
2022 if((devq = cam_simq_alloc(8/*MAX_QUEUE_COMM*/)) == NULL)
2033 &pAdapter->lock, 1, 8, devq);
2035 cam_simq_free(devq);
2042 cam_sim_free(hpt_vsim, /*free devq*/ TRUE);
/freebsd-11-stable/sys/dev/mly/
H A Dmly.c1941 struct cam_devq *devq; local
1947 * Allocate a devq for all our channels combined.
1949 if ((devq = cam_simq_alloc(sc->mly_controllerinfo->maximum_parallel_commands)) == NULL) {
1966 1, devq)) == NULL) {
1989 0, devq)) == NULL) {
/freebsd-11-stable/sys/dev/isp/
H A Disp_freebsd.c107 isp_attach_chan(ispsoftc_t *isp, struct cam_devq *devq, int chan) argument
118 isp->isp_maxcmds, isp->isp_maxcmds, devq);
289 isp->isp_osinfo.devq = cam_simq_alloc(isp->isp_maxcmds);
290 if (isp->isp_osinfo.devq == NULL) {
295 if (isp_attach_chan(isp, isp->isp_osinfo.devq, chan)) {
323 cam_simq_free(isp->isp_osinfo.devq);
324 isp->isp_osinfo.devq = NULL;
344 cam_simq_free(isp->isp_osinfo.devq);
H A Disp_freebsd.h267 struct cam_devq * devq; member in struct:isposinfo
/freebsd-11-stable/sys/cam/scsi/
H A Dscsi_low.c738 struct cam_devq *devq; local
741 devq = cam_simq_alloc(SCSI_LOW_NCCB);
742 if (devq == NULL)
753 slp->sl_openings, tagged_openings, devq);
756 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/firewire/
H A Dsbp.c1906 struct cam_devq *devq; local
1951 devq = cam_simq_alloc(/*maxopenings*/SBP_NUM_OCB);
1952 if (devq == NULL)
1966 devq);
1969 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/mvs/
H A Dmvs.c118 struct cam_devq *devq; local
168 devq = cam_simq_alloc(MVS_MAX_SLOTS - 1);
169 if (devq == NULL) {
178 devq);
180 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/ncr/
H A Dncr.c3343 struct cam_devq *devq; local
3744 devq = cam_simq_alloc(MAX_START - 1);
3745 if (devq == NULL)
3753 device_get_unit(dev), &np->lock, 1, MAX_TAGS, devq);
3755 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/ahci/
H A Dahci.c750 struct cam_devq *devq; local
835 devq = cam_simq_alloc(ch->numslots);
836 if (devq == NULL) {
846 devq);
848 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/mpt/
H A Dmpt_cam.c213 struct cam_devq *devq; local
318 devq = cam_simq_alloc(maxq);
319 if (devq == NULL) {
329 mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, maxq, devq);
332 cam_simq_free(devq);
369 mpt_sim_alloc(mpt_action, mpt_poll, "mpt", mpt, 1, maxq, devq);
/freebsd-11-stable/sys/dev/hptiop/
H A Dhptiop.c1884 struct cam_devq *devq; local
2010 if ((devq = cam_simq_alloc(hba->max_requests - 1 )) == NULL) {
2016 hba, unit, &hba->lock, hba->max_requests - 1, 1, devq);
2019 cam_simq_free(devq);
2099 cam_sim_free(hba->sim, /*free devq*/ TRUE);
/freebsd-11-stable/sys/dev/smartpqi/
H A Dsmartpqi_defines.h850 struct cam_devq *devq; member in struct:OS_SPECIFIC
/freebsd-11-stable/sys/dev/mpr/
H A Dmpr_sas.c256 * For TM's the devq is frozen for the device. Unfreeze it here and
257 * free the resources used for freezing the devq. Must clear the
265 mpr_dprint(sc, MPR_INFO, "Unfreezing devq for target ID %d\n",
762 if ((sassc->devq = cam_simq_alloc(reqs)) == NULL) {
770 unit, &sc->mpr_mtx, reqs, reqs, sassc->devq);
942 if (sassc->devq != NULL)
943 cam_simq_free(sassc->devq);
1940 * If target has a reset in progress, freeze the devq and return. The
1941 * devq will be released when the TM reset is finished.
1945 mpr_dprint(sc, MPR_INFO, "%s: Freezing devq fo
[all...]
/freebsd-11-stable/sys/dev/mps/
H A Dmps_sas.c250 * For TM's the devq is frozen for the device. Unfreeze it here and
251 * free the resources used for freezing the devq. Must clear the
259 mps_dprint(sc, MPS_INFO, "Unfreezing devq for target ID %d\n",
749 if ((sassc->devq = cam_simq_alloc(reqs)) == NULL) {
757 unit, &sc->mps_mtx, reqs, reqs, sassc->devq);
888 if (sassc->devq != NULL)
889 cam_simq_free(sassc->devq);
1712 * If target has a reset in progress, freeze the devq and return. The
1713 * devq will be released when the TM reset is finished.
1717 mps_dprint(sc, MPS_INFO, "%s: Freezing devq fo
[all...]
/freebsd-11-stable/sys/dev/arcmsr/
H A Darcmsr.c4902 struct cam_devq *devq; /* Device Queue to use for this SIM */ local
4937 devq = cam_simq_alloc(acb->maxOutstanding);
4938 if(devq == NULL) {
4942 acb->psim = cam_sim_alloc(arcmsr_action, arcmsr_poll, "arcmsr", acb, unit, &acb->isr_lock, 1, ARCMSR_MAX_OUTSTANDING_CMD, devq);
4978 cam_simq_free(devq);
/freebsd-11-stable/sys/dev/sym/
H A Dsym_hipd.c8852 struct cam_devq *devq = NULL; local
8872 devq = cam_simq_alloc(SYM_CONF_MAX_START);
8873 if (!devq)
8881 &np->mtx, 1, SYM_SETUP_MAX_TAG, devq);
8920 if (devq)
8921 cam_simq_free(devq);

Completed in 341 milliseconds

123