libiscsi.h (f01387d2693813eb5271a3448e6a082322c7d75d) libiscsi.h (db5ed4dfd5dd0142ec36ff7b335e0ec3b836b3e6)
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 364 unchanged lines hidden (view full) ---

373
374 struct workqueue_struct *workq;
375 char workq_name[20];
376};
377
378/*
379 * scsi host template
380 */
1/*
2 * iSCSI lib definitions
3 *
4 * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
5 * Copyright (C) 2004 - 2006 Mike Christie
6 * Copyright (C) 2004 - 2005 Dmitry Yusupov
7 * Copyright (C) 2004 - 2005 Alex Aizman
8 *

--- 364 unchanged lines hidden (view full) ---

373
374 struct workqueue_struct *workq;
375 char workq_name[20];
376};
377
378/*
379 * scsi host template
380 */
381extern int iscsi_change_queue_depth(struct scsi_device *sdev, int depth,
382 int reason);
383extern int iscsi_eh_abort(struct scsi_cmnd *sc);
384extern int iscsi_eh_recover_target(struct scsi_cmnd *sc);
385extern int iscsi_eh_session_reset(struct scsi_cmnd *sc);
386extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);
387extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
388
389/*
390 * iSCSI host helpers.

--- 107 unchanged lines hidden ---
381extern int iscsi_eh_abort(struct scsi_cmnd *sc);
382extern int iscsi_eh_recover_target(struct scsi_cmnd *sc);
383extern int iscsi_eh_session_reset(struct scsi_cmnd *sc);
384extern int iscsi_eh_device_reset(struct scsi_cmnd *sc);
385extern int iscsi_queuecommand(struct Scsi_Host *host, struct scsi_cmnd *sc);
386
387/*
388 * iSCSI host helpers.

--- 107 unchanged lines hidden ---