mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
![Bart Van Assche](/assets/img/avatar_default.png)
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>
28 lines
1.1 KiB
C
28 lines
1.1 KiB
C
#ifndef ISCSI_TARGET_LOGIN_H
|
|
#define ISCSI_TARGET_LOGIN_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
struct iscsi_conn;
|
|
struct iscsi_login;
|
|
struct iscsi_np;
|
|
struct sockaddr_storage;
|
|
|
|
extern int iscsi_login_setup_crypto(struct iscsi_conn *);
|
|
extern int iscsi_check_for_session_reinstatement(struct iscsi_conn *);
|
|
extern int iscsi_login_post_auth_non_zero_tsih(struct iscsi_conn *, u16, u32);
|
|
extern int iscsit_setup_np(struct iscsi_np *,
|
|
struct sockaddr_storage *);
|
|
extern int iscsi_target_setup_login_socket(struct iscsi_np *,
|
|
struct sockaddr_storage *);
|
|
extern int iscsit_accept_np(struct iscsi_np *, struct iscsi_conn *);
|
|
extern int iscsit_get_login_rx(struct iscsi_conn *, struct iscsi_login *);
|
|
extern int iscsit_put_login_tx(struct iscsi_conn *, struct iscsi_login *, u32);
|
|
extern void iscsit_free_conn(struct iscsi_np *, struct iscsi_conn *);
|
|
extern int iscsit_start_kthreads(struct iscsi_conn *);
|
|
extern void iscsi_post_login_handler(struct iscsi_np *, struct iscsi_conn *, u8);
|
|
extern void iscsi_target_login_sess_out(struct iscsi_conn *, struct iscsi_np *,
|
|
bool, bool);
|
|
extern int iscsi_target_login_thread(void *);
|
|
|
|
#endif /*** ISCSI_TARGET_LOGIN_H ***/
|