Home
last modified time | relevance | path

Searched refs:MKSSTAT_PID_RESERVED (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_mksstat.h35 #define MKSSTAT_PID_RESERVED -1 macro
116 …mic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MKSSTAT_PID_RESERVED); \
Dvmwgfx_msg.c822 if (!atomic_cmpxchg(&dev_priv->mksstat_kern_pids[slot], 0, MKSSTAT_PID_RESERVED)) { in vmw_mksstat_get_kern_slot()
896 if (pid0 != MKSSTAT_PID_RESERVED) { in vmw_mksstat_remove_all()
897 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all()
926 if (pid0 != MKSSTAT_PID_RESERVED) { in vmw_mksstat_remove_all()
927 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all()
1026 if (!atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], 0, MKSSTAT_PID_RESERVED)) in vmw_mksstat_add_ioctl()
1161 pid = atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], pgid, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_ioctl()