/freebsd-10.0-release/sys/dev/iicbus/ |
H A D | iicsmb.c | 51 #include <sys/lock.h> 78 struct mtx lock; member in struct:iicsmb_softc 156 mtx_init(&sc->lock, "iicsmb", NULL, MTX_DEF); 175 mtx_destroy(&sc->lock); 190 mtx_lock(&sc->lock); 249 mtx_unlock(&sc->lock);
|
/freebsd-10.0-release/sys/dev/malo/ |
H A D | if_malo.h | 485 struct mtx lock; /* tx q lock */ member in struct:malo_txq 497 mtx_init(&(_tq)->lock, (_tq)->name, NULL, MTX_DEF); \ 499 #define MALO_TXQ_LOCK_DESTROY(_tq) mtx_destroy(&(_tq)->lock) 500 #define MALO_TXQ_LOCK(_tq) mtx_lock(&(_tq)->lock) 501 #define MALO_TXQ_UNLOCK(_tq) mtx_unlock(&(_tq)->lock) 502 #define MALO_TXQ_LOCK_ASSERT(_tq) mtx_assert(&(_tq)->lock, MA_OWNED) 525 struct mtx malo_mtx; /* master lock (recursive) */
|
/freebsd-10.0-release/sys/dev/oce/ |
H A D | oce_if.h | 53 #include <sys/lock.h> 529 #define LOCK_CREATE(lock, desc) { \ 530 strncpy((lock)->name, (desc), MAX_LOCK_DESC_LEN); \ 531 (lock)->name[MAX_LOCK_DESC_LEN] = '\0'; \ 532 mtx_init(&(lock)->mutex, (lock)->name, NULL, MTX_DEF); \ 534 #define LOCK_DESTROY(lock) \ 535 if (mtx_initialized(&(lock)->mutex))\ 536 mtx_destroy(&(lock)->mutex) 537 #define TRY_LOCK(lock) mtx_tryloc [all...] |
/freebsd-10.0-release/sys/dev/sound/pci/ |
H A D | ds1.c | 123 struct mtx *lock; member in struct:sc_info 560 snd_mtxlock(sc->lock); 562 snd_mtxunlock(sc->lock); 685 snd_mtxlock(sc->lock); 690 snd_mtxunlock(sc->lock); 693 snd_mtxlock(sc->lock); 697 snd_mtxunlock(sc->lock); 738 snd_mtxlock(sc->lock); 750 snd_mtxunlock(sc->lock); 752 snd_mtxlock(sc->lock); [all...] |
H A D | envy24.c | 119 struct mtx *lock; member in struct:sc_info 1579 snd_mtxlock(sc->lock); 1582 snd_mtxunlock(sc->lock); 1601 snd_mtxunlock(sc->lock); 1603 snd_mtxlock(sc->lock); 1608 snd_mtxunlock(sc->lock); 1622 snd_mtxlock(sc->lock); 1627 snd_mtxunlock(sc->lock); 1644 snd_mtxlock(sc->lock); 1651 snd_mtxunlock(sc->lock); [all...] |
H A D | envy24ht.c | 128 struct mtx *lock; member in struct:sc_info 1488 snd_mtxlock(sc->lock); 1492 snd_mtxunlock(sc->lock); 1512 snd_mtxunlock(sc->lock); 1514 snd_mtxlock(sc->lock); 1519 snd_mtxunlock(sc->lock); 1533 snd_mtxlock(sc->lock); 1538 snd_mtxunlock(sc->lock); 1555 snd_mtxlock(sc->lock); 1562 snd_mtxunlock(sc->lock); [all...] |
/freebsd-10.0-release/contrib/unbound/daemon/ |
H A D | cachedump.c | 125 /* rd lock held by caller */ 158 lock_rw_rdlock(&e->lock); 161 lock_rw_unlock(&e->lock); 164 lock_rw_unlock(&e->lock); 177 lock_quick_lock(&r->table.array[slab]->lock); 180 lock_quick_unlock(&r->table.array[slab]->lock); 183 lock_quick_unlock(&r->table.array[slab]->lock); 326 lock_rw_rdlock(&e->lock); 329 lock_rw_unlock(&e->lock); 332 lock_rw_unlock(&e->lock); [all...] |
/freebsd-10.0-release/crypto/heimdal/lib/krb5/ |
H A D | krb5_ccapi.h | 195 cc_int32 (*lock)(cc_ccache_t, cc_uint32, cc_uint32); member in struct:cc_ccache_functions 222 cc_int32 (*lock)(cc_context_t, cc_uint32, cc_uint32); member in struct:cc_context_functions
|
/freebsd-10.0-release/sys/dev/atkbdc/ |
H A D | atkbdcreg.h | 201 int lock; /* FIXME: XXX not quite a semaphore... */ member in struct:atkbdc_softc 228 int kbdc_lock(KBDC kbdc, int lock);
|
/freebsd-10.0-release/sys/dev/ofw/ |
H A D | ofw_iicbus.c | 34 #include <sys/lock.h> 110 mtx_init(&sc->lock, "iicbus", NULL, MTX_DEF);
|
/freebsd-10.0-release/sys/dev/utopia/ |
H A D | utopia.c | 43 #include <sys/lock.h> 75 #define UTP_LOCK(UTP) mtx_lock((UTP)->lock) 76 #define UTP_UNLOCK(UTP) mtx_unlock((UTP)->lock) 77 #define UTP_LOCK_ASSERT(UTP) mtx_assert((UTP)->lock, MA_OWNED) 509 struct mtx *lock, struct sysctl_ctx_list *ctx, 517 utp->lock = lock; 568 * Here we need the lock for synchronisation with the daemon. 579 msleep(utp, utp->lock, PZERO, "utopia_detach", hz); 588 * through the list without disturbing us (we lock th 508 utopia_attach(struct utopia *utp, struct ifatm *ifatm, struct ifmedia *media, struct mtx *lock, struct sysctl_ctx_list *ctx, struct sysctl_oid_list *children, const struct utopia_methods *m) argument [all...] |
/freebsd-10.0-release/sys/fs/msdosfs/ |
H A D | msdosfsmount.h | 57 #include <sys/lock.h> 114 struct lock pm_fatlock; /* lockmgr protecting allocations and rb tree */
|
/freebsd-10.0-release/sys/fs/nfs/ |
H A D | nfsrvstate.h | 123 struct nfslockhead lock; /* Locks list */ member in union:nfsstate::__anon9772 128 u_int32_t ls_flags; /* Type of lock, etc. */ 146 #define ls_lock ls_head.lock 158 * Nfs lock structure. 175 * Structure used to return a conflicting lock. (Must be large 176 * enough for the largest lock owner we can have.) 199 * This structure refers to a file for which lock(s) and/or open(s) exist. 201 * open or lock owner. 207 LIST_HEAD(, nfslock) lf_locallock; /* Local lock list */ 208 LIST_HEAD(, nfsrollback) lf_rollback; /* Local lock rollbac [all...] |
/freebsd-10.0-release/sys/ofed/drivers/infiniband/core/ |
H A D | mad_priv.h | 101 spinlock_t lock; member in struct:ib_mad_agent_private 182 spinlock_t lock; member in struct:ib_mad_queue
|
/freebsd-10.0-release/sys/ofed/drivers/net/mlx4/ |
H A D | en_cq.c | 73 mtx_init(&cq->lock.m, "mlx4 cq", NULL, MTX_DEF); 133 mtx_destroy(&cq->lock.m);
|
/freebsd-10.0-release/contrib/gcclibs/libgomp/ |
H A D | libgomp.h | 84 /* This lock protects the update of the following members. */ 85 gomp_mutex_t lock; member in struct:gomp_work_share 166 /* This lock protects access to the following work shares data structures. */ 318 #include "omp-lock.h"
|
/freebsd-10.0-release/contrib/libstdc++/libsupc++/ |
H A D | guard.cc | 158 { get_static_mutex().lock(); }
|
/freebsd-10.0-release/contrib/ofed/management/opensm/include/complib/ |
H A D | cl_dispatcher.h | 213 cl_spinlock_t lock; member in struct:_cl_dispatcher 226 * lock
|
/freebsd-10.0-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_perfmgr.c | 226 cl_plock_acquire(pm->lock); 229 cl_plock_release(pm->lock); 239 cl_plock_release(pm->lock); 480 cl_plock_acquire(pm->lock); 549 cl_plock_release(pm->lock); 736 CL_PLOCK_ACQUIRE(&osm->lock); 740 CL_PLOCK_RELEASE(&osm->lock); 792 /* With the global lock held collect the node guids */ 797 cl_plock_acquire(pm->lock); 800 cl_plock_release(pm->lock); [all...] |
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_fs_base/util/ |
H A D | fs_skels.h | 170 const svn_lock_t *lock,
|
/freebsd-10.0-release/contrib/unbound/validator/ |
H A D | val_neg.h | 67 /** the big lock on the negative cache. Because we use a rbtree 68 * for the data (quick lookup), we need a big lock */ 69 lock_basic_t lock; member in struct:val_neg_cache
|
/freebsd-10.0-release/crypto/openssl/crypto/rand/ |
H A D | rand_lcl.h | 157 int ssleay_rand_bytes(unsigned char *buf, int num, int pseudo, int lock);
|
/freebsd-10.0-release/gnu/lib/libgomp/ |
H A D | Makefile | 14 single.c team.c work.c lock.c mutex.c proc.c sem.c \
|
/freebsd-10.0-release/sys/arm/ti/omap4/ |
H A D | omap4_l2cache.c | 32 #include <sys/lock.h>
|
/freebsd-10.0-release/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_fdt.c | 40 #include <sys/lock.h>
|