/openbmc/linux/fs/smb/client/ |
H A D | smb2ops.c | 812 u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb3_qfs_tcon() local 830 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 857 u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_qfs_tcon() local 870 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon() 887 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_is_path_accessible() local 918 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible() 1122 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_set_ea() local 1134 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_set_ea() 1214 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea() 1400 smb2_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in smb2_set_fid() argument [all …]
|
H A D | dir.c | 178 struct tcon_link *tlink, unsigned int oflags, umode_t mode, __u32 *oplock, argument 194 *oplock = 0; 196 *oplock = REQ_OPLOCK; 213 oflags, oplock, &fid->netfid, xid); 325 rc = server->ops->open(xid, &oparms, oplock, buf); 343 if ((tcon->unix_ext) && (*oplock & CIFS_CREATE_ACTION)) { 388 if ((*oplock & CIFS_CREATE_ACTION) && S_ISREG(newinode->i_mode)) { 443 __u32 oplock; local 503 &oplock, &fid, &buf); 528 file_info = cifs_new_fileinfo(&fid, file, tlink, oplock, buf.symlink_target); [all …]
|
H A D | link.c | 255 int oplock = 0; in cifs_query_mf_symlink() local 272 rc = CIFS_open(xid, &oparms, &oplock, &file_info); in cifs_query_mf_symlink() 300 int oplock = 0; in cifs_create_mf_symlink() local 315 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_create_mf_symlink() 345 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb3_query_mf_symlink() local 370 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink() 407 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb3_create_mf_symlink() local 427 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
|
H A D | smb1ops.c | 379 struct cifsInodeInfo *cinode, __u32 oplock, in cifs_downgrade_oplock() argument 382 cifs_set_oplock_level(cinode, oplock); in cifs_downgrade_oplock() 573 int oplock = 0; in cifs_query_path_info() local 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 735 &oparms->fid->netfid, oplock, &fi, in cifs_open_file() 739 rc = CIFS_open(xid, oparms, oplock, &fi); in cifs_open_file() 748 cifs_set_fid(struct cifsFileInfo *cfile, struct cifs_fid *fid, __u32 oplock) in cifs_set_fid() argument 752 cifs_set_oplock_level(cinode, oplock); in cifs_set_fid() 793 int oplock = 0; in smb_set_file_info() local [all …]
|
H A D | file.c | 342 struct cifs_tcon *tcon, unsigned int f_flags, __u32 *oplock, in cifs_nt_open() argument 408 rc = server->ops->open(xid, &oparms, oplock, buf); in cifs_nt_open() 465 struct tcon_link *tlink, __u32 oplock, in cifs_new_fileinfo() argument 520 if (server->ops->is_read_op(oplock) && cifs_has_mand_locks(cinode)) { in cifs_new_fileinfo() 522 oplock = 0; in cifs_new_fileinfo() 530 if (fid->pending_open->oplock != CIFS_OPLOCK_NO_CHANGE && oplock) in cifs_new_fileinfo() 531 oplock = fid->pending_open->oplock; in cifs_new_fileinfo() 535 server->ops->set_fid(cfile, fid, oplock); in cifs_new_fileinfo() 760 __u32 oplock; in cifs_open() local 822 oplock = REQ_OPLOCK; in cifs_open() [all …]
|
H A D | misc.c | 559 void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock) in cifs_set_oplock_level() argument 561 oplock &= 0xF; in cifs_set_oplock_level() 563 if (oplock == OPLOCK_EXCLUSIVE) { in cifs_set_oplock_level() 564 cinode->oplock = CIFS_CACHE_WRITE_FLG | CIFS_CACHE_READ_FLG; in cifs_set_oplock_level() 567 } else if (oplock == OPLOCK_READ) { in cifs_set_oplock_level() 568 cinode->oplock = CIFS_CACHE_READ_FLG; in cifs_set_oplock_level() 572 cinode->oplock = 0; in cifs_set_oplock_level() 675 open->oplock = CIFS_OPLOCK_NO_CHANGE; in cifs_add_pending_open_locked()
|
H A D | smb2proto.h | 122 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 156 __le16 *path, __u8 *oplock, 163 __u8 *oplock, struct cifs_open_parms *oparms, 287 char *lease_key, __u8 *oplock,
|
H A D | cached_dir.c | 157 u8 oplock = SMB2_OPLOCK_LEVEL_II; in open_cached_dir() local 178 oplock = SMB2_OPLOCK_LEVEL_II; in open_cached_dir() 266 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir() 323 &oplock, NULL, NULL); in open_cached_dir() 330 if (!(oplock & SMB2_LEASE_READ_CACHING_HE)) { in open_cached_dir()
|
H A D | reparse.c | 124 __u32 oplock; in detect_directory_symlink_target() local 192 oplock = 0; in detect_directory_symlink_target() 195 open_rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in detect_directory_symlink_target() 211 oplock = 0; 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 | cifsglob.h | 326 struct cifsInodeInfo *cinode, __u32 oplock, 441 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 484 /* send oplock break response */ 522 /* set oplock level for the inode */ 523 void (*set_oplock_level)(struct cifsInodeInfo *cinode, __u32 oplock, __u16 epoch, 526 char * (*create_lease_buf)(u8 *lease_key, u8 oplock); 527 /* parse lease context buffer and return oplock/epoch info */ 719 int oplock_credits; /* oplock break reserved slots */ 1349 __u32 oplock; 1451 __u32 oplock_level; /* oplock/leas 1347 __u32 oplock; global() member 1586 unsigned int oplock; /* oplock/lease level we have */ global() member [all...] |
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 180 *oplock = smb2_oplock; in smb2_open_file()
|
H A D | cifsproto.h | 183 extern void cifs_set_oplock_level(struct cifsInodeInfo *cinode, __u32 oplock); 193 struct tcon_link *tlink, __u32 oplock, 197 unsigned int f_flags, __u32 *oplock, __u16 *netfid, 486 int *oplock, FILE_ALL_INFO *buf);
|
H A D | inode.c | 97 /* don't bother with revalidation if we have an oplock */ in cifs_revalidate_cache() 509 __u32 oplock; in cifs_sfu_type() local 550 oplock = REQ_OPLOCK; in cifs_sfu_type() 552 oplock = 0; in cifs_sfu_type() 553 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, NULL); in cifs_sfu_type() 1696 int oplock = 0; in cifs_rename_pending_delete() 1732 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete() 2063 u32 oplock = 0; 2076 NULL /* netfid */, info, &oplock, full_path, 2290 int oplock; 1683 int oplock = 0; cifs_rename_pending_delete() local 2050 u32 oplock = 0; global() local 2277 int oplock; global() local [all...] |
H A D | smb2pdu.c | 270 * BB Should we keep oplock break and add flush to exceptions? in smb2_reconnect() 2326 char *lease_key, __u8 *oplock, in smb2_parse_contexts() argument 2342 *oplock = 0; in smb2_parse_contexts() 2369 *oplock = server->ops->parse_lease_buf(cc, epoch, in smb2_parse_contexts() 2397 *oplock = rsp->OplockLevel; in smb2_parse_contexts() 2406 unsigned int *num_iovec, u8 *lease_key, __u8 *oplock) in add_lease_context() argument 2410 iov[num].iov_base = server->ops->create_lease_buf(lease_key, *oplock); in add_lease_context() 2997 struct smb_rqst *rqst, __u8 *oplock, in SMB2_open_init() argument 3072 *oplock = SMB2_OPLOCK_LEVEL_NONE; in SMB2_open_init() 3075 *oplock in SMB2_open_init() 3180 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 D | smb2inode.c | 181 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_compound_op() local 204 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_compound_op() 246 oplock = SMB2_OPLOCK_LEVEL_LEASE; in smb2_compound_op() 257 &rqst[num_rqst], &oplock, &vars->oparms, in smb2_compound_op()
|
H A D | cifsacl.c | 1425 int oplock = 0; in get_cifs_acl_by_path() local 1452 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() 1489 int oplock = 0; in set_cifs_acl() local 1521 rc = CIFS_open(xid, &oparms, &oplock, NULL); in set_cifs_acl()
|
H A D | cifssmb.c | 1141 CIFS_open(const unsigned int xid, struct cifs_open_parms *oparms, int *oplock, in CIFS_open() argument 1185 if (*oplock & REQ_OPLOCK) in CIFS_open() 1187 else if (*oplock & REQ_BATCHOPLOCK) in CIFS_open() 1236 *oplock = rsp->OplockLevel; in CIFS_open() 1244 *oplock |= CIFS_CREATE_ACTION; in CIFS_open() 2711 int oplock = 0; in cifs_query_reparse_point() local 2730 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_query_reparse_point() 5295 int oplock = 0; in CIFSSMBSetPathInfoFB() local 5310 rc = CIFS_open(xid, &oparms, &oplock, NULL); in CIFSSMBSetPathInfoFB()
|
H A D | smb2misc.c | 602 open->oplock = lease_state; in smb2_tcon_find_pending_open_lease()
|
H A D | cifsfs.c | 1032 cinode->oplock = 0; in cifs_file_write_iter()
|
/openbmc/linux/fs/smb/server/ |
H A D | Makefile | 8 misc.o oplock.o connection.o ksmbd_work.o crypto_ctx.o \
|
H A D | Kconfig | 41 Secure negotiate, Pre-authentication integrity, oplock/lease,
|
/openbmc/linux/Documentation/filesystems/smb/ |
H A D | ksmbd.rst | 175 2. Enable one of components (smb, auth, vfs, oplock, ipc, conn, rdma) 180 [smb] auth vfs oplock ipc conn [rdma]
|
/openbmc/linux/Documentation/admin-guide/cifs/ |
H A D | usage.rst | 518 if oplock (caching token) is granted and held. Note that
|
/openbmc/linux/ |
H A D | opengrok1.0.log | [all...] |