FreeBSD kernel CAM code
mmc_sim.h File Reference
#include <sys/taskqueue.h>
Include dependency graph for mmc_sim.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  mmc_sim
 

Functions

int mmc_cam_sim_alloc (device_t dev, const char *name, struct mmc_sim *mmc_sim)
 
void mmc_cam_sim_free (struct mmc_sim *sim)
 
void mmc_cam_sim_discover (struct mmc_sim *mmc_sim)
 

Function Documentation

◆ mmc_cam_sim_alloc()

int mmc_cam_sim_alloc ( device_t  dev,
const char *  name,
struct mmc_sim mmc_sim 
)

◆ mmc_cam_sim_discover()

void mmc_cam_sim_discover ( struct mmc_sim mmc_sim)

Definition at line 251 of file mmc_sim.c.

References mmccam_start_discovery(), and mmc_sim::sim.

Here is the call graph for this function:

◆ mmc_cam_sim_free()

void mmc_cam_sim_free ( struct mmc_sim sim)

Definition at line 236 of file mmc_sim.c.

References cam_sim_free(), cam_sim_path(), cam_simq_free(), mmc_sim::devq, mmc_sim::mtx, mmc_sim::sim, and xpt_bus_deregister().

Referenced by mmc_cam_sim_alloc().

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