1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
|
./smb2ops.c: data_offset = server->ops->read_data_offset(buf);
./transport.c: data_offset = server->ops->read_data_offset(buf) +
./smb2ops.c: data_len = server->ops->read_data_length(buf, use_rdma_mr);
./transport.c: data_len = server->ops->read_data_length(buf, use_rdma_mr);
./smb2ops.c: rdata->result = server->ops->map_error(buf, true);
./transport.c: rdata->result = server->ops->map_error(buf, false);
./connect.c: mids[0] = server->ops->find_mid(server, buf);
./cifs_debug.c: if (!server->ops->check_message(buf, server->total_read, server)) {
./connect.c: rc = server->ops->check_message(buf, server->total_read, server);
./smb2ops.c: if (!server->ops->check_message(buf, server->total_read, server)) {
./connect.c: if (server->ops->dump_detail)
./connect.c: server->ops->dump_detail(bufs[i],
./cifs_debug.c: if (server->ops->clear_stats)
./cifs_debug.c: server->ops->clear_stats(tcon);
./cifs_debug.c: if (server->ops->print_stats)
./cifs_debug.c: server->ops->print_stats(m, tcon);
./connect.c: } else if (server->ops->is_oplock_break &&
./connect.c: server->ops->is_oplock_break(bufs[i],
./transport.c: server->ops->handle_cancelled_mid)
./transport.c: server->ops->handle_cancelled_mid(midEntry, server);
./smb2transport.c: if (server->ops->need_neg &&
./smb2transport.c: server->ops->need_neg(server)) {
./smb2pdu.c: if (server->ops->need_neg &&
./smb2pdu.c: server->ops->need_neg(server)) {
./connect.c: if (!server->ops->need_neg || !server->ops->negotiate)
./connect.c: if (!server->ops->need_neg(server) &&
./cifsfs.c: tcon->ses->server->ops->negotiate_rsize(tcon, cifs_sb->ctx);
./file.c~: server->ops->negotiate_rsize(tlink_tcon(req->cfile->tlink),
./file.c: server->ops->negotiate_rsize(tlink_tcon(req->cfile->tlink),
./connect.c: (cifs_sb->ctx->wsize > server->ops->negotiate_wsize(tcon, ctx))) {
./connect.c: round_down(server->ops->negotiate_wsize(tcon, ctx), PAGE_SIZE);
./connect.c: (cifs_sb->ctx->rsize > server->ops->negotiate_rsize(tcon, ctx)))
./connect.c: cifs_sb->ctx->rsize = server->ops->negotiate_rsize(tcon, ctx);
./connect.c: if (!server->ops->need_neg || !server->ops->negotiate)
./connect.c: rc = server->ops->negotiate(xid, ses, server);
./connect.c: if (server->ops->sess_setup)
./connect.c: rc = server->ops->sess_setup(xid, ses, server, nls_info);
./connect.c: do_logoff = ses->ses_status == SES_GOOD && server->ops->logoff;
./connect.c: rc = server->ops->logoff(xid, ses);
./dfs.c: rc = server->ops->tree_connect(xid, ses, tree, tcon,
./connect.c: rc = server->ops->tree_connect(xid, ses, unc, tcon, ctx->local_nls);
./connect.c: if (!ses->server->ops->tree_connect) {
./connect.c: rc = ses->server->ops->tree_connect(xid, ses, ctx->UNC, tcon,
./connect.c: if (ses->server->ops->tree_disconnect)
./connect.c: ses->server->ops->tree_disconnect(xid, tcon);
./connect.c: rc = server->ops->is_path_accessible(xid, tcon, cifs_sb, "");
./connect.c: rc = server->ops->is_path_accessible(xid, tcon, cifs_sb,
./connect.c: if (!server->ops->is_path_accessible)
./connect.c: rc = server->ops->is_path_accessible(xid, tcon, cifs_sb,
./connect.c: (server->ops->can_echo && !server->ops->can_echo(server)) ||
./connect.c: (!server->ops->can_echo || server->ops->can_echo(server)) &&
./connect.c: rc = server->ops->echo ? server->ops->echo(server) : -ENOSYS;
./inode.c: rc = server->ops->query_path_info(xid, tcon, cifs_sb,
./inode.c: rc = server->ops->query_path_info(xid, tcon, cifs_sb,
./inode.c: if (!tag && server->ops->query_reparse_point) {
./inode.c: rc = server->ops->query_reparse_point(xid, tcon, cifs_sb,
./inode.c: rc = server->ops->get_srv_inum(xid, *inode ? NULL : tcon, cifs_sb, full_path,
./inode.c: if (!server->ops->query_file_info) {
./inode.c: rc = server->ops->query_file_info(xid, tcon, cfile, &data);
./inode.c: if (server->ops->set_path_size)
./inode.c: rc = server->ops->set_path_size(xid, tcon, full_path,
./cifsfs.c: if (src_tcon->ses->server->ops->set_file_size)
./cifsfs.c: rc = src_tcon->ses->server->ops->set_file_size(
./inode.c: if (server->ops->set_file_size)
./inode.c: rc = server->ops->set_file_size(xid, tcon, open_file,
./xattr.c: if (pTcon->ses->server->ops->set_file_info)
./xattr.c: rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
./xattr.c: if (pTcon->ses->server->ops->set_file_info)
./xattr.c: rc = pTcon->ses->server->ops->set_file_info(inode, full_path,
./inode.c: if (!server->ops->set_file_info)
./inode.c: return server->ops->set_file_info(inode, full_path, &info_buf, xid);
./ioctl.c: if (tcon->ses->server->ops->set_compression) {
./ioctl.c: rc = tcon->ses->server->ops->set_compression(
./inode.c: (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
./inode.c: server->ops->mkdir_setinfo(inode, full_path, cifs_sb,
./inode.c: if (!server->ops->mkdir) {
./inode.c: rc = server->ops->mkdir(xid, inode, mode, tcon, full_path, cifs_sb);
./inode.c: (mode & S_IWUGO) == 0 && server->ops->mkdir_setinfo)
./inode.c: server->ops->mkdir_setinfo(inode, full_path, cifs_sb,
./inode.c: if (!server->ops->rmdir) {
./inode.c: rc = server->ops->rmdir(xid, tcon, full_path, cifs_sb);
./inode.c: if (!server->ops->unlink) {
./inode.c: rc = server->ops->unlink(xid, tcon, full_path, cifs_sb, dentry);
./inode.c: if (!server->ops->rename)
./inode.c: rc = server->ops->rename(xid, tcon, from_dentry,
./link.c: if (!server->ops->create_hardlink) {
./link.c: rc = server->ops->create_hardlink(xid, tcon, old_file,
./inode.c: } else if (iov && server->ops->parse_reparse_point) {
./inode.c: rc = server->ops->parse_reparse_point(cifs_sb,
./link.c: if (tcon->ses->server->ops->query_mf_symlink)
./link.c: rc = tcon->ses->server->ops->query_mf_symlink(xid, tcon,
./link.c: if (tcon->ses->server->ops->create_mf_symlink)
./link.c: rc = tcon->ses->server->ops->create_mf_symlink(xid, tcon,
./link.c: } else if (server->ops->create_reparse_symlink) {
./link.c: rc = server->ops->create_reparse_symlink(xid, inode, direntry,
./reparse.c: open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
./reparse.c: open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
./file.c~: if (!server->ops->open)
./file.c~: rc = server->ops->open(xid, &oparms, oplock, buf);
./file.c~: rc = server->ops->open(xid, &oparms, &oplock, NULL);
./file.c~: rc = server->ops->open(xid, &oparms, &oplock, NULL);
./dir.c: if (!server->ops->open) {
./dir.c: rc = server->ops->open(xid, &oparms, oplock, buf);
./inode.c: rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
./file.c: if (!server->ops->open)
./file.c: rc = server->ops->open(xid, &oparms, oplock, buf);
./file.c: rc = server->ops->open(xid, &oparms, &oplock, NULL);
./file.c: rc = server->ops->open(xid, &oparms, &oplock, NULL);
./smb2ops.c: rc = server->ops->open(xid, &oparms, &oplock, NULL);
./file.c~: server->ops->set_fid(cfile, fid, oplock);
./file.c~: server->ops->set_fid(cfile, &cfile->fid, oplock);
./file.c: server->ops->set_fid(cfile, fid, oplock);
./file.c: server->ops->set_fid(cfile, &cfile->fid, oplock);
./reparse.c: tcon->ses->server->ops->close(xid, tcon, &fid);
./reparse.c: tcon->ses->server->ops->close(xid, tcon, &fid);
./readdir.c: if (server->ops->close_dir)
./readdir.c: server->ops->close_dir(xid, tcon, &cfile->fid);
./file.c~: server->ops->close(xid, tcon, fid);
./file.c~: if (server->ops->close_getattr)
./file.c~: rc = server->ops->close_getattr(0, tcon, cifs_file);
./file.c~: else if (server->ops->close)
./file.c~: rc = server->ops->close(0, tcon, &cifs_file->fid);
./file.c~: if (server->ops->close_getattr)
./file.c~: rc = server->ops->close_getattr(xid, tcon, cifs_file);
./file.c~: else if (server->ops->close)
./file.c~: rc = server->ops->close(xid, tcon, &cifs_file->fid);
./file.c~: if (server->ops->close)
./file.c~: server->ops->close(xid, tcon, &fid);
./file.c~: if (server->ops->close_dir)
./file.c~: rc = server->ops->close_dir(xid, tcon, &cfile->fid);
./dir.c: if (server->ops->close)
./dir.c: server->ops->close(xid, tcon, fid);
./dir.c: if (server->ops->close)
./dir.c: server->ops->close(xid, tcon, &fid);
./dir.c: if (server->ops->close)
./dir.c: server->ops->close(xid, tcon, &fid);
./dir.c: if (!rc && server->ops->close)
./dir.c: server->ops->close(xid, tcon, &fid);
./inode.c: tcon->ses->server->ops->close(xid, tcon, &fid);
./file.c: server->ops->close(xid, tcon, fid);
./file.c: if (server->ops->close_getattr)
./file.c: rc = server->ops->close_getattr(0, tcon, cifs_file);
./file.c: else if (server->ops->close)
./file.c: rc = server->ops->close(0, tcon, &cifs_file->fid);
./file.c: if (server->ops->close_getattr)
./file.c: rc = server->ops->close_getattr(xid, tcon, cifs_file);
./file.c: else if (server->ops->close)
./file.c: rc = server->ops->close(xid, tcon, &cifs_file->fid);
./file.c: if (server->ops->close)
./file.c: server->ops->close(xid, tcon, &fid);
./file.c: if (server->ops->close_dir)
./file.c: rc = server->ops->close_dir(xid, tcon, &cfile->fid);
./smb2ops.c: server->ops->close(xid, tcon, &fid);
./file.c~: if (server->ops->flush == NULL) {
./file.c~: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c~: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c~: if (server->ops->flush == NULL) {
./file.c~: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c~: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./inode.c: rc = tcon->ses->server->ops->flush(xid, tcon, &wfile->fid);
./file.c: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c: if (server->ops->flush == NULL) {
./file.c: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c: rc = server->ops->flush(xid, tcon, &smbfile->fid);
./file.c~: rc = rdata->server->ops->async_readv(rdata);
./file.c: rc = rdata->server->ops->async_readv(rdata);
./file.c~: wdata->server->ops->async_writev(wdata);
./file.c: wdata->server->ops->async_writev(wdata);
./inode.c: rc = tcon->ses->server->ops->sync_read(xid, &fid, &io_parms,
./smb2ops.c: rc = server->ops->sync_write(xid, &fid, &io_parms,
./readdir.c: if (!server->ops->query_dir_first) {
./readdir.c: rc = server->ops->query_dir_first(xid, tcon, full_path, cifs_sb,
./readdir.c: if (!server->ops->query_dir_first || !server->ops->query_dir_next)
./readdir.c: if (!server->ops->query_dir_first || !server->ops->query_dir_next)
./readdir.c: rc = server->ops->query_dir_next(xid, tcon, &cfile->fid,
./readdir.c: if (server->ops->close_dir)
./readdir.c: server->ops->close_dir(xid, tcon, &cfile->fid);
./file.c~: if (server->ops->close_dir)
./file.c~: rc = server->ops->close_dir(xid, tcon, &cfile->fid);
./file.c: if (server->ops->close_dir)
./file.c: rc = server->ops->close_dir(xid, tcon, &cfile->fid);
./readdir.c: server->ops->calc_smb_size(
./readdir.c: max_len = tcon->ses->server->ops->calc_smb_size(
./cifs_debug.c: server->ops->calc_smb_size(smb));
./smb2ops.c: server->ops->calc_smb_size(buf));
./connect.c: if (server->ops->is_status_pending &&
./connect.c: server->ops->is_status_pending(buf, server))
./smb2ops.c: if (server->ops->is_status_pending &&
./smb2ops.c: server->ops->is_status_pending(buf, server))
./transport.c: if (server->ops->is_status_pending &&
./transport.c: server->ops->is_status_pending(buf, server)) {
./connect.c: if (server->ops->is_session_expired &&
./connect.c: server->ops->is_session_expired(buf)) {
./smb2ops.c: if (server->ops->is_session_expired &&
./smb2ops.c: server->ops->is_session_expired(buf)) {
./transport.c: if (server->ops->is_session_expired &&
./transport.c: server->ops->is_session_expired(buf)) {
./file.c~: rc = server->ops->oplock_response(tcon, persistent_fid,
./file.c: rc = server->ops->oplock_response(tcon, persistent_fid,
./file.c~: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type,
./file.c~: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c~: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c~: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c~: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length, type,
./file.c: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c: rc = server->ops->mand_lock(xid, cfile, flock->fl_start, length,
./file.c~: rc = server->ops->mand_unlock_range(cfile, flock, xid);
./file.c~: rc = tcon->ses->server->ops->push_mand_locks(cfile);
./file.c~: rc = tcon->ses->server->ops->push_mand_locks(cfile);
./file.c: rc = tcon->ses->server->ops->push_mand_locks(cfile);
./file.c: rc = tcon->ses->server->ops->push_mand_locks(cfile);
./smb2inode.c: if (CIFS_I(inode)->lease_granted && server->ops->get_lease_key) {
./smb2inode.c: server->ops->get_lease_key(inode, &fid);
./file.c~: if (server->ops->get_lease_key)
./file.c~: server->ops->get_lease_key(inode, &fid);
./file.c~: if (server->ops->get_lease_key)
./file.c~: server->ops->get_lease_key(inode, &fid);
./file.c~: if (server->ops->get_lease_key)
./file.c~: server->ops->get_lease_key(inode, &fid);
./file.c~: if (server->ops->get_lease_key)
./file.c~: server->ops->get_lease_key(inode, &cfile->fid);
./file.c: if (server->ops->get_lease_key)
./file.c: server->ops->get_lease_key(inode, &fid);
./file.c: if (server->ops->get_lease_key)
./file.c: server->ops->get_lease_key(inode, &fid);
./file.c: if (server->ops->get_lease_key)
./file.c: server->ops->get_lease_key(inode, &fid);
./file.c: if (server->ops->get_lease_key)
./file.c: server->ops->get_lease_key(inode, &cfile->fid);
./dir.c: if (server->ops->set_lease_key)
./dir.c: server->ops->set_lease_key(newinode, fid);
./cached_dir.c: if (!server->ops->new_lease_key)
./cached_dir.c: server->ops->new_lease_key(pfid);
./dir.c: if (server->ops->new_lease_key)
./dir.c: server->ops->new_lease_key(&fid);
./dir.c: if (server->ops->new_lease_key)
./dir.c: server->ops->new_lease_key(&fid);
./file.c~: if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) {
./file.c~: if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) {
./file.c: if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) {
./file.c: if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) {
./cifsfs.c: if (!target_tcon->ses->server->ops->copychunk_range)
./cifsfs.c: rc = target_tcon->ses->server->ops->copychunk_range(xid,
./readdir.c: if (server->ops->dir_needs_close(cfile)) {
./file.c~: if (server->ops->dir_needs_close(cfile)) {
./file.c: if (server->ops->dir_needs_close(cfile)) {
./ioctl.c: if (tcon->ses->server->ops->enum_snapshots)
./ioctl.c: rc = tcon->ses->server->ops->enum_snapshots(xid, tcon,
./ioctl.c: if (tcon && tcon->ses->server->ops->notify) {
./ioctl.c: rc = tcon->ses->server->ops->notify(xid,
./ioctl.c: if (tcon && tcon->ses->server->ops->notify) {
./ioctl.c: rc = tcon->ses->server->ops->notify(xid,
./dfs_cache.c: if (!ses || !ses->server || !ses->server->ops->get_dfs_refer)
./dfs_cache.c: rc = ses->server->ops->get_dfs_refer(xid, ses, path, refs, numrefs, cache_cp,
./misc.c: if (ses->server->ops->get_dfs_refer &&
./misc.c: !ses->server->ops->get_dfs_refer(xid, ses, ref_path, &refs,
./cifs_debug.c: get_security_type_str(server->ops->select_sectype(server, ses->sectype)));
./connect.c: if (server->ops->select_sectype(server, ctx->sectype)
./xattr.c: if (pTcon->ses->server->ops->query_all_EAs)
./xattr.c: rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon,
./xattr.c: if (pTcon->ses->server->ops->query_all_EAs)
./xattr.c: rc = pTcon->ses->server->ops->query_all_EAs(xid, pTcon,
./inode.c: if (tcon->ses->server->ops->query_all_EAs == NULL) {
./inode.c: rc = tcon->ses->server->ops->query_all_EAs(xid, tcon, path,
./smb2ops.c: if (ses->server->ops->query_all_EAs) {
./smb2ops.c: rc = ses->server->ops->query_all_EAs(xid, tcon, path,
./xattr.c: if (pTcon->ses->server->ops->set_EA) {
./xattr.c: rc = pTcon->ses->server->ops->set_EA(xid, pTcon,
./xattr.c: if (pTcon->ses->server->ops->get_acl == NULL)
./xattr.c: pacl = pTcon->ses->server->ops->get_acl(cifs_sb,
./xattr.c: if (pTcon->ses->server->ops->set_acl) {
./xattr.c: rc = pTcon->ses->server->ops->set_acl(pacl,
./connect.c: if (server->ops->next_header) {
./connect.c: if (server->ops->next_header(server, buf, &next_offset)) {
./ioctl.c: if (tcon->ses->server->ops->ioctl_query_info)
./ioctl.c: rc = tcon->ses->server->ops->ioctl_query_info(
./dir.c: rc = tcon->ses->server->ops->make_node(xid, inode, direntry, tcon,
./inode.c: if (server->ops->fiemap) {
./inode.c: rc = server->ops->fiemap(tcon, cfile, fei, start, len);
./cifsfs.c: if (tcon->ses->server->ops->llseek)
./cifsfs.c: return tcon->ses->server->ops->llseek(file, tcon,
./connect.c: if (server->ops->is_status_io_timeout &&
./connect.c: server->ops->is_status_io_timeout(buf)) {
./connect.c: if (server->ops->is_network_name_deleted &&
./connect.c: server->ops->is_network_name_deleted(bufs[i],
./smb2ops.c: if (dw->server->ops->is_network_name_deleted)
./smb2ops.c: dw->server->ops->is_network_name_deleted(dw->buf,
./smb2ops.c: if (server->ops->is_network_name_deleted) {
./smb2ops.c: server->ops->is_network_name_deleted(buf,
|