Searched refs:seqlock (Results 1 – 3 of 3) sorted by relevance
131 struct seqlock { struct136 typedef struct seqlock seqlock_t; argument139 seqlock_init(struct seqlock *seqlock) in seqlock_init() argument142 mutex_init(&seqlock->sql_lock, MUTEX_DEFAULT, IPL_VM); in seqlock_init()143 seqcount_init(&seqlock->sql_count); in seqlock_init()147 seqlock_destroy(struct seqlock *seqlock) in seqlock_destroy() argument150 seqcount_destroy(&seqlock->sql_count); in seqlock_destroy()151 mutex_destroy(&seqlock->sql_lock); in seqlock_destroy()155 write_seqlock(struct seqlock *seqlock) in write_seqlock() argument158 mutex_spin_enter(&seqlock->sql_lock); in write_seqlock()[all …]
115 write_seqlock(&vblank->seqlock); in store_vblank()118 write_sequnlock(&vblank->seqlock); in store_vblank()466 seqlock_destroy(&vblank->seqlock); in drm_vblank_cleanup()508 seqlock_init(&vblank->seqlock); in drm_vblank_init()853 seq = read_seqbegin(&vblank->seqlock); in drm_vblank_count_and_time()856 } while (read_seqretry(&vblank->seqlock, seq)); in drm_vblank_count_and_time()
123 seqlock_t seqlock; member