mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 19:46:41 +07:00
8dcf07be2d
Remove superfluous #include directives from the include/target/*.h files. Add missing #include directives to other *.h and *.c files. Use forward declarations for structures where possible. This change reduces the build time for make M=drivers/target on my laptop from 27.1s to 18.7s or by about 30%. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Christoph Hellwig <hch@lst.de> Cc: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
16 lines
638 B
C
16 lines
638 B
C
#ifndef ISCSI_TARGET_DATAIN_VALUES_H
|
|
#define ISCSI_TARGET_DATAIN_VALUES_H
|
|
|
|
struct iscsi_cmd;
|
|
struct iscsi_datain;
|
|
|
|
extern struct iscsi_datain_req *iscsit_allocate_datain_req(void);
|
|
extern void iscsit_attach_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
|
|
extern void iscsit_free_datain_req(struct iscsi_cmd *, struct iscsi_datain_req *);
|
|
extern void iscsit_free_all_datain_reqs(struct iscsi_cmd *);
|
|
extern struct iscsi_datain_req *iscsit_get_datain_req(struct iscsi_cmd *);
|
|
extern struct iscsi_datain_req *iscsit_get_datain_values(struct iscsi_cmd *,
|
|
struct iscsi_datain *);
|
|
|
|
#endif /*** ISCSI_TARGET_DATAIN_VALUES_H ***/
|