Searched refs:CIFS_CACHE_READ_FLG (Results 1 – 3 of 3) sorted by relevance
1274 #define CIFS_CACHE_READ_FLG 1 macro1276 #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)
526 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()
2401 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()