Searched refs:oldPolicyMask (Results 1 – 1 of 1) sorted by relevance
1254 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskWritesMask() local1255 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_WRITE | DETECT_THREAD_DISK_READ); in allowThreadDiskWritesMask()1256 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskWritesMask()1259 return oldPolicyMask; in allowThreadDiskWritesMask()1278 int oldPolicyMask = getThreadPolicyMask(); in allowThreadDiskReadsMask() local1279 int newPolicyMask = oldPolicyMask & ~(DETECT_THREAD_DISK_READ); in allowThreadDiskReadsMask()1280 if (newPolicyMask != oldPolicyMask) { in allowThreadDiskReadsMask()1283 return oldPolicyMask; in allowThreadDiskReadsMask()