zfcp_ext.h (bd3238667ba76026bb543a953d63c11c4d52f28d) zfcp_ext.h (663e0890e31cb85f0cca5ac1faaee0d2d52880b5)
1/*
2 * zfcp device driver
3 *
4 * External function declarations.
5 *
6 * Copyright IBM Corp. 2002, 2010
7 */
8

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

20extern struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *, u64, u32,
21 u32);
22extern void zfcp_sg_free_table(struct scatterlist *, int);
23extern int zfcp_sg_setup_table(struct scatterlist *, int);
24extern void zfcp_adapter_release(struct kref *);
25extern void zfcp_adapter_unregister(struct zfcp_adapter *);
26
27/* zfcp_ccw.c */
1/*
2 * zfcp device driver
3 *
4 * External function declarations.
5 *
6 * Copyright IBM Corp. 2002, 2010
7 */
8

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

20extern struct zfcp_port *zfcp_port_enqueue(struct zfcp_adapter *, u64, u32,
21 u32);
22extern void zfcp_sg_free_table(struct scatterlist *, int);
23extern int zfcp_sg_setup_table(struct scatterlist *, int);
24extern void zfcp_adapter_release(struct kref *);
25extern void zfcp_adapter_unregister(struct zfcp_adapter *);
26
27/* zfcp_ccw.c */
28extern int zfcp_ccw_priv_sch(struct zfcp_adapter *);
29extern struct ccw_driver zfcp_ccw_driver;
30extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *);
31extern void zfcp_ccw_adapter_put(struct zfcp_adapter *);
32
28extern struct ccw_driver zfcp_ccw_driver;
29extern struct zfcp_adapter *zfcp_ccw_adapter_by_cdev(struct ccw_device *);
30extern void zfcp_ccw_adapter_put(struct zfcp_adapter *);
31
33/* zfcp_cfdc.c */
34extern struct miscdevice zfcp_cfdc_misc;
35extern void zfcp_cfdc_port_denied(struct zfcp_port *, union fsf_status_qual *);
36extern void zfcp_cfdc_lun_denied(struct scsi_device *, union fsf_status_qual *);
37extern void zfcp_cfdc_lun_shrng_vltn(struct scsi_device *,
38 union fsf_status_qual *);
39extern int zfcp_cfdc_open_lun_eval(struct scsi_device *,
40 struct fsf_qtcb_bottom_support *);
41extern void zfcp_cfdc_adapter_access_changed(struct zfcp_adapter *);
42
43
44/* zfcp_dbf.c */
45extern int zfcp_dbf_adapter_register(struct zfcp_adapter *);
46extern void zfcp_dbf_adapter_unregister(struct zfcp_adapter *);
47extern void zfcp_dbf_rec_trig(char *, struct zfcp_adapter *,
48 struct zfcp_port *, struct scsi_device *, u8, u8);
49extern void zfcp_dbf_rec_run(char *, struct zfcp_erp_action *);
50extern void zfcp_dbf_hba_fsf_uss(char *, struct zfcp_fsf_req *);
51extern void zfcp_dbf_hba_fsf_res(char *, struct zfcp_fsf_req *);

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

110extern int zfcp_fsf_open_lun(struct zfcp_erp_action *);
111extern int zfcp_fsf_close_lun(struct zfcp_erp_action *);
112extern int zfcp_fsf_exchange_config_data(struct zfcp_erp_action *);
113extern int zfcp_fsf_exchange_config_data_sync(struct zfcp_qdio *,
114 struct fsf_qtcb_bottom_config *);
115extern int zfcp_fsf_exchange_port_data(struct zfcp_erp_action *);
116extern int zfcp_fsf_exchange_port_data_sync(struct zfcp_qdio *,
117 struct fsf_qtcb_bottom_port *);
32/* zfcp_dbf.c */
33extern int zfcp_dbf_adapter_register(struct zfcp_adapter *);
34extern void zfcp_dbf_adapter_unregister(struct zfcp_adapter *);
35extern void zfcp_dbf_rec_trig(char *, struct zfcp_adapter *,
36 struct zfcp_port *, struct scsi_device *, u8, u8);
37extern void zfcp_dbf_rec_run(char *, struct zfcp_erp_action *);
38extern void zfcp_dbf_hba_fsf_uss(char *, struct zfcp_fsf_req *);
39extern void zfcp_dbf_hba_fsf_res(char *, struct zfcp_fsf_req *);

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

98extern int zfcp_fsf_open_lun(struct zfcp_erp_action *);
99extern int zfcp_fsf_close_lun(struct zfcp_erp_action *);
100extern int zfcp_fsf_exchange_config_data(struct zfcp_erp_action *);
101extern int zfcp_fsf_exchange_config_data_sync(struct zfcp_qdio *,
102 struct fsf_qtcb_bottom_config *);
103extern int zfcp_fsf_exchange_port_data(struct zfcp_erp_action *);
104extern int zfcp_fsf_exchange_port_data_sync(struct zfcp_qdio *,
105 struct fsf_qtcb_bottom_port *);
118extern struct zfcp_fsf_req *zfcp_fsf_control_file(struct zfcp_adapter *,
119 struct zfcp_fsf_cfdc *);
120extern void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *);
121extern int zfcp_fsf_status_read(struct zfcp_qdio *);
122extern int zfcp_status_read_refill(struct zfcp_adapter *adapter);
123extern int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *, struct zfcp_fsf_ct_els *,
124 mempool_t *, unsigned int);
125extern int zfcp_fsf_send_els(struct zfcp_adapter *, u32,
126 struct zfcp_fsf_ct_els *, unsigned int);
127extern int zfcp_fsf_fcp_cmnd(struct scsi_cmnd *);

--- 48 unchanged lines hidden ---
106extern void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *);
107extern int zfcp_fsf_status_read(struct zfcp_qdio *);
108extern int zfcp_status_read_refill(struct zfcp_adapter *adapter);
109extern int zfcp_fsf_send_ct(struct zfcp_fc_wka_port *, struct zfcp_fsf_ct_els *,
110 mempool_t *, unsigned int);
111extern int zfcp_fsf_send_els(struct zfcp_adapter *, u32,
112 struct zfcp_fsf_ct_els *, unsigned int);
113extern int zfcp_fsf_fcp_cmnd(struct scsi_cmnd *);

--- 48 unchanged lines hidden ---