Lines Matching refs:cam_device

54 static struct cam_device *cam_real_open_device(const char *path, int flags,
55 struct cam_device *device,
59 static struct cam_device *cam_lookup_pass(const char *dev_name, int unit,
61 struct cam_device *device);
67 cam_send_ccb(struct cam_device *device, union ccb *ccb) in cam_send_ccb()
76 cam_getccb(struct cam_device *dev) in cam_getccb()
253 struct cam_device *
273 struct cam_device *
275 int flags, struct cam_device *device) in cam_open_btl()
405 struct cam_device *
407 struct cam_device *device) in cam_open_spec_device()
412 struct cam_device *
413 cam_open_pass(const char *path, int flags, struct cam_device *device) in cam_open_pass()
418 static struct cam_device *
420 const char *given_path, struct cam_device *device) in cam_lookup_pass()
500 static struct cam_device *
501 cam_real_open_device(const char *path, int flags, struct cam_device *device, in cam_real_open_device()
512 if ((device = (struct cam_device *)malloc( in cam_real_open_device()
513 sizeof(struct cam_device))) == NULL) { in cam_real_open_device()
670 cam_close_device(struct cam_device *dev) in cam_close_device()
681 cam_close_spec_device(struct cam_device *dev) in cam_close_spec_device()
693 cam_path_string(struct cam_device *dev, char *str, int len) in cam_path_string()
715 struct cam_device *
716 cam_device_dup(struct cam_device *device) in cam_device_dup()
718 struct cam_device *newdev; in cam_device_dup()
726 newdev = malloc(sizeof(struct cam_device)); in cam_device_dup()
733 bcopy(device, newdev, sizeof(struct cam_device)); in cam_device_dup()
742 cam_device_copy(struct cam_device *src, struct cam_device *dst) in cam_device_copy()
757 bcopy(src, dst, sizeof(struct cam_device)); in cam_device_copy()