diff options
author | Alexander Motin <mav@FreeBSD.org> | 2022-07-14 19:38:14 +0000 |
---|---|---|
committer | Alexander Motin <mav@FreeBSD.org> | 2022-07-14 20:17:36 +0000 |
commit | 90bcc81bc35e89049a94a12c259b0c53fcf7a299 (patch) | |
tree | 6b7bea6b913c2eafd4af4044578ce4d5ed137dda /sys/cam/cam_periph.h | |
parent | b62848b0c3ffcd6c1b0f0b6e617c030acf30f603 (diff) | |
download | src-90bcc81bc35e89049a94a12c259b0c53fcf7a299.tar.gz src-90bcc81bc35e89049a94a12c259b0c53fcf7a299.zip |
Diffstat (limited to 'sys/cam/cam_periph.h')
-rw-r--r-- | sys/cam/cam_periph.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/cam/cam_periph.h b/sys/cam/cam_periph.h index 9c323394797c..5500720a95b9 100644 --- a/sys/cam/cam_periph.h +++ b/sys/cam/cam_periph.h @@ -150,6 +150,7 @@ struct cam_periph { ac_code deferred_ac; struct task periph_run_task; uma_zone_t ccb_zone; + struct root_hold_token periph_rootmount; }; #define CAM_PERIPH_MAXMAPS 2 @@ -175,6 +176,8 @@ void cam_periph_release_locked(struct cam_periph *periph); void cam_periph_release_locked_buses(struct cam_periph *periph); int cam_periph_hold(struct cam_periph *periph, int priority); void cam_periph_unhold(struct cam_periph *periph); +void cam_periph_hold_boot(struct cam_periph *periph); +void cam_periph_release_boot(struct cam_periph *periph); void cam_periph_invalidate(struct cam_periph *periph); int cam_periph_mapmem(union ccb *ccb, struct cam_periph_map_info *mapinfo, |