18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef ISCSI_TARGET_DATAIN_VALUES_H 38c2ecf20Sopenharmony_ci#define ISCSI_TARGET_DATAIN_VALUES_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_cistruct iscsi_cmd; 68c2ecf20Sopenharmony_cistruct iscsi_datain; 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_ciextern struct iscsi_datain_req *iscsit_allocate_datain_req(void); 98c2ecf20Sopenharmony_ciextern void iscsit_attach_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *); 108c2ecf20Sopenharmony_ciextern void iscsit_free_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *); 118c2ecf20Sopenharmony_ciextern void iscsit_free_all_datain_reqs(struct iscsi_cmd *); 128c2ecf20Sopenharmony_ciextern struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *); 138c2ecf20Sopenharmony_ciextern struct iscsi_datain_req *iscsit_get_datain_values(struct iscsi_cmd *, 148c2ecf20Sopenharmony_ci struct iscsi_datain *); 158c2ecf20Sopenharmony_ci 168c2ecf20Sopenharmony_ci#endif /*** ISCSI_TARGET_DATAIN_VALUES_H ***/ 17