Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dsmb2inode.c216 struct cifs_open_parms *oparms, struct kvec *in_iov, in smb2_compound_op() argument
296 vars->oparms = *oparms; in smb2_compound_op()
297 vars->oparms.fid = &fid; in smb2_compound_op()
302 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
599 rc = smb2_parse_contexts(server, &rsp_iov[0], &oparms->fid->epoch, in smb2_compound_op()
600 oparms->fid->lease_key, &oplock, &idata->fi, NULL); in smb2_compound_op()
875 struct cifs_open_parms oparms; in smb2_query_path_info() local
926 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, FILE_READ_ATTRIBUTES, in smb2_query_path_info()
929 &oparms, in_iov, cmds, num_cmds, in smb2_query_path_info()
966 oparms = CIFS_OPARMS(cifs_sb, tcon, full_path, MAXIMUM_ALLOWED, in smb2_query_path_info()
[all …]
H A Dlink.c234 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local
239 oparms = (struct cifs_open_parms) { in cifs_query_mf_symlink()
249 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &query_data); in cifs_query_mf_symlink()
279 struct cifs_open_parms oparms; in cifs_create_mf_symlink() local
282 oparms = (struct cifs_open_parms) { in cifs_create_mf_symlink()
292 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink()
318 struct cifs_open_parms oparms; in smb3_query_mf_symlink() local
325 oparms = (struct cifs_open_parms) { in smb3_query_mf_symlink()
339 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, &data, NULL, in smb3_query_mf_symlink()
372 struct cifs_open_parms oparms; in smb3_create_mf_symlink() local
[all …]
H A Dsmb2pdu.c2553 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument
2555 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf()
2576 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf()
2580 if (!oparms->replay) { in create_durable_v2_buf()
2628 struct cifs_open_parms *oparms) in add_durable_v2_context() argument
2632 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context()
2642 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context() argument
2647 oparms->reconnect = false; in add_durable_reconnect_v2_context()
2649 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
2659 struct cifs_open_parms *oparms, boo in add_durable_context() argument
2888 add_ea_context(struct cifs_open_parms * oparms,struct kvec * rq_iov,unsigned int * num_iovs) add_ea_context() argument
3137 SMB2_open_init(struct cifs_tcon * tcon,struct TCP_Server_Info * server,struct smb_rqst * rqst,__u8 * oplock,struct cifs_open_parms * oparms,__le16 * path) SMB2_open_init() argument
3317 SMB2_open(const unsigned int xid,struct cifs_open_parms * oparms,__le16 * path,__u8 * oplock,struct cifs_open_info_data * buf,struct create_posix_rsp * posix,struct kvec * err_iov,int * buftype) SMB2_open() argument
[all...]
H A Dcached_dir.c142 struct cifs_open_parms oparms; in open_cached_dir() local
274 oparms = (struct cifs_open_parms) { in open_cached_dir()
287 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
346 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir()
347 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir()
349 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir()
366 &oparms.fid->epoch, in open_cached_dir()
367 oparms.fid->lease_key, in open_cached_dir()
H A Dsmb2ops.c889 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
893 oparms = (struct cifs_open_parms) { in smb3_qfs_tcon()
906 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon()
934 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
937 oparms = (struct cifs_open_parms) { in smb2_qfs_tcon()
946 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon()
965 struct cifs_open_parms oparms; in smb2_is_path_accessible() local
982 oparms = (struct cifs_open_parms) { in smb2_is_path_accessible()
991 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
1205 struct cifs_open_parms oparms; in smb2_set_ea() local
1606 struct cifs_open_parms oparms; smb2_ioctl_query_info() local
2504 struct cifs_open_parms oparms; smb3_notify() local
2592 struct cifs_open_parms oparms; smb2_query_dir_first() local
2969 struct cifs_open_parms oparms; smb2_query_info_compound() local
3158 struct cifs_open_parms oparms; smb311_queryfs() local
3373 struct cifs_open_parms oparms; get_smb2_acl_by_path() local
3439 struct cifs_open_parms oparms; set_smb2_acl() local
5535 struct cifs_open_parms oparms; __cifs_sfu_make_node() local
[all...]
H A Dreparse.c279 struct cifs_open_parms oparms; in detect_directory_symlink_target() local
352 oparms = CIFS_OPARMS(cifs_sb, tcon, resolved_path, in detect_directory_symlink_target()
354 oparms.fid = &fid; in detect_directory_symlink_target()
358 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target()
360 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
377 oparms.create_options = cifs_create_options(cifs_sb, in detect_directory_symlink_target()
379 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target()
H A Dsmb2proto.h110 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms,
138 int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
144 struct cifs_open_parms *oparms, __le16 *path);
H A Dcifsacl.c1623 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local
1631 oparms = (struct cifs_open_parms) { in get_cifs_acl_by_path()
1642 oparms.desired_access |= SYSTEM_SECURITY; in get_cifs_acl_by_path()
1644 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path()
1688 struct cifs_open_parms oparms; in set_cifs_acl() local
1703 oparms = (struct cifs_open_parms) { in set_cifs_acl()
1713 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
H A Dfile.c562 struct cifs_open_parms oparms; in cifs_nt_open() local
603 oparms = (struct cifs_open_parms) { in cifs_nt_open()
613 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
1290 struct cifs_open_parms oparms; in cifs_reopen_file()
1345 oparms.reconnect = true; in cifs_reopen_file()
1367 oparms = (struct cifs_open_parms) { in cifs_reopen_file()
1385 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1386 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file()
1388 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1390 oparms in cifs_reopen_file()
1287 struct cifs_open_parms oparms; cifs_reopen_file() local
[all...]
H A Dinode.c547 struct cifs_open_parms oparms; in cifs_sfu_type()
576 oparms = (struct cifs_open_parms) { in cifs_sfu_type()
590 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type()
1824 struct cifs_open_parms oparms; in cifs_rename_pending_delete()
1847 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete()
1857 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
2465 struct cifs_open_parms oparms;
2509 oparms = (struct cifs_open_parms) {
2520 rc = CIFS_open(xid, &oparms, &oplock, NULL);
545 struct cifs_open_parms oparms; cifs_sfu_type() local
1822 struct cifs_open_parms oparms; cifs_rename_pending_delete() local
2463 struct cifs_open_parms oparms; global() local
H A Ddir.c213 struct cifs_open_parms oparms; local
366 oparms = (struct cifs_open_parms) {
377 rc = server->ops->open(xid, &oparms, oplock, buf);
H A Dcifssmb.c1345 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument
1354 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open()
1355 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open()
1358 int create_options = oparms->create_options; in CIFS_open()
1359 int desired_access = oparms->desired_access; in CIFS_open()
1360 int disposition = oparms->disposition; in CIFS_open()
1361 const char *path = oparms->path; in CIFS_open()
1444 oparms->fid->netfid = rsp->Fid; in CIFS_open()
1445 oparms->fid->access = desired_access; in CIFS_open()
2990 struct cifs_open_parms oparms; in cifs_query_reparse_point() local
[all …]
H A Dcifsglob.h474 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
2258 struct cifs_open_parms oparms; member
/linux/net/sched/
H A Dact_connmark.c104 struct tcf_connmark_parms *nparms, *oparms; in tcf_connmark_init() local
174 oparms = rcu_replace_pointer(ci->parms, nparms, lockdep_is_held(&ci->tcf_lock)); in tcf_connmark_init()
180 if (oparms) in tcf_connmark_init()
181 kfree_rcu(oparms, rcu); in tcf_connmark_init()
H A Dact_pedit.c167 struct tcf_pedit_parms *oparms, *nparms; in tcf_pedit_init() local
279 oparms = rcu_replace_pointer(p->parms, nparms, 1); in tcf_pedit_init()
282 if (oparms) in tcf_pedit_init()
283 call_rcu(&oparms->rcu, tcf_pedit_cleanup_rcu); in tcf_pedit_init()