Searched refs:MKSSTAT_PID_RESERVED (Results 1 – 2 of 2) sorted by relevance
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_mksstat.h | 35 #define MKSSTAT_PID_RESERVED -1 macro 116 …mic_cmpxchg(&dev_priv->mksstat_kern_pids[_##kern_cntr.slot], current->pid, MKSSTAT_PID_RESERVED); \
|
D | vmwgfx_msg.c | 822 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()
|