tree:
git://git.samba.org/sfrench/cifs-2.6.git for-next
head: 0993a0c9c281b516fe97dc77646b87d45c3fbf17
commit: b69c063066231af65879321fd53cd371c106fa82 [19/27] cifs: cleanup misc.c
config: x86_64-randconfig-a004-20201209 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
84c09ab44599ece409e4e19761288ddf796fceec)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git remote add cifs
git://git.samba.org/sfrench/cifs-2.6.git
git fetch --no-tags cifs for-next
git checkout b69c063066231af65879321fd53cd371c106fa82
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
In file included from fs/cifs/unc.c:11:
> fs/cifs/cifsproto.h:44:28: warning: declaration of 'struct
TCP_Server_Info' will not be visible outside of this function [-Wvisibility]
extern int smb_send(struct TCP_Server_Info *, struct smb_hdr *,
^
> fs/cifs/cifsproto.h:76:17: warning: declaration of 'struct
cifs_sb_info' will not be visible outside of this function [-Wvisibility]
struct cifs_sb_info *cifs_sb,
^
> fs/cifs/cifsproto.h:77:17: warning: declaration of 'struct
cifs_tcon' will not be visible outside of this function [-Wvisibility]
struct cifs_tcon *tcon,
^
> fs/cifs/cifsproto.h:81:38: warning: declaration of 'struct
dfs_info3_param' will not be visible outside of this function [-Wvisibility]
const char *fullpath, const struct dfs_info3_param *ref);
^
fs/cifs/cifsproto.h:84:13: warning: declaration of 'struct TCP_Server_Info'
will not be visible outside of this function [-Wvisibility]
struct TCP_Server_Info *server);
^
fs/cifs/cifsproto.h:89:40: warning: declaration of 'struct TCP_Server_Info'
will not be visible outside of this function [-Wvisibility]
extern int cifs_handle_standard(struct TCP_Server_Info *server,
^
> fs/cifs/cifsproto.h:92:38: warning: declaration of 'struct
sockaddr' will not be visible outside of this function [-Wvisibility]
extern
bool cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
^
fs/cifs/cifsproto.h:93:47: warning: declaration of 'struct TCP_Server_Info'
will not be visible outside of this function [-Wvisibility]
extern int cifs_discard_remaining_data(struct TCP_Server_Info *server);
^
fs/cifs/cifsproto.h:94:35: warning: declaration of 'struct TCP_Server_Info'
will not be visible outside of this function [-Wvisibility]
extern int cifs_call_async(struct TCP_Server_Info *server,
^
> fs/cifs/cifsproto.h:96:4: error: unknown type name
'mid_receive_t'
mid_receive_t *receive,
mid_callback_t *callback,
^
> fs/cifs/cifsproto.h:96:28: error: unknown type name
'mid_callback_t'; did you mean 'rcu_callback_t'?
mid_receive_t *receive, mid_callback_t *callback,
^~~~~~~~~~~~~~
rcu_callback_t
include/linux/types.h:222:16: note: 'rcu_callback_t' declared here
typedef void (*rcu_callback_t)(struct rcu_head *head);
^
In file included from fs/cifs/unc.c:11:
> fs/cifs/cifsproto.h:97:4: error: unknown type name
'mid_handle_t'
mid_handle_t *handle, void
*cbdata, const int flags,
^
> fs/cifs/cifsproto.h:98:17: warning: declaration of 'struct
cifs_credits' will not be visible outside of this function [-Wvisibility]
const struct cifs_credits *exist_credits);
^
> fs/cifs/cifsproto.h:99:57: warning: declaration of 'struct
cifs_ses' will not be visible outside of this function [-Wvisibility]
extern
struct TCP_Server_Info *cifs_pick_channel(struct cifs_ses *ses);
^
fs/cifs/cifsproto.h:100:58: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int cifs_send_recv(const unsigned int xid, struct cifs_ses *ses,
^
> fs/cifs/cifsproto.h:103:30: warning: declaration of 'struct
kvec' will not be visible outside of this function [-Wvisibility]
const int flags, struct kvec *resp_iov);
^
fs/cifs/cifsproto.h:104:62: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:108:17: warning: declaration of 'struct kvec' will not be
visible outside of this function [-Wvisibility]
struct kvec *resp_iov);
^
fs/cifs/cifsproto.h:109:62: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int SendReceive(const unsigned int /* xid */ , struct cifs_ses *,
^
fs/cifs/cifsproto.h:113:60: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:115:54: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern struct mid_q_entry *cifs_setup_request(struct cifs_ses *,
^
fs/cifs/cifsproto.h:124:13: warning: declaration of 'struct cifs_credits' will
not be visible outside of this function [-Wvisibility]
struct cifs_credits *credits);
^
fs/cifs/cifsproto.h:125:63: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int SendReceive2(const unsigned int /* xid */ , struct cifs_ses *,
^
fs/cifs/cifsproto.h:126:11: warning: declaration of 'struct kvec' will not be
visible outside of this function [-Wvisibility]
struct kvec *, int /* nvec to send */,
^
fs/cifs/cifsproto.h:130:11: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
struct cifs_tcon *ptcon,
^
fs/cifs/cifsproto.h:137:32: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern bool backup_cred(struct cifs_sb_info *);
^
> fs/cifs/cifsproto.h:138:43: warning: declaration of 'struct
cifsInodeInfo' will not be visible outside of this function [-Wvisibility]
extern bool is_size_safe_to_change(struct cifsInodeInfo *, __u64 eof);
^
fs/cifs/cifsproto.h:139:36: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern void cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,
^
fs/cifs/cifsproto.h:141:55: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern struct cifsFileInfo *find_writable_file(struct cifsInodeInfo *, int);
^
fs/cifs/cifsproto.h:142:42: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern int cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
^
fs/cifs/cifsproto.h:145:42: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern int cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
^
fs/cifs/cifsproto.h:148:55: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern struct cifsFileInfo *find_readable_file(struct cifsInodeInfo *, bool);
^
fs/cifs/cifsproto.h:149:42: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern int cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
^
fs/cifs/cifsproto.h:154:40: warning: declaration of 'struct sockaddr' will not
be visible outside of this function [-Wvisibility]
extern int cifs_convert_address(struct sockaddr *dst, const char *src, int len);
^
fs/cifs/cifsproto.h:155:34: warning: declaration of 'struct sockaddr' will not
be visible outside of this function [-Wvisibility]
extern void cifs_set_port(struct sockaddr *addr, const unsigned short int port);
^
fs/cifs/cifsproto.h:159:21: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
const struct cifs_tcon *, int /* length of
^
fs/cifs/cifsproto.h:162:12: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:166:58: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int CIFS_SessSetup(const unsigned int xid, struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:172:42: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock);
^
fs/cifs/cifsproto.h:173:35: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern int cifs_get_writer(struct cifsInodeInfo *cinode);
^
fs/cifs/cifsproto.h:174:36: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern void cifs_put_writer(struct cifsInodeInfo *cinode);
^
fs/cifs/cifsproto.h:175:43: warning: declaration of 'struct cifsInodeInfo' will
not be visible outside of this function [-Wvisibility]
extern void cifs_done_oplock_break(struct cifsInodeInfo *cinode);
^
> fs/cifs/cifsproto.h:177:16: warning: declaration of 'struct
file_lock' will not be visible outside of this function [-Wvisibility]
struct file_lock *flock, const unsigned int xid);
^
> fs/cifs/cifsproto.h:181:54: warning: declaration of 'struct
cifs_fid' will not be visible outside of this function [-Wvisibility]
extern
struct cifsFileInfo *cifs_new_fileinfo(struct cifs_fid *fid,
^
> fs/cifs/cifsproto.h:183:19: warning: declaration of 'struct
tcon_link' will not be visible outside of this function [-Wvisibility]
struct tcon_link *tlink,
^
> fs/cifs/cifsproto.h:189:56: warning: declaration of 'struct
cifs_fattr' will not be visible outside of this function [-Wvisibility]
void
cifs_fill_uniqueid(struct super_block *sb, struct cifs_fattr *fattr);
^
fs/cifs/cifsproto.h:190:45: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
extern void cifs_unix_basic_to_fattr(struct cifs_fattr *fattr,
^
> fs/cifs/cifsproto.h:191:10: error: unknown type name
'FILE_UNIX_BASIC_INFO'
FILE_UNIX_BASIC_INFO *info,
^
fs/cifs/cifsproto.h:192:17: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
struct cifs_sb_info *cifs_sb);
^
fs/cifs/cifsproto.h:193:43: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
extern void cifs_dir_info_to_fattr(struct cifs_fattr *, FILE_DIRECTORY_INFO *,
^
> fs/cifs/cifsproto.h:193:57: error: unknown type name
'FILE_DIRECTORY_INFO'
extern void cifs_dir_info_to_fattr(struct
cifs_fattr *, FILE_DIRECTORY_INFO *,
^
fs/cifs/cifsproto.h:194:13: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
struct cifs_sb_info *);
^
fs/cifs/cifsproto.h:195:61: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
extern void cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr);
^
fs/cifs/cifsproto.h:197:18: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
struct cifs_fattr *fattr);
^
> fs/cifs/cifsproto.h:200:11: error: unknown type name
'FILE_ALL_INFO'
FILE_ALL_INFO *data,
struct super_block *sb,
^
fs/cifs/cifsproto.h:201:33: warning: declaration of 'struct cifs_fid' will not
be visible outside of this function [-Wvisibility]
int xid, const struct cifs_fid *fid);
^
fs/cifs/cifsproto.h:212:29: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern int sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid *psid,
^
> fs/cifs/cifsproto.h:212:59: warning: declaration of 'struct
cifs_sid' will not be visible outside of this function [-Wvisibility]
extern
int sid_to_id(struct cifs_sb_info *cifs_sb, struct cifs_sid *psid,
^
fs/cifs/cifsproto.h:213:12: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
struct cifs_fattr *fattr, uint sidtype);
^
fs/cifs/cifsproto.h:214:37: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern int cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb,
^
fs/cifs/cifsproto.h:215:17: warning: declaration of 'struct cifs_fattr' will
not be visible outside of this function [-Wvisibility]
struct cifs_fattr *fattr, struct inode *inode,
^
fs/cifs/cifsproto.h:217:41: warning: declaration of 'struct cifs_fid' will not
be visible outside of this function [-Wvisibility]
const char *path, const struct cifs_fid *pfid);
^
fs/cifs/cifsproto.h:220:46: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern struct cifs_ntsd *get_cifs_acl(struct cifs_sb_info *, struct inode *,
^
fs/cifs/cifsproto.h:222:53: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern struct cifs_ntsd *get_cifs_acl_by_fid(struct cifs_sb_info *,
^
fs/cifs/cifsproto.h:223:20: warning: declaration of 'struct cifs_fid' will not
be visible outside of this function [-Wvisibility]
const struct cifs_fid *, u32 *);
^
fs/cifs/cifsproto.h:226:48: warning: declaration of 'struct cifs_ace' will not
be visible outside of this function [-Wvisibility]
extern unsigned int setup_authusers_ACE(struct cifs_ace *pace);
^
fs/cifs/cifsproto.h:227:51: warning: declaration of 'struct cifs_ace' will not
be visible outside of this function [-Wvisibility]
extern unsigned int setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode);
^
fs/cifs/cifsproto.h:228:57: warning: declaration of 'struct cifs_ace' will not
be visible outside of this function [-Wvisibility]
extern unsigned int setup_special_user_owner_ACE(struct cifs_ace *pace);
^
fs/cifs/cifsproto.h:238:18: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
struct cifs_sb_info *cifs_sb);
^
fs/cifs/cifsproto.h:241:30: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern int cifs_mount(struct cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx);
^
fs/cifs/cifsproto.h:242:32: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
extern void cifs_umount(struct cifs_sb_info *);
^
fs/cifs/cifsproto.h:243:49: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern void cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
^
fs/cifs/cifsproto.h:244:51: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern void cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
^
fs/cifs/cifsproto.h:248:16: warning: declaration of 'struct cifsLockInfo' will
not be visible outside of this function [-Wvisibility]
struct cifsLockInfo **conf_lock,
^
fs/cifs/cifsproto.h:250:42: warning: declaration of 'struct cifs_fid' will not
be visible outside of this function [-Wvisibility]
extern void cifs_add_pending_open(struct cifs_fid *fid,
^
fs/cifs/cifsproto.h:251:14: warning: declaration of 'struct tcon_link' will not
be visible outside of this function [-Wvisibility]
struct tcon_link *tlink,
^
fs/cifs/cifsproto.h:252:14: warning: declaration of 'struct cifs_pending_open'
will not be visible outside of this function [-Wvisibility]
struct cifs_pending_open *open);
^
fs/cifs/cifsproto.h:253:49: warning: declaration of 'struct cifs_fid' will not
be visible outside of this function [-Wvisibility]
extern void cifs_add_pending_open_locked(struct cifs_fid *fid,
^
fs/cifs/cifsproto.h:254:14: warning: declaration of 'struct tcon_link' will not
be visible outside of this function [-Wvisibility]
struct tcon_link *tlink,
^
fs/cifs/cifsproto.h:255:14: warning: declaration of 'struct cifs_pending_open'
will not be visible outside of this function [-Wvisibility]
struct cifs_pending_open *open);
^
fs/cifs/cifsproto.h:256:42: warning: declaration of 'struct cifs_pending_open'
will not be visible outside of this function [-Wvisibility]
extern void cifs_del_pending_open(struct cifs_pending_open *open);
^
fs/cifs/cifsproto.h:260:34: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern void cifs_put_tcon(struct cifs_tcon *tcon);
^
fs/cifs/cifsproto.h:273:42: warning: declaration of 'struct cifsLockInfo' will
not be visible outside of this function [-Wvisibility]
extern void cifs_del_lock_waiters(struct cifsLockInfo *lock);
^
fs/cifs/cifsproto.h:275:61: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern int cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
^
fs/cifs/cifsproto.h:279:15: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
struct cifs_ses *ses);
^
fs/cifs/cifsproto.h:280:62: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:283:60: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses);
^
fs/cifs/cifsproto.h:285:52: warning: declaration of 'struct cifs_ses' will not
be visible outside of this function [-Wvisibility]
extern int CIFSTCon(const unsigned int xid, struct cifs_ses *ses,
^
fs/cifs/cifsproto.h:286:32: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
const char *tree, struct cifs_tcon *tcon,
^
fs/cifs/cifsproto.h:289:57: warning: declaration of 'struct cifs_tcon' will not
be visible outside of this function [-Wvisibility]
extern int CIFSFindFirst(const unsigned int xid, struct cifs_tcon *tcon,
^
fs/cifs/cifsproto.h:290:34: warning: declaration of 'struct cifs_sb_info' will
not be visible outside of this function [-Wvisibility]
const char *searchName, struct cifs_sb_info *cifs_sb,
vim +/mid_receive_t +96 fs/cifs/cifsproto.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 32
^1da177e4c3f41 Linus Torvalds 2005-04-16 33 /*
^1da177e4c3f41 Linus Torvalds 2005-04-16 34
*****************************************************************
^1da177e4c3f41 Linus Torvalds 2005-04-16 35 * All Prototypes
^1da177e4c3f41 Linus Torvalds 2005-04-16 36
*****************************************************************
^1da177e4c3f41 Linus Torvalds 2005-04-16 37 */
^1da177e4c3f41 Linus Torvalds 2005-04-16 38
^1da177e4c3f41 Linus Torvalds 2005-04-16 39 extern struct smb_hdr
*cifs_buf_get(void);
^1da177e4c3f41 Linus Torvalds 2005-04-16 40 extern void
cifs_buf_release(void *);
^1da177e4c3f41 Linus Torvalds 2005-04-16 41 extern struct smb_hdr
*cifs_small_buf_get(void);
^1da177e4c3f41 Linus Torvalds 2005-04-16 42 extern void
cifs_small_buf_release(void *);
6d81ed1ec22dbe Sachin Prabhu 2014-06-16 43 extern void free_rsp_buf(int,
void *);
0496e02d8791e7 Jeff Layton 2008-12-30 @44 extern int smb_send(struct
TCP_Server_Info *, struct smb_hdr *,
0496e02d8791e7 Jeff Layton 2008-12-30 45 unsigned int /* length */);
6d5786a34d98bf Pavel Shilovsky 2012-06-20 46 extern unsigned int
_get_xid(void);
6d5786a34d98bf Pavel Shilovsky 2012-06-20 47 extern void _free_xid(unsigned
int);
6d5786a34d98bf Pavel Shilovsky 2012-06-20 48 #define get_xid() \
b6b38f704a8193 Joe Perches 2010-04-21 49 ({ \
6d5786a34d98bf Pavel Shilovsky 2012-06-20 50 unsigned int __xid =
_get_xid(); \
a0a3036b81f1f6 Joe Perches 2020-04-14 51 cifs_dbg(FYI, "VFS: in %s
as Xid: %u with uid: %d\n", \
dbfb98af18194c Eric W. Biederman 2013-02-06 52 __func__, __xid, \
dbfb98af18194c Eric W. Biederman 2013-02-06 53 from_kuid(&init_user_ns,
current_fsuid())); \
d683bcd3e5d157 Steve French 2018-05-19 54 trace_smb3_enter(__xid,
__func__); \
b6b38f704a8193 Joe Perches 2010-04-21 55 __xid; \
b6b38f704a8193 Joe Perches 2010-04-21 56 })
b6b38f704a8193 Joe Perches 2010-04-21 57
6d5786a34d98bf Pavel Shilovsky 2012-06-20 58 #define
free_xid(curr_xid) \
b6b38f704a8193 Joe Perches 2010-04-21 59 do { \
6d5786a34d98bf Pavel Shilovsky 2012-06-20 60 _free_xid(curr_xid); \
a0a3036b81f1f6 Joe Perches 2020-04-14 61 cifs_dbg(FYI, "VFS:
leaving %s (xid = %u) rc = %d\n", \
b6b38f704a8193 Joe Perches 2010-04-21 62 __func__, curr_xid,
(int)rc); \
d683bcd3e5d157 Steve French 2018-05-19 63 if (rc) \
d683bcd3e5d157 Steve French 2018-05-19 64 trace_smb3_exit_err(curr_xid,
__func__, (int)rc); \
d683bcd3e5d157 Steve French 2018-05-19 65 else \
d683bcd3e5d157 Steve French 2018-05-19 66
trace_smb3_exit_done(curr_xid, __func__); \
b6b38f704a8193 Joe Perches 2010-04-21 67 } while (0)
4d79dba0e00749 Shirish Pargaonkar 2011-04-27 68 extern int
init_cifs_idmap(void);
4d79dba0e00749 Shirish Pargaonkar 2011-04-27 69 extern void
exit_cifs_idmap(void);
b74cb9a80268be Sachin Prabhu 2016-05-17 70 extern int
init_cifs_spnego(void);
b74cb9a80268be Sachin Prabhu 2016-05-17 71 extern void
exit_cifs_spnego(void);
7f57356b70dda0 Steve French 2005-08-30 72 extern char
*build_path_from_dentry(struct dentry *);
268a635d414df4 Aurelien Aptel 2017-02-13 73 extern char
*build_path_from_dentry_optional_prefix(struct dentry *direntry,
268a635d414df4 Aurelien Aptel 2017-02-13 74 bool prefix);
2727ef44ea4615 Ronnie Sahlberg 2020-12-09 75 extern char
*cifs_build_path_to_root(struct smb3_fs_context *ctx,
6d3ea7e4975aed Steve French 2012-11-28 @76 struct cifs_sb_info
*cifs_sb,
374402a2a1dfbb Sachin Prabhu 2016-12-15 @77 struct cifs_tcon
*tcon,
374402a2a1dfbb Sachin Prabhu 2016-12-15 78 int add_treename);
^1da177e4c3f41 Linus Torvalds 2005-04-16 79 extern char
*build_wildcard_path_from_dentry(struct dentry *direntry);
c6c00919ab1671 Steve French 2009-03-18 80 extern char
*cifs_compose_mount_options(const char *sb_mountdata,
75df213664c3e1 Ronnie Sahlberg 2020-12-10 @81 const char *fullpath, const
struct dfs_info3_param *ref);
99ee4dbd7c99c2 Steve French 2007-02-27 82 /* extern void
renew_parental_timestamps(struct dentry *direntry);*/
a6827c184ea9f5 Jeff Layton 2011-01-11 83 extern struct mid_q_entry
*AllocMidQEntry(const struct smb_hdr *smb_buffer,
a6827c184ea9f5 Jeff Layton 2011-01-11 84 struct TCP_Server_Info
*server);
766fdbb57fdb1e Jeff Layton 2011-01-11 85 extern void
DeleteMidQEntry(struct mid_q_entry *midEntry);
3c1bf7e48e9e46 Pavel Shilovsky 2012-09-18 86 extern void
cifs_delete_mid(struct mid_q_entry *mid);
696e420bb2a662 Lars Persson 2018-06-25 87 extern void
cifs_mid_q_entry_release(struct mid_q_entry *midEntry);
2dc7e1c0331694 Pavel Shilovsky 2011-12-26 88 extern void
cifs_wake_up_task(struct mid_q_entry *mid);
4326ed2f6a16ae Pavel Shilovsky 2016-11-17 89 extern int
cifs_handle_standard(struct TCP_Server_Info *server,
4326ed2f6a16ae Pavel Shilovsky 2016-11-17 90 struct mid_q_entry *mid);
46711d0f0e67bd Ronnie Sahlberg 2020-11-05 91 extern int
smb3_parse_devname(const char *devname, struct smb3_fs_context *ctx);
e4af35fa55b072 Paulo Alcantara 2020-05-19 @92 extern bool
cifs_match_ipaddr(struct sockaddr *srcaddr, struct sockaddr *rhs);
350be257ea8302 Pavel Shilovsky 2017-04-10 93 extern int
cifs_discard_remaining_data(struct TCP_Server_Info *server);
fec344e3f31aa9 Jeff Layton 2012-09-18 94 extern int
cifs_call_async(struct TCP_Server_Info *server,
fec344e3f31aa9 Jeff Layton 2012-09-18 95 struct smb_rqst *rqst,
fec344e3f31aa9 Jeff Layton 2012-09-18 @96 mid_receive_t *receive,
mid_callback_t *callback,
3349c3a79fb5d7 Pavel Shilovsky 2019-01-15 @97 mid_handle_t *handle, void
*cbdata, const int flags,
3349c3a79fb5d7 Pavel Shilovsky 2019-01-15 @98 const struct cifs_credits
*exist_credits);
5f68ea4aa98bcd Aurelien Aptel 2020-04-22 @99 extern struct TCP_Server_Info
*cifs_pick_channel(struct cifs_ses *ses);
b8f57ee8aad414 Pavel Shilovsky 2016-11-23 100 extern int cifs_send_recv(const
unsigned int xid, struct cifs_ses *ses,
352d96f3acc6e0 Aurelien Aptel 2020-05-31 101 struct TCP_Server_Info
*server,
b8f57ee8aad414 Pavel Shilovsky 2016-11-23 102 struct smb_rqst *rqst, int
*resp_buf_type,
b8f57ee8aad414 Pavel Shilovsky 2016-11-23 @103 const int flags, struct
kvec *resp_iov);
e0bba0b8548179 Ronnie Sahlberg 2018-08-01 104 extern int
compound_send_recv(const unsigned int xid, struct cifs_ses *ses,
352d96f3acc6e0 Aurelien Aptel 2020-05-31 105 struct TCP_Server_Info
*server,
e0bba0b8548179 Ronnie Sahlberg 2018-08-01 106 const int flags, const
int num_rqst,
e0bba0b8548179 Ronnie Sahlberg 2018-08-01 107 struct smb_rqst *rqst,
int *resp_buf_type,
e0bba0b8548179 Ronnie Sahlberg 2018-08-01 108 struct kvec
*resp_iov);
96daf2b09178d8 Steve French 2011-05-27 109 extern int SendReceive(const
unsigned int /* xid */ , struct cifs_ses *,
^1da177e4c3f41 Linus Torvalds 2005-04-16 110 struct smb_hdr * /* input */
,
^1da177e4c3f41 Linus Torvalds 2005-04-16 111 struct smb_hdr * /* out */
,
a891f0f895f4a7 Pavel Shilovsky 2012-05-23 112 int * /* bytes returned */ ,
const int);
96daf2b09178d8 Steve French 2011-05-27 113 extern int
SendReceiveNoRsp(const unsigned int xid, struct cifs_ses *ses,
792af7b05b8a78 Pavel Shilovsky 2012-03-23 114 char *in_buf, int
flags);
fec344e3f31aa9 Jeff Layton 2012-09-18 115 extern struct mid_q_entry
*cifs_setup_request(struct cifs_ses *,
f780bd3fef17c4 Aurelien Aptel 2019-09-20 116 struct TCP_Server_Info *,
fec344e3f31aa9 Jeff Layton 2012-09-18 117 struct smb_rqst *);
fec344e3f31aa9 Jeff Layton 2012-09-18 118 extern struct mid_q_entry
*cifs_setup_async_request(struct TCP_Server_Info *,
fec344e3f31aa9 Jeff Layton 2012-09-18 119 struct smb_rqst *);
2c8f981d93f830 Jeff Layton 2011-05-19 120 extern int
cifs_check_receive(struct mid_q_entry *mid,
2c8f981d93f830 Jeff Layton 2011-05-19 121 struct TCP_Server_Info
*server, bool log_error);
cb7e9eabb2b584 Pavel Shilovsky 2014-06-05 122 extern int
cifs_wait_mtu_credits(struct TCP_Server_Info *server,
cb7e9eabb2b584 Pavel Shilovsky 2014-06-05 123 unsigned int size,
unsigned int *num,
335b7b62ffb69d Pavel Shilovsky 2019-01-16 124 struct cifs_credits
*credits);
96daf2b09178d8 Steve French 2011-05-27 125 extern int SendReceive2(const
unsigned int /* xid */ , struct cifs_ses *,
84afc29b185334 Steve French 2005-12-02 126 struct kvec *, int /* nvec
to send */,
da502f7df03d2d Pavel Shilovsky 2016-10-25 127 int * /* type of buf
returned */, const int flags,
da502f7df03d2d Pavel Shilovsky 2016-10-25 128 struct kvec * /* resp vec
*/);
ad7a2926b9e53c Steve French 2008-02-07 129 extern int
SendReceiveBlockingLock(const unsigned int xid,
96daf2b09178d8 Steve French 2011-05-27 130 struct cifs_tcon *ptcon,
ad7a2926b9e53c Steve French 2008-02-07 131 struct smb_hdr *in_buf ,
ad7a2926b9e53c Steve French 2008-02-07 132 struct smb_hdr *out_buf,
ad7a2926b9e53c Steve French 2008-02-07 133 int *bytes_returned);
28ea5290d78a7f Pavel Shilovsky 2012-05-23 134 extern int
cifs_reconnect(struct TCP_Server_Info *server);
373512ec5c105e Steve French 2015-12-18 135 extern int checkSMB(char *buf,
unsigned int len, struct TCP_Server_Info *srvr);
d4e4854fd1c85a Pavel Shilovsky 2012-03-23 136 extern bool
is_valid_oplock_break(char *, struct TCP_Server_Info *);
3d3ea8e64efbeb Shirish Pargaonkar 2011-09-26 137 extern bool backup_cred(struct
cifs_sb_info *);
4b18f2a9c3964f Steve French 2008-04-29 @138 extern bool
is_size_safe_to_change(struct cifsInodeInfo *, __u64 eof);
72432ffcf555de Pavel Shilovsky 2011-01-24 139 extern void
cifs_update_eof(struct cifsInodeInfo *cifsi, loff_t offset,
72432ffcf555de Pavel Shilovsky 2011-01-24 140 unsigned int
bytes_written);
86f740f2aed5ea Aurelien Aptel 2020-02-21 141 extern struct cifsFileInfo
*find_writable_file(struct cifsInodeInfo *, int);
fe768d51c832eb Pavel Shilovsky 2019-01-29 142 extern int
cifs_get_writable_file(struct cifsInodeInfo *cifs_inode,
86f740f2aed5ea Aurelien Aptel 2020-02-21 143 int flags,
fe768d51c832eb Pavel Shilovsky 2019-01-29 144 struct cifsFileInfo
**ret_file);
8de9e86c67baa7 Ronnie Sahlberg 2019-08-30 145 extern int
cifs_get_writable_path(struct cifs_tcon *tcon, const char *name,
86f740f2aed5ea Aurelien Aptel 2020-02-21 146 int flags,
8de9e86c67baa7 Ronnie Sahlberg 2019-08-30 147 struct cifsFileInfo
**ret_file);
6508d904e6fb66 Jeff Layton 2010-09-29 148 extern struct cifsFileInfo
*find_readable_file(struct cifsInodeInfo *, bool);
496902dc173dea Ronnie Sahlberg 2019-09-09 149 extern int
cifs_get_readable_path(struct cifs_tcon *tcon, const char *name,
496902dc173dea Ronnie Sahlberg 2019-09-09 150 struct cifsFileInfo
**ret_file);
9ec672bd17131f Ronnie Sahlberg 2018-04-22 151 extern unsigned int
smbCalcSize(void *buf, struct TCP_Server_Info *server);
^1da177e4c3f41 Linus Torvalds 2005-04-16 152 extern int
decode_negTokenInit(unsigned char *security_blob, int length,
26efa0bac9dc35 Jeff Layton 2010-04-24 153 struct TCP_Server_Info
*server);
67b7626a0512d1 David Howells 2010-07-22 154 extern int
cifs_convert_address(struct sockaddr *dst, const char *src, int len);
b979aaa1777259 Jeff Layton 2012-11-26 155 extern void
cifs_set_port(struct sockaddr *addr, const unsigned short int port);
5ffef7bf1dd582 Pavel Shilovsky 2012-03-23 156 extern int
map_smb_to_linux_error(char *buf, bool logErr);
a3713ec3d775ff Roberto Bergantinos Corpas 2020-07-03 157 extern int
map_and_check_smb_error(struct mid_q_entry *mid, bool logErr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 158 extern void
header_assemble(struct smb_hdr *, char /* command */ ,
96daf2b09178d8 Steve French 2011-05-27 159 const struct cifs_tcon
*, int /* length of
1982c344f1bf08 Steve French 2005-08-17 160 fixed section (word
count) in two byte units */);
5815449d1bfcb2 Steve French 2006-02-14 161 extern int
small_smb_init_no_tc(const int smb_cmd, const int wct,
96daf2b09178d8 Steve French 2011-05-27 162 struct cifs_ses *ses,
12b3b8ffb5fd59 Steve French 2006-02-09 163 void **request_buf);
3f618223dc0bdc Jeff Layton 2013-06-12 164 extern enum securityEnum
select_sectype(struct TCP_Server_Info *server,
3f618223dc0bdc Jeff Layton 2013-06-12 165 enum securityEnum
requested);
58c45c58a1cbc8 Pavel Shilovsky 2012-05-25 166 extern int CIFS_SessSetup(const
unsigned int xid, struct cifs_ses *ses,
5815449d1bfcb2 Steve French 2006-02-14 167 const struct nls_table
*nls_cp);
95390201e7d8dd Arnd Bergmann 2018-06-19 168 extern struct timespec64
cifs_NTtimeToUnix(__le64 utc_nanoseconds_since_1601);
95390201e7d8dd Arnd Bergmann 2018-06-19 169 extern u64
cifs_UnixTimeToNT(struct timespec64);
95390201e7d8dd Arnd Bergmann 2018-06-19 170 extern struct timespec64
cnvrtDosUnixTm(__le16 le_date, __le16 le_time,
c4a2c08db7d976 Jeff Layton 2009-05-27 171 int offset);
c67236281c5d74 Pavel Shilovsky 2010-11-03 172 extern void
cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock);
c11f1df5003d53 Sachin Prabhu 2014-03-11 173 extern int
cifs_get_writer(struct cifsInodeInfo *cinode);
c11f1df5003d53 Sachin Prabhu 2014-03-11 174 extern void
cifs_put_writer(struct cifsInodeInfo *cinode);
c11f1df5003d53 Sachin Prabhu 2014-03-11 175 extern void
cifs_done_oplock_break(struct cifsInodeInfo *cinode);
d39a4f710b7a7b Pavel Shilovsky 2012-09-19 176 extern int
cifs_unlock_range(struct cifsFileInfo *cfile,
d39a4f710b7a7b Pavel Shilovsky 2012-09-19 @177 struct file_lock
*flock, const unsigned int xid);
d39a4f710b7a7b Pavel Shilovsky 2012-09-19 178 extern int
cifs_push_mandatory_locks(struct cifsFileInfo *cfile);
1bd5bbcb653177 Steve French 2006-09-28 179
d46b0da7a33dd8 Dave Wysochanski 2019-10-23 180 extern void
cifs_down_write(struct rw_semaphore *sem);
fb1214e48f735c Pavel Shilovsky 2012-09-18 @181 extern struct cifsFileInfo
*cifs_new_fileinfo(struct cifs_fid *fid,
fb1214e48f735c Pavel Shilovsky 2012-09-18 182 struct file *file,
fb1214e48f735c Pavel Shilovsky 2012-09-18 @183 struct tcon_link
*tlink,
7a16f1961a5c61 Steve French 2010-10-18 184 __u32 oplock);
6d5786a34d98bf Pavel Shilovsky 2012-06-20 185 extern int cifs_posix_open(char
*full_path, struct inode **inode,
6d5786a34d98bf Pavel Shilovsky 2012-06-20 186 struct super_block *sb,
int mode,
6d5786a34d98bf Pavel Shilovsky 2012-06-20 187 unsigned int f_flags,
__u32 *oplock, __u16 *netfid,
6d5786a34d98bf Pavel Shilovsky 2012-06-20 188 unsigned int xid);
4065c802da7484 Jeff Layton 2010-05-17 @189 void cifs_fill_uniqueid(struct
super_block *sb, struct cifs_fattr *fattr);
cc0bad7552308e Jeff Layton 2009-06-25 190 extern void
cifs_unix_basic_to_fattr(struct cifs_fattr *fattr,
cc0bad7552308e Jeff Layton 2009-06-25 @191 FILE_UNIX_BASIC_INFO
*info,
cc0bad7552308e Jeff Layton 2009-06-25 192 struct cifs_sb_info
*cifs_sb);
c052e2b423f3ea Shirish Pargaonkar 2012-09-28 @193 extern void
cifs_dir_info_to_fattr(struct cifs_fattr *, FILE_DIRECTORY_INFO *,
c052e2b423f3ea Shirish Pargaonkar 2012-09-28 194 struct cifs_sb_info *);
cc0bad7552308e Jeff Layton 2009-06-25 195 extern void
cifs_fattr_to_inode(struct inode *inode, struct cifs_fattr *fattr);
cc0bad7552308e Jeff Layton 2009-06-25 196 extern struct inode
*cifs_iget(struct super_block *sb,
cc0bad7552308e Jeff Layton 2009-06-25 197 struct cifs_fattr
*fattr);
cc0bad7552308e Jeff Layton 2009-06-25 198
1208ef1f76540b Pavel Shilovsky 2012-05-27 199 extern int
cifs_get_inode_info(struct inode **inode, const char *full_path,
1208ef1f76540b Pavel Shilovsky 2012-05-27 @200 FILE_ALL_INFO *data,
struct super_block *sb,
42eacf9e57b65f Steve French 2014-02-10 201 int xid, const struct
cifs_fid *fid);
6a5f6592a0b606 Steve French 2020-06-11 202 extern int
smb311_posix_get_inode_info(struct inode **pinode, const char *search_path,
6a5f6592a0b606 Steve French 2020-06-11 203 struct super_block *sb,
unsigned int xid);
^1da177e4c3f41 Linus Torvalds 2005-04-16 204 extern int
cifs_get_inode_info_unix(struct inode **pinode,
^1da177e4c3f41 Linus Torvalds 2005-04-16 205 const unsigned char
*search_path,
6d5786a34d98bf Pavel Shilovsky 2012-06-20 206 struct super_block *sb,
unsigned int xid);
ed6875e0d6c28e Pavel Shilovsky 2012-09-18 207 extern int
cifs_set_file_info(struct inode *inode, struct iattr *attrs,
ed6875e0d6c28e Pavel Shilovsky 2012-09-18 208 unsigned int xid, char
*full_path, __u32 dosattr);
ed6875e0d6c28e Pavel Shilovsky 2012-09-18 209 extern int
cifs_rename_pending_delete(const char *full_path,
ed6875e0d6c28e Pavel Shilovsky 2012-09-18 210 struct dentry
*dentry,
ed6875e0d6c28e Pavel Shilovsky 2012-09-18 211 const unsigned int
xid);
9934430e2178d5 Steve French 2020-10-20 @212 extern int sid_to_id(struct
cifs_sb_info *cifs_sb, struct cifs_sid *psid,
9934430e2178d5 Steve French 2020-10-20 213 struct cifs_fattr *fattr,
uint sidtype);
987b21d7d91d03 Shirish Pargaonkar 2010-11-10 214 extern int
cifs_acl_to_fattr(struct cifs_sb_info *cifs_sb,
0b8f18e358384a Jeff Layton 2009-07-09 215 struct cifs_fattr
*fattr, struct inode *inode,
e2f8fbfb8d09c0 Steve French 2019-07-19 216 bool
get_mode_from_special_sid,
42eacf9e57b65f Steve French 2014-02-10 217 const char *path,
const struct cifs_fid *pfid);
672f807bec7d79 Shyam Prasad N 2020-08-17 218 extern int
id_mode_to_cifs_acl(struct inode *inode, const char *path, __u64 *pnmode,
672f807bec7d79 Shyam Prasad N 2020-08-17 219 kuid_t uid, kgid_t gid);
fbeba8bb16d7c5 Shirish Pargaonkar 2010-11-27 220 extern struct cifs_ntsd
*get_cifs_acl(struct cifs_sb_info *, struct inode *,
fbeba8bb16d7c5 Shirish Pargaonkar 2010-11-27 221 const char *, u32 *);
42eacf9e57b65f Steve French 2014-02-10 222 extern struct cifs_ntsd
*get_cifs_acl_by_fid(struct cifs_sb_info *,
42eacf9e57b65f Steve French 2014-02-10 223 const struct cifs_fid *,
u32 *);
b73b9a4ba753df Steve French 2011-04-19 224 extern int set_cifs_acl(struct
cifs_ntsd *, __u32, struct inode *,
a5ff376966c079 Shirish Pargaonkar 2011-10-13 225 const char *, int);
643fbceef48e5b Steve French 2020-01-16 @226 extern unsigned int
setup_authusers_ACE(struct cifs_ace *pace);
fdef665ba44ad5 Steve French 2019-12-06 227 extern unsigned int
setup_special_mode_ACE(struct cifs_ace *pace, __u64 nmode);
975221eca5fbfd Steve French 2020-06-12 228 extern unsigned int
setup_special_user_owner_ACE(struct cifs_ace *pace);
953f868138dbf4 Steve French 2007-10-31 229
e28bc5b1fdbd6e Jeff Layton 2011-10-19 230 extern void dequeue_mid(struct
mid_q_entry *mid, bool malformed);
e28bc5b1fdbd6e Jeff Layton 2011-10-19 231 extern int
cifs_read_from_socket(struct TCP_Server_Info *server, char *buf,
e28bc5b1fdbd6e Jeff Layton 2011-10-19 232 unsigned int
to_read);
71335664c38f03 Al Viro 2016-01-09 233 extern int
cifs_read_page_from_socket(struct TCP_Server_Info *server,
1dbe3466b4d260 Long Li 2018-05-30 234 struct page *page,
1dbe3466b4d260 Long Li 2018-05-30 235 unsigned int page_offset,
1dbe3466b4d260 Long Li 2018-05-30 236 unsigned int to_read);
2727ef44ea4615 Ronnie Sahlberg 2020-12-09 237 extern int
cifs_setup_cifs_sb(struct smb3_fs_context *ctx,
724d9f1cfba0cb Pavel Shilovsky 2011-05-05 238 struct cifs_sb_info
*cifs_sb);
724d9f1cfba0cb Pavel Shilovsky 2011-05-05 239 extern int
cifs_match_super(struct super_block *, void *);
2727ef44ea4615 Ronnie Sahlberg 2020-12-09 240 extern void
cifs_cleanup_volume_info(struct smb3_fs_context *ctx);
2727ef44ea4615 Ronnie Sahlberg 2020-12-09 241 extern int cifs_mount(struct
cifs_sb_info *cifs_sb, struct smb3_fs_context *ctx);
2a9b99516c662d Al Viro 2011-06-17 242 extern void cifs_umount(struct
cifs_sb_info *);
aa24d1e9692411 Pavel Shilovsky 2011-12-27 243 extern void
cifs_mark_open_files_invalid(struct cifs_tcon *tcon);
52ace1ef1259e1 Steve French 2016-09-22 244 extern void
cifs_reopen_persistent_handles(struct cifs_tcon *tcon);
52ace1ef1259e1 Steve French 2016-09-22 245
579f9053236c79 Pavel Shilovsky 2012-09-19 246 extern bool
cifs_find_lock_conflict(struct cifsFileInfo *cfile, __u64 offset,
9645759ce6b390 Ronnie Sahlberg 2018-10-04 247 __u64 length, __u8
type, __u16 flags,
579f9053236c79 Pavel Shilovsky 2012-09-19 @248 struct cifsLockInfo
**conf_lock,
081c0414dcdfd1 Pavel Shilovsky 2012-11-27 249 int rw_check);
233839b1df65a2 Pavel Shilovsky 2012-09-19 250 extern void
cifs_add_pending_open(struct cifs_fid *fid,
233839b1df65a2 Pavel Shilovsky 2012-09-19 251 struct tcon_link *tlink,
233839b1df65a2 Pavel Shilovsky 2012-09-19 @252 struct cifs_pending_open
*open);
233839b1df65a2 Pavel Shilovsky 2012-09-19 253 extern void
cifs_add_pending_open_locked(struct cifs_fid *fid,
233839b1df65a2 Pavel Shilovsky 2012-09-19 254 struct tcon_link *tlink,
233839b1df65a2 Pavel Shilovsky 2012-09-19 255 struct cifs_pending_open
*open);
233839b1df65a2 Pavel Shilovsky 2012-09-19 256 extern void
cifs_del_pending_open(struct cifs_pending_open *open);
2727ef44ea4615 Ronnie Sahlberg 2020-12-09 257 extern struct TCP_Server_Info
*cifs_get_tcp_session(struct smb3_fs_context *ctx);
53e0e11efe9289 Pavel Shilovsky 2016-11-04 258 extern void
cifs_put_tcp_session(struct TCP_Server_Info *server,
53e0e11efe9289 Pavel Shilovsky 2016-11-04 259 int from_reconnect);
53e0e11efe9289 Pavel Shilovsky 2016-11-04 260 extern void
cifs_put_tcon(struct cifs_tcon *tcon);
815465c4d724e8 Jeff Layton 2012-03-21 261
815465c4d724e8 Jeff Layton 2012-03-21 262 #if
IS_ENABLED(CONFIG_CIFS_DFS_UPCALL)
78d31a3a87f84c Igor Mammedov 2008-04-24 263 extern void
cifs_dfs_release_automount_timer(void);
815465c4d724e8 Jeff Layton 2012-03-21 264 #else /* !
IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) */
815465c4d724e8 Jeff Layton 2012-03-21 265 #define
cifs_dfs_release_automount_timer() do { } while (0)
815465c4d724e8 Jeff Layton 2012-03-21 266 #endif /* !
IS_ENABLED(CONFIG_CIFS_DFS_UPCALL) */
815465c4d724e8 Jeff Layton 2012-03-21 267
^1da177e4c3f41 Linus Torvalds 2005-04-16 268 void cifs_proc_init(void);
^1da177e4c3f41 Linus Torvalds 2005-04-16 269 void cifs_proc_clean(void);
^1da177e4c3f41 Linus Torvalds 2005-04-16 270
f7ba7fe685bc3e Pavel Shilovsky 2012-09-19 271 extern void
cifs_move_llist(struct list_head *source, struct list_head *dest);
f7ba7fe685bc3e Pavel Shilovsky 2012-09-19 272 extern void
cifs_free_llist(struct list_head *llist);
f7ba7fe685bc3e Pavel Shilovsky 2012-09-19 273 extern void
cifs_del_lock_waiters(struct cifsLockInfo *lock);
f7ba7fe685bc3e Pavel Shilovsky 2012-09-19 274
565674d613d7f4 Stefan Metzmacher 2020-07-21 275 extern int
cifs_tree_connect(const unsigned int xid, struct cifs_tcon *tcon,
565674d613d7f4 Stefan Metzmacher 2020-07-21 276 const struct nls_table
*nlsc);
565674d613d7f4 Stefan Metzmacher 2020-07-21 277
286170aa241819 Pavel Shilovsky 2012-05-25 278 extern int
cifs_negotiate_protocol(const unsigned int xid,
96daf2b09178d8 Steve French 2011-05-27 279 struct cifs_ses *ses);
58c45c58a1cbc8 Pavel Shilovsky 2012-05-25 280 extern int
cifs_setup_session(const unsigned int xid, struct cifs_ses *ses,
^1da177e4c3f41 Linus Torvalds 2005-04-16 281 struct nls_table
*nls_info);
38d77c50b4f4e3 Jeff Layton 2013-05-26 282 extern int
cifs_enable_signing(struct TCP_Server_Info *server, bool mnt_sign_required);
286170aa241819 Pavel Shilovsky 2012-05-25 283 extern int
CIFSSMBNegotiate(const unsigned int xid, struct cifs_ses *ses);
^1da177e4c3f41 Linus Torvalds 2005-04-16 284
2e6e02ab6ddbd5 Pavel Shilovsky 2012-05-25 285 extern int CIFSTCon(const
unsigned int xid, struct cifs_ses *ses,
96daf2b09178d8 Steve French 2011-05-27 286 const char *tree, struct
cifs_tcon *tcon,
^1da177e4c3f41 Linus Torvalds 2005-04-16 287 const struct nls_table
*);
^1da177e4c3f41 Linus Torvalds 2005-04-16 288
6d5786a34d98bf Pavel Shilovsky 2012-06-20 289 extern int CIFSFindFirst(const
unsigned int xid, struct cifs_tcon *tcon,
c052e2b423f3ea Shirish Pargaonkar 2012-09-28 290 const char *searchName,
struct cifs_sb_info *cifs_sb,
2608bee744a92d Shirish Pargaonkar 2012-05-15 291 __u16 *searchHandle, __u16
search_flags,
2608bee744a92d Shirish Pargaonkar 2012-05-15 @292 struct cifs_search_info
*psrch_inf,
c052e2b423f3ea Shirish Pargaonkar 2012-09-28 293 bool msearch);
^1da177e4c3f41 Linus Torvalds 2005-04-16 294
:::::: The code at line 96 was first introduced by commit
:::::: fec344e3f31aa911297cd3a4639432d983b1f324 cifs: change cifs_call_async to use
smb_rqst structs
:::::: TO: Jeff Layton <jlayton(a)redhat.com>
:::::: CC: Steve French <smfrench(a)gmail.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org