Home
last modified time | relevance | path

Searched refs:block_lock (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/md/persistent-data/
H A Ddm-block-manager.c44 struct block_lock { struct
61 static unsigned int __find_holder(struct block_lock *lock, in __find_holder() argument
75 static void __add_holder(struct block_lock *lock, struct task_struct *task) in __add_holder()
92 static void __del_holder(struct block_lock *lock, struct task_struct *task) in __del_holder()
100 static int __check_holder(struct block_lock *lock) in __check_holder()
150 static void __wake_many(struct block_lock *lock) in __wake_many()
175 static void bl_init(struct block_lock *lock) in bl_init()
186 static int __available_for_read(struct block_lock *lock) in __available_for_read()
193 static int bl_down_read(struct block_lock *lock) in bl_down_read()
224 static int bl_down_read_nonblock(struct block_lock *lock) in bl_down_read_nonblock()
[all …]
/linux/sound/soc/intel/atom/sst/
H A Dsst_ipc.c42 spin_lock_bh(&ctx->block_lock); in sst_create_block()
44 spin_unlock_bh(&ctx->block_lock); in sst_create_block()
71 spin_lock_bh(&ctx->block_lock); in sst_wake_up_block()
81 spin_unlock_bh(&ctx->block_lock); in sst_wake_up_block()
86 spin_unlock_bh(&ctx->block_lock); in sst_wake_up_block()
98 spin_lock_bh(&ctx->block_lock); in sst_free_block()
104 spin_unlock_bh(&ctx->block_lock); in sst_free_block()
111 spin_unlock_bh(&ctx->block_lock); in sst_free_block()
H A Dsst_pvt.c305 guard(spinlock)(&drv->block_lock); in sst_assign_pvt_id()
H A Dsst.h384 spinlock_t block_lock; member
H A Dsst.c222 spin_lock_init(&ctx->block_lock); in sst_init_locks()