/freebsd/sys/cam/ |
H A D | cam_periph.c | 203 struct cam_periph *periph; in cam_periph_alloc() local 341 struct cam_periph *periph; in cam_periph_find() local 372 struct cam_periph *periph; in cam_periph_list() local 411 cam_periph_acquire(struct cam_periph *periph) in cam_periph_acquire() 430 cam_periph_doacquire(struct cam_periph *periph) in cam_periph_doacquire() 441 cam_periph_release_locked_buses(struct cam_periph *periph) in cam_periph_release_locked_buses() 451 cam_periph_release_locked(struct cam_periph *periph) in cam_periph_release_locked() 463 cam_periph_release(struct cam_periph *periph) in cam_periph_release() 484 cam_periph_hold(struct cam_periph *periph, int priority) in cam_periph_hold() 517 cam_periph_unhold(struct cam_periph *periph) in cam_periph_unhold() [all …]
|
H A D | cam_periph.h | 214 cam_periph_mtx(struct cam_periph *periph) in cam_periph_mtx() 222 #define cam_periph_owned(periph) \ argument 225 #define cam_periph_lock(periph) \ argument 228 #define cam_periph_unlock(periph) \ argument 231 #define cam_periph_assert(periph, what) \ argument 234 #define cam_periph_sleep(periph, chan, priority, wmesg, timo) \ argument 240 struct cam_periph *periph; in cam_periph_acquire_first() local 255 struct cam_periph *periph = pperiph; in cam_periph_acquire_next() local 269 #define CAM_PERIPH_FOREACH(periph, driver) \ argument
|
H A D | cam_xpt.c | 594 struct cam_periph *periph; in xptdoioctl() local 776 xpt_rescan_done(struct cam_periph *periph, union ccb *done_ccb) in xpt_rescan_done() 988 xptregister(struct cam_periph *periph, void *arg) in xptregister() 1006 xpt_add_periph(struct cam_periph *periph) in xpt_add_periph() 1026 xpt_remove_periph(struct cam_periph *periph) in xpt_remove_periph() 1041 xpt_announce_periph(struct cam_periph *periph, char *announce_string) in xpt_announce_periph() 1053 xpt_announce_periph_sbuf(struct cam_periph *periph, struct sbuf *sb, in xpt_announce_periph_sbuf() 1098 xpt_announce_quirks(struct cam_periph *periph, int quirks, char *bit_string) in xpt_announce_quirks() 1107 xpt_announce_quirks_sbuf(struct cam_periph *periph, struct sbuf *sb, in xpt_announce_quirks_sbuf() 1117 xpt_denounce_periph(struct cam_periph *periph) in xpt_denounce_periph() [all …]
|
/freebsd/sys/cam/mmc/ |
H A D | mmc_da.c | 118 struct cam_periph *periph; member 186 static inline uint32_t mmc_get_sector_size(struct cam_periph *periph) {return MMC_SECTOR_SIZE;} in mmc_get_sector_size() 196 static inline bool sdda_get_read_only(struct cam_periph *periph, union ccb *start_ccb) in sdda_get_read_only() 235 get_rca(struct cam_periph *periph) { in get_rca() 444 struct cam_periph *periph; in sddaopen() local 475 struct cam_periph *periph; in sddaclose() local 495 sddaschedule(struct cam_periph *periph) in sddaschedule() 525 struct cam_periph *periph; in sddastrategy() local 584 struct cam_periph *periph; in sddadiskgonecb() local 595 sddaoninvalidate(struct cam_periph *periph) in sddaoninvalidate() [all …]
|
H A D | mmc_xpt.c | 181 struct cam_periph *periph; member 227 mmc_scan_lun(struct cam_periph *periph, struct cam_path *path, in mmc_scan_lun() 377 mmc_announce_periph_sbuf(struct cam_periph *periph, struct sbuf *sb) in mmc_announce_periph_sbuf() 509 mmcprobe_register(struct cam_periph *periph, void *arg) in mmcprobe_register() 582 mmcprobe_start(struct cam_periph *periph, union ccb *start_ccb) in mmcprobe_start() 798 static void mmcprobe_cleanup(struct cam_periph *periph) in mmcprobe_cleanup() 804 mmcprobe_done(struct cam_periph *periph, union ccb *done_ccb) in mmcprobe_done()
|
/freebsd/sys/cam/scsi/ |
H A D | scsi_pass.c | 141 struct cam_periph *periph; member 232 passrejectios(struct cam_periph *periph) in passrejectios() 288 struct cam_periph *periph; in passdevgonecb() local 336 passoninvalidate(struct cam_periph *periph) in passoninvalidate() 357 passcleanup(struct cam_periph *periph) in passcleanup() 419 struct cam_periph *periph; in pass_shutdown_kqueue() local 437 struct cam_periph *periph; in pass_add_physpath() local 488 struct cam_periph *periph; in passasync() local 555 passregister(struct cam_periph *periph, void *arg) in passregister() 713 struct cam_periph *periph; in passopen() local [all …]
|
H A D | scsi_pt.c | 135 struct cam_periph *periph; in ptopen() local 169 struct cam_periph *periph; in ptclose() local 191 struct cam_periph *periph; in ptstrategy() local 244 ptctor(struct cam_periph *periph, void *arg) in ptctor() 320 ptoninvalidate(struct cam_periph *periph) in ptoninvalidate() 342 ptdtor(struct cam_periph *periph) in ptdtor() 358 struct cam_periph *periph; in ptasync() local 417 ptstart(struct cam_periph *periph, union ccb *start_ccb) in ptstart() 470 ptdone(struct cam_periph *periph, union ccb *done_ccb) in ptdone() 567 struct cam_periph *periph; in ptioctl() local
|
H A D | scsi_sg.c | 170 struct cam_periph *periph; in sgdevgonecb() local 209 sgoninvalidate(struct cam_periph *periph) in sgoninvalidate() 237 sgcleanup(struct cam_periph *periph) in sgcleanup() 251 struct cam_periph *periph; in sgasync() local 293 sgregister(struct cam_periph *periph, void *arg) in sgregister() 394 sgdone(struct cam_periph *periph, union ccb *done_ccb) in sgdone() 428 struct cam_periph *periph; in sgopen() local 464 struct cam_periph *periph; in sgclose() local 499 struct cam_periph *periph; in sgioctl() local 672 struct cam_periph *periph; in sgwrite() local [all …]
|
H A D | scsi_cd.c | 168 struct cam_periph *periph; member 360 struct cam_periph *periph; cddiskgonecb() local 367 cdoninvalidate(struct cam_periph * periph) cdoninvalidate() argument 392 cdcleanup(struct cam_periph * periph) cdcleanup() argument 414 struct cam_periph *periph; cdasync() local 510 struct cam_periph *periph; cdsysctlinit() local 588 cdregister(struct cam_periph * periph,void * arg) cdregister() argument 741 struct cam_periph *periph; cdopen() local 786 struct cam_periph *periph; cdclose() local 830 struct cam_periph *periph; cdrunccb() local 850 struct cam_periph *periph; cdstrategy() local 888 cdstart(struct cam_periph * periph,union ccb * start_ccb) cdstart() argument 1132 cddone(struct cam_periph * periph,union ccb * done_ccb) cddone() argument 1750 struct cam_periph *periph; cdioctl() local 2619 cdprevent(struct cam_periph * periph,int action) cdprevent() argument 2661 cdmediaprobedone(struct cam_periph * periph) cdmediaprobedone() argument 2683 cdcheckmedia(struct cam_periph * periph,bool do_wait) cdcheckmedia() argument 2723 struct cam_periph *periph; cd6byteworkaround() local 2872 struct cam_periph *periph; cderror() local 2920 struct cam_periph *periph = arg; cdmediapoll() local 2942 cdreadtoc(struct cam_periph * periph,uint32_t mode,uint32_t start,uint8_t * data,uint32_t len,uint32_t sense_flags) cdreadtoc() argument 2976 cdreadsubchannel(struct cam_periph * periph,uint32_t mode,uint32_t format,int track,struct cd_sub_channel_info * data,uint32_t len) cdreadsubchannel() argument 3027 cdgetmode(struct cam_periph * periph,struct cd_mode_params * data,uint32_t page) cdgetmode() argument 3127 cdsetmode(struct cam_periph * periph,struct cd_mode_params * data) cdsetmode() argument 3220 cdplay(struct cam_periph * periph,uint32_t blk,uint32_t len) cdplay() argument 3275 cdplaymsf(struct cam_periph * periph,uint32_t startm,uint32_t starts,uint32_t startf,uint32_t endm,uint32_t ends,uint32_t endf) cdplaymsf() argument 3320 cdplaytracks(struct cam_periph * periph,uint32_t strack,uint32_t sindex,uint32_t etrack,uint32_t eindex) cdplaytracks() argument 3363 cdpause(struct cam_periph * periph,uint32_t go) cdpause() argument 3402 cdstartunit(struct cam_periph * periph,int load) cdstartunit() argument 3430 cdstopunit(struct cam_periph * periph,uint32_t eject) cdstopunit() argument 3458 cdsetspeed(struct cam_periph * periph,uint32_t rdspeed,uint32_t wrspeed) cdsetspeed() argument 3502 cdreportkey(struct cam_periph * periph,struct dvd_authinfo * authinfo) cdreportkey() argument 3661 cdsendkey(struct cam_periph * periph,struct dvd_authinfo * authinfo) cdsendkey() argument 3752 cdreaddvdstructure(struct cam_periph * periph,struct dvd_struct * dvdstruct) cdreaddvdstructure() argument [all...] |
H A D | scsi_da.c | 1658 #define DA_PERIPH_PRINT(periph, msg, args...) \ argument 1661 #define DA_PERIPH_PRINT(periph, msg, args...) argument 1672 da_periph_hold(struct cam_periph *periph, int priority, da_ref_token token) in da_periph_hold() 1691 da_periph_unhold(struct cam_periph *periph, da_ref_token token) in da_periph_unhold() 1706 da_periph_acquire(struct cam_periph *periph, da_ref_token token) in da_periph_acquire() 1725 da_periph_release(struct cam_periph *periph, da_ref_token token) in da_periph_release() 1740 da_periph_release_locked(struct cam_periph *periph, da_ref_token token) in da_periph_release_locked() 1761 #define da_periph_hold(periph, prio, token) cam_periph_hold((periph), (prio)) argument 1762 #define da_periph_unhold(periph, token) cam_periph_unhold((periph)) argument 1763 #define da_periph_acquire(periph, token) cam_periph_acquire((periph)) argument [all …]
|
H A D | scsi_ch.c | 245 struct cam_periph *periph; in chdevgonecb() local 283 choninvalidate(struct cam_periph *periph) in choninvalidate() 304 chcleanup(struct cam_periph *periph) in chcleanup() 318 struct cam_periph *periph; in chasync() local 363 chregister(struct cam_periph *periph, void *arg) in chregister() 459 struct cam_periph *periph; in chopen() local 505 struct cam_periph *periph; in chclose() local 536 chstart(struct cam_periph *periph, union ccb *start_ccb) in chstart() 594 chdone(struct cam_periph *periph, union ccb *done_ccb) in chdone() 741 struct cam_periph *periph; in chioctl() local [all …]
|
H A D | scsi_enc.c | 128 struct cam_periph *periph; in enc_devgonecb() local 164 enc_oninvalidate(struct cam_periph *periph) in enc_oninvalidate() 195 enc_dtor(struct cam_periph *periph) in enc_dtor() 213 struct cam_periph *periph; in enc_async() local 278 struct cam_periph *periph; in enc_open() local 312 struct cam_periph *periph; in enc_close() local 353 struct cam_periph *periph; in enc_ioctl() local 883 enc_ctor(struct cam_periph *periph, void *arg) in enc_ctor()
|
H A D | scsi_targ_bh.c | 215 struct cam_periph *periph; in targbhasync() local 229 targbhenlun(struct cam_periph *periph) in targbhenlun() 340 targbhdislun(struct cam_periph *periph) in targbhdislun() 391 targbhctor(struct cam_periph *periph, void *arg) in targbhctor() 418 targbhdtor(struct cam_periph *periph) in targbhdtor() 442 targbhstart(struct cam_periph *periph, union ccb *start_ccb) in targbhstart() 526 targbhdone(struct cam_periph *periph, union ccb *done_ccb) in targbhdone()
|
H A D | scsi_xpt.c | 187 struct cam_periph *periph; member 642 proberegister(struct cam_periph *periph, void *arg) in proberegister() 686 probeschedule(struct cam_periph *periph) in probeschedule() 740 probestart(struct cam_periph *periph, union ccb *start_ccb) in probestart() 1036 proberequestdefaultnegotiation(struct cam_periph *periph) in proberequestdefaultnegotiation() 1057 proberequestbackoff(struct cam_periph *periph, struct cam_ed *device) in proberequestbackoff() 1160 probedone(struct cam_periph *periph, union ccb *done_ccb) in probedone() 1887 probecleanup(struct cam_periph *periph) in probecleanup() 1925 scsi_scan_bus(struct cam_periph *periph, union ccb *request_ccb) in scsi_scan_bus() 2287 scsi_scan_lun(struct cam_periph *periph, struct cam_path *path, in scsi_scan_lun() [all …]
|
H A D | scsi_sa.c | 382 struct cam_periph *periph; member 713 struct cam_periph *periph; in saopen() local 789 struct cam_periph *periph; in saclose() local 958 struct cam_periph *periph; in sastrategy() local 1073 sasetsili(struct cam_periph *periph, struct mtparamset *ps, int num_params) in sasetsili() 1134 saseteotwarn(struct cam_periph *periph, struct mtparamset *ps, int num_params) in saseteotwarn() 1241 sasetprotents(struct cam_periph *periph, struct mtparamset *ps, int num_params) in sasetprotents() 1399 saparamsetlist(struct cam_periph *periph, struct mtsetlist *list, in saparamsetlist() 1511 sagetparams_common(struct cdev *dev, struct cam_periph *periph) in sagetparams_common() 1550 #define PENDING_MOUNT_CHECK(softc, periph, dev) \ argument [all …]
|
H A D | scsi_target.c | 91 struct cam_periph *periph; member 169 struct cam_periph *periph; in targcdevdtor() local 383 struct cam_periph *periph; in targenable() local 479 targctor(struct cam_periph *periph, void *arg) in targctor() 492 targdtor(struct cam_periph *periph) in targdtor() 613 targstart(struct cam_periph *periph, union ccb *start_ccb) in targstart() 758 targdone(struct cam_periph *periph, union ccb *done_ccb) in targdone()
|
/freebsd/sys/cam/nvme/ |
H A D | nvme_da.c | 290 struct cam_periph *periph; in ndaopen() local 320 struct cam_periph *periph; in ndaclose() local 360 ndaschedule(struct cam_periph *periph) in ndaschedule() 374 struct cam_periph *periph; in ndaioctl() local 463 struct cam_periph *periph; in ndastrategy() local 502 struct cam_periph *periph; in ndadump() local 579 struct cam_periph *periph; in ndadiskgonecb() local 587 ndaoninvalidate(struct cam_periph *periph) in ndaoninvalidate() 617 ndacleanup(struct cam_periph *periph) in ndacleanup() 650 struct cam_periph *periph; in ndaasync() local [all …]
|
H A D | nvme_xpt.c | 118 struct cam_periph *periph; member 199 nvme_probe_register(struct cam_periph * periph,void * arg) nvme_probe_register() argument 237 nvme_probe_schedule(struct cam_periph * periph) nvme_probe_schedule() argument 256 nvme_probe_start(struct cam_periph * periph,union ccb * start_ccb) nvme_probe_start() argument 304 nvme_probe_done(struct cam_periph * periph,union ccb * done_ccb) nvme_probe_done() argument 493 nvme_probe_cleanup(struct cam_periph * periph) nvme_probe_cleanup() argument 525 nvme_scan_lun(struct cam_periph * periph,struct cam_path * path,cam_flags flags,union ccb * request_ccb) nvme_scan_lun() argument 785 nvme_announce_periph_sbuf(struct cam_periph * periph,struct sbuf * sb) nvme_announce_periph_sbuf() argument [all...] |
H A D | nvme_all.c | 204 nvme_get_identify_cntrl(struct cam_periph *periph) in nvme_get_identify_cntrl() 214 nvme_get_identify_ns(struct cam_periph *periph) in nvme_get_identify_ns()
|
/freebsd/sys/cam/ata/ |
H A D | ata_pmp.c | 175 pmpfreeze(struct cam_periph *periph, int mask) in pmpfreeze() 197 pmprelease(struct cam_periph *periph, int mask) in pmprelease() 219 pmponinvalidate(struct cam_periph *periph) in pmponinvalidate() 241 pmpcleanup(struct cam_periph *periph) in pmpcleanup() 265 struct cam_periph *periph; in pmpasync() local 338 struct cam_periph *periph; in pmpsysctlinit() local 365 pmpregister(struct cam_periph *periph, void *arg) in pmpregister() 418 pmpstart(struct cam_periph *periph, union ccb *start_ccb) in pmpstart() 580 pmpdone(struct cam_periph *periph, union ccb *done_ccb) in pmpdone()
|
H A D | ata_xpt.c | 146 struct cam_periph *periph; member 262 aproberegister(struct cam_periph *periph, void *arg) in aproberegister() 298 aprobeschedule(struct cam_periph *periph) in aprobeschedule() 322 aprobestart(struct cam_periph *periph, union ccb *start_ccb) in aprobestart() 709 aproberequestdefaultnegotiation(struct cam_periph *periph) in aproberequestdefaultnegotiation() 727 aprobedone(struct cam_periph *periph, union ccb *done_ccb) in aprobedone() 1340 aprobecleanup(struct cam_periph *periph) in aprobecleanup() 1379 ata_scan_bus(struct cam_periph *periph, union ccb *request_ccb) in ata_scan_bus() 1543 ata_scan_lun(struct cam_periph *periph, struct cam_path *path, in ata_scan_lun() 1621 axptscandone(struct cam_periph *periph, union ccb *done_ccb) in axptscandone() [all …]
|
H A D | ata_da.c | 979 struct cam_periph *periph; in adaopen() local 1009 struct cam_periph *periph; in adaclose() local 1060 adaschedule(struct cam_periph *periph) in adaschedule() 1078 struct cam_periph *periph; in adastrategy() local 1122 struct cam_periph *periph; in adadump() local 1238 struct cam_periph *periph; in adadiskgonecb() local 1246 adaoninvalidate(struct cam_periph *periph) in adaoninvalidate() 1276 adacleanup(struct cam_periph *periph) in adacleanup() 1325 struct cam_periph *periph; in adaasync() local 1481 struct cam_periph *periph; in adasysctlinit() local [all …]
|
/freebsd/sys/cam/ctl/ |
H A D | scsi_ctl.c | 100 struct cam_periph *periph; member 452 ctlferegister(struct cam_periph *periph, void *arg) in ctlferegister() argument 605 ctlfeoninvalidate(struct cam_periph * periph) ctlfeoninvalidate() argument 648 ctlfecleanup(struct cam_periph * periph) ctlfecleanup() argument 763 ctlfestart(struct cam_periph * periph,union ccb * start_ccb) ctlfestart() argument 917 struct cam_periph *periph = context; ctlfe_drain() local 930 ctlfe_free_ccb(struct cam_periph * periph,union ccb * ccb) ctlfe_free_ccb() argument 981 ctlfe_requeue_ccb(struct cam_periph * periph,union ccb * ccb,int unlock) ctlfe_requeue_ccb() argument 1080 ctlfedone(struct cam_periph * periph,union ccb * done_ccb) ctlfedone() argument 1643 struct cam_periph *periph; ctlfe_online() local 1705 struct cam_periph *periph; ctlfe_offline() local 1740 struct cam_periph *periph; ctlfe_lun_enable() local 1849 struct cam_periph *periph = softc->periph; ctlfe_dump_queue() local 1908 struct cam_periph *periph; ctlfe_datamove() local 1932 struct cam_periph *periph; ctlfe_done() local [all...] |
/freebsd/sys/dev/sdio/ |
H A D | sdiob.c | 112 struct cam_periph *periph; member 961 struct cam_periph *periph; sdiobdiscover() local 1016 sdiobregister(struct cam_periph * periph,void * arg) sdiobregister() argument 1065 sdioboninvalidate(struct cam_periph * periph) sdioboninvalidate() argument 1074 sdiobcleanup(struct cam_periph * periph) sdiobcleanup() argument 1083 sdiobstart(struct cam_periph * periph,union ccb * ccb) sdiobstart() argument 1094 struct cam_periph *periph; sdiobasync() local [all...] |
/freebsd/sys/dev/hptmv/ |
H A D | hptproc.c | 64 struct cam_periph *periph = NULL; in hpt_set_asc_info() local 508 struct cam_periph *periph = NULL; in hpt_get_info() local
|