Home
last modified time | relevance | path

Searched refs:rdwr_for_fscache (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/fs/smb/client/
Ddir.c192 int rdwr_for_fscache = 0; local
206 rdwr_for_fscache = 1;
284 if (rdwr_for_fscache == 1)
328 if (rc == -EACCES && rdwr_for_fscache == 1) {
330 rdwr_for_fscache = 2;
335 if (rdwr_for_fscache == 2)
Dfile.c394 static inline int cifs_convert_flags(unsigned int flags, int rdwr_for_fscache) in cifs_convert_flags() argument
399 return rdwr_for_fscache == 1 ? (GENERIC_READ | GENERIC_WRITE) : GENERIC_WRITE; in cifs_convert_flags()
536 int rdwr_for_fscache = 0; in cifs_nt_open() local
543 rdwr_for_fscache = 1; in cifs_nt_open()
545 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open()
595 if (rc == -EACCES && rdwr_for_fscache == 1) { in cifs_nt_open()
597 rdwr_for_fscache = 2; in cifs_nt_open()
602 if (rdwr_for_fscache == 2) in cifs_nt_open()
1156 int rdwr_for_fscache = 0; in cifs_reopen_file() local
1222 rdwr_for_fscache = 1; in cifs_reopen_file()
[all …]