Searched refs:share_ret (Results 1 – 3 of 3) sorted by relevance
97 struct lease_ctx_info *lctx, int share_ret);
1095 struct lease_ctx_info *lctx, int share_ret) in smb_grant_oplock() argument1153 if (share_ret < 0 && in smb_grant_oplock()1155 err = share_ret; in smb_grant_oplock()1176 if (share_ret < 0) { in smb_grant_oplock()1177 err = share_ret; in smb_grant_oplock()
2529 int share_ret, need_truncate = 0; in smb2_open() local3057 share_ret = ksmbd_smb_check_shared_mode(fp->filp, fp); in smb2_open()3061 if (share_ret < 0 && !S_ISDIR(file_inode(fp->filp)->i_mode)) { in smb2_open()3062 rc = share_ret; in smb2_open()3082 lc, share_ret); in smb2_open()