Searched refs:SEM (Results 1 - 6 of 6) sorted by relevance

/freebsd-13-stable/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drwlock.h51 #define SEM(rwp) (&(rwp)->rw_rwlock) macro
98 return (rwsem_is_locked(SEM(rwp)));
125 __init_rwsem(SEM(rwp), #rwp, &__key); \
148 _rc_ = down_read_trylock(SEM(rwp)); \
151 if ((_rc_ = down_write_trylock(SEM(rwp)))) \
166 down_read(SEM(rwp)); \
169 down_write(SEM(rwp)); \
183 up_write(SEM(rwp)); \
186 up_read(SEM(rwp)); \
195 downgrade_write(SEM(rw
[all...]
/freebsd-13-stable/contrib/netbsd-tests/lib/semaphore/
H A Dsem.c301 #define SEM "/thesem" macro
307 sem = sem_open(SEM, O_CREAT, 0444, 0);
310 if (sem_unlink(SEM) == -1)
/freebsd-13-stable/sys/dev/sym/
H A Dsym_fw1.h241 * (Indicate this by setting SEM in ISTAT)
253 SCR_INT ^ IFTRUE (MASK (SEM, SEM)),
H A Dsym_fw2.h232 * (Indicate this by setting SEM in ISTAT)
243 SCR_INT ^ IFTRUE (MASK (SEM, SEM)),
H A Dsym_defs.h352 #define SEM 0x10 /* r/w: message between host + script */ macro
H A Dsym_hipd.c1694 u_char istat_sem; /* Tells the chip to stop (SEM) */
4867 * As long as we have tasks to abort, we keep the SEM
4999 * Remove the SEM flag from the ISTAT.
7364 np->istat_sem = SEM;
7365 OUTB (nc_istat, SIGP|SEM);
7391 np->istat_sem = SEM;
7392 OUTB (nc_istat, SIGP|SEM);

Completed in 171 milliseconds