Home
last modified time | relevance | path

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

/linux-6.15/fs/smb/client/
H A Dsmb2file.c153 struct cifs_fid *fid = oparms->fid; in smb2_open_file()
157 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file()
168 !(oparms->desired_access & GENERIC_READ) && in smb2_open_file()
170 !(oparms->desired_access & GENERIC_ALL) && in smb2_open_file()
172 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file()
191 oparms->path, in smb2_open_file()
203 directory, oparms->cifs_sb); in smb2_open_file()
211 if (oparms->tcon->use_resilient) { in smb2_open_file()
214 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file()
223 oparms->tcon->use_resilient = false; in smb2_open_file()
[all …]
H A Dsmb2inode.c252 vars->oparms = *oparms; in smb2_compound_op()
253 vars->oparms.fid = &fid; in smb2_compound_op()
943 struct cifs_open_parms oparms; in smb2_query_path_info() local
1115 struct cifs_open_parms oparms; in smb2_mkdir() local
1120 name, &oparms, NULL, in smb2_mkdir()
1130 struct cifs_open_parms oparms; in smb2_mkdir_setinfo() local
1147 &oparms, &in_iov, in smb2_mkdir_setinfo()
1158 struct cifs_open_parms oparms; in smb2_rmdir() local
1164 name, &oparms, NULL, in smb2_rmdir()
1173 struct cifs_open_parms oparms; in smb2_unlink() local
[all …]
H A Dlink.c258 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local
263 oparms = (struct cifs_open_parms) { in cifs_query_mf_symlink()
303 struct cifs_open_parms oparms; in cifs_create_mf_symlink() local
306 oparms = (struct cifs_open_parms) { in cifs_create_mf_symlink()
316 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink()
342 struct cifs_open_parms oparms; in smb3_query_mf_symlink() local
349 oparms = (struct cifs_open_parms) { in smb3_query_mf_symlink()
371 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
405 struct cifs_open_parms oparms; in smb3_create_mf_symlink() local
417 oparms = (struct cifs_open_parms) { in smb3_create_mf_symlink()
[all …]
H A Dcached_dir.c140 struct cifs_open_parms oparms; in open_cached_dir() local
250 oparms = (struct cifs_open_parms) { in open_cached_dir()
262 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
303 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir()
304 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir()
306 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir()
317 &oparms.fid->epoch, in open_cached_dir()
318 oparms.fid->lease_key, in open_cached_dir()
H A Dsmb1ops.c831 rc = SMBLegacyOpen(xid, oparms->tcon, oparms->path, in cifs_open_file()
832 oparms->disposition, in cifs_open_file()
833 oparms->desired_access, in cifs_open_file()
834 oparms->create_options, in cifs_open_file()
835 &oparms->fid->netfid, oplock, &fi, in cifs_open_file()
836 oparms->cifs_sb->local_nls, in cifs_open_file()
837 cifs_remap(oparms->cifs_sb)); in cifs_open_file()
839 rc = CIFS_open(xid, oparms, oplock, &fi); in cifs_open_file()
897 struct cifs_open_parms oparms; in smb_set_file_info() local
971 oparms = (struct cifs_open_parms) { in smb_set_file_info()
[all …]
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()
3097 if ((oparms->disposition != FILE_OPEN) && (oparms->cifs_sb)) { in SMB2_open_init()
3210 oparms->create_options, oparms->desired_access); in SMB2_open()
3229 oparms->create_options, oparms->desired_access, rc); in SMB2_open()
3240 oparms->create_options, oparms->desired_access); in SMB2_open()
[all …]
H A Dsmb2ops.c857 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
902 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
933 struct cifs_open_parms oparms; in smb2_is_path_accessible() local
1166 struct cifs_open_parms oparms; in smb2_set_ea() local
1565 struct cifs_open_parms oparms; in smb2_ioctl_query_info() local
2245 struct cifs_open_parms oparms; in smb3_notify() local
2333 struct cifs_open_parms oparms; in smb2_query_dir_first() local
2678 struct cifs_open_parms oparms; in smb2_query_info_compound() local
2863 struct cifs_open_parms oparms; in smb311_queryfs() local
3082 struct cifs_open_parms oparms; in get_smb2_acl_by_path() local
[all …]
H A Dreparse.c250 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 Dsmb2proto.h123 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 Dcifsacl.c1450 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local
1458 oparms = (struct cifs_open_parms) { in get_cifs_acl_by_path()
1469 oparms.desired_access |= SYSTEM_SECURITY; in get_cifs_acl_by_path()
1471 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
1515 struct cifs_open_parms oparms; in set_cifs_acl() local
1530 oparms = (struct cifs_open_parms) { in set_cifs_acl()
1540 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
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 Dfile.c537 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()
1166 struct cifs_open_parms oparms; in cifs_reopen_file() local
1221 oparms.reconnect = true; in cifs_reopen_file()
1248 oparms = (struct cifs_open_parms) { in cifs_reopen_file()
1266 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1267 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file()
1269 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1271 oparms.reconnect = true; in cifs_reopen_file()
[all …]
H A Dinode.c530 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()
1796 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local
1819 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete()
1829 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
2387 struct cifs_open_parms oparms; local
2429 oparms = (struct cifs_open_parms) {
2440 rc = CIFS_open(xid, &oparms, &oplock, NULL);
H A Dcifssmb.c1186 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open()
1189 int create_options = oparms->create_options; in CIFS_open()
1190 int desired_access = oparms->desired_access; in CIFS_open()
1191 int disposition = oparms->disposition; in CIFS_open()
1192 const char *path = oparms->path; in CIFS_open()
1273 oparms->fid->netfid = rsp->Fid; in CIFS_open()
1274 oparms->fid->access = desired_access; in CIFS_open()
2716 struct cifs_open_parms oparms; in cifs_query_reparse_point() local
2734 oparms = (struct cifs_open_parms) { in cifs_query_reparse_point()
5367 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local
[all …]
H A Dcifsglob.h475 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
2325 struct cifs_open_parms oparms; member
H A Dcifsproto.h488 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
/linux-6.15/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()