Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dsmb2file.c110 struct cifs_fid *fid = oparms->fid; in smb2_open_file()
113 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file()
117 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file()
128 rc = smb2_parse_symlink_response(oparms->cifs_sb, &err_iov, in smb2_open_file()
132 oparms->create_options |= OPEN_REPARSE_POINT; in smb2_open_file()
135 oparms->create_options &= ~OPEN_REPARSE_POINT; in smb2_open_file()
143 if (oparms->tcon->use_resilient) { in smb2_open_file()
146 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file()
148 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
155 oparms->tcon->use_resilient = false; in smb2_open_file()
[all …]
H A Dsmb2inode.c251 vars->oparms = *oparms; in smb2_compound_op()
252 vars->oparms.fid = &fid; in smb2_compound_op()
865 struct cifs_open_parms oparms; in smb2_query_path_info() local
988 struct cifs_open_parms oparms; in smb2_mkdir() local
993 name, &oparms, NULL, in smb2_mkdir()
1003 struct cifs_open_parms oparms; in smb2_mkdir_setinfo() local
1020 &oparms, &in_iov, in smb2_mkdir_setinfo()
1031 struct cifs_open_parms oparms; in smb2_rmdir() local
1037 name, &oparms, NULL, in smb2_rmdir()
1046 struct cifs_open_parms oparms; in smb2_unlink() local
[all …]
H A Dlink.c257 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local
262 oparms = (struct cifs_open_parms) { in cifs_query_mf_symlink()
272 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink()
302 struct cifs_open_parms oparms; in cifs_create_mf_symlink() local
305 oparms = (struct cifs_open_parms) { in cifs_create_mf_symlink()
315 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink()
341 struct cifs_open_parms oparms; in smb3_query_mf_symlink() local
348 oparms = (struct cifs_open_parms) { in smb3_query_mf_symlink()
404 struct cifs_open_parms oparms; in smb3_create_mf_symlink() local
416 oparms = (struct cifs_open_parms) { in smb3_create_mf_symlink()
[all …]
H A Dsmb1ops.c575 struct cifs_open_parms oparms; in cifs_query_path_info() local
582 oparms = (struct cifs_open_parms) { in cifs_query_path_info()
731 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file()
732 oparms->disposition, in cifs_open_file()
733 oparms->desired_access, in cifs_open_file()
734 oparms->create_options, in cifs_open_file()
735 &oparms->fid->netfid, oplock, &fi, in cifs_open_file()
736 oparms->cifs_sb->local_nls, in cifs_open_file()
737 cifs_remap(oparms->cifs_sb)); in cifs_open_file()
797 struct cifs_open_parms oparms; in smb_set_file_info() local
[all …]
H A Dcached_dir.c132 struct cifs_open_parms oparms; in open_cached_dir() local
238 oparms = (struct cifs_open_parms) { in open_cached_dir()
250 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
301 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir()
302 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir()
304 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir()
315 &oparms.fid->epoch, in open_cached_dir()
316 oparms.fid->lease_key, in open_cached_dir()
H A Dsmb2pdu.c2445 if (!oparms->replay) { in create_durable_v2_buf()
2513 oparms->reconnect = false; in add_durable_reconnect_v2_context()
2530 if (oparms->reconnect) in add_durable_context()
2532 oparms); in add_durable_context()
2537 if (oparms->reconnect) { in add_durable_context()
2540 oparms->reconnect = false; in add_durable_context()
3105 if ((oparms->disposition != FILE_OPEN) && (oparms->cifs_sb)) { in SMB2_open_init()
3218 oparms->create_options, oparms->desired_access); in SMB2_open()
3237 oparms->create_options, oparms->desired_access, rc); in SMB2_open()
3248 oparms->create_options, oparms->desired_access); in SMB2_open()
[all …]
H A Dreparse.c111 struct cifs_open_parms oparms; in detect_directory_symlink_target() local
184 oparms = CIFS_OPARMS(cifs_sb, tcon, resolved_path, in detect_directory_symlink_target()
186 oparms.fid = &fid; in detect_directory_symlink_target()
190 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target()
192 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
209 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target()
211 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
H A Dsmb2ops.c812 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
857 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
888 struct cifs_open_parms oparms; in smb2_is_path_accessible() local
1120 struct cifs_open_parms oparms; in smb2_set_ea() local
1519 struct cifs_open_parms oparms; in smb2_ioctl_query_info() local
2180 struct cifs_open_parms oparms; in smb3_notify() local
2268 struct cifs_open_parms oparms; in smb2_query_dir_first() local
2644 struct cifs_open_parms oparms; in smb2_query_info_compound() local
2829 struct cifs_open_parms oparms; in smb311_queryfs() local
3044 struct cifs_open_parms oparms; in get_smb2_acl_by_path() local
[all …]
H A Dsmb2proto.h117 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
150 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
158 __u8 *oplock, struct cifs_open_parms *oparms,
H A Ddir.c191 struct cifs_open_parms oparms; local
315 oparms = (struct cifs_open_parms) {
325 rc = server->ops->open(xid, &oparms, oplock, buf);
H A Dcifsacl.c1423 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local
1431 oparms = (struct cifs_open_parms) { in get_cifs_acl_by_path()
1441 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
1485 struct cifs_open_parms oparms; in set_cifs_acl() local
1498 oparms = (struct cifs_open_parms) { in set_cifs_acl()
1508 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
H A Dinode.c513 struct cifs_open_parms oparms; in cifs_sfu_type() local
539 oparms = (struct cifs_open_parms) { in cifs_sfu_type()
553 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type()
1609 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local
1632 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete()
1642 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
2199 struct cifs_open_parms oparms; local
2234 oparms = (struct cifs_open_parms) {
2245 rc = CIFS_open(xid, &oparms, &oplock, NULL);
H A Dcifssmb.c1151 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open()
1154 int create_options = oparms->create_options; in CIFS_open()
1155 int desired_access = oparms->desired_access; in CIFS_open()
1156 int disposition = oparms->disposition; in CIFS_open()
1157 const char *path = oparms->path; in CIFS_open()
1238 oparms->fid->netfid = rsp->Fid; in CIFS_open()
1239 oparms->fid->access = desired_access; in CIFS_open()
2704 struct cifs_open_parms oparms; in cifs_query_reparse_point() local
2719 oparms = (struct cifs_open_parms) { in cifs_query_reparse_point()
5296 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local
[all …]
H A Dfile.c350 struct cifs_open_parms oparms; in cifs_nt_open() local
398 oparms = (struct cifs_open_parms) { in cifs_nt_open()
408 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
970 struct cifs_open_parms oparms; in cifs_reopen_file() local
1025 oparms.reconnect = true; in cifs_reopen_file()
1052 oparms = (struct cifs_open_parms) { in cifs_reopen_file()
1070 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1071 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file()
1073 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1075 oparms.reconnect = true; in cifs_reopen_file()
[all …]
H A Dcifsglob.h440 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
2320 struct cifs_open_parms oparms; member
H A Dcifsproto.h483 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
/openbmc/linux/net/sched/
H A Dact_connmark.c104 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 Dact_pedit.c164 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()