/Linux-v6.6/fs/smb/client/ |
D | smb2file.c | 100 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, void *buf) in smb2_open_file() argument 110 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() 120 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, &err_iov, 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() 133 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, 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() [all …]
|
D | smb1ops.c | 575 struct cifs_open_parms oparms; in cifs_query_path_info() local 582 oparms = (struct cifs_open_parms) { in cifs_query_path_info() 593 tmprc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_path_info() 723 static int cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, in cifs_open_file() argument 730 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_open_file() 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() [all …]
|
D | link.c | 269 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local 274 oparms = (struct cifs_open_parms) { in cifs_query_mf_symlink() 284 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() 314 struct cifs_open_parms oparms; in cifs_create_mf_symlink() local 317 oparms = (struct cifs_open_parms) { in cifs_create_mf_symlink() 327 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink() 353 struct cifs_open_parms oparms; in smb3_query_mf_symlink() local 360 oparms = (struct cifs_open_parms) { in smb3_query_mf_symlink() 382 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink() 416 struct cifs_open_parms oparms; in smb3_create_mf_symlink() local [all …]
|
D | cached_dir.c | 132 struct cifs_open_parms oparms; in open_cached_dir() local 222 oparms = (struct cifs_open_parms) { in open_cached_dir() 232 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir() 267 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir() 268 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir() 270 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir() 277 &oparms.fid->epoch, in open_cached_dir() 278 oparms.fid->lease_key, &oplock, in open_cached_dir()
|
D | smb2pdu.c | 2222 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2224 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2245 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2293 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2297 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2307 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2312 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2314 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2324 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context() argument 2329 if (oparms->reconnect) in add_durable_context() [all …]
|
D | smb2ops.c | 795 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 799 oparms = (struct cifs_open_parms) { in smb3_qfs_tcon() 812 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 840 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 843 oparms = (struct cifs_open_parms) { in smb2_qfs_tcon() 852 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon() 871 struct cifs_open_parms oparms; in smb2_is_path_accessible() local 891 oparms = (struct cifs_open_parms) { in smb2_is_path_accessible() 900 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible() 1103 struct cifs_open_parms oparms; in smb2_set_ea() local [all …]
|
D | smb2proto.h | 97 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 125 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 133 __u8 *oplock, struct cifs_open_parms *oparms,
|
D | dir.c | 191 struct cifs_open_parms oparms; local 307 oparms = (struct cifs_open_parms) { 317 rc = server->ops->open(xid, &oparms, oplock, buf);
|
D | cifsacl.c | 1423 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()
|
D | inode.c | 510 struct cifs_open_parms oparms; in cifs_sfu_type() local 536 oparms = (struct cifs_open_parms) { in cifs_sfu_type() 550 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type() 1569 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local 1592 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete() 1602 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete() 2153 struct cifs_open_parms oparms; local 2187 oparms = (struct cifs_open_parms) { 2198 rc = CIFS_open(xid, &oparms, &oplock, NULL);
|
D | file.c | 347 struct cifs_open_parms oparms; in cifs_nt_open() local 389 oparms = (struct cifs_open_parms) { in cifs_nt_open() 399 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() 902 struct cifs_open_parms oparms; in cifs_reopen_file() local 956 oparms.reconnect = true; in cifs_reopen_file() 978 oparms = (struct cifs_open_parms) { in cifs_reopen_file() 996 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file() 997 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file() 999 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file() 1001 oparms.reconnect = true; in cifs_reopen_file() [all …]
|
D | cifssmb.c | 1141 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1150 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open() 1151 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() 5322 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local [all …]
|
D | smb2inode.c | 96 vars->oparms = (struct cifs_open_parms) { in smb2_compound_op() 110 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
|
D | cifsglob.h | 401 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 2222 struct cifs_open_parms oparms; member
|
D | cifsproto.h | 465 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
/Linux-v6.6/net/sched/ |
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()
|
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()
|