Home
last modified time | relevance | path

Searched refs:cam_periph_acquire (Results 1 – 20 of 20) sorted by relevance

/freebsd/sys/cam/ata/
H A Data_pmp.c315 if (cam_periph_acquire(periph) == 0) { in pmpasync()
343 if (cam_periph_acquire(periph) != 0) in pmpsysctlinit()
408 (void)cam_periph_acquire(periph); in pmpregister()
H A Data_da.c984 if (cam_periph_acquire(periph) != 0) { in adaopen()
1404 if (cam_periph_acquire(periph) != 0) in adaasync()
1859 (void)cam_periph_acquire(periph); in adaregister()
1944 if (cam_periph_acquire(periph) == 0) in adaregister()
2729 if (cam_periph_acquire(periph) == 0) in adaprobedone()
H A Data_xpt.c288 if (cam_periph_acquire(periph) != 0) in aproberegister()
/freebsd/sys/cam/scsi/
H A Dscsi_enc.c283 if (cam_periph_acquire(periph) != 0) in enc_open()
866 if (cam_periph_acquire(enc->periph) != 0) in enc_kproc_init()
962 if (cam_periph_acquire(periph) != 0) { in enc_ctor()
H A Dscsi_pass.c540 if (cam_periph_acquire(periph) != 0) in passasync()
638 if (cam_periph_acquire(periph) != 0) { in passregister()
650 if (cam_periph_acquire(periph) != 0) { in passregister()
678 if (cam_periph_acquire(periph) != 0) { in passregister()
718 if (cam_periph_acquire(periph) != 0) in passopen()
H A Dscsi_sg.c349 if (cam_periph_acquire(periph) != 0) { in sgregister()
433 if (cam_periph_acquire(periph) != 0) in sgopen()
H A Dscsi_cd.c475 if (cam_periph_acquire(periph) == 0) { in cdasync()
512 if (cam_periph_acquire(periph) != 0) in cdsysctlinit()
647 (void)cam_periph_acquire(periph); in cdregister()
743 if (cam_periph_acquire(periph) != 0) in cdopen()
1367 if (cam_periph_acquire(periph) == 0) in cddone()
2684 error = cam_periph_acquire(periph); in cdcheckmedia()
2922 if (cam_periph_acquire(periph) == 0) { in cdmediapoll()
H A Dscsi_pt.c140 if (cam_periph_acquire(periph) != 0) in ptopen()
H A Dscsi_ch.c417 if (cam_periph_acquire(periph) != 0) { in chregister()
464 if (cam_periph_acquire(periph) != 0) in chopen()
H A Dscsi_target.c183 cam_periph_acquire(periph); in targcdevdtor()
H A Dscsi_sa.c718 if (cam_periph_acquire(periph) != 0) { in saopen()
2642 if (cam_periph_acquire(periph) != 0) { in saregister()
2704 cam_periph_acquire(periph); in saregister()
2734 cam_periph_acquire(periph); in saregister()
H A Dscsi_da.c1708 int err = cam_periph_acquire(periph); in da_periph_acquire()
1756 #define cam_periph_acquire POISON macro
1763 #define da_periph_acquire(periph, token) cam_periph_acquire((periph))
H A Dscsi_xpt.c666 if (cam_periph_acquire(periph) != 0) in proberegister()
/freebsd/sys/cam/nvme/
H A Dnvme_da.c295 if (cam_periph_acquire(periph) != 0) { in ndaopen()
880 (void)cam_periph_acquire(periph); in ndaregister()
978 if (cam_periph_acquire(periph) == 0) in ndaregister()
994 if (cam_periph_acquire(periph) == 0) in ndaregister()
H A Dnvme_xpt.c226 if (cam_periph_acquire(periph) != 0) in nvme_probe_register()
/freebsd/sys/cam/
H A Dcam_periph.h170 int cam_periph_acquire(struct cam_periph *periph);
H A Dcam_periph.c411 cam_periph_acquire(struct cam_periph *periph) in cam_periph_acquire() function
495 if (cam_periph_acquire(periph) != 0) in cam_periph_hold()
/freebsd/sys/cam/ctl/
H A Dscsi_ctl.c539 acstatus = cam_periph_acquire(periph); in ctlferegister()
1824 cam_periph_acquire(lun_softc->periph); in ctlfe_lun_disable()
/freebsd/sys/cam/mmc/
H A Dmmc_da.c451 if (cam_periph_acquire(periph) != 0) { in sddaopen()
1608 if (cam_periph_acquire(periph) != 0) { in sdda_add_part()
H A Dmmc_xpt.c538 status = cam_periph_acquire(periph); in mmcprobe_register()