/openbmc/linux/fs/smb/client/ |
H A D | smb2file.c | 98 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, void *buf) in smb2_open_file() argument 108 struct cifs_fid *fid = oparms->fid; in smb2_open_file() 111 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file() 115 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file() 118 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, &err_iov, in smb2_open_file() 126 rc = smb2_parse_symlink_response(oparms->cifs_sb, &err_iov, in smb2_open_file() 127 oparms->path, in smb2_open_file() 131 oparms->create_options |= OPEN_REPARSE_POINT; in smb2_open_file() 132 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, in smb2_open_file() 134 oparms->create_options &= ~OPEN_REPARSE_POINT; in smb2_open_file() [all …]
|
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() 907 struct cifs_open_parms oparms; in smb2_query_path_info() local 958 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, FILE_READ_ATTRIBUTES, in smb2_query_path_info() 961 &oparms, in_iov, cmds, num_cmds, in smb2_query_path_info() 993 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, in smb2_query_path_info() 1001 &oparms, in_iov, cmds, num_cmds, in smb2_query_path_info() 1037 struct cifs_open_parms oparms; in smb2_mkdir() local [all …]
|
H A D | link.c | 257 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() 370 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink() 404 struct cifs_open_parms oparms; in smb3_create_mf_symlink() local [all …]
|
H A 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 …]
|
H A D | smb2pdu.c | 2420 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument 2422 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf() 2443 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf() 2447 if (!oparms->replay) { in create_durable_v2_buf() 2496 struct cifs_open_parms *oparms) in add_durable_v2_context() argument 2500 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context() 2510 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument 2515 oparms->reconnect = false; in add_durable_reconnect_v2_context() 2517 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context() 2527 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 254 oparms = (struct cifs_open_parms) { in open_cached_dir() 266 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir() 307 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir() 308 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir() 310 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir() 321 &oparms.fid->epoch, in open_cached_dir() 322 oparms.fid->lease_key, in open_cached_dir()
|
H A D | smb2ops.c | 813 struct cifs_open_parms oparms; in smb3_qfs_tcon() local 817 oparms = (struct cifs_open_parms) { in smb3_qfs_tcon() 830 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 858 struct cifs_open_parms oparms; in smb2_qfs_tcon() local 861 oparms = (struct cifs_open_parms) { in smb2_qfs_tcon() 870 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon() 889 struct cifs_open_parms oparms; in smb2_is_path_accessible() local 909 oparms = (struct cifs_open_parms) { in smb2_is_path_accessible() 918 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible() 1121 struct cifs_open_parms oparms; in smb2_set_ea() local [all …]
|
H A D | reparse.c | 114 struct cifs_open_parms oparms; in detect_directory_symlink_target() local 187 oparms = CIFS_OPARMS(cifs_sb, tcon, resolved_path, in detect_directory_symlink_target() 189 oparms.fid = &fid; in detect_directory_symlink_target() 193 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target() 195 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target() 212 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target() 214 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
|
H A D | smb2proto.h | 122 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 155 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, 163 __u8 *oplock, struct cifs_open_parms *oparms,
|
H A D | cifsacl.c | 1431 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local 1439 oparms = (struct cifs_open_parms) { in get_cifs_acl_by_path() 1450 oparms.desired_access |= SYSTEM_SECURITY; in get_cifs_acl_by_path() 1452 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() 1496 struct cifs_open_parms oparms; in set_cifs_acl() local 1511 oparms = (struct cifs_open_parms) { in set_cifs_acl() 1521 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
|
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 | 513 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() 1686 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local 1709 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete() 1719 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete() 2276 struct cifs_open_parms oparms; local 2311 oparms = (struct cifs_open_parms) { 2322 rc = CIFS_open(xid, &oparms, &oplock, NULL);
|
H A 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() 2704 struct cifs_open_parms oparms; in cifs_query_reparse_point() local [all …]
|
H A D | file.c | 350 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 D | cifsglob.h | 440 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 2322 struct cifs_open_parms oparms; member
|
H A D | cifsproto.h | 485 extern int CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms,
|
/openbmc/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()
|