Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102757062
D32303.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
627 B
Referenced Files
None
Subscribers
None
D32303.diff
View Options
diff --git a/sys/cam/cam_sim.c b/sys/cam/cam_sim.c
--- a/sys/cam/cam_sim.c
+++ b/sys/cam/cam_sim.c
@@ -127,6 +127,19 @@
return (sim);
}
+/**
+ * @brief frees up the sim
+ *
+ * Frees up the CAM @c sim and optionally the devq. If a mutex is associated
+ * with the sim, it must be locked on entry. It will remain locked on
+ * return.
+ *
+ * This function will wait for all outstanding reference to the sim to clear
+ * before returning.
+ *
+ * @param sim The sim to free
+ * @param free_devq Free the devq associated with the sim at creation.
+ */
void
cam_sim_free(struct cam_sim *sim, int free_devq)
{
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 6:01 PM (21 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14682932
Default Alt Text
D32303.diff (627 B)
Attached To
Mode
D32303: cam: Add doxygen for cam_sim_free
Attached
Detach File
Event Timeline
Log In to Comment