Home
last modified time | relevance | path

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

/hardware/intel/common/libwsbm/src/
Dwsbm_ttmpool.c87 unsigned writers; member
236 unsigned int writers; in syncforcpu_locked() local
243 writers = dBuf->writers; in syncforcpu_locked()
248 if ((mode & WSBM_SYNCCPU_WRITE) && (++dBuf->writers == 1)) in syncforcpu_locked()
279 dBuf->writers = writers; in syncforcpu_locked()
300 if ((mode & WSBM_SYNCCPU_WRITE) && (--dBuf->writers == 0)) in releasefromcpu_locked()
Dwsbm_userpool.c83 struct _WsbmAtomic writers; member
282 while (wsbmAtomicRead(&vBuf->writers) != 0) in pool_validate()
470 if (wsbmAtomicDecZero(&vBuf->writers)) in pool_releaseFromCpu()
493 wsbmAtomicInc(&vBuf->writers); in pool_syncForCpu()
500 wsbmAtomicInc(&vBuf->writers); in pool_syncForCpu()
Dwsbm_slabpool.c99 struct _WsbmAtomic writers; /* (Only upping) */ member
488 wsbmAtomicSet(&sBuf->writers, 0); in wsbmAllocSlab()
772 wsbmAtomicSet(&sBuf->writers, 0); in pool_create()
831 wsbmAtomicSet(&sBuf->writers, 0); in pool_destroy()
902 if (wsbmAtomicDecZero(&sBuf->writers)) in pool_releaseFromCpu()
931 wsbmAtomicInc(&sBuf->writers); in pool_syncForCpu()
937 wsbmAtomicInc(&sBuf->writers); in pool_syncForCpu()
1009 while (wsbmAtomicRead(&sBuf->writers) != 0) { in pool_validate()