Home
last modified time | relevance | path

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

12

/linux-4.19.296/include/linux/
Dsemaphore.h16 struct semaphore { struct
30 struct semaphore name = __SEMAPHORE_INITIALIZER(name, 1) argument
32 static inline void sema_init(struct semaphore *sem, int val) in sema_init()
35 *sem = (struct semaphore) __SEMAPHORE_INITIALIZER(*sem, val); in sema_init()
39 extern void down(struct semaphore *sem);
40 extern int __must_check down_interruptible(struct semaphore *sem);
41 extern int __must_check down_killable(struct semaphore *sem);
42 extern int __must_check down_trylock(struct semaphore *sem);
43 extern int __must_check down_timeout(struct semaphore *sem, long jiffies);
44 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
Dpstore.h176 struct semaphore buf_lock;
Dnetpoll.h41 struct semaphore dev_lock;
Dparport.h185 struct semaphore irq;
Dhid.h571 struct semaphore driver_input_lock; /* protects the current driver */
Dsyscalls.h44 struct semaphore;
/linux-4.19.296/drivers/char/
Dsnsc.h37 struct semaphore sd_rbs; /* semaphore for read buffer */
38 struct semaphore sd_wbs; /* semaphore for write buffer */
/linux-4.19.296/fs/jffs2/
DREADME.Locking141 This read/write semaphore protects against concurrent access to the
154 This read/write semaphore protects against concurrent access to the
156 In read-only path, write-semaphore is too much exclusion. It's enough
157 by read-semaphore. But you must hold write-semaphore when updating,
162 when updating such a object is necessary under holding read semaphore.
163 For example, do_jffs2_getxattr() holds read-semaphore to scan xref and
164 xdatum at first. But it retries this process with holding write-semaphore
165 after release read-semaphore, if it's necessary to load name/value pair
/linux-4.19.296/include/linux/mux/
Ddriver.h43 struct semaphore lock; /* protects the state of the mux */
/linux-4.19.296/include/video/
Dudlfb.h29 struct semaphore limit_sem;
/linux-4.19.296/include/soc/tegra/
Dbpmp.h85 struct semaphore lock;
/linux-4.19.296/fs/affs/
Daffs.h46 struct semaphore i_link_lock; /* Protects internal inode access. */
47 struct semaphore i_ext_lock; /* Protects internal inode access. */
/linux-4.19.296/fs/xfs/
Dxfs_buf.h147 struct semaphore b_sema; /* semaphore for lockables */
/linux-4.19.296/lib/
Dtest_rhashtable.c115 static struct semaphore prestart_sem;
116 static struct semaphore startup_sem = __SEMAPHORE_INITIALIZER(startup_sem, 0);
/linux-4.19.296/drivers/pci/hotplug/
Dibmphp_hpc.c92 static struct semaphore semOperations; // lock all operations and
94 static struct semaphore sem_exit; // make sure polling thread goes away
/linux-4.19.296/include/linux/mlx5/
Ddriver.h323 struct semaphore sem;
324 struct semaphore pages_sem;
/linux-4.19.296/drivers/misc/cxl/
Dflash.c27 static struct semaphore sem;
/linux-4.19.296/drivers/cpufreq/
Dbrcmstb-avs-cpufreq.c179 struct semaphore sem;
/linux-4.19.296/drivers/lightnvm/
Dpblk.h215 struct semaphore wr_sem;
245 struct semaphore gc_sem;
/linux-4.19.296/include/target/
Dtarget_core_base.h791 struct semaphore caw_sem;
/linux-4.19.296/include/target/iscsi/
Discsi_target_core.h838 struct semaphore np_login_sem;
/linux-4.19.296/drivers/xen/
Dpvcalls-back.c38 struct semaphore frontends_lock;
54 struct semaphore socket_lock;
/linux-4.19.296/drivers/media/dvb-core/
Ddvb_frontend.c109 struct semaphore sem;

12