Home
last modified time | relevance | path

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

/include/linux/
Dsemaphore.h15 struct semaphore { struct
35 struct semaphore _name = __SEMAPHORE_INITIALIZER(_name, _n) argument
37 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
40 *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); in sema_init()
44 extern void down(struct semaphore *sem);
45 extern int __must_check down_interruptible(struct semaphore *sem);
46 extern int __must_check down_killable(struct semaphore *sem);
47 extern int __must_check down_trylock(struct semaphore *sem);
48 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
49 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.h40 struct semaphore dev_lock;
Dparport.h180 struct semaphore irq;
Dhid.h628 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.h45 struct semaphore lock; /* protects the state of the mux */
/include/video/
Dudlfb.h29 struct semaphore limit_sem;
/include/net/mana/
Dhw_channel.h184 struct semaphore sema;
/include/soc/tegra/
Dbpmp.h89 struct semaphore lock;
/include/xen/
Dxenbus.h89 struct semaphore reclaim_sem;
/include/linux/mlx5/
Ddriver.h303 struct semaphore sem;
304 struct semaphore pages_sem;
305 struct semaphore throttle_sem;
/include/target/
Dtarget_core_base.h841 struct semaphore caw_sem;
/include/target/iscsi/
Discsi_target_core.h838 struct semaphore np_login_sem;
/include/ufs/
Dufshcd.h1070 struct semaphore host_sem;