Home
last modified time | relevance | path

Searched refs:oparms (Results 1 – 17 of 17) 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
985 struct cifs_open_parms oparms; in smb2_mkdir() local
990 name, &oparms, NULL, in smb2_mkdir()
1000 struct cifs_open_parms oparms; in smb2_mkdir_setinfo() local
1017 &oparms, &in_iov, in smb2_mkdir_setinfo()
1028 struct cifs_open_parms oparms; in smb2_rmdir() local
1034 name, &oparms, NULL, in smb2_rmdir()
1043 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.c2436 if (!oparms->replay) { in create_durable_v2_buf()
2504 oparms->reconnect = false; in add_durable_reconnect_v2_context()
2521 if (oparms->reconnect) in add_durable_context()
2523 oparms); in add_durable_context()
2528 if (oparms->reconnect) { in add_durable_context()
2531 oparms->reconnect = false; in add_durable_context()
3096 if ((oparms->disposition != FILE_OPEN) && (oparms->cifs_sb)) { in SMB2_open_init()
3209 oparms->create_options, oparms->desired_access); in SMB2_open()
3228 oparms->create_options, oparms->desired_access, rc); in SMB2_open()
3239 oparms->create_options, oparms->desired_access); in SMB2_open()
[all …]
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
1518 struct cifs_open_parms oparms; in smb2_ioctl_query_info() local
2179 struct cifs_open_parms oparms; in smb3_notify() local
2267 struct cifs_open_parms oparms; in smb2_query_dir_first() local
2643 struct cifs_open_parms oparms; in smb2_query_info_compound() local
2828 struct cifs_open_parms oparms; in smb311_queryfs() local
3038 struct cifs_open_parms oparms; in get_smb2_acl_by_path() local
[all …]
H A Dsmb2proto.h116 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
149 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
157 __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()
1593 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local
1616 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete()
1626 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
2183 struct cifs_open_parms oparms; local
2218 oparms = (struct cifs_open_parms) {
2229 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()