Changeset View
Changeset View
Standalone View
Standalone View
sys/cam/cam.h
| Show First 20 Lines • Show All 372 Lines • ▼ Show 20 Lines | |||||
| __BEGIN_DECLS | __BEGIN_DECLS | ||||
| typedef int (cam_quirkmatch_t)(caddr_t, caddr_t); | typedef int (cam_quirkmatch_t)(caddr_t, caddr_t); | ||||
| caddr_t cam_quirkmatch(caddr_t target, caddr_t quirk_table, int num_entries, | caddr_t cam_quirkmatch(caddr_t target, caddr_t quirk_table, int num_entries, | ||||
| int entry_size, cam_quirkmatch_t *comp_func); | int entry_size, cam_quirkmatch_t *comp_func); | ||||
| void cam_strvis(u_int8_t *dst, const u_int8_t *src, int srclen, int dstlen); | void cam_strvis(u_int8_t *dst, const u_int8_t *src, int srclen, int dstlen); | ||||
| void cam_strvis_flag(u_int8_t *dst, const u_int8_t *src, int srclen, | |||||
| int dstlen, uint32_t flags); | |||||
| void cam_strvis_sbuf(struct sbuf *sb, const u_int8_t *src, int srclen, | void cam_strvis_sbuf(struct sbuf *sb, const u_int8_t *src, int srclen, | ||||
| uint32_t flags); | uint32_t flags); | ||||
| int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); | int cam_strmatch(const u_int8_t *str, const u_int8_t *pattern, int str_len); | ||||
| const struct cam_status_entry* | const struct cam_status_entry* | ||||
| cam_fetch_status_entry(cam_status status); | cam_fetch_status_entry(cam_status status); | ||||
| #ifdef _KERNEL | #ifdef _KERNEL | ||||
| char * cam_error_string(union ccb *ccb, char *str, int str_len, | char * cam_error_string(union ccb *ccb, char *str, int str_len, | ||||
| Show All 25 Lines | |||||