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

Go to the source code of this file.

Functions

void xpt_release_ccb (union ccb *released_ccb)
 
void xpt_schedule (struct cam_periph *perph, u_int32_t new_priority)
 
int32_t xpt_add_periph (struct cam_periph *periph)
 
void xpt_remove_periph (struct cam_periph *periph)
 
void xpt_announce_periph (struct cam_periph *periph, char *announce_string)
 
void xpt_announce_periph_sbuf (struct cam_periph *periph, struct sbuf *sb, char *announce_string)
 
void xpt_announce_quirks (struct cam_periph *periph, int quirks, char *bit_string)
 
void xpt_announce_quirks_sbuf (struct cam_periph *periph, struct sbuf *sb, int quirks, char *bit_string)
 
void xpt_denounce_periph (struct cam_periph *periph)
 
void xpt_denounce_periph_sbuf (struct cam_periph *periph, struct sbuf *sb)
 

Function Documentation

◆ xpt_add_periph()

int32_t xpt_add_periph ( struct cam_periph periph)

Definition at line 1014 of file cam_xpt.c.

References cam_et::bus, CAM_REQ_CMP, cam_path::device, cam_eb::eb_mtx, cam_ed::generation, cam_periph::path, cam_periph::periph_run_task, cam_ed::periphs, cam_ed::target, xpt_softc::xpt_generation, xpt_run_allocq_task(), and xsoftc.

Referenced by cam_periph_alloc().

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

◆ xpt_announce_periph()

◆ xpt_announce_periph_sbuf()

◆ xpt_announce_quirks()

void xpt_announce_quirks ( struct cam_periph periph,
int  quirks,
char *  bit_string 
)

Definition at line 1151 of file cam_xpt.c.

References cam_periph::periph_name, and cam_periph::unit_number.

Referenced by chdone(), ndaregister(), sadone(), saregister(), sastart(), and xpt_announce_quirks_sbuf().

Here is the caller graph for this function:

◆ xpt_announce_quirks_sbuf()

void xpt_announce_quirks_sbuf ( struct cam_periph periph,
struct sbuf *  sb,
int  quirks,
char *  bit_string 
)

Definition at line 1160 of file cam_xpt.c.

References cam_periph::periph_name, cam_periph::unit_number, xpt_announce_quirks(), and xsoftc.

Referenced by adaregister(), cddone(), and dadone_proberc().

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

◆ xpt_denounce_periph()

◆ xpt_denounce_periph_sbuf()

◆ xpt_release_ccb()

void xpt_release_ccb ( union ccb released_ccb)

Definition at line 3924 of file cam_xpt.c.

References cam_ccbq_release_opening(), CAM_DEBUG_PRINT, CAM_DEBUG_XPT, ccb::ccb_h, cam_ed::ccbq, cam_path::device, ccb_hdr::path, cam_path::periph, cam_periph::periph_allocated, xpt_free_ccb(), xpt_path_assert, and xpt_run_allocq().

Referenced by adaclose(), adadone(), adaflush(), adaprobedone(), adastart(), aprobedone(), cam_periph_ioctl(), cddone(), cdgetmode(), cdpause(), cdplay(), cdplaymsf(), cdplaytracks(), cdprevent(), cdreaddvdstructure(), cdreadsubchannel(), cdreadtoc(), cdreportkey(), cdsendkey(), cdsetmode(), cdsetspeed(), cdstart(), cdstartunit(), cdstopunit(), chdone(), chexchange(), chgetelemstatus(), chgetparams(), chielem(), chmove(), chposition(), chsetvoltag(), chstart(), ctlfedone(), ctlfestart(), daclose(), dadone(), dadone_probeata(), dadone_probeataiddir(), dadone_probeatalogdir(), dadone_probeatasup(), dadone_probebdc(), dadone_probeblklimits(), dadone_probelbp(), dadone_proberc(), dadone_probewp(), dadone_tur(), daprevent(), daprobedone(), dashutdown(), dastart(), enc_fsm_step(), enc_runcmd(), mmcprobe_done(), ndaclose(), ndadone(), ndaflush(), ndaioctl(), ndastart(), nvme_probe_done(), passdoioctl(), passdone(), passstart(), pmpdone(), probedone(), ptdone(), ptstart(), sadone(), saerase(), sagetparams(), sagetpos(), saloadunload(), samount(), saprevent(), sardpos(), sareservereleaseunit(), saretension(), sarewind(), sasetparams(), sasetpos(), sasetprot(), saspace(), sastart(), sawritefilemarks(), sddadone(), sddastart(), ses_set_timed_completion(), sgioctl(), targbhdone(), targbhstart(), targfreeccb(), targstart(), and xpt_run_allocq().

Here is the call graph for this function:

◆ xpt_remove_periph()

void xpt_remove_periph ( struct cam_periph periph)

Definition at line 1034 of file cam_xpt.c.

References cam_et::bus, cam_path::device, cam_eb::eb_mtx, cam_ed::generation, cam_periph::path, cam_ed::periphs, cam_ed::target, xpt_softc::xpt_generation, and xsoftc.

Referenced by cam_periph_alloc(), and camperiphfree().

Here is the caller graph for this function:

◆ xpt_schedule()