Home
last modified time | relevance | path

Searched refs:CIFS_CACHE_READ_FLG (Results 1 – 3 of 3) sorted by relevance

/linux-4.19.296/fs/cifs/
Dcifsglob.h1274 #define CIFS_CACHE_READ_FLG 1 macro
1276 #define CIFS_CACHE_RH_FLG (CIFS_CACHE_READ_FLG | CIFS_CACHE_HANDLE_FLG)
1278 #define CIFS_CACHE_RW_FLG (CIFS_CACHE_READ_FLG | CIFS_CACHE_WRITE_FLG)
1281 #define CIFS_CACHE_READ(cinode) (cinode->oplock & CIFS_CACHE_READ_FLG)
Dmisc.c526 cinode->oplock = CIFS_CACHE_WRITE_FLG | CIFS_CACHE_READ_FLG; in cifs_set_oplock_level()
530 cinode->oplock = CIFS_CACHE_READ_FLG; in cifs_set_oplock_level()
Dsmb2ops.c2401 if ((old_state & CIFS_CACHE_READ_FLG) != 0 && in smb3_downgrade_oplock()
2402 (new_state & CIFS_CACHE_READ_FLG) == 0) in smb3_downgrade_oplock()
2424 cinode->oplock = CIFS_CACHE_READ_FLG; in smb2_set_oplock_level()
2448 new_oplock |= CIFS_CACHE_READ_FLG; in smb21_set_oplock_level()
2477 if (old_oplock == CIFS_CACHE_READ_FLG) { in smb3_set_oplock_level()
2478 if (cinode->oplock == CIFS_CACHE_READ_FLG && in smb3_set_oplock_level()