Home
last modified time | relevance | path

Searched refs:oparms (Results 1 – 13 of 13) sorted by relevance

/linux-4.4.14/fs/cifs/
Dlink.c332 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local
337 oparms.tcon = tcon; in cifs_query_mf_symlink()
338 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink()
339 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink()
340 oparms.create_options = CREATE_NOT_DIR; in cifs_query_mf_symlink()
341 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink()
342 oparms.path = path; in cifs_query_mf_symlink()
343 oparms.fid = &fid; in cifs_query_mf_symlink()
344 oparms.reconnect = false; in cifs_query_mf_symlink()
346 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
[all …]
Dsmb1ops.c571 struct cifs_open_parms oparms; in cifs_query_path_info() local
573 oparms.tcon = tcon; in cifs_query_path_info()
574 oparms.cifs_sb = cifs_sb; in cifs_query_path_info()
575 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info()
576 oparms.create_options = 0; in cifs_query_path_info()
577 oparms.disposition = FILE_OPEN; in cifs_query_path_info()
578 oparms.path = full_path; in cifs_query_path_info()
579 oparms.fid = &fid; in cifs_query_path_info()
580 oparms.reconnect = false; in cifs_query_path_info()
583 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info()
[all …]
Dsmb2file.c38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument
45 struct cifs_fid *fid = oparms->fid; in smb2_open_file()
48 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file()
61 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file()
64 if (oparms->tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_LEASING) in smb2_open_file()
67 rc = SMB2_open(xid, oparms, smb2_path, smb2_oplock, smb2_data, NULL); in smb2_open_file()
72 if (oparms->tcon->use_resilient) { in smb2_open_file()
75 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
82 oparms->tcon->use_resilient = false; in smb2_open_file()
91 rc = SMB2_get_srv_num(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
Dsmb2ops.c296 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
299 oparms.tcon = tcon; in smb3_qfs_tcon()
300 oparms.desired_access = FILE_READ_ATTRIBUTES; in smb3_qfs_tcon()
301 oparms.disposition = FILE_OPEN; in smb3_qfs_tcon()
302 oparms.create_options = 0; in smb3_qfs_tcon()
303 oparms.fid = &fid; in smb3_qfs_tcon()
304 oparms.reconnect = false; in smb3_qfs_tcon()
306 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL); in smb3_qfs_tcon()
330 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
333 oparms.tcon = tcon; in smb2_qfs_tcon()
[all …]
Ddir.c208 struct cifs_open_parms oparms; in cifs_do_create() local
324 oparms.tcon = tcon; in cifs_do_create()
325 oparms.cifs_sb = cifs_sb; in cifs_do_create()
326 oparms.desired_access = desired_access; in cifs_do_create()
327 oparms.create_options = create_options; in cifs_do_create()
328 oparms.disposition = disposition; in cifs_do_create()
329 oparms.path = full_path; in cifs_do_create()
330 oparms.fid = fid; in cifs_do_create()
331 oparms.reconnect = false; in cifs_do_create()
333 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_do_create()
[all …]
Dsmb2inode.c49 struct cifs_open_parms oparms; in smb2_open_op_close() local
56 oparms.tcon = tcon; in smb2_open_op_close()
57 oparms.desired_access = desired_access; in smb2_open_op_close()
58 oparms.disposition = create_disposition; in smb2_open_op_close()
59 oparms.create_options = create_options; in smb2_open_op_close()
60 oparms.fid = &fid; in smb2_open_op_close()
61 oparms.reconnect = false; in smb2_open_op_close()
63 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL); in smb2_open_op_close()
Dcifsacl.c900 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local
911 oparms.tcon = tcon; in get_cifs_acl_by_path()
912 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path()
913 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path()
914 oparms.create_options = create_options; in get_cifs_acl_by_path()
915 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path()
916 oparms.path = path; in get_cifs_acl_by_path()
917 oparms.fid = &fid; in get_cifs_acl_by_path()
918 oparms.reconnect = false; in get_cifs_acl_by_path()
920 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
[all …]
Dinode.c435 struct cifs_open_parms oparms; local
461 oparms.tcon = tcon;
462 oparms.cifs_sb = cifs_sb;
463 oparms.desired_access = GENERIC_READ;
464 oparms.create_options = CREATE_NOT_DIR;
465 oparms.disposition = FILE_OPEN;
466 oparms.path = path;
467 oparms.fid = &fid;
468 oparms.reconnect = false;
474 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL);
[all …]
Dsmb2pdu.c1222 struct cifs_open_parms *oparms) in add_durable_v2_context() argument
1227 iov[num].iov_base = create_durable_v2_buf(oparms->fid); in add_durable_v2_context()
1243 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument
1249 oparms->reconnect = false; in add_durable_reconnect_v2_context()
1251 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
1269 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument
1275 if (oparms->reconnect) in add_durable_context()
1277 oparms); in add_durable_context()
1279 return add_durable_v2_context(iov, num_iovec, oparms); in add_durable_context()
1282 if (oparms->reconnect) { in add_durable_context()
[all …]
Dfile.c185 struct cifs_open_parms oparms; in cifs_nt_open() local
227 oparms.tcon = tcon; in cifs_nt_open()
228 oparms.cifs_sb = cifs_sb; in cifs_nt_open()
229 oparms.desired_access = desired_access; in cifs_nt_open()
230 oparms.create_options = create_options; in cifs_nt_open()
231 oparms.disposition = disposition; in cifs_nt_open()
232 oparms.path = full_path; in cifs_nt_open()
233 oparms.fid = fid; in cifs_nt_open()
234 oparms.reconnect = false; in cifs_nt_open()
236 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
[all …]
Dsmb2proto.h93 struct cifs_open_parms *oparms,
111 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
Dcifsproto.h374 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
Dcifssmb.c1273 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument
1282 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open()
1283 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open()
1286 int create_options = oparms->create_options; in CIFS_open()
1287 int desired_access = oparms->desired_access; in CIFS_open()
1288 int disposition = oparms->disposition; in CIFS_open()
1289 const char *path = oparms->path; in CIFS_open()
1373 oparms->fid->netfid = rsp->Fid; in CIFS_open()