Home
last modified time | relevance | path

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

/OK3568_Linux_fs/external/xserver/hw/xfree86/dri2/
H A Ddri2.c94 CARD64 swap_count; member
254 pPriv->swap_count = 0; in DRI2AllocateDrawable()
997 frame, pPriv->swap_count); in DRI2WaitMSCComplete()
1024 if (pPriv->target_sbc != -1 && pPriv->target_sbc <= pPriv->swap_count) { in DRI2WakeClient()
1027 frame, pPriv->swap_count); in DRI2WakeClient()
1054 pPriv->swap_count++; in DRI2SwapComplete()
1066 swap_complete(client, swap_data, type, ust, frame, pPriv->swap_count); in DRI2SwapComplete()
1119 *swap_target = pPriv->swap_count + pPriv->swapsPending + 1; in DRI2SwapBuffers()
1233 *sbc = pPriv->swap_count; in DRI2GetMSC()
1246 *sbc = pPriv->swap_count; in DRI2GetMSC()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dswapfile.c112 static inline unsigned char swap_count(unsigned char ent) in swap_count() function
1511 count = swap_count(p->swap_map[offset]); in page_swapcount()
1525 count = swap_count(si->swap_map[offset]); in __swap_count()
1538 count = swap_count(si->swap_map[offset]); in swap_swapcount()
1582 count = swap_count(p->swap_map[offset]); in swp_swapcount()
1619 if (swap_count(map[roffset])) in swap_page_trans_huge_swapped()
1624 if (swap_count(map[offset + i])) { in swap_page_trans_huge_swapped()
1691 swapcount = swap_count(map[offset + i]); in page_trans_huge_map_swapcount()
2168 if (count && swap_count(count) != SWAP_MAP_BAD) in find_next_to_unuse()
3507 if (unlikely(swap_count(count) == SWAP_MAP_BAD)) { in __swap_duplicate()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog114215 DRI2SwapComplete(): Increment pPriv->swap_count++; before calling
114220 DRI2WakeupClient: Check for pPriv->target_sbc <= pPriv->swap_count,
114221 had wrong comparison pPriv->target_sbc >= pPriv->swap_count for