/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/ |
H A D | condvar.h | 73 kmutex_t *cv_mutex; 80 extern void __cv_wait(kcondvar_t *, kmutex_t *); 81 extern void __cv_wait_io(kcondvar_t *, kmutex_t *); 82 extern void __cv_wait_idle(kcondvar_t *, kmutex_t *); 83 extern int __cv_wait_io_sig(kcondvar_t *, kmutex_t *); 84 extern int __cv_wait_sig(kcondvar_t *, kmutex_t *); 85 extern int __cv_timedwait(kcondvar_t *, kmutex_t *, clock_t); 86 extern int __cv_timedwait_io(kcondvar_t *, kmutex_t *, clock_t); 87 extern int __cv_timedwait_sig(kcondvar_t *, kmutex_t *, clock_t); 88 extern int __cv_timedwait_idle(kcondvar_t *, kmutex_t *, clock_t); [all …]
|
H A D | mutex.h | 47 } kmutex_t; typedef 52 spl_mutex_set_owner(kmutex_t *mp) in spl_mutex_set_owner() 58 spl_mutex_clear_owner(kmutex_t *mp) in spl_mutex_clear_owner() 70 spl_mutex_set_type(kmutex_t *mp, kmutex_type_t type) in spl_mutex_set_type() 75 spl_mutex_lockdep_off_maybe(kmutex_t *mp) \ in spl_mutex_lockdep_off_maybe() 81 spl_mutex_lockdep_on_maybe(kmutex_t *mp) \ in spl_mutex_lockdep_on_maybe()
|
H A D | kstat.h | 122 kmutex_t ks_private_lock; /* kstat private data lock */ 123 kmutex_t *ks_lock; /* kstat data lock */
|
/freebsd/sys/contrib/openzfs/module/os/linux/spl/ |
H A D | spl-condvar.c | 114 cv_wait_common(kcondvar_t *cvp, kmutex_t *mp, int state, int io) in cv_wait_common() 117 kmutex_t *m; in cv_wait_common() 166 __cv_wait(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait() 173 __cv_wait_io(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io() 180 __cv_wait_io_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_io_sig() 189 __cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_sig() 198 __cv_wait_idle(kcondvar_t *cvp, kmutex_t *mp) in __cv_wait_idle() 214 __cv_timedwait_common(kcondvar_t *cvp, kmutex_t *mp, clock_t expire_time, in __cv_timedwait_common() 218 kmutex_t *m; in __cv_timedwait_common() 274 __cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t exp_time) in __cv_timedwait() [all …]
|
/freebsd/sys/contrib/openzfs/include/sys/ |
H A D | spa_impl.h | 62 kmutex_t spaa_lock; 67 kmutex_t sau_lock; 155 kmutex_t scl_lock; 261 kmutex_t spa_evicting_os_lock; /* Evicting objset list lock */ 300 kmutex_t spa_cksum_tmpls_lock; 305 kmutex_t spa_scrub_lock; /* resilver/scrub lock */ 333 kmutex_t spa_async_lock; /* protect async state */ 358 kmutex_t spa_flushed_ms_lock; /* for metaslabs_by_flushed */ 379 kmutex_t spa_errlog_lock; /* error log lock */ 382 kmutex_t spa_errlist_lock; /* error list/ereport lock */ [all …]
|
H A D | zil_impl.h | 126 kmutex_t lwb_vdev_lock; /* protects lwb_vdev_tree */ 147 kmutex_t zcw_lock; /* protects fields of this struct */ 163 kmutex_t itxg_lock; /* lock for this structure */ 190 kmutex_t zl_lock; /* protects most zilog_t fields */ 209 kmutex_t zl_issuer_lock; /* single writer, per ZIL, at a time */ 234 kmutex_t zl_lwb_io_lock; /* protect following members */
|
H A D | vdev_impl.h | 157 kmutex_t vq_lock; 298 kmutex_t vdev_initialize_lock; 312 kmutex_t vdev_autotrim_lock; 317 kmutex_t vdev_trim_lock; 334 kmutex_t vdev_rebuild_lock; 340 kmutex_t vdev_initialize_io_lock; 343 kmutex_t vdev_trim_io_lock; 377 kmutex_t vdev_obsolete_lock; 385 kmutex_t vdev_scan_io_queue_lock; 444 kmutex_t vdev_dtl_lock; /* vdev_dtl_{map,resilver} */ [all …]
|
H A D | zfs_context.h | 266 } kmutex_t; 273 extern void mutex_init(kmutex_t *mp, char *name, int type, void *cookie); 274 extern void mutex_destroy(kmutex_t *mp); 275 extern void mutex_enter(kmutex_t *mp); 276 extern int mutex_enter_check_return(kmutex_t *mp); 277 extern void mutex_exit(kmutex_t *mp); 278 extern int mutex_tryenter(kmutex_t *mp); 330 extern void cv_wait(kcondvar_t *cv, kmutex_t *mp); 331 extern int cv_wait_sig(kcondvar_t *cv, kmutex_t *mp); 332 extern int cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime); [all …]
|
H A D | txg_impl.h | 71 kmutex_t tc_open_lock; /* protects tx_open_txg */ 72 kmutex_t tc_lock; /* protects the rest of this struct */ 91 kmutex_t tx_sync_lock; /* protects the rest of this struct */
|
H A D | metaslab_impl.h | 180 kmutex_t mc_lock; 234 kmutex_t mg_lock; 297 kmutex_t mg_ms_disabled_lock; 376 kmutex_t ms_lock; 392 kmutex_t ms_sync_lock;
|
H A D | dmu_objset.h | 175 kmutex_t os_obj_lock; 183 kmutex_t os_lock; 189 kmutex_t os_userused_lock; 192 kmutex_t os_user_ptr_lock; 197 kmutex_t os_upgrade_lock;
|
H A D | aggsum.h | 31 kmutex_t asc_lock; 40 kmutex_t as_lock;
|
H A D | mmp.h | 41 kmutex_t mmp_thread_lock; /* protect thread mgmt fields */ 45 kmutex_t mmp_io_lock; /* protect below */
|
H A D | vdev_raidz.h | 80 kmutex_t vre_lock; 148 kmutex_t vd_expand_lock;
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/ |
H A D | condvar.h | 107 cv_wait_sig(kcondvar_t *cvp, kmutex_t *mp) in cv_wait_sig() 114 cv_timedwait(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait() 129 cv_timedwait_sig(kcondvar_t *cvp, kmutex_t *mp, clock_t timo) in cv_timedwait_sig() 156 cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires() 181 cv_timedwait_sig_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim, in cv_timedwait_sig_hires()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | fasttrap_impl.h | 100 kmutex_t ftpc_mtx; /* lock on all but acount */ 115 kmutex_t ftp_mtx; /* provider lock */ 116 kmutex_t ftp_cmtx; /* lock on creating probes */ 170 kmutex_t ftb_mtx; /* bucket lock */ 173 uint8_t ftb_pad[64 - sizeof (kmutex_t) - sizeof (void *)];
|
/freebsd/sys/cddl/compat/opensolaris/sys/ |
H A D | cpuvar.h | 62 sizeof (kmutex_t)) 70 kmutex_t cpuc_pid_lock; /* DTrace pid provider lock */ 75 extern kmutex_t cpu_lock;
|
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
H A D | zfs_vfsops_os.h | 72 kmutex_t vfs_mntpt_lock; 111 kmutex_t z_znodes_lock; /* lock for z_all_znodes */ 126 kmutex_t z_lock; 137 kmutex_t *z_hold_locks; /* znode hold locks */
|
/freebsd/contrib/netbsd-tests/rump/kernspace/ |
H A D | lockme.c | 44 kmutex_t mutexetum; 52 kmutex_t mtx; in rumptest_lockme()
|
/freebsd/sys/contrib/openzfs/include/os/freebsd/zfs/sys/ |
H A D | zfs_vfsops_os.h | 77 kmutex_t z_znodes_lock; /* lock for z_all_znodes */ 91 kmutex_t z_lock; 101 kmutex_t z_hold_mtx[ZFS_OBJ_MTX_SZ]; /* znode hold locks */
|
/freebsd/sys/contrib/openzfs/lib/libzpool/ |
H A D | kernel.c | 191 mutex_init(kmutex_t *mp, char *name, int type, void *cookie) in mutex_init() 199 mutex_destroy(kmutex_t *mp) in mutex_destroy() 205 mutex_enter(kmutex_t *mp) in mutex_enter() 212 mutex_enter_check_return(kmutex_t *mp) in mutex_enter_check_return() 221 mutex_tryenter(kmutex_t *mp) in mutex_tryenter() 234 mutex_exit(kmutex_t *mp) in mutex_exit() 345 cv_wait(kcondvar_t *cv, kmutex_t *mp) in cv_wait() 353 cv_wait_sig(kcondvar_t *cv, kmutex_t *mp) in cv_wait_sig() 360 cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime) in cv_timedwait() 393 cv_timedwait_hires(kcondvar_t *cv, kmutex_t *mp, hrtime_t tim, hrtime_t res, in cv_timedwait_hires()
|
/freebsd/sys/contrib/openzfs/contrib/coverity/ |
H A D | model.c | 513 typedef struct {} kmutex_t; typedef 523 mutex_enter(kmutex_t *mp) in mutex_enter() 532 mutex_tryenter(kmutex_t *mp) in mutex_tryenter() 543 mutex_exit(kmutex_t *mp) in mutex_exit()
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/funcs/ |
H A D | err.D_PROTO_LEN.motoomany.d | 39 mutex_owned((kmutex_t *)arg0, 99);
|
H A D | err.D_PROTO_LEN.mtatoomany.d | 40 mutex_type_adaptive((kmutex_t *)arg0, 99);
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/sys/ |
H A D | kstat.h | 121 { kmutex_t *lp = (k)->ks_lock; if (lp) mutex_enter(lp); } 124 { kmutex_t *lp = (k)->ks_lock; if (lp) mutex_exit(lp); }
|