Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/vmwgfx/
H A 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); \
H A Dvmwgfx_msg.c771 if (!atomic_cmpxchg(&dev_priv->mksstat_kern_pids[slot], 0, MKSSTAT_PID_RESERVED)) { in vmw_mksstat_get_kern_slot()
845 if (pid0 != MKSSTAT_PID_RESERVED) { in vmw_mksstat_remove_all()
846 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_user_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all()
875 if (pid0 != MKSSTAT_PID_RESERVED) { in vmw_mksstat_remove_all()
876 const pid_t pid1 = atomic_cmpxchg(&dev_priv->mksstat_kern_pids[i], pid0, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_all()
975 if (!atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], 0, MKSSTAT_PID_RESERVED)) in vmw_mksstat_add_ioctl()
1110 pid = atomic_cmpxchg(&dev_priv->mksstat_user_pids[slot], pgid, MKSSTAT_PID_RESERVED); in vmw_mksstat_remove_ioctl()