~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/smb/server/transport_ipc.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* SPDX-License-Identifier: GPL-2.0-or-later */
  2 /*
  3  *   Copyright (C) 2018 Samsung Electronics Co., Ltd.
  4  */
  5 
  6 #ifndef __KSMBD_TRANSPORT_IPC_H__
  7 #define __KSMBD_TRANSPORT_IPC_H__
  8 
  9 #include <linux/wait.h>
 10 
 11 #define KSMBD_IPC_MAX_PAYLOAD   4096
 12 
 13 struct ksmbd_login_response *
 14 ksmbd_ipc_login_request(const char *account);
 15 struct ksmbd_login_response_ext *
 16 ksmbd_ipc_login_request_ext(const char *account);
 17 
 18 struct ksmbd_session;
 19 struct ksmbd_share_config;
 20 struct ksmbd_tree_connect;
 21 struct sockaddr;
 22 
 23 struct ksmbd_tree_connect_response *
 24 ksmbd_ipc_tree_connect_request(struct ksmbd_session *sess,
 25                                struct ksmbd_share_config *share,
 26                                struct ksmbd_tree_connect *tree_conn,
 27                                struct sockaddr *peer_addr);
 28 int ksmbd_ipc_tree_disconnect_request(unsigned long long session_id,
 29                                       unsigned long long connect_id);
 30 int ksmbd_ipc_logout_request(const char *account, int flags);
 31 struct ksmbd_share_config_response *
 32 ksmbd_ipc_share_config_request(const char *name);
 33 struct ksmbd_spnego_authen_response *
 34 ksmbd_ipc_spnego_authen_request(const char *spnego_blob, int blob_len);
 35 int ksmbd_ipc_id_alloc(void);
 36 void ksmbd_rpc_id_free(int handle);
 37 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle);
 38 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle);
 39 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle,
 40                                           void *payload, size_t payload_sz);
 41 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle);
 42 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle,
 43                                           void *payload, size_t payload_sz);
 44 struct ksmbd_rpc_command *ksmbd_rpc_rap(struct ksmbd_session *sess, void *payload,
 45                                         size_t payload_sz);
 46 void ksmbd_ipc_release(void);
 47 void ksmbd_ipc_soft_reset(void);
 48 int ksmbd_ipc_init(void);
 49 #endif /* __KSMBD_TRANSPORT_IPC_H__ */
 50 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php