Home
last modified time | relevance | path

Searched refs:rw_tryenter (Results 1 – 11 of 11) sorted by relevance

/freebsd/sys/contrib/openzfs/include/os/freebsd/spl/sys/
H A Drwlock.h79 #define rw_tryenter(lock, how) \ macro
/freebsd/sys/cddl/compat/opensolaris/sys/
H A Drwlock.h80 #define rw_tryenter(lock, how) ((how) == RW_READER ? sx_try_slock(lock) : sx_try_xlock(lock)) macro
/freebsd/sys/contrib/openzfs/include/os/linux/spl/sys/
H A Drwlock.h140 #define rw_tryenter(rwp, rw) /* CSTYLED */ \ macro
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzvol_os.c268 if (!rw_tryenter(&zv->zv_suspend_lock, ZVOL_RW_READER)) { in zvol_geom_open()
386 if (!rw_tryenter(&zv->zv_suspend_lock, ZVOL_RW_READER)) { in zvol_geom_close()
966 if (!rw_tryenter(&zv->zv_suspend_lock, ZVOL_RW_READER)) { in zvol_cdev_open()
1072 if (!rw_tryenter(&zv->zv_suspend_lock, ZVOL_RW_READER)) { in zvol_cdev_close()
/freebsd/sys/contrib/openzfs/contrib/coverity/
H A Dmodel.c567 rw_tryenter(krwlock_t *rwlp, krw_t rw) in rw_tryenter() function
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzvol_os.c742 if (!rw_tryenter(&zv->zv_suspend_lock, RW_READER)) { in zvol_open()
867 if (!rw_tryenter(&zv->zv_suspend_lock, RW_READER)) { in zvol_release()
H A Dzfs_vnops_os.c2680 if (!rw_tryenter(rwlp, rw)) { in zfs_rename_lock()
/freebsd/sys/contrib/openzfs/include/sys/
H A Dzfs_context.h306 extern int rw_tryenter(krwlock_t *rwlp, krw_t rw);
/freebsd/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c285 rw_tryenter(krwlock_t *rwlp, krw_t rw) in rw_tryenter() function
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dzvol.c145 !rw_tryenter(&zv->zv_suspend_lock, mode)) { in zvol_find_by_name_hash()
H A Ddnode.c1133 if (!rw_tryenter(&odn->dn_struct_rwlock, RW_WRITER)) { in dnode_move()