Home
last modified time | relevance | path

Searched refs:semaphore (Results 1 – 16 of 16) sorted by relevance

/include/linux/
Dsemaphore.h15 struct semaphore { struct
29 struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1) argument
31 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
34 *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); in sema_init()
38 extern void down(struct semaphore *sem);
39 extern int __must_check down_interruptible(struct semaphore *sem);
40 extern int __must_check down_killable(struct semaphore *sem);
41 extern int __must_check down_trylock(struct semaphore *sem);
42 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
43 extern void up(struct semaphore *sem);
Dhil_mlc.h136 struct semaphore csem; /* Raised when loop idle */
139 struct semaphore osem; /* Raised when outpacket dispatched */
143 struct semaphore isem; /* Raised when a packet arrives */
Dhp_sdc.h71 struct semaphore *semaphore; /* Semaphore to sleep on. */ member
Dnetpoll.h39 struct semaphore dev_lock;
Dpstore.h181 struct semaphore buf_lock;
Dparport.h185 struct semaphore irq;
Dhid.h570 struct semaphore driver_input_lock; /* protects the current driver */
Dsyscalls.h41 struct semaphore;
/include/drm/
Dtask_barrier.h42 struct semaphore enter_turnstile;
43 struct semaphore exit_turnstile;
46 static inline void task_barrier_signal_turnstile(struct semaphore *turnstile, in task_barrier_signal_turnstile()
/include/linux/mux/
Ddriver.h43 struct semaphore lock; /* protects the state of the mux */
/include/video/
Dudlfb.h29 struct semaphore limit_sem;
/include/soc/tegra/
Dbpmp.h76 struct semaphore lock;
/include/xen/
Dxenbus.h90 struct semaphore reclaim_sem;
/include/linux/mlx5/
Ddriver.h295 struct semaphore sem;
296 struct semaphore pages_sem;
/include/target/iscsi/
Discsi_target_core.h831 struct semaphore np_login_sem;
/include/target/
Dtarget_core_base.h813 struct semaphore caw_sem;