Home
last modified time | relevance | path

Searched refs:oplocks (Results 1 – 8 of 8) sorted by relevance

/linux/Documentation/admin-guide/cifs/
H A Dintroduction.rst28 high performance safe distributed caching (leases/oplocks), optional packet
H A Dusage.rst662 support oplocks and the user is sure that the only updates to
862 1. enable_oplocks Enable or disable oplocks. Oplocks are enabled by default.
/linux/fs/smb/client/
H A Dsmb2ops.c47 server->oplocks = false; in change_conf()
51 server->oplocks = false; in change_conf()
57 server->oplocks = true; in change_conf()
60 server->oplocks = false; in change_conf()
119 * echoes and oplocks. We expect this to happen at the end of the final in smb2_add_credits()
134 server->oplocks) { in smb2_add_credits()
180 cifs_server_dbg(VFS, "disabling echoes and oplocks\n"); in smb2_add_credits()
183 cifs_dbg(FYI, "disabling oplocks\n"); in smb2_add_credits()
5618 __u32 oplock = server->oplocks ? REQ_OPLOCK : 0; in __cifs_sfu_make_node()
H A Ddir.c221 if (tcon->ses->server->oplocks)
H A Dcifsglob.h727 bool oplocks:1; /* enable oplocks */
2113 extern bool enable_oplocks; /* enable or disable oplocks */
725 bool oplocks:1; /* enable oplocks */ global() member
H A Dfile.c1144 if (server->oplocks) in cifs_open()
1327 if (tcon->ses->server->oplocks) in cifs_reopen_file()
H A Dinode.c590 if (tcon->ses->server->oplocks) in cifs_sfu_type()
H A Dsmb2pdu.c1586 /* enough to enable echos and oplocks and one max size write */ in SMB2_sess_alloc_buffer()
3196 if ((!server->oplocks) || (tcon->no_lease)) in SMB2_open_init()