Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Ddir.c195 int rdwr_for_fscache = 0; local
210 rdwr_for_fscache = 1;
288 if (rdwr_for_fscache == 1)
356 if (rc == -EACCES && rdwr_for_fscache == 1) {
358 rdwr_for_fscache = 2;
363 if (rdwr_for_fscache == 2)
H A Dfile.c409 static inline int cifs_convert_flags(unsigned int flags, int rdwr_for_fscache) in cifs_convert_flags() argument
414 return rdwr_for_fscache == 1 ? (GENERIC_READ | GENERIC_WRITE) : GENERIC_WRITE; in cifs_convert_flags()
551 int rdwr_for_fscache = 0; in cifs_nt_open() local
558 rdwr_for_fscache = 1; in cifs_nt_open()
560 desired_access = cifs_convert_flags(f_flags, rdwr_for_fscache); in cifs_nt_open()
603 if (rc == -EACCES && rdwr_for_fscache == 1) { in cifs_nt_open()
605 rdwr_for_fscache = 2; in cifs_nt_open()
610 if (rdwr_for_fscache == 2) in cifs_nt_open()
1237 int rdwr_for_fscache = 0; in cifs_reopen_file() local
1303 rdwr_for_fscache = 1; in cifs_reopen_file()
[all …]