Home
last modified time | relevance | path

Searched refs:oparms (Results 1 - 25 of 30) sorted by relevance

12

/kernel/linux/linux-5.10/fs/cifs/
H A Dlink.c313 struct cifs_open_parms oparms; in cifs_query_mf_symlink() local
318 oparms.tcon = tcon; in cifs_query_mf_symlink()
319 oparms.cifs_sb = cifs_sb; in cifs_query_mf_symlink()
320 oparms.desired_access = GENERIC_READ; in cifs_query_mf_symlink()
321 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR); in cifs_query_mf_symlink()
322 oparms.disposition = FILE_OPEN; in cifs_query_mf_symlink()
323 oparms.path = path; in cifs_query_mf_symlink()
324 oparms.fid = &fid; in cifs_query_mf_symlink()
325 oparms.reconnect = false; in cifs_query_mf_symlink()
327 rc = CIFS_open(xid, &oparms, in cifs_query_mf_symlink()
357 struct cifs_open_parms oparms; cifs_create_mf_symlink() local
394 struct cifs_open_parms oparms; smb3_query_mf_symlink() local
455 struct cifs_open_parms oparms; smb3_create_mf_symlink() local
[all...]
H A Dsmb1ops.c564 struct cifs_open_parms oparms; in cifs_query_path_info() local
566 oparms.tcon = tcon; in cifs_query_path_info()
567 oparms.cifs_sb = cifs_sb; in cifs_query_path_info()
568 oparms.desired_access = FILE_READ_ATTRIBUTES; in cifs_query_path_info()
569 oparms.create_options = cifs_create_options(cifs_sb, 0); in cifs_query_path_info()
570 oparms.disposition = FILE_OPEN; in cifs_query_path_info()
571 oparms.path = full_path; in cifs_query_path_info()
572 oparms.fid = &fid; in cifs_query_path_info()
573 oparms.reconnect = false; in cifs_query_path_info()
576 tmprc = CIFS_open(xid, &oparms, in cifs_query_path_info()
697 cifs_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, FILE_ALL_INFO *buf) cifs_open_file() argument
761 struct cifs_open_parms oparms; smb_set_file_info() local
949 struct cifs_open_parms oparms; cifs_query_symlink() local
1038 struct cifs_open_parms oparms; cifs_make_node() local
[all...]
H A Dsmb2ops.c678 struct cifs_open_parms oparms; in open_shroot() local
727 oparms.tcon = tcon; in open_shroot()
728 oparms.create_options = cifs_create_options(cifs_sb, 0); in open_shroot()
729 oparms.desired_access = FILE_READ_ATTRIBUTES; in open_shroot()
730 oparms.disposition = FILE_OPEN; in open_shroot()
731 oparms.fid = pfid; in open_shroot()
732 oparms.reconnect = false; in open_shroot()
735 &rqst[0], &oplock, &oparms, &utf16_path); in open_shroot()
806 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_shroot()
807 oparms in open_shroot()
857 struct cifs_open_parms oparms; smb3_qfs_tcon() local
904 struct cifs_open_parms oparms; smb2_qfs_tcon() local
933 struct cifs_open_parms oparms; smb2_is_path_accessible() local
1148 struct cifs_open_parms oparms; smb2_set_ea() local
1528 struct cifs_open_parms oparms; smb2_ioctl_query_info() local
2179 struct cifs_open_parms oparms; smb3_notify() local
2244 struct cifs_open_parms oparms; smb2_query_dir_first() local
2521 struct cifs_open_parms oparms; smb2_query_info_compound() local
2641 struct cifs_open_parms oparms; smb311_queryfs() local
2902 struct cifs_open_parms oparms; smb2_query_symlink() local
3090 struct cifs_open_parms oparms; smb2_query_reparse_tag() local
3253 struct cifs_open_parms oparms; get_smb2_acl_by_path() local
3311 struct cifs_open_parms oparms; set_smb2_acl() local
5042 struct cifs_open_parms oparms; smb2_make_node() local
[all...]
H A Dsmb2file.c38 smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, in smb2_open_file() argument
45 struct cifs_fid *fid = oparms->fid; in smb2_open_file()
48 smb2_path = cifs_convert_path_to_utf16(oparms->path, oparms->cifs_sb); in smb2_open_file()
61 oparms->desired_access |= FILE_READ_ATTRIBUTES; in smb2_open_file()
64 rc = SMB2_open(xid, oparms, smb2_path, &smb2_oplock, smb2_data, NULL, in smb2_open_file()
70 if (oparms->tcon->use_resilient) { in smb2_open_file()
73 cpu_to_le32(oparms->tcon->handle_timeout); in smb2_open_file()
75 rc = SMB2_ioctl(xid, oparms->tcon, fid->persistent_fid, in smb2_open_file()
82 oparms in smb2_open_file()
[all...]
H A Dcifsacl.c1137 struct cifs_open_parms oparms; in get_cifs_acl_by_path() local
1145 oparms.tcon = tcon; in get_cifs_acl_by_path()
1146 oparms.cifs_sb = cifs_sb; in get_cifs_acl_by_path()
1147 oparms.desired_access = READ_CONTROL; in get_cifs_acl_by_path()
1148 oparms.create_options = cifs_create_options(cifs_sb, 0); in get_cifs_acl_by_path()
1149 oparms.disposition = FILE_OPEN; in get_cifs_acl_by_path()
1150 oparms.path = path; in get_cifs_acl_by_path()
1151 oparms.fid = &fid; in get_cifs_acl_by_path()
1152 oparms.reconnect = false; in get_cifs_acl_by_path()
1154 rc = CIFS_open(xid, &oparms, in get_cifs_acl_by_path()
1198 struct cifs_open_parms oparms; set_cifs_acl() local
[all...]
H A Ddir.c240 struct cifs_open_parms oparms; in cifs_do_create() local
358 oparms.tcon = tcon; in cifs_do_create()
359 oparms.cifs_sb = cifs_sb; in cifs_do_create()
360 oparms.desired_access = desired_access; in cifs_do_create()
361 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_do_create()
362 oparms.disposition = disposition; in cifs_do_create()
363 oparms.path = full_path; in cifs_do_create()
364 oparms.fid = fid; in cifs_do_create()
365 oparms.reconnect = false; in cifs_do_create()
366 oparms in cifs_do_create()
[all...]
H A Dinode.c450 struct cifs_open_parms oparms; local
476 oparms.tcon = tcon;
477 oparms.cifs_sb = cifs_sb;
478 oparms.desired_access = GENERIC_READ;
479 oparms.create_options = cifs_create_options(cifs_sb, CREATE_NOT_DIR);
480 oparms.disposition = FILE_OPEN;
481 oparms.path = path;
482 oparms.fid = &fid;
483 oparms.reconnect = false;
489 rc = tcon->ses->server->ops->open(xid, &oparms,
1465 struct cifs_open_parms oparms; global() local
2007 struct cifs_open_parms oparms; global() local
[all...]
H A Dsmb2inode.c51 struct cifs_open_parms oparms; member
111 vars->oparms.tcon = tcon; in smb2_compound_op()
112 vars->oparms.desired_access = desired_access; in smb2_compound_op()
113 vars->oparms.disposition = create_disposition; in smb2_compound_op()
114 vars->oparms.create_options = cifs_create_options(cifs_sb, create_options); in smb2_compound_op()
115 vars->oparms.fid = &fid; in smb2_compound_op()
116 vars->oparms.reconnect = false; in smb2_compound_op()
117 vars->oparms.mode = mode; in smb2_compound_op()
118 vars->oparms.cifs_sb = cifs_sb; in smb2_compound_op()
123 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
[all...]
H A Dsmb2pdu.c2077 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument
2079 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf()
2100 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf()
2148 struct cifs_open_parms *oparms) in add_durable_v2_context()
2153 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context()
2168 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context()
2174 oparms->reconnect = false; in add_durable_reconnect_v2_context()
2176 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
2192 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context()
2198 if (oparms in add_durable_context()
2147 add_durable_v2_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms) add_durable_v2_context() argument
2167 add_durable_reconnect_v2_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms) add_durable_reconnect_v2_context() argument
2191 add_durable_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms, bool use_persistent) add_durable_context() argument
2644 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
2838 SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, __le16 *path, __u8 *oplock, struct smb2_file_all_info *buf, struct create_posix_rsp *posix, struct kvec *err_iov, int *buftype) SMB2_open() argument
[all...]
H A Dsmb2proto.h120 struct cifs_open_parms *oparms,
145 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
153 __u8 *oplock, struct cifs_open_parms *oparms,
H A Dfile.c187 struct cifs_open_parms oparms; in cifs_nt_open() local
233 oparms.tcon = tcon; in cifs_nt_open()
234 oparms.cifs_sb = cifs_sb; in cifs_nt_open()
235 oparms.desired_access = desired_access; in cifs_nt_open()
236 oparms.create_options = cifs_create_options(cifs_sb, create_options); in cifs_nt_open()
237 oparms.disposition = disposition; in cifs_nt_open()
238 oparms.path = full_path; in cifs_nt_open()
239 oparms.fid = fid; in cifs_nt_open()
240 oparms.reconnect = false; in cifs_nt_open()
242 rc = server->ops->open(xid, &oparms, oploc in cifs_nt_open()
690 struct cifs_open_parms oparms; cifs_reopen_file() local
[all...]
H A Dcifssmb.c1321 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument
1330 struct cifs_sb_info *cifs_sb = oparms->cifs_sb; in CIFS_open()
1331 struct cifs_tcon *tcon = oparms->tcon; in CIFS_open()
1334 int create_options = oparms->create_options; in CIFS_open()
1335 int desired_access = oparms->desired_access; in CIFS_open()
1336 int disposition = oparms->disposition; in CIFS_open()
1337 const char *path = oparms->path; in CIFS_open()
1418 oparms->fid->netfid = rsp->Fid; in CIFS_open()
1419 oparms->fid->access = desired_access; in CIFS_open()
5818 struct cifs_open_parms oparms; in CIFSSMBSetPathInfoFB() local
[all...]
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsmb2file.c100 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 in smb2_open_file()
[all...]
H A Dlink.c269 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...]
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()
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 in cifs_open_file()
797 struct cifs_open_parms oparms; smb_set_file_info() local
1049 struct cifs_open_parms oparms; cifs_make_node() local
[all...]
H A Dcached_dir.c132 struct cifs_open_parms oparms; in open_cached_dir() local
232 oparms = (struct cifs_open_parms) { in open_cached_dir()
242 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
288 oparms.fid->persistent_fid = o_rsp->PersistentFileId; in open_cached_dir()
289 oparms.fid->volatile_fid = o_rsp->VolatileFileId; in open_cached_dir()
291 oparms.fid->mid = le64_to_cpu(o_rsp->hdr.MessageId); in open_cached_dir()
302 &oparms.fid->epoch, in open_cached_dir()
303 oparms.fid->lease_key, in open_cached_dir()
H A Dsmb2pdu.c2389 create_durable_v2_buf(struct cifs_open_parms *oparms) in create_durable_v2_buf() argument
2391 struct cifs_fid *pfid = oparms->fid; in create_durable_v2_buf()
2412 buf->dcontext.Timeout = cpu_to_le32(oparms->tcon->handle_timeout); in create_durable_v2_buf()
2460 struct cifs_open_parms *oparms) in add_durable_v2_context()
2464 iov[num].iov_base = create_durable_v2_buf(oparms); in add_durable_v2_context()
2474 struct cifs_open_parms *oparms) in add_durable_reconnect_v2_context()
2479 oparms->reconnect = false; in add_durable_reconnect_v2_context()
2481 iov[num].iov_base = create_reconnect_durable_v2_buf(oparms->fid); in add_durable_reconnect_v2_context()
2491 struct cifs_open_parms *oparms, bool use_persistent) in add_durable_context()
2496 if (oparms in add_durable_context()
2459 add_durable_v2_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms) add_durable_v2_context() argument
2473 add_durable_reconnect_v2_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms) add_durable_reconnect_v2_context() argument
2490 add_durable_context(struct kvec *iov, unsigned int *num_iovec, struct cifs_open_parms *oparms, bool use_persistent) add_durable_context() argument
2933 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
3115 SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms, __le16 *path, __u8 *oplock, struct smb2_file_all_info *buf, struct create_posix_rsp *posix, struct kvec *err_iov, int *buftype) SMB2_open() argument
[all...]
H A Dsmb2ops.c811 struct cifs_open_parms oparms; in smb3_qfs_tcon() local
815 oparms = (struct cifs_open_parms) { in smb3_qfs_tcon()
828 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon()
856 struct cifs_open_parms oparms; in smb2_qfs_tcon() local
859 oparms = (struct cifs_open_parms) { in smb2_qfs_tcon()
868 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon()
887 struct cifs_open_parms oparms; in smb2_is_path_accessible() local
907 oparms = (struct cifs_open_parms) { in smb2_is_path_accessible()
916 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
1119 struct cifs_open_parms oparms; in smb2_set_ea() local
1497 struct cifs_open_parms oparms; smb2_ioctl_query_info() local
2140 struct cifs_open_parms oparms; smb3_notify() local
2228 struct cifs_open_parms oparms; smb2_query_dir_first() local
2552 struct cifs_open_parms oparms; smb2_query_info_compound() local
2716 struct cifs_open_parms oparms; smb311_queryfs() local
3007 struct cifs_open_parms oparms; smb2_query_reparse_point() local
3175 struct cifs_open_parms oparms; get_smb2_acl_by_path() local
3241 struct cifs_open_parms oparms; set_smb2_acl() local
5116 struct cifs_open_parms oparms; smb2_make_node() local
[all...]
H A Dsmb2proto.h101 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock,
129 extern int SMB2_open(const unsigned int xid, struct cifs_open_parms *oparms,
137 __u8 *oplock, struct cifs_open_parms *oparms,
H A Ddir.c191 struct cifs_open_parms oparms; local
307 oparms = (struct cifs_open_parms) {
317 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()
1626 struct cifs_open_parms oparms; in cifs_rename_pending_delete() local
1649 oparms = (struct cifs_open_parms) { in cifs_rename_pending_delete()
1659 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete()
2210 struct cifs_open_parms oparms; local
2245 oparms = (struct cifs_open_parms) {
2256 rc = CIFS_open(xid, &oparms, &oplock, NULL);
H A Dfile.c350 struct cifs_open_parms oparms; in cifs_nt_open() local
392 oparms = (struct cifs_open_parms) { in cifs_nt_open()
402 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open()
905 struct cifs_open_parms oparms; in cifs_reopen_file() local
959 oparms.reconnect = true; in cifs_reopen_file()
981 oparms = (struct cifs_open_parms) { in cifs_reopen_file()
999 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1000 if (rc == -ENOENT && oparms.reconnect == false) { in cifs_reopen_file()
1002 rc = server->ops->open(xid, &oparms, &oplock, NULL); in cifs_reopen_file()
1004 oparms in cifs_reopen_file()
[all...]
/kernel/linux/linux-6.6/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()

Completed in 51 milliseconds

12