Home
last modified time | relevance | path

Searched refs:lr_type (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dzfs_rlock.c181 ASSERT3U(new->lr_type, ==, RL_WRITER); in zfs_rangelock_enter_writer()
222 new->lr_type = orig_type; in zfs_rangelock_enter_writer()
249 proxy->lr_type = RL_READER; in zfs_rangelock_proxify()
278 rear->lr_type = RL_READER; in zfs_rangelock_split()
303 lr->lr_type = RL_READER; in zfs_rangelock_new_proxy()
496 new->lr_type = type; in zfs_rangelock_enter_impl()
585 ASSERT3U(lr->lr_type, ==, RL_READER); in zfs_rangelock_exit_reader()
595 ASSERT3U(next->lr_type, ==, RL_READER); in zfs_rangelock_exit_reader()
621 ASSERT(lr->lr_type == RL_WRITER || lr->lr_type == RL_READER); in zfs_rangelock_exit()
633 if (lr->lr_type == RL_WRITER) { in zfs_rangelock_exit()
[all …]
/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dzfs_rlock.h61 zfs_rangelock_type_t lr_type; /* range type */ member
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_znode.c121 if (new->lr_type == RL_APPEND) { in zfs_rangelock_cb()
123 new->lr_type = RL_WRITER; in zfs_rangelock_cb()
/f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_znode.c100 if (new->lr_type == RL_APPEND) { in zfs_rangelock_cb()
102 new->lr_type = RL_WRITER; in zfs_rangelock_cb()