FreeBSD kernel CAM code
cam_xpt_sim.h File Reference
#include <cam/cam_xpt.h>
#include <cam/cam_queue.h>
Include dependency graph for cam_xpt_sim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xpt_bus_register (struct cam_sim *sim, device_t parent, uint32_t bus)
 
int xpt_bus_deregister (path_id_t path_id)
 
u_int32_t xpt_freeze_simq (struct cam_sim *sim, u_int count)
 
void xpt_release_simq (struct cam_sim *sim, int run_queue)
 
u_int32_t xpt_freeze_devq (struct cam_path *path, u_int count)
 
void xpt_release_devq (struct cam_path *path, u_int count, int run_queue)
 
void xpt_done (union ccb *done_ccb)
 
void xpt_done_direct (union ccb *done_ccb)
 

Function Documentation

◆ xpt_bus_deregister()

int xpt_bus_deregister ( path_id_t  path_id)

Definition at line 4065 of file cam_xpt.c.

References AC_LOST_DEVICE, AC_PATH_DEREGISTERED, cam_path::bus, CAM_LUN_WILDCARD, CAM_REQ_CMP, CAM_SUCCESS, CAM_TARGET_WILDCARD, xpt_async(), xpt_compile_path(), xpt_release_bus(), and xpt_release_path().

Referenced by cfcs_init(), cfcs_shutdown(), and mmc_cam_sim_free().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xpt_bus_register()

◆ xpt_done()

◆ xpt_done_direct()

void xpt_done_direct ( union ccb done_ccb)

◆ xpt_freeze_devq()

u_int32_t xpt_freeze_devq ( struct cam_path path,
u_int  count 
)

Definition at line 4438 of file cam_xpt.c.

References CAM_DEBUG, CAM_DEBUG_TRACE, cam_path::device, cam_sim::devq, cam_devq::send_mtx, cam_ed::sim, and xpt_freeze_devq_device().

Referenced by cfcs_action(), cfcs_done(), xpt_action_default(), xpt_async(), xpt_run_devq(), xpt_start_tags(), and xpt_stop_tags().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xpt_freeze_simq()

u_int32_t xpt_freeze_simq ( struct cam_sim sim,
u_int  count 
)

Definition at line 4453 of file cam_xpt.c.

References cam_sim::devq, camq::qfrozen_cnt, cam_devq::send_mtx, and cam_devq::send_queue.

Referenced by xpt_async().

Here is the caller graph for this function:

◆ xpt_release_devq()

void xpt_release_devq ( struct cam_path path,
u_int  count,
int  run_queue 
)

Definition at line 4480 of file cam_xpt.c.

References CAM_DEBUG, CAM_DEBUG_TRACE, cam_path::device, cam_sim::devq, cam_devq::send_mtx, cam_ed::sim, xpt_release_devq_device(), and xpt_run_devq().

Referenced by aprobedone(), nvme_probe_done(), probedone(), xpt_action_default(), xpt_async_process(), and xpt_done_process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ xpt_release_simq()

void xpt_release_simq ( struct cam_sim sim,
int  run_queue 
)

Definition at line 4537 of file cam_xpt.c.

References cam_sim::devq, camq::qfrozen_cnt, cam_devq::send_mtx, cam_devq::send_queue, and xpt_run_devq().

Referenced by xpt_async_process(), and xpt_done_process().

Here is the call graph for this function:
Here is the caller graph for this function: