diff options
Diffstat (limited to 'drivers/target/target_core_internal.h')
-rw-r--r-- | drivers/target/target_core_internal.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h index 0fd428225d1..93e9c1f580b 100644 --- a/drivers/target/target_core_internal.h +++ b/drivers/target/target_core_internal.h | |||
@@ -19,18 +19,12 @@ int core_dev_export(struct se_device *, struct se_portal_group *, | |||
19 | struct se_lun *); | 19 | struct se_lun *); |
20 | void core_dev_unexport(struct se_device *, struct se_portal_group *, | 20 | void core_dev_unexport(struct se_device *, struct se_portal_group *, |
21 | struct se_lun *); | 21 | struct se_lun *); |
22 | int target_report_luns(struct se_cmd *); | ||
23 | void se_release_device_for_hba(struct se_device *); | ||
24 | void se_release_vpd_for_dev(struct se_device *); | ||
25 | int se_free_virtual_device(struct se_device *, struct se_hba *); | ||
26 | int se_dev_check_online(struct se_device *); | ||
27 | int se_dev_check_shutdown(struct se_device *); | ||
28 | void se_dev_set_default_attribs(struct se_device *, struct se_dev_limits *); | ||
29 | int se_dev_set_task_timeout(struct se_device *, u32); | 22 | int se_dev_set_task_timeout(struct se_device *, u32); |
30 | int se_dev_set_max_unmap_lba_count(struct se_device *, u32); | 23 | int se_dev_set_max_unmap_lba_count(struct se_device *, u32); |
31 | int se_dev_set_max_unmap_block_desc_count(struct se_device *, u32); | 24 | int se_dev_set_max_unmap_block_desc_count(struct se_device *, u32); |
32 | int se_dev_set_unmap_granularity(struct se_device *, u32); | 25 | int se_dev_set_unmap_granularity(struct se_device *, u32); |
33 | int se_dev_set_unmap_granularity_alignment(struct se_device *, u32); | 26 | int se_dev_set_unmap_granularity_alignment(struct se_device *, u32); |
27 | int se_dev_set_max_write_same_len(struct se_device *, u32); | ||
34 | int se_dev_set_emulate_dpo(struct se_device *, int); | 28 | int se_dev_set_emulate_dpo(struct se_device *, int); |
35 | int se_dev_set_emulate_fua_write(struct se_device *, int); | 29 | int se_dev_set_emulate_fua_write(struct se_device *, int); |
36 | int se_dev_set_emulate_fua_read(struct se_device *, int); | 30 | int se_dev_set_emulate_fua_read(struct se_device *, int); |
@@ -60,6 +54,9 @@ void core_dev_free_initiator_node_lun_acl(struct se_portal_group *, | |||
60 | struct se_lun_acl *lacl); | 54 | struct se_lun_acl *lacl); |
61 | int core_dev_setup_virtual_lun0(void); | 55 | int core_dev_setup_virtual_lun0(void); |
62 | void core_dev_release_virtual_lun0(void); | 56 | void core_dev_release_virtual_lun0(void); |
57 | struct se_device *target_alloc_device(struct se_hba *hba, const char *name); | ||
58 | int target_configure_device(struct se_device *dev); | ||
59 | void target_free_device(struct se_device *); | ||
63 | 60 | ||
64 | /* target_core_hba.c */ | 61 | /* target_core_hba.c */ |
65 | struct se_hba *core_alloc_hba(const char *, u32, u32); | 62 | struct se_hba *core_alloc_hba(const char *, u32, u32); |
@@ -105,10 +102,11 @@ int transport_dump_vpd_ident(struct t10_vpd *, unsigned char *, int); | |||
105 | bool target_stop_cmd(struct se_cmd *cmd, unsigned long *flags); | 102 | bool target_stop_cmd(struct se_cmd *cmd, unsigned long *flags); |
106 | int transport_clear_lun_from_sessions(struct se_lun *); | 103 | int transport_clear_lun_from_sessions(struct se_lun *); |
107 | void transport_send_task_abort(struct se_cmd *); | 104 | void transport_send_task_abort(struct se_cmd *); |
108 | int target_cmd_size_check(struct se_cmd *cmd, unsigned int size); | 105 | sense_reason_t target_cmd_size_check(struct se_cmd *cmd, unsigned int size); |
106 | void target_qf_do_work(struct work_struct *work); | ||
109 | 107 | ||
110 | /* target_core_stat.c */ | 108 | /* target_core_stat.c */ |
111 | void target_stat_setup_dev_default_groups(struct se_subsystem_dev *); | 109 | void target_stat_setup_dev_default_groups(struct se_device *); |
112 | void target_stat_setup_port_default_groups(struct se_lun *); | 110 | void target_stat_setup_port_default_groups(struct se_lun *); |
113 | void target_stat_setup_mappedlun_default_groups(struct se_lun_acl *); | 111 | void target_stat_setup_mappedlun_default_groups(struct se_lun_acl *); |
114 | 112 | ||