/linux/fs/smb/client/ |
H A D | smb2inode.c | 174 struct cifs_open_parms *oparms, struct kvec *in_iov, in smb2_compound_op() argument 251 vars->oparms = *oparms; in smb2_compound_op() 252 vars->oparms.fid = &fid; in smb2_compound_op() 257 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op() 913 struct cifs_open_parms oparms; in smb2_query_path_info() local 964 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, FILE_READ_ATTRIBUTES, in smb2_query_path_info() 967 &oparms, in_iov, cmds, num_cmds, in smb2_query_path_info() 999 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, in smb2_query_path_info() 1007 &oparms, in_iov, cmds, num_cmds, in smb2_query_path_info() 1048 struct cifs_open_parms oparms; in smb2_mkdir() local [all …]
|
H A D | smb1ops.c | 705 static int cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, in cifs_open_file() argument 712 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_open_file() 713 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file() 714 oparms->disposition, in cifs_open_file() 715 oparms->desired_access, in cifs_open_file() 716 oparms->create_options, in cifs_open_file() 717 &oparms->fid->netfid, oplock, &fi, in cifs_open_file() 718 oparms->cifs_sb->local_nls, in cifs_open_file() 719 cifs_remap(oparms->cifs_sb)); in cifs_open_file() 721 rc = CIFS_open(xid, oparms, oplock, &fi); in cifs_open_file() [all …]
|
H A D | smb2pdu.c | 2427 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2429 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2450 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2454 if (!oparms->replay) { in create_durable_v2_buf() 2503 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2507 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2517 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2522 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2524 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2534 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument [all …]
|
H A D | cached_dir.c | 147 struct cifs_open_parms oparms; in open_cached_dir() local 256 oparms = (struct cifs_open_parms) { in open_cached_dir() 268 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir() 309 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir() 310 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir() 312 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir() 323 &oparms.fid->epoch, in open_cached_dir() 324 oparms.fid->lease_key, in open_cached_dir()
|
H A D | smb2ops.c | 849 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 853 oparms = (struct cifs_open_parms) { in smb3_qfs_tcon() 866 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 894 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 897 oparms = (struct cifs_open_parms) { in smb2_qfs_tcon() 906 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon() 925 struct cifs_open_parms oparms; in smb2_is_path_accessible() local 945 oparms = (struct cifs_open_parms) { in smb2_is_path_accessible() 954 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible() 1158 struct cifs_open_parms oparms; in smb2_set_ea() local [all …]
|
H A D | reparse.c | 250 struct cifs_open_parms oparms; in detect_directory_symlink_target() local 323 oparms = CIFS_OPARMS(cifs_sb, tcon, resolved_path, in detect_directory_symlink_target() 325 oparms.fid = &fid; in detect_directory_symlink_target() 329 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target() 331 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target() 348 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target() 350 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
|
H A D | smb2proto.h | 123 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 156 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 164 __u8 *oplock, struct cifs_open_parms *oparms,
|
H A D | cifsacl.c | 1435 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1443 oparms = (struct cifs_open_parms) { in get_cifs_acl_by_path() 1454 oparms.desired_access |= SYSTEM_SECURITY; in get_cifs_acl_by_path() 1456 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() 1500 struct cifs_open_parms oparms; in set_cifs_acl() local 1515 oparms = (struct cifs_open_parms) { in set_cifs_acl() 1525 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
|
H A D | file.c | 537 struct cifs_open_parms oparms; in cifs_nt_open() local 585 oparms = (struct cifs_open_parms) { in cifs_nt_open() 595 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() 1161 struct cifs_open_parms oparms; in cifs_reopen_file() local 1216 oparms.reconnect = true; in cifs_reopen_file() 1243 oparms = (struct cifs_open_parms) { in cifs_reopen_file() 1261 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file() 1262 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file() 1264 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file() 1266 oparms.reconnect = true; in cifs_reopen_file() [all …]
|
H A D | dir.c | 191 struct cifs_open_parms oparms; local 315 oparms = (struct cifs_open_parms) { 325 rc = server->ops->open(xid, &oparms, oplock, buf);
|
H A D | inode.c | 530 struct cifs_open_parms oparms; in cifs_sfu_type() local 559 oparms = (struct cifs_open_parms) { in cifs_sfu_type() 573 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type() 1787 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local 1810 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete() 1820 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete() 2378 struct cifs_open_parms oparms; local 2420 oparms = (struct cifs_open_parms) { 2431 rc = CIFS_open(xid, &oparms, &oplock, NULL);
|
H A D | cifssmb.c | 1149 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1158 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1159 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open() 1162 int create_options = oparms->create_options; in CIFS_open() 1163 int desired_access = oparms->desired_access; in CIFS_open() 1164 int disposition = oparms->disposition; in CIFS_open() 1165 const char *path = oparms->path; in CIFS_open() 1246 oparms->fid->netfid = rsp->Fid; in CIFS_open() 1247 oparms->fid->access = desired_access; in CIFS_open() 2689 struct cifs_open_parms oparms; in cifs_query_reparse_point() local [all …]
|
H A D | cifsglob.h | 475 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 2320 struct cifs_open_parms oparms; member
|
H A D | cifsproto.h | 479 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
/linux/net/sched/ |
H A D | act_connmark.c | 104 struct tcf_connmark_parms *nparms, *oparms; in tcf_connmark_init() local 172 oparms = rcu_replace_pointer(ci->parms, nparms, lockdep_is_held(&ci->tcf_lock)); in tcf_connmark_init() 178 if (oparms) in tcf_connmark_init() 179 kfree_rcu(oparms, rcu); in tcf_connmark_init()
|
H A D | act_pedit.c | 164 struct tcf_pedit_parms *oparms, *nparms; in tcf_pedit_init() local 285 oparms = rcu_replace_pointer(p->parms, nparms, 1); in tcf_pedit_init() 288 if (oparms) in tcf_pedit_init() 289 call_rcu(&oparms->rcu, tcf_pedit_cleanup_rcu); in tcf_pedit_init()
|