/openbmc/linux/fs/smb/client/ |
H A D | smb2ops.c | 811 u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb3_qfs_tcon() local 829 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb3_qfs_tcon() 856 u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_qfs_tcon() local 869 rc = SMB2_open(xid, &oparms, &srch_path, &oplock, NULL, NULL, in smb2_qfs_tcon() 886 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_is_path_accessible() local 917 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible() 1121 __u8 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_set_ea() local 1133 oplock = SMB2_OPLOCK_LEVEL_NONE; in smb2_set_ea() 1213 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea() 1399 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 | 124 int smb2_open_file(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 158 __le16 *path, __u8 *oplock, 165 __u8 *oplock, struct cifs_open_parms *oparms, 289 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 | 325 struct cifsInodeInfo *cinode, __u32 oplock, 440 int (*open)(const unsigned int xid, struct cifs_open_parms *oparms, __u32 *oplock, 525 char * (*create_lease_buf)(u8 *lease_key, u8 oplock); 1347 __u32 oplock; member 1564 #define CIFS_CACHE_READ(cinode) ((cinode->oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->netfs.i… 1565 #define CIFS_CACHE_HANDLE(cinode) (cinode->oplock & CIFS_CACHE_HANDLE_FLG) 1566 #define CIFS_CACHE_WRITE(cinode) ((cinode->oplock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->netfs… 1586 unsigned int oplock; /* oplock/lease level we have */ member
|
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, 484 int *oplock, FILE_ALL_INFO *buf);
|
H A D | inode.c | 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() 1683 int oplock = 0; in cifs_rename_pending_delete() local 1719 rc = CIFS_open(xid, &oparms, &oplock, NULL); in cifs_rename_pending_delete() 2050 u32 oplock = 0; local 2063 NULL /* netfid */, info, &oplock, full_path, 2277 int oplock; local 2322 rc = CIFS_open(xid, &oparms, &oplock, NULL);
|
H A D | smb2pdu.c | 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 == SMB2_OPLOCK_LEVEL_NONE) in SMB2_open_init() 3076 req->RequestedOplockLevel = *oplock; in SMB2_open_init() [all …]
|
H A D | smb2inode.c | 185 __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 | 1417 int oplock = 0; in get_cifs_acl_by_path() local 1441 rc = CIFS_open(xid, &oparms, &oplock, NULL); in get_cifs_acl_by_path() 1478 int oplock = 0; in set_cifs_acl() local 1508 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...] |