Lines Matching refs:availNVSpace
1663 UINT32 availNVSpace; in NvCapGetPersistentAvail() local
1668 availNVSpace = NvGetFreeBytes(); in NvCapGetPersistentAvail()
1674 if(reserved > availNVSpace) in NvCapGetPersistentAvail()
1675 availNVSpace = 0; in NvCapGetPersistentAvail()
1677 availNVSpace -= reserved; in NvCapGetPersistentAvail()
1679 return availNVSpace / NV_EVICT_OBJECT_SIZE; in NvCapGetPersistentAvail()
1813 UINT32 availNVSpace; in NvCapGetCounterAvail() local
1819 availNVSpace = NvGetFreeBytes(); in NvCapGetCounterAvail()
1825 if(reserved > availNVSpace) in NvCapGetCounterAvail()
1826 availNVSpace = 0; in NvCapGetCounterAvail()
1828 availNVSpace -= reserved; in NvCapGetCounterAvail()
1834 if(availNVSpace / NV_INDEX_COUNTER_SIZE in NvCapGetCounterAvail()
1838 return availNVSpace / NV_INDEX_COUNTER_SIZE; in NvCapGetCounterAvail()