Lines Matching refs:oplock
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
841 rc = CIFS_open(xid, &oparms, &oplock, NULL); in smb_set_file_info()
1011 cifs_is_read_op(__u32 oplock) in cifs_is_read_op() argument
1013 return oplock == OPLOCK_READ; in cifs_is_read_op()
1047 __u32 oplock = 0; in cifs_make_node() local
1111 oplock = REQ_OPLOCK; in cifs_make_node()
1113 oplock = 0; in cifs_make_node()
1114 rc = tcon->ses->server->ops->open(xid, &oparms, &oplock, &buf); in cifs_make_node()