ttm_lock
static bool __ttm_read_trylock(struct ttm_lock *lock, bool *locked)
int ttm_read_trylock(struct ttm_lock *lock, bool interruptible)
void ttm_write_unlock(struct ttm_lock *lock)
static bool __ttm_write_lock(struct ttm_lock *lock)
ttm_write_lock(struct ttm_lock *lock, bool interruptible)
void ttm_write_lock_downgrade(struct ttm_lock *lock)
static int __ttm_vt_unlock(struct ttm_lock *lock)
struct ttm_lock *lock = container_of(base, struct ttm_lock, base);
static bool __ttm_vt_lock(struct ttm_lock *lock)
int ttm_vt_lock(struct ttm_lock *lock,
int ttm_vt_unlock(struct ttm_lock *lock)
void ttm_suspend_unlock(struct ttm_lock *lock)
static bool __ttm_suspend_lock(struct ttm_lock *lock)
void ttm_suspend_lock(struct ttm_lock *lock)
void ttm_lock_init(struct ttm_lock *lock)
void ttm_read_unlock(struct ttm_lock *lock)
static bool __ttm_read_lock(struct ttm_lock *lock)
ttm_read_lock(struct ttm_lock *lock, bool interruptible)
extern int ttm_read_lock(struct ttm_lock *lock, bool interruptible);
extern int ttm_read_trylock(struct ttm_lock *lock, bool interruptible);
extern void ttm_lock_downgrade(struct ttm_lock *lock);
extern void ttm_suspend_lock(struct ttm_lock *lock);
extern void ttm_suspend_unlock(struct ttm_lock *lock);
extern int ttm_vt_lock(struct ttm_lock *lock, bool interruptible,
extern int ttm_vt_unlock(struct ttm_lock *lock);
extern void ttm_write_unlock(struct ttm_lock *lock);
extern int ttm_write_lock(struct ttm_lock *lock, bool interruptible);
void ttm_write_lock_downgrade(struct ttm_lock *lock);
static inline void ttm_lock_set_kill(struct ttm_lock *lock, bool val,
extern void ttm_lock_init(struct ttm_lock *lock);
extern void ttm_read_unlock(struct ttm_lock *lock);